1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/nes/waitvblank.s
cuz d53211198b Moved more files with cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 13:40:01 +00:00

21 lines
276 B
ArmAsm

;
; Written by Groepaz/Hitmen <groepaz@gmx.net>
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
;
; void __fastcall__ waitvblank(void);
;
.export _waitvblank
.include "nes.inc"
.proc _waitvblank
wait: lda PPU_STATUS
bpl wait
rts
.endproc