mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 22:25:28 +00:00
Added waitvsync for PET
This commit is contained in:
16
libsrc/pet/waitvsync.s
Normal file
16
libsrc/pet/waitvsync.s
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
;
|
||||||
|
; Written by Robin Harbron, requires 12" monitor
|
||||||
|
;
|
||||||
|
; void waitvsync (void);
|
||||||
|
;
|
||||||
|
|
||||||
|
.export _waitvsync
|
||||||
|
|
||||||
|
.include "pet.inc"
|
||||||
|
|
||||||
|
_waitvsync:
|
||||||
|
@l1:
|
||||||
|
lda VIA_PB
|
||||||
|
and #%00100000
|
||||||
|
bne @l1
|
||||||
|
rts
|
Reference in New Issue
Block a user