Login
Back to forumSee the full topicGo to last reply

Posted By

ChrisM
on 2019-01-04
10:24:57
 Re: JMP to machine code copied from cartridge ROM?

Hi SVS,

For testing, I've taken an existing PRG file (Zolyx) and copied that to its original location of $1001.

When the cartridge boots, it reads the header which JMPs to the code which copies that data.

Once I'm done copying, I'd like to JMP into the copied code and run the game. However, when I do this, I get corrupt data. If I RTS from the cartridge code, I am then able to successfully boot Zolyx with SYS 4125 ($101D).

I assume it's a bankswitching issue but I can't seem to solve it so far. Thanks for any suggestions!



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon