1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-10 20:25:20 +00:00
Files
cc65/libsrc/atmos/waitvsync.s
Stefan be5a9f92ec oops
2024-09-07 18:51:20 +02:00

19 lines
287 B
ArmAsm

;
; Written by Stefan Haubenthal <polluks@sdf.org>, requires VSync hack
;
; void waitvsync (void);
;
.export _waitvsync
.include "atmos.inc"
.proc _waitvsync
lda #%00010000 ; CB1
wait: and VIA::PRA2
bne wait
rts
.endproc