If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
User:Xkeeper: Difference between revisions
Jump to navigation
Jump to search
(it's me) |
(oh man we can put assembly in here i'm excited) |
||
Line 2: | Line 2: | ||
You can probably find out more at [[tcrf:User:Xkeeper|my page on TCRF]]. | You can probably find out more at [[tcrf:User:Xkeeper|my page on TCRF]]. | ||
hell yeah | |||
<syntaxhighlight lang="asm" line> | |||
WaitLoop: | |||
LDA #$01 | |||
STA WaitFlag ; 1 means wait | |||
DoNothing: | |||
LDA WaitFlag ; are we still waiting | |||
BNE DoNothing ; if nonzero, yes | |||
RTS ; otherwise, done | |||
</syntaxhighlight> |
Revision as of 04:02, 24 January 2024
I host this wiki now, it seems...
You can probably find out more at my page on TCRF.
hell yeah
WaitLoop:
LDA #$01
STA WaitFlag ; 1 means wait
DoNothing:
LDA WaitFlag ; are we still waiting
BNE DoNothing ; if nonzero, yes
RTS ; otherwise, done