mirror of
https://github.com/cc65/cc65.git
synced 2024-08-17 03:29:15 +00:00
16 lines
269 B
ArmAsm
16 lines
269 B
ArmAsm
|
;
|
||
|
; Written by Christian Groessler <chris@groessler.org>
|
||
|
;
|
||
|
; void waitvsync (void);
|
||
|
;
|
||
|
|
||
|
.include "atari.inc"
|
||
|
.export _waitvsync
|
||
|
|
||
|
.proc _waitvsync
|
||
|
lda RTCLOK+2
|
||
|
@lp: cmp RTCLOK+2
|
||
|
beq @lp
|
||
|
rts
|
||
|
.endproc
|