change the way static RAM variable are declared and used
(cherry picked from commit 6cdb7304c2)
This commit is contained in:
22
src/reserved_space.asm
Normal file
22
src/reserved_space.asm
Normal file
@@ -0,0 +1,22 @@
|
||||
; 0.5 second = 500_000_000 nano second = 0x0000_0000_1DCD_6500
|
||||
pub ptr.tick_duration_high: U32 0x0000_0000
|
||||
pub ptr.tick_duration_low: U32 0x1DCD_6500
|
||||
|
||||
; 1 second = 1_000_000_000 nano second = 0x0000_0000_3B9A_CA00
|
||||
; pub ptr.tick_duration_high: U32 0x0000_0000
|
||||
; pub ptr.tick_duration_low: U32 0x3B9A_CA00
|
||||
|
||||
pub ptr.next_tick_high: U32 0
|
||||
pub ptr.next_tick_low: U32 0
|
||||
|
||||
pub ptr.state_robot:
|
||||
U8 0 ; x coord
|
||||
U8 0 ; y coord
|
||||
U8 0 ; direction
|
||||
|
||||
pub ptr.state_ghost:
|
||||
U8 0 ; x coord
|
||||
U8 0 ; y coord
|
||||
U8 0 ; direction
|
||||
|
||||
pub ptr.screen:
|
||||
Reference in New Issue
Block a user