I'm open for some advices. In Xemu, there is the -prg switch to allow an "instant load" of program. This works, by writing into the memory directly by the emulator, and adjusting BASIC pointers then (otherwise the program won't run, or other abnormal effects occurs). As far as I can see for "C64 mode" (BASIC 2) it's enough to adjust ZP locations $2D and $2E for end of the program and it seems to be fine enough then. However it does not work for BASIC 10. Does somebody have an idea how to solve the same problem for BASIC 10?
BASIC 10 pointers
- LGB-Z
- Thread is marked as Resolved.
-
-
The start address of the BASIC 10 program is stored in addresses 45 and 46 ($2D-$2E). In the addresses 174 and 175 ($AE-$AF) are the end address of the BASIC 10 program.
-
-
The start address of the BASIC 10 program is stored in addresses 45 and 46 ($2D-$2E). In the addresses 174 and 175 ($AE-$AF) are the end address of the BASIC 10 program.
Thanks, setting $AE and $AF seems to solve the problem in C65 mode