mirror of
https://github.com/cc65/cc65.git
synced 2024-11-12 07:07:19 +00:00
23 lines
364 B
ArmAsm
23 lines
364 B
ArmAsm
;
|
|
; Written by Groepaz <groepaz@gmx.net>
|
|
;
|
|
; void waitvsync (void);
|
|
;
|
|
|
|
.include "gamate.inc"
|
|
.include "extzp.inc"
|
|
|
|
.forceimport ticktock
|
|
.export _waitvsync
|
|
|
|
; FIXME: is this actually correct?
|
|
|
|
.proc _waitvsync
|
|
|
|
lda tickcount
|
|
@lp: cmp tickcount
|
|
beq @lp
|
|
rts
|
|
|
|
.endproc
|