1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-15 11:05:56 +00:00
cc65/libsrc/nes/gotoy.s
cuz 58b9530c2b More additions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 15:00:45 +00:00

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