mirror of
https://github.com/cc65/cc65.git
synced 2024-11-06 15:06:07 +00:00
19 lines
268 B
ArmAsm
19 lines
268 B
ArmAsm
;
|
|
; Written by Groepaz <groepaz@gmx.net>
|
|
;
|
|
; void waitvsync (void);
|
|
;
|
|
|
|
.export _waitvsync
|
|
|
|
.include "c64.inc"
|
|
|
|
_waitvsync:
|
|
@l1:
|
|
bit VIC_CTRL1
|
|
bpl @l1
|
|
@l2:
|
|
bit VIC_CTRL1
|
|
bmi @l2
|
|
rts
|