add waitvsync() for atari and atari5200

This commit is contained in:
Christian Groessler
2020-10-27 22:25:58 +01:00
committed by Oliver Schmidt
parent 79cf1e13a7
commit 3537210674
6 changed files with 36 additions and 1 deletions

15
libsrc/atari/waitvsync.s Normal file
View 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