mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
19 lines
265 B
ArmAsm
19 lines
265 B
ArmAsm
;
|
|
; Written by Groepaz <groepaz@gmx.net>
|
|
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
|
|
;
|
|
; void waitvsync(void);
|
|
;
|
|
|
|
.export _waitvsync
|
|
|
|
.include "nes.inc"
|
|
|
|
.proc _waitvsync
|
|
|
|
wait: lda PPU_STATUS
|
|
bpl wait
|
|
rts
|
|
|
|
.endproc
|