snake6502/src/zeropage.asm

30 lines
718 B
NASM
Raw Normal View History

2020-04-01 19:11:08 +00:00
; Zero page utility pointers
; ----------------------------------------------------------------------
; Where is the snake head in video memory? Do math to calculate address
; using pointer at tileMem,tileMem+1
tileMem DS 2
; Pointer to status string
printStatusString DS 2
; Pointer to intro string
printIntroString DS 2
2020-04-01 19:11:08 +00:00
; Pointer to screen position where to print intro string
introScreenStart DS 2
; Pointer to level struct
levelPointer DS 2
; Temporary pointer -- Use when you don't call a subroutine
tempPointer DS 2
; Pointer for Pointer in the NextPointer routine
nextPointerPointer DS 2
; Pointer to string for strlen routine
strlenString DS 2
2020-04-01 19:11:08 +00:00
; Note: Locations $90-$FF in zeropage are used by kernal