SadisticMystic, on 18 September 2011 - 06:02 PM, said:
It seems like the lives weren't entirely coded out: if you die a total of 255 times across all the levels, the music stops and you get sent to a glitched remnant of the SEGA screen, then everything just freezes. That's no good.
Oh, bollocks. For today's ASM test, can you spot the deliberate mistake in the code below?
addq.b #1,(Update_HUD_lives).w ; update lives counter
;subq.b #1,(Life_count).w ; subtract 1 from number of lives
bne.s Obj01_ResetLevel ; if it's not a game over, branch
Ah well, it's not a disaster if this glitch does happen, because by resetting the game you'll get back to exactly where you left off, and there's no danger of your save file being corrupted because the Sonic 1 and 2 save system has been entirely replaced by the Sonic VR one (yes, this is a hack of a hack!)
GerbilSoft, on 20 September 2011 - 09:07 PM, said:
I haven't verified this in the ROM itself, but since this ROM uses 6 MB with flat addressing, you may want to verify that the emulator actually supports it before starting. This could be as simple as checking for a known 16-bit value at $5FFFFE (or 32-bit value at $5FFFFC). If that value doesn't match, then show an error message indicating that the system doesn't support 6 MB ROMs.
Gens/GS supports up to 6 MB with flat addressing (and up to 5 MB using SSF2 bankswitching). I haven't checked Kega, but obviously it has to support at least 6 MB since it works fine with this hack. :P
I'm not sure what you mean here. I use bankswitching to access everything from 4MB to 6MB, which works fine on both Fusion and Gens. Although, Gens seems to be a bit more picky about where you put things on the ROM: I had to move the sound driver to before the 2MB mark for it to work (and even then it's not quite right so the sound effect issues are probably related to this). I guess I could display a message if the emulator doesn't support 6MB ROMs, but I'd rather spend the time making levels, which is why you get a message on the first post of this topic saying "use Kega Fusion" instead!
jasonchrist, on 21 September 2011 - 07:48 AM, said:
That's funny, because the top route for the spikes isn't actually impossible. In fact it's the route I take.
Yes, I mentioned that above. I've seen every route being done now except the middle spike one. I guess I need to rethink what "impossible" is when Sonic Retro gets involved...