1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

Added waitvsync for PET

This commit is contained in:
Polluks 2020-11-18 01:05:40 +01:00 committed by Oliver Schmidt
parent bd6e5927c4
commit a0596eae6e

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