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
1 changed files with 16 additions and 0 deletions

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