1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00
cc65/libsrc/nes/waitvsync.s
2020-04-06 18:13:54 +02:00

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: bit PPU_STATUS
bpl wait
rts
.endproc