change the way static RAM variable are declared and used

(cherry picked from commit 6cdb7304c2)
This commit is contained in:
2026-04-24 09:31:04 +02:00
parent 3992863664
commit b0758c6976
5 changed files with 55 additions and 47 deletions

View File

@@ -1,16 +0,0 @@
;const free_ram_start = 8000
pub const offsets.screen = 8000 ; screen size: 80x60 = 4800
pub const offsets.tick_duration_high = 12800
pub const offsets.tick_duration_low = 12804
pub const offsets.next_tick_high = 12808
pub const offsets.next_tick_low = 128012
; State:
; U8 x coord
; U8 y coord
; U8 direction
pub const offsets.state_robot = 12816
pub const offsets.state_ghost = 12819