Page 1 of 1
Fails Blargg's GB-Z80 CPU Test program
Posted: Mon Jan 19, 2009 7:06 pm
by Dwedit
Blargg made a GB-Z80 testing program: http://h1.ripway.com/blargg/temp/gb_cpu_test.zip
Â
Among the instructions that fail are:
E8: ADD SP,nn
F8: LD HL,SP+nn
Â
Those instructions are quite deceptive with what they do to flags: They use the lower byte of SP added to the unsigned byte to determine halfcarry and carry flags. All other flags are cleared.
Â
Several other tests also fail.
Fails Blargg's GB-Z80 CPU Test program
Posted: Thu Feb 12, 2009 9:59 am
by mudlord
I'm sure the active developers will try and solve these inaccuracies.....
Fails Blargg's GB-Z80 CPU Test program
Posted: Thu Feb 12, 2009 10:31 pm
by Squall Leonhart
what do you mean by active being bolded
Â
.< are you saying i do nothing >.<
Fails Blargg's GB-Z80 CPU Test program
Posted: Sat Aug 08, 2009 4:11 pm
by jbo_85
The instructions are fixed in SVN. The only thing that doesn't work with Blargg's test roms is the read/write mem timing.
Fails Blargg's GB-Z80 CPU Test program
Posted: Mon Aug 10, 2009 1:43 am
by mudlord
Nice, I really should get back into devel.
Fails Blargg's GB-Z80 CPU Test program
Posted: Tue Aug 11, 2009 12:32 pm
by Exophase
Neat, maybe I'll try this with my unreleased GB emulator too. I love CPU test ROMs! blargg is my hero. Maybe I can convince him to write something for ARM7 and maybe ARM9? Although we do have armwrestler it doesn't check ldm/stm correctly and those can be surprisingly tricky. It'd be great if there was a test ROM for GBA timings as well.