mirror of
https://github.com/cc65/cc65.git
synced 2024-08-20 09:29:12 +00:00
17 lines
251 B
ArmAsm
17 lines
251 B
ArmAsm
|
;
|
||
|
; 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
|