emu-russia / dmgcpu

DMG CPU Reverse Engineering
Creative Commons Zero v1.0 Universal
29 stars 4 forks source link

Race all sorts of roms #204

Open ogamespec opened 1 year ago

ogamespec commented 1 year ago

In the lazy mode to try all sorts of roms in the simulator and check that there is something moving.

ogamespec commented 5 months ago

I think that within the scope of this Issue it is enough to run blargg's cpu_instrs test and rest easy on that.

ogamespec commented 5 months ago

https://github.com/retrio/gb-test-roms/tree/master/cpu_instrs

ogamespec commented 5 months ago

Replaced JP 0x100 from address 0 to go to ROM entrypoint. Something is happening:

image

ogamespec commented 5 months ago

I don't know how many years it will take to run a full test, but 100,000 cycles took about 20 minutes. So I don't know how to test it all.... Just run it for a week... and? Need to figure out how to stop the test and say it completed successfully or with an error.

ogamespec commented 5 months ago

The strategy for this task changes again. We will test each opcode separately, since the simulation speed is too slow.

ogamespec commented 3 months ago

The methodology is worked out more or less:

ogamespec commented 3 months ago

Ha! It's all been done before us:

https://github.com/SingleStepTests/sm83