Add memory allocation map

This commit is contained in:
Juhani Krekelä 2023-03-19 21:06:12 +02:00
parent b3df18bb04
commit 5e5a540ce9
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ variables = {
'mouse_buttons': None,
'window_chain_head': None,
'redraw': None,
'memory_allocation_map': None,
}
if len(sys.argv) != 3:

View File

@ -466,6 +466,7 @@ mouse_handler:
times 510-($-$$) db 0
%endif
memory_allocation_map:
db 0x55
db 0xaa
@ -475,6 +476,7 @@ db 0xaa
section .bss
_bss_start:
resb 8 ; Rest of the memory allocation map
mouse_x resw 1
mouse_y resw 1 ; mouse_x + 2, do not touch