]> git.sur5r.net Git - cc65/blob - libsrc/creativision/gotox.s
6970e5d24fe7d5098a4425d9ae2ed3f9f19154ac
[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