Am i correct in assuming that you coded this, TmEE?? If so then kudos:thumbsup:
You should make a kit so people can embed it in the genesis like sms snail game.
So you don't even use the stack (subroutines, interrupts)?
No stack, no subroutines, no interrupts.
I actually use subroutines, but not using CPU subroutine instructions...
LEA ExitPoint, A7
JMP DoStuff
ExitPoint:
....
DoStuff:
JMP(A7)
That's pretty impressive - good job!
Avatars don't really mean anything. I didn't invent Peach or Wario ;-) lol
I've always respected people who can code so that it is fully relocatable. I did some on the C64 for a machine-code monitor. I created all the JMP and JSR instructions using a routine that POPed the PC and added offsets. Slow, but fine for what it did.
There are a surprising number of C64 games that left a monitor inside them. Tony Crowther and Jeff Minter are particular fans of leaving stuff in their code.
The code uses no ram, but I assume you must have used some video-RAM? Pretty unavoidable.
Don't forget all you MD coders, the YM sound chip has 6 channels numbered 0,1,2,4,5,6 because it was a cut-down 8 channel chip.
Despite that, channels are still going from 0...2 and 3...5 in my sound engine.... actually 0...2 and 0...2 (there's quite a bit of "double code" to achieve max performance).