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