mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +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
|