Merge pull request #453 from mrdudz/waitvsync

waitvblank for cbm targets
This commit is contained in:
Oliver Schmidt
2017-07-18 15:38:27 +02:00
committed by GitHub
19 changed files with 142 additions and 26 deletions

View File

@@ -1,15 +1,15 @@
;
; Written by Groepaz/Hitmen <groepaz@gmx.net>
; Written by Groepaz <groepaz@gmx.net>
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
;
; void waitvblank(void);
; void waitvsync(void);
;
.export _waitvblank
.export _waitvsync
.include "nes.inc"
.proc _waitvblank
.proc _waitvsync
wait: lda PPU_STATUS
bpl wait