rename all waitvblank() to waitvsync()
This commit is contained in:
18
libsrc/pce/waitvsync.s
Normal file
18
libsrc/pce/waitvsync.s
Normal file
@@ -0,0 +1,18 @@
|
||||
;
|
||||
; void waitvsync (void);
|
||||
;
|
||||
|
||||
.include "pce.inc"
|
||||
.include "extzp.inc"
|
||||
|
||||
.forceimport ticktock
|
||||
.export _waitvsync
|
||||
|
||||
.proc _waitvsync
|
||||
|
||||
lda tickcount
|
||||
@lp: cmp tickcount
|
||||
beq @lp
|
||||
rts
|
||||
|
||||
.endproc
|
||||
Reference in New Issue
Block a user