]> git.sur5r.net Git - cc65/blob - libsrc/nes/gotoy.s
Clean wherey.s
[cc65] / libsrc / nes / gotoy.s
1 ;
2 ; Ullrich von Bassewitz, 2003-05-02
3 ;
4 ; void gotoy (unsigned char y);
5 ;
6
7         .export         _gotoy
8         .import         setcursor
9
10         .include        "nes.inc"
11
12 .proc   _gotoy
13
14         sta     CURS_Y          ; Set new position
15         tax
16         ldy     CURS_X
17         jmp     setcursor       ; Set the cursor to the new position
18
19 .endproc
20
21
22