User Tools

Site Tools


Running a Basic program from Assembler

Sometimes it is neccessary to run a Basic program from assembler code. To do this, it's a good idea to do a full Kernal/Basic initialization before.

PRGEND = $1234    ; end of the Basic program

    STA $2D
    STA $AE
    STA $2E
    STA $AF

    JSR $A659    ; Reset execute pointer and do CLR
    JSR $A533    ; Rechain Lines
    JMP $A7AE    ; Basic Warm Start
base/runbasicprg.txt · Last modified: 2020-12-06 20:24 by pararaum