]> git.sur5r.net Git - cc65/blob - libsrc/nes/gotox.s
Fixed bugs; and, improved the efficiency of some pce library functions.
[cc65] / libsrc / nes / 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        "nes.inc"
11
12 .proc   _gotox
13
14         sta     CURS_X          ; Set new position
15         tay
16         ldx     CURS_Y
17         jmp     setcursor       ; Set the cursor to the new position
18
19 .endproc
20
21