atari5200: implement bgcolor() and textcolor()

Includes some other small fixes/cleanups.
This commit is contained in:
Christian Groessler
2019-04-02 21:11:11 +02:00
committed by Oliver Schmidt
parent edd596b2a4
commit ec5e38617a
18 changed files with 261 additions and 26 deletions

View File

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