woz64/mem_map.asm

56 lines
1.3 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 KEYB2 {
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
}
.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
}