add gotox, gotoy, and gotoxy
This commit is contained in:
15
libsrc/atari5200/gotox.s
Normal file
15
libsrc/atari5200/gotox.s
Normal file
@@ -0,0 +1,15 @@
|
||||
;
|
||||
; Christian Groessler, 13-Mar-2014
|
||||
;
|
||||
; void gotox (unsigned char x);
|
||||
;
|
||||
|
||||
.include "atari5200.inc"
|
||||
.export _gotox
|
||||
.import setcursor
|
||||
|
||||
_gotox:
|
||||
sta COLCRS_5200 ; Set X
|
||||
lda #0
|
||||
sta COLCRS_5200+1
|
||||
jmp setcursor
|
||||
Reference in New Issue
Block a user