1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-07 15:25:31 +00:00
Files
cc65/libsrc/pce/waitvsync.s
2018-08-30 11:48:46 +02:00

20 lines
324 B
ArmAsm

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