projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c805fd0
)
update: added stubs for cell updates
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 12 Apr 2025 19:06:48 +0000
(21:06 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 12 Apr 2025 19:06:48 +0000
(21:06 +0200)
src/update.s
patch
|
blob
|
history
diff --git
a/src/update.s
b/src/update.s
index ecf9b0b41d697da0f67b63e1fdaf198c74434828..e9be5fc2e0f0c91a26ea31bcef5898b04496e334 100644
(file)
--- a/
src/update.s
+++ b/
src/update.s
@@
-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