2020-04-01 19:11:08 +00:00
|
|
|
; Zero page utility pointers
|
2018-09-22 08:58:10 +00:00
|
|
|
; ----------------------------------------------------------------------
|
|
|
|
; 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
|
2018-09-22 08:58:10 +00:00
|
|
|
|
2020-04-02 14:17:48 +00:00
|
|
|
; 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
|
2020-04-02 16:12:39 +00:00
|
|
|
levelColorPointer DS 2
|
2020-04-02 14:17:48 +00:00
|
|
|
|
|
|
|
; 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
|
2018-09-22 08:58:10 +00:00
|
|
|
|
|
|
|
|