]> git.sur5r.net Git - cc65/blob - libsrc/creativision/gotoy.s
Merge remote-tracking branch 'upstream/master' into creativision
[cc65] / libsrc / creativision / 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        "creativision.inc"
11
12 .proc   _gotoy
13
14         sta     CURSOR_Y        ; Set new position
15         tax
16         ldy     CURSOR_X
17         jmp     setcursor       ; Set the cursor to the new position
18
19 .endproc