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

View File

@@ -8,9 +8,6 @@ joystick support should get verified on real hw
revers() is a dummy function, actual reverse output is not supported yet
waitvblank() is missing
get_tv() is missing
some graphical petscii chars should get added to the charset
interruptor support in crt0 (and cfg) is missing

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