diff options
author | dannye <33dannye@gmail.com> | 2021-02-06 11:14:03 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-02-06 11:14:03 -0600 |
commit | 353e68e5588587017ff288250e85369c2116a19d (patch) | |
tree | 60c35e275e0108a5a2b40710e4bb628508da4868 /src/macros/code.asm | |
parent | 6e5930f1fd92ba435c58a7936b15ded2cd4118aa (diff) |
Rename event flags to event vars
Diffstat (limited to 'src/macros/code.asm')
-rw-r--r-- | src/macros/code.asm | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/macros/code.asm b/src/macros/code.asm index 8921a04..64fa387 100644 --- a/src/macros/code.asm +++ b/src/macros/code.asm @@ -26,39 +26,39 @@ else endc ENDM -; runs SetEventFlagValue with the next value as the flag, c as the new value -set_flag_value: MACRO - call SetStackFlagValue +; runs SetEventValue with the next byte as the event, c as the new value +set_event_value: MACRO + call SetStackEventValue db \1 ENDM -; runs ZeroOutEventFlag with the next value as the flag -zero_flag_value: MACRO - call ZeroStackFlagValue +; runs ZeroOutEventValue with the next byte as the event +zero_event_value: MACRO + call ZeroStackEventValue db \1 ENDM ; a second version of the above with no real differences -zero_flag_value2: MACRO - call ZeroStackFlagValue2 +zero_event_value2: MACRO + call ZeroStackEventValue2 db \1 ENDM -; runs MaxOutEventFlag with the next value as the flag -max_flag_value: MACRO - call MaxStackFlagValue +; runs MaxOutEventValue with the next byte as the event +max_event_value: MACRO + call MaxStackEventValue db \1 ENDM -; runs GetEventFlagValue with the next value as the flag. returns value in a -get_flag_value: MACRO - call GetStackFlagValue +; runs GetEventValue with the next byte as the event. returns value in a +get_event_value: MACRO + call GetStackEventValue db \1 ENDM ; the rst $38 handler is a single ret instruction ; probably used for testing purposes during development -debug_ret EQUS "rst $38" +debug_nop EQUS "rst $38" ; Returns to the pointer in bc instead of where the stack was. retbc: MACRO |