snake6502/src/zeropage.asm

28 lines
690 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
2020-04-08 08:54:54 +00:00
; Pointer to string
2020-04-08 09:03:03 +00:00
srcStringPointer DS 2
2020-04-01 19:11:08 +00:00
; Pointer to screen position where to print intro string
2020-04-08 09:03:03 +00:00
dstScreenPointer DS 2
; Pointer to level struct
levelPointer DS 2
2020-04-02 15:09:57 +00:00
; Pointer to video memory used in the level loading routine
levelVideoPointer DS 2
levelColorPointer 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