1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-01 11:04:34 +00:00
cc65/libsrc/nes/waitvsync.s
2017-07-18 01:04:53 +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: lda PPU_STATUS
bpl wait
rts
.endproc