added waitvblank and fixed get_tv

This commit is contained in:
mrdudz
2015-07-15 19:46:26 +02:00
parent c3d45e4c47
commit 1414411bba
5 changed files with 39 additions and 9 deletions

18
libsrc/pce/waitvblank.s Normal file
View File

@@ -0,0 +1,18 @@
;
; void waitvblank (void);
;
.include "pce.inc"
.export _waitvblank
;; .importzp tickcount
.proc _waitvblank
lda tickcount
@lp: cmp tickcount
beq @lp
rts
.endproc