]> git.sur5r.net Git - cc65/blob - libsrc/plus4/waitvsync.s
again, some TABs slipped into the code...
[cc65] / libsrc / plus4 / waitvsync.s
1 ;
2 ; Written by Groepaz <groepaz@gmx.net>
3 ;
4 ; void waitvsync (void);
5 ;
6
7         .export         _waitvsync
8
9         .include        "plus4.inc"
10
11 _waitvsync:
12 @l1:
13         lda     TED_VLINEHI
14         and     #$01
15         ora     TED_VLINELO
16         bne     @l1
17         rts