added waitvblank and fixed get_tv
This commit is contained in:
@@ -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
18
libsrc/pce/waitvblank.s
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user