|Re: OT: Limited Ed.|
Message #11 Posted by uhmgawa on 9 Sept 2011, 7:08 p.m.,
in response to message #7 by Tim Wessman
Looks like cyrille forgot to patch the old self tests away, or at least slow them down.
The old self tests are there. The keyboard one works but times out quickly. If you start pressing keys immediately and don't wait more then about 2 seconds between each, you pass it fine. The second one runs too quickly and thus fails.
Unless the tests are stumbling on an incorrect checksum due
to rom patching, it likely isn't a question of speed, but
rather quirks in the r2d2 which cause the "on" + "x" and
"on" + "+" tests to fail in your emulation. I puzzled on
that early when writing KEMU on the unfulfilled belief
those tests (well they're essentially the same) would
ferret out implementation bugs in KEMU. Unfortunately
for as much as they try to be, they aren't able to
exhaustively functional test all instruction semantics.
Rather what I'd done as a more definitive benchmark
was to take one of the NUT cpus left over from a KINOMI
conversion and place it in a test jig PCB such that I could
instrument it via feeding it instructions and examining the
results. Some of the internal NUT state needs to be inferred,
but IIRC it should provide complete coverage. Regrettably that
project has fallen derelict due to available time (what's that?),
but I should have extra break-out NUT PCBs if anyone would
be interested to complete the effort.
Concerning rom patching, I'd sidestepped the issue as while
KEMU running on a atmega1284p realizes a 5-6x speed increase
over the stock NUT, it wasn't as drastic as you'd find on a
32bit SoC running at a substantially higher clock rate. And
while keyscan debounce timing was made independent of emulation
speed, other scenarios exist such as <f> + "prefix" which
you can see here, timeout the delay at the
actual emulation speed.
If you think the quality on a 12c+ is crap, you will think the 15c+ is crap too. They are the same except for firmware and cosmetics.
Please don't say that in earshot of the Evilbay sellers now stuck
with $400 NUT Voyagers lest they start marketing them as
"Classic Voyagers" and we'll never be rid of them.
Edited: 9 Sept 2011, 8:20 p.m.