Login
Back to forumSee the full topicGo to last reply

Posted By

KiCHY
on 2017-11-27
02:25:18
 Re: Patch for BASIC to make it faster?

I just thought about this a few days ago. I found two kind of patches.
- The first patch seems easy: POKE some zeropage values to tell basic to store variables under $8000, another POKEs modify the RAM reading function(s) after $0470. A basic program can do these modifications.
- The second patch is to modify ROM: modify The paging functions to be copied in ROM. We can't patch JSR$0473 and JSR$0479 calls, we can't replace 3 bytes with 4 bytes (LDY #0; STA ($xy),Y). And for second step, we have to patch that ROM routine which initializes those zero page pointers (basic top, variables, etc.)



Back to top


Copyright © Plus/4 World Team, 2001-2024