add gotox, gotoy, and gotoxy

This commit is contained in:
Christian Groessler
2014-03-13 02:38:35 +01:00
parent 84c655a907
commit 30b418c734
4 changed files with 73 additions and 0 deletions

13
libsrc/atari5200/gotoy.s Normal file
View File

@@ -0,0 +1,13 @@
;
; Christian Groessler, 13-Mar-2014
;
; void gotoy (unsigned char y);
;
.include "atari5200.inc"
.export _gotoy
.import setcursor
_gotoy:
sta ROWCRS_5200 ; Set Y
jmp setcursor