1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00
cc65/libsrc/pce/waitvsync.s
2017-07-18 01:04:53 +02:00

21 lines
325 B
ArmAsm

;
; Written by Groepaz <groepaz@gmx.net>
;
; void waitvsync (void);
;
.include "pce.inc"
.include "extzp.inc"
.forceimport ticktock
.export _waitvsync
.proc _waitvsync
lda tickcount
@lp: cmp tickcount
beq @lp
rts
.endproc