2003-05-02 15:00:45 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 2003-05-02
|
|
|
|
;
|
|
|
|
; void gotox (unsigned char x);
|
|
|
|
;
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export _gotox
|
|
|
|
.import setcursor
|
2003-05-02 15:00:45 +00:00
|
|
|
|
|
|
|
.include "nes.inc"
|
|
|
|
|
|
|
|
.proc _gotox
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
sta CURS_X ; Set new position
|
2003-05-02 15:00:45 +00:00
|
|
|
tay
|
|
|
|
ldx CURS_Y
|
2013-05-09 13:56:54 +02:00
|
|
|
jmp setcursor ; Set the cursor to the new position
|
2003-05-02 15:00:45 +00:00
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|