atari5200: implement bgcolor() and textcolor()
Includes some other small fixes/cleanups.
This commit is contained in:
committed by
Oliver Schmidt
parent
edd596b2a4
commit
ec5e38617a
@@ -8,7 +8,6 @@
|
||||
|
||||
.export gotoxy, _gotoxy
|
||||
.import popa
|
||||
.import setcursor
|
||||
|
||||
gotoxy:
|
||||
jsr popa ; Get Y
|
||||
@@ -17,4 +16,4 @@ _gotoxy: ; Set the cursor position
|
||||
sta ROWCRS_5200 ; Set Y
|
||||
jsr popa ; Get X
|
||||
sta COLCRS_5200 ; Set X
|
||||
jmp setcursor
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user