1
0
mirror of https://github.com/stid/woz64.git synced 2024-06-06 06:29:27 +00:00
woz64/mem_map.asm

56 lines
2.6 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
2019-11-17 07:41:00 +00:00
.namespace SCREEN {
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-17 07:41:00 +00:00
.label cTempY = ZPAGE_BASE+8 // 1 byte
2019-11-06 04:31:17 +00:00
}
2019-11-17 07:41:00 +00:00
.namespace MATH {
.label factor1 = ZPAGE_BASE+9 // 1 byte
.label factor2 = ZPAGE_BASE+10 // 1 byte
.label multiTmpX = ZPAGE_BASE+11 // 1 byte
.label result = ZPAGE_BASE+12 // 2 bytes
2019-11-10 03:10:52 +00:00
}
2019-11-17 07:41:00 +00:00
.namespace KEYB2 {
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
}
2019-11-17 07:41:00 +00:00
.namespace MEMORY {
2019-11-16 22:09:22 +00:00
.label from = ZPAGE_BASE+56 // 2 bytes
.label to = ZPAGE_BASE+58 // 2 bytes
.label size = ZPAGE_BASE+60 // 2 bytes
2019-11-17 07:41:00 +00:00
}
.namespace SHELL {
.label pos = ZPAGE_BASE+62 // 1 bytes
.label MODE = ZPAGE_BASE+63 // 1 bytes
.label L = ZPAGE_BASE+64 // 1 bytes
.label H = ZPAGE_BASE+65 // 1 bytes
.label YSAV = ZPAGE_BASE+66 // 1 bytes
.label STL = ZPAGE_BASE+67 // 1 bytes
.label STH = ZPAGE_BASE+68 // 1 bytes
.label XAML = ZPAGE_BASE+69 // 1 bytes
.label XAMH = ZPAGE_BASE+70 // 1 bytes
.label buffer = $3000 // 256 bytes
2019-11-06 04:31:17 +00:00
}