dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
356 stars 33 forks source link

Bitfade.prg test fails #426

Closed Alessandro1970 closed 6 years ago

Alessandro1970 commented 6 years ago

Bitfade test fails (it could be involved in some Emulamer code). bitfade.prg.zip Source: https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/CPU/cpuport/

VirtualC64:

schermata 2018-09-16 alle 10 59 40

ViceSC:

schermata 2018-09-16 alle 11 05 59
Alessandro1970 commented 6 years ago

+;---------------------------------------------------------------------------- +; SHA "stable" behaviour check +; inspired by emulamers "bad copy" +;---------------------------------------------------------------------------- + +basicstart = $0801 +

++++++++++++++++++

+;---------------------------------------------------------------------------- +; SHA "unstable" behaviour check +; inspired by emulamers "bad copy" +;---------------------------------------------------------------------------- + +basicstart = $0801 + +testpatternlen = 21 + 2 +

https://mail.prefuse.org/p/vice-emu/mailman/vice-emu-commit/thread/From_gpz%40users.sourceforge.net_Thu_Apr_24_00%3A56%3A34_2014/

dirkwhoffmann commented 6 years ago
badcopy
dirkwhoffmann commented 6 years ago

Do you remember which demo is using the processor port bitfading stuff? The badcopy demo seems to use illegal opcodes and tricky sprite collision stuff, only.

Although I have managed to get bitfade.prg to mimic VICE's output, I'm pretty sure that the implementation is not 100% accurate.

Alessandro1970 commented 6 years ago

...not sure, maybe this:

comaland100percent.zip

Alessandro1970 commented 6 years ago

...or this: Noice_PseudoCode.zip

dirkwhoffmann commented 6 years ago

Both demos and the test case seems to work:

bildschirmfoto 2018-09-28 um 16 38 33 bildschirmfoto 2018-09-28 um 16 36 15 bildschirmfoto 2018-09-28 um 16 33 32