mirror of
https://github.com/stid/woz64.git
synced 2024-11-26 08:50:11 +00:00
64 lines
1.4 KiB
NASM
64 lines
1.4 KiB
NASM
.filenamespace MemMap
|
|
#importonce
|
|
|
|
*=$2 "ZERO PAGE" virtual
|
|
|
|
.namespace SCREEN {
|
|
TempVideoPointer: .word 0
|
|
TempStringPointer: .word 0
|
|
CursorCol: .byte 0
|
|
CursorRow: .byte 0
|
|
tempY: .byte 0
|
|
tempX: .byte 0
|
|
PrintPetCharY: .byte 0
|
|
PrintPetCharX: .byte 0
|
|
ScrollUpTriggered: .byte 0
|
|
}
|
|
|
|
.namespace MATH {
|
|
factor1: .byte 0
|
|
factor2: .byte 0
|
|
result: .word 0
|
|
}
|
|
|
|
.namespace KEYBOARD {
|
|
KeyR: .byte 0
|
|
SYS_Keyd: .fill $10,0
|
|
SYS_Ndx: .byte 0
|
|
SYS_Xmax: .byte 0
|
|
SYS_Shflag: .byte 0
|
|
SYS_Sfdx: .byte 0
|
|
SYS_Lstx: .byte 0
|
|
SYS_Delay: .byte 0
|
|
SYS_Kount: .byte 0
|
|
SYS_Lstshf: .byte 0
|
|
}
|
|
|
|
.namespace MEMORY {
|
|
from: .word 0
|
|
dest: .word 0
|
|
size: .word 0
|
|
tmpX: .byte 0
|
|
tmpY: .byte 0
|
|
}
|
|
|
|
.namespace MODULE {
|
|
versionPtr: .word 0
|
|
}
|
|
|
|
|
|
.namespace SHELL {
|
|
pos: .byte 0
|
|
MODE: .byte 0
|
|
L: .byte 0
|
|
H: .byte 0
|
|
YSAV: .byte 0
|
|
STL: .byte 0
|
|
STH: .byte 0
|
|
XAML: .byte 0
|
|
XAMH: .byte 0
|
|
|
|
.label buffer = $3000 // 256 bytes
|
|
}
|
|
|