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

40 lines
1.8 KiB
NASM
Raw Normal View History

2019-11-06 04:31:17 +00:00
.filenamespace MemMap
#importonce
2019-11-10 03:10:52 +00:00
.const ZPAGE_BASE = $2
2019-11-06 04:31:17 +00:00
.namespace SCREEN_SPACE {
2019-11-10 03:10:52 +00:00
.label TempVideoPointer = ZPAGE_BASE // 2 bytes
.label TempStringPointer = ZPAGE_BASE+2 // 2 bytes
.label CursorCol = ZPAGE_BASE+4 // 1 byte
.label CursorRow = ZPAGE_BASE+5 // 1 byte
.label tempY = ZPAGE_BASE+6 // 1 byte
.label tempX = ZPAGE_BASE+7 // 1 byte
2019-11-06 04:31:17 +00:00
}
.namespace MATH_SPACE {
2019-11-10 03:10:52 +00:00
.label factor1 = ZPAGE_BASE+8 // 1 byte
.label factor2 = ZPAGE_BASE+9 // 1 byte
.label multiTmpX = ZPAGE_BASE+10 // 1 byte
.label result = ZPAGE_BASE+11 // 2 bytes
}
.namespace KEYB2_SPACE {
2019-11-16 22:09:22 +00:00
.label KeyR = ZPAGE_BASE+37 // 1 bytes
2019-11-10 03:10:52 +00:00
.label SYS_Keyd = ZPAGE_BASE+38 // 10 bytes
2019-11-16 22:09:22 +00:00
.label SYS_Ndx = ZPAGE_BASE+48 // 1 bytes
2019-11-10 03:10:52 +00:00
.label SYS_Xmax = ZPAGE_BASE+49 // 1 bytes
.label SYS_Shflag = ZPAGE_BASE+50 // 1 bytes
.label SYS_Sfdx = ZPAGE_BASE+51 // 1 bytes
.label SYS_Lstx = ZPAGE_BASE+52 // 1 bytes
.label SYS_Delay = ZPAGE_BASE+53 // 1 bytes
.label SYS_Kount = ZPAGE_BASE+54 // 1 bytes
.label SYS_Lstshf = ZPAGE_BASE+55 // 1 bytes
2019-11-16 22:09:22 +00:00
}
.namespace MEMORY_SPACE {
.label from = ZPAGE_BASE+56 // 2 bytes
.label to = ZPAGE_BASE+58 // 2 bytes
.label size = ZPAGE_BASE+60 // 2 bytes
2019-11-06 04:31:17 +00:00
}