1
0
mirror of https://github.com/stid/woz64.git synced 2024-05-28 22:41:29 +00:00
woz64/core/mem_map.asm

71 lines
1.5 KiB
NASM
Raw Normal View History

2019-11-06 04:31:17 +00:00
.filenamespace MemMap
#importonce
2020-01-13 07:33:13 +00:00
.const SHELL_BUGGER_ADDR = $3000
.const XSTACK_ADDRESS = $3100
.const YSTACK_ADDRESS = $3200
2019-11-23 02:50:25 +00:00
*=$2 "ZERO PAGE" virtual
2019-11-06 04:31:17 +00:00
2020-01-13 07:33:13 +00:00
.namespace CORE {
yStackOffset: .byte 0
xStackOffset: .byte 0
.label XStack = XSTACK_ADDRESS // 256 bytes
.label YStack = YSTACK_ADDRESS // 256 bytes
}
2019-11-17 07:41:00 +00:00
.namespace SCREEN {
2019-11-23 02:50:25 +00:00
TempVideoPointer: .word 0
TempStringPointer: .word 0
CursorCol: .byte 0
CursorRow: .byte 0
ScrollUpTriggered: .byte 0
2019-11-06 04:31:17 +00:00
}
2019-11-17 07:41:00 +00:00
.namespace MATH {
2019-11-23 02:50:25 +00:00
factor1: .byte 0
factor2: .byte 0
result: .word 0
2019-11-10 03:10:52 +00:00
}
2020-01-12 08:10:01 +00:00
.namespace KEYBOARD {
2019-11-23 02:50:25 +00:00
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
2019-11-16 22:09:22 +00:00
}
2019-11-17 07:41:00 +00:00
.namespace MEMORY {
2019-11-23 02:50:25 +00:00
from: .word 0
dest: .word 0
size: .word 0
2019-11-17 07:41:00 +00:00
}
2020-01-12 08:10:01 +00:00
.namespace MODULE {
2020-01-13 07:33:13 +00:00
versionPtr: .word 0
2020-01-12 08:10:01 +00:00
}
2019-11-17 07:41:00 +00:00
.namespace SHELL {
2019-11-23 02:50:25 +00:00
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
2020-01-13 07:33:13 +00:00
.label buffer = SHELL_BUGGER_ADDR // 256 bytes
2019-11-23 02:50:25 +00:00
}
2020-01-12 08:10:01 +00:00
2020-01-13 07:33:13 +00:00