mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
Added waitvsync for PET
This commit is contained in:
parent
bd6e5927c4
commit
a0596eae6e
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
|
Loading…
x
Reference in New Issue
Block a user