mirror of
https://github.com/cc65/cc65.git
synced 2024-08-19 17: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: bit PPU_STATUS
|
|
bpl wait
|
|
rts
|
|
|
|
.endproc
|