[hatari-devel] Chaos AD problem : $fffffc02
Nicolas Pomarède
npomarede at corp.free.fr
Mon Jun 13 15:30:21 CEST 2011
Le 13/06/2011 00:31, Laurent Sallafranque a écrit :
> Thanks a lot Nicolas for the help.
>
> I'll have to finish the 6301 emulation one of these days :)
>
> Regards
>
> Laurent
I committed a custom ikbd's handler for this demo. The 6301 code is in
fact used to decode the demo's protection (it will take a few dozen of
seconds, due to the slow transfer rate between cpu/acia and ikbd).
During the demo, the ikbd remains disabled, so you can't exit unless you
wait for the demo to end.
Hopefully, the demo doesn't uses the 6301's code that was supposed to
decode the byte. The 6301 code is using some kinds of 'sync decoding',
by relying on the 6301's timer counter and the instructions cycle length.
I guess they had too much trouble making this works, so the decoder is
much simpler (basically a XOR against an 8 bytes buffer) and some part
of the code are useless.
The demo is running correctly, except the sound which is really awful
(as a huge fan of Hardwired, I had to turn off sound instead of
listening to this :) )
Nicolas
More information about the hatari-devel
mailing list