1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/libsrc/nes/waitvsync.s

19 lines
265 B
ArmAsm
Raw Normal View History

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