1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00
cc65/libsrc/plus4/waitvsync.s

18 lines
270 B
ArmAsm
Raw Normal View History

2017-07-17 23:04:53 +00:00
;
; Written by Groepaz <groepaz@gmx.net>
;
; void waitvsync (void);
;
2017-07-17 21:55:18 +00:00
.export _waitvsync
.include "plus4.inc"
_waitvsync:
@l1:
lda TED_VLINEHI
and #$01
ora TED_VLINELO
bne @l1
rts