projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50de085
)
Added note about state handling
author
Lukas Krickl
<lukas@krickl.dev>
Thu, 27 Mar 2025 10:53:38 +0000
(11:53 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Thu, 27 Mar 2025 10:53:38 +0000
(11:53 +0100)
src/defs.s
patch
|
blob
|
history
diff --git
a/src/defs.s
b/src/defs.s
index 3a672f0353993f85508fc5221c8ef33959e951f0..f76d1f3569003f056be19dc405d1cbc1babf4069 100644
(file)
--- a/
src/defs.s
+++ b/
src/defs.s
@@
-74,7
+74,12
@@
.se 0
; time until next state
.de st_time, 1
- ; state routine
+ ; state routine
+ ; it can return 0000 in hl
+ ; or a new state address in hl
+ ; if hl is not 0000 after
+ ; the calling state's address
+ ; will be set to hl immediatly
.de st_routine, 2
; next state
.de st_next, 2