]> git.sur5r.net Git - cc65/blob - libsrc/c1p/gotox.s
fb84975d188914aaa5a0de4b76436efd1962eeac
[cc65] / libsrc / c1p / gotox.s
1 ;
2 ; copied from CBM implementation
3 ; originally by:
4 ; Ullrich von Bassewitz, 07.08.1998
5 ;
6 ; void gotox (unsigned char x);
7 ;
8         .export         _gotox
9         .import         plot           
10         .importzp       CURS_X
11
12 _gotox: sta     CURS_X          ; Set new position
13         jmp     plot            ; And activate it