]> git.sur5r.net Git - cc65/blob - libsrc/creativision/gotox.s
Merge remote-tracking branch 'upstream/master' into creativision
[cc65] / libsrc / creativision / gotox.s
1 ;
2 ; Ullrich von Bassewitz, 2003-05-02
3 ;
4 ; void gotox (unsigned char x);
5 ;
6
7         .export         _gotox
8         .import         setcursor
9
10         .include        "creativision.inc"
11
12 .proc   _gotox
13
14         sta     CURSOR_X          ; Set new position
15         tay
16         ldx     CURSOR_Y
17         jmp     setcursor       ; Set the cursor to the new position
18
19 .endproc