mirror of
https://github.com/cc65/cc65.git
synced 2024-08-21 16:29:27 +00:00
19 lines
236 B
ArmAsm
19 lines
236 B
ArmAsm
|
;
|
||
|
; void waitvblank (void);
|
||
|
;
|
||
|
|
||
|
.include "pce.inc"
|
||
|
|
||
|
.export _waitvblank
|
||
|
;; .importzp tickcount
|
||
|
|
||
|
.proc _waitvblank
|
||
|
|
||
|
lda tickcount
|
||
|
@lp: cmp tickcount
|
||
|
beq @lp
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|