update: added stubs for cell updates
authorLukas Krickl <lukas@krickl.dev>
Sat, 12 Apr 2025 19:06:48 +0000 (21:06 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 12 Apr 2025 19:06:48 +0000 (21:06 +0200)
src/update.s

index ecf9b0b41d697da0f67b63e1fdaf198c74434828..e9be5fc2e0f0c91a26ea31bcef5898b04496e334 100644 (file)
@@ -31,3 +31,17 @@ update:
 
   
 
+  ; bg update queue 
+  ; this is called once during blank
+  ; and updates a fixed amount of tiles 
+  ; from a circular buffer
+  ; the buffer can hold up to 255 items and wraps around
+bg_update_queue_process:
+  ret
+
+  ; pushes a new bg update to the queue
+  ; inputs:
+  ;   hl: ptr to tile 
+  ;    a: tile data
+bg_update_queue_push:
+  ret