This is a REAL benchmark for MD/Genny. It tests most of the 68K instructions in almost all possible ways. All benchmark code is run 63356 times (so it takes several minutes to complete) and while doing it, HBLs are counted up. The less HBL it takes, the better the performance. Next version (If there will be any) will use z80 and YM2612 for timing, to get exact same results on PAL and NTSC machines.
For a small program like this you usually need to do the following:
Change the start address to either $200000 or $FF0000
Remove ROM header and TMSS check
Hook V-INT (if present) using a BIOS call
Adjust DMA commands if DMA-ing from Word RAM ($200000) to deal with a small hardware bug.
8bitwizard wrote:As long as the TMSS code checks the hardware version first it should have no negative effect.
Sega CD is already running, thus the system has already booted.
If I remember correctly, if TMSS code is used, the result, atleast on my Genesis (which has no TMSS), was a screen filled with "@"... Sometimes I had nothing though...
But the thing is, the Sega CD already initialized the hardware, so the TMSS code would be bad...
I guess it doesn't do anything, I'm checking if there is TMSS. Too bad that SEGA didn't change the hardware version of later models, all later models have 1 as version.
Now I'm going to check what happens if you write SEGA more than once...
Is there anyone who is actually running this program ?