mirror of
https://github.com/cc65/cc65.git
synced 2024-11-01 11:04:34 +00:00
19 lines
287 B
ArmAsm
19 lines
287 B
ArmAsm
;
|
|
; void waitvblank (void);
|
|
;
|
|
|
|
.include "pce.inc"
|
|
.include "extzp.inc"
|
|
|
|
.forceimport ticktock
|
|
.export _waitvblank
|
|
|
|
.proc _waitvblank
|
|
|
|
lda tickcount
|
|
@lp: cmp tickcount
|
|
beq @lp
|
|
rts
|
|
|
|
.endproc
|