mirror of
https://github.com/cc65/cc65.git
synced 2024-11-05 08:05:51 +00:00
23 lines
374 B
ArmAsm
23 lines
374 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
|
|
|
|
|
|
|