User:Xkeeper: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(oh man we can put assembly in here i'm excited)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
     RTS            ; otherwise, done
     RTS            ; otherwise, done
</syntaxhighlight>
</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