From: Lukas Krickl Date: Thu, 27 Mar 2025 10:53:38 +0000 (+0100) Subject: Added note about state handling X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=14899dc3c3cee08d99d506185f2487210fb8682f;p=gbrg%2F.git Added note about state handling --- diff --git a/src/defs.s b/src/defs.s index 3a672f0..f76d1f3 100644 --- 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