replace texture jump table with dispatch table

(cherry picked from commit 88f10f9f06)
This commit is contained in:
2026-04-24 10:12:23 +02:00
parent b0758c6976
commit f0656aca40
6 changed files with 92 additions and 47 deletions

View File

@@ -1,3 +1,14 @@
; Sprite addresses jump table
pub ptr.textures_addresses:
U32 0 ; empty
U32 0 ; placeholder
U32 0 ; wall_end
U32 0 ; wall_straight
U32 0 ; wall_corner
U32 0 ; robot
U32 0 ; ghost
U32 0 ; coin
; 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