Posted By
 Csabo on 2020-12-13 07:22:21
| Re: Calling 'RUN' from Machine Code
It's true that the jump table for the RUN BASIC command ends up at $8BBC. However, if you check the ROM at that location, you can see that it starts with a BNE. That branch only works (or makes sense) when it's the BASIC interpreter that goes there.
These two calls "simulate" what should happen, the branch does not occur (so we end up on $8BBE, that's what the first JSR is), and so on. |