raddad772 / jsmoo

Multi-system, pure JavaScript (& a little AssemblyScript) emulator, with great accuracy and speed. Currently some SNES, NES, GameBoy, Master System, ZX Spectrum, and GameGear support
MIT License
76 stars 9 forks source link

Z80 100/101 tests don't reflect what your generated opcodes does #29

Open leinacc opened 1 year ago

leinacc commented 1 year ago

For Z80, the 100/101 json tests, and their DD/FD prefixed counterparts, don't test all the cycles that your implementation has. The tests assume they operate like nop

they're weird ones, but I think it'd be ok for other users to special case it so that the appropriate irq/reset event is triggered at the right time based on the file

raddad772 commented 8 months ago

by 100/101 do you mean decimal 100/101?