mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +00:00
19 lines
332 B
ArmAsm
19 lines
332 B
ArmAsm
;
|
|
; Written by Groepaz <groepaz@gmx.net>
|
|
;
|
|
; void waitvsync (void);
|
|
;
|
|
|
|
.export _waitvsync
|
|
|
|
.forceimport ticktock ; make sure that tickcount changes
|
|
|
|
.include "extzp.inc"
|
|
|
|
.proc _waitvsync
|
|
lda tickcount
|
|
@lp: cmp tickcount
|
|
beq @lp
|
|
rts
|
|
.endproc
|