I'm trying to get a Basic program running from cartridge because, why not?
So, I'm trying to replicate what the rom of the spanish driving test does, which is to copy the program to 0x1E00 and then jump to the basic RUN command at 0x85A5.
The loader code is this:
Code: Select all
CLRA LDA #$5B STA >$001B STA >$001F LDX #$C020 LDY #$1E00 BSR $C016 JMP $85A5 RTS LDA ,X+ STA ,Y+ CMPX #$FEFF BNE $C016 RTS
So I'm not exactly sure what did I miss. Any ideas?