mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
21 lines
325 B
ArmAsm
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
|