2020-04-02 14:17:48 +00:00
|
|
|
; Data section - Not initialized variables ($CD00 - $CDFF)
|
2018-09-22 08:58:10 +00:00
|
|
|
; ----------------------------------------------------------------------
|
|
|
|
; Number of interrupt
|
|
|
|
; Used as counter to be decremented to do some things less frequently
|
|
|
|
irqn:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; Direction of the snake (2,4,6,8 as down,left,right,up)
|
|
|
|
; 5 means `pause`
|
|
|
|
direction:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; Snake head coordinates in video memory
|
|
|
|
snakeX:
|
|
|
|
BYTE
|
|
|
|
snakeY:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; Parameters for calcTileMem
|
|
|
|
calcTileX:
|
|
|
|
BYTE
|
|
|
|
calcTileY:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; List start and length
|
|
|
|
listStart:
|
|
|
|
BYTE
|
|
|
|
length:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; Random value
|
|
|
|
random:
|
|
|
|
BYTE
|
|
|
|
|
|
|
|
; Status
|
|
|
|
status:
|
|
|
|
BYTE
|
|
|
|
|
2020-04-02 16:12:39 +00:00
|
|
|
; Level temporary vars
|
|
|
|
levelT:
|
|
|
|
BYTE
|
|
|
|
levelN:
|
|
|
|
BYTE
|
2018-09-22 08:58:10 +00:00
|
|
|
|
2020-04-08 07:15:25 +00:00
|
|
|
; next status after delay
|
|
|
|
delayStatus:
|
|
|
|
BYTE
|
|
|
|
|
2020-04-08 08:54:54 +00:00
|
|
|
; Total score of the game
|
|
|
|
score:
|
|
|
|
WORD
|
|
|
|
|