mirror of
https://github.com/cc65/cc65.git
synced 2024-11-16 02:10:52 +00:00
Add files via upload
This commit is contained in:
parent
4e2a3bde92
commit
38f54875d0
18
libsrc/atmos/waitvsync.s
Normal file
18
libsrc/atmos/waitvsync.s
Normal file
@ -0,0 +1,18 @@
|
||||
;
|
||||
; Written by Stefan Haubenthal <polluks@sdf.org>, requires VSync hack
|
||||
;
|
||||
; void waitvsync (void);
|
||||
;
|
||||
|
||||
.export _waitvsync
|
||||
|
||||
.include "atmos.inc"
|
||||
|
||||
.proc _waitvsync
|
||||
|
||||
wait: lda VIA::PRA2
|
||||
and #%00010000 ; CB1
|
||||
bne wait
|
||||
rts
|
||||
|
||||
.endproc
|
Loading…
Reference in New Issue
Block a user