mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
23 lines
330 B
ArmAsm
23 lines
330 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-05-02
|
||
|
;
|
||
|
; void gotoy (unsigned char y);
|
||
|
;
|
||
|
|
||
|
.export _gotoy
|
||
|
.import setcursor
|
||
|
|
||
|
.include "nes.inc"
|
||
|
|
||
|
.proc _gotoy
|
||
|
|
||
|
sta CURS_Y ; Set new position
|
||
|
tax
|
||
|
ldy CURS_X
|
||
|
jmp setcursor ; Set the cursor to the new position
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|
||
|
|