1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00
cc65/libsrc/nes/waitvsync.s

19 lines
265 B
ArmAsm
Raw Normal View History

;
2017-07-18 01:04:53 +02:00
; Written by Groepaz <groepaz@gmx.net>
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
;
2017-07-17 23:15:05 +02:00
; void waitvsync(void);
;
2017-07-17 23:15:05 +02:00
.export _waitvsync
.include "nes.inc"
2017-07-17 23:15:05 +02:00
.proc _waitvsync
2020-04-06 16:20:52 +02:00
wait: bit PPU_STATUS
bpl wait
rts
.endproc