mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +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
|