Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

User:Xkeeper: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "test")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
test
I host this wiki now, it seems...
 
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>
 
{{Data Crystal admins}}

Latest revision as of 05:01, 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