1 2 3 4 5 6 7 8 9 10 11
.export _jsleep .import _set_jiffy_timer _jsleep: jsr _set_jiffy_timer wait: lda 540 ora 541 bne wait rts