1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00
cc65/libsrc/c64/waitvblank.s

14 lines
200 B
ArmAsm
Raw Normal View History

2016-02-28 21:35:46 +00:00
.export _waitvblank
.include "c64.inc"
2016-02-28 21:35:46 +00:00
_waitvblank:
@l1:
lda VIC_CTRL1
bpl @l1
2016-02-28 21:35:46 +00:00
@l2:
lda VIC_CTRL1
bmi @l2
2016-02-28 21:35:46 +00:00
rts