1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-30 16:29:58 +00:00
cc65/libsrc/nes/gotoy.s

23 lines
330 B
ArmAsm
Raw Normal View History

;
; 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