add waitvsync() for atari and atari5200
This commit is contained in:
committed by
Oliver Schmidt
parent
79cf1e13a7
commit
3537210674
15
libsrc/atari/waitvsync.s
Normal file
15
libsrc/atari/waitvsync.s
Normal file
@@ -0,0 +1,15 @@
|
||||
;
|
||||
; Written by Christian Groessler <chris@groessler.org>
|
||||
;
|
||||
; void waitvsync (void);
|
||||
;
|
||||
|
||||
.include "atari.inc"
|
||||
.export _waitvsync
|
||||
|
||||
.proc _waitvsync
|
||||
lda RTCLOK+2
|
||||
@lp: cmp RTCLOK+2
|
||||
beq @lp
|
||||
rts
|
||||
.endproc
|
||||
Reference in New Issue
Block a user