Up: Map Next: 5CB6
5C00: System variables
The tape block starts here, so it carries a set of system variables of its own: PROG, VARS and the rest point at the game's BASIC, and ERR_SP and RAMTOP at its stack, just below the machine code.
SYSTEM_VARIABLES 5C00 DEFB $FF,$00,$00,$00,$FF,$00,$22,$0D
5C08 DEFB $0D,$23,$05,$00,$00,$00,$00,$00
5C10 DEFB $01,$00,$06,$00,$0B,$00,$01,$00
5C18 DEFB $01,$00,$06,$00,$10,$00,$00,$00
5C20 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5C28 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5C30 DEFB $00,$00,$00,$00,$00,$00,$00,$3C
5C38 DEFB $40,$00
ERR_NR 5C3A DEFB $FF ERR_NR: INTERRUPT watches it for an error to restart from
5C3B DEFB $CC,$01
ERR_SP 5C3D DEFB $FC,$7F ERR_SP: RESTART_BASIC restarts BASIC with the stack it points at
5C3F DEFB $FC,$7F,$00,$00,$00,$FF,$FE,$FF
5C47 DEFB $01,$38,$5F,$00,$DA,$7D,$00,$00
5C4F DEFB $B6,$5C,$B6,$5C,$CB,$5C,$E9,$7D
5C57 DEFB $CA,$5C
E_LINE 5C59 DEFB $DB,$7D E_LINE: where RESTART_BASIC types RUN
5C5B DEFB $E2,$7D,$E8,$7D,$01,$00,$EA,$7D
5C63 DEFB $EA,$7D,$EA,$7D,$2D,$92,$5C,$10
5C6B DEFB $02,$00,$00,$FE,$FF,$01,$00,$00
5C73 DEFB $00,$B6,$1A
SEED 5C76 DEFB $00,$00 SEED: PLAY leaves the game's random number here, and RANDOMIZE USR overwrites it at once
5C78 DEFB $1E,$33,$00,$58,$FF,$00,$00,$21
5C80 DEFB $00,$5B,$21,$17,$00,$40,$E0,$50
5C88 DEFB $21,$18,$21,$17,$01,$38,$00,$38
5C90 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5C98 DEFB $00,$5A,$00,$00,$00,$00,$0A,$00
5CA0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5CA8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5CB0 DEFB $00,$00,$FF,$7F,$FF,$FF
Up: Map Next: 5CB6