Fix conflicts with some conio routines

This commit is contained in:
Karri Kaksonen
2022-04-05 10:35:59 +03:00
committed by mrdudz
parent b8dbe0254a
commit 0f250d06b9
3 changed files with 18 additions and 13 deletions

View File

@@ -10,7 +10,7 @@
.import _gotoxy, _gotox, _gotoy, tosaddax, tosumula0, pusha0
.import pushax
.import _screen
.importzp ptr1
.importzp ptr3
.import CURS_X, CURS_Y
.include "atari7800.inc"
@@ -132,12 +132,12 @@ txtcolor:
lda #<(_screen)
ldx #>(_screen)
jsr tosaddax
sta ptr1
stx ptr1+1
sta ptr3
stx ptr3+1
pla
ldy #0
sta (ptr1),y
sta (ptr3),y
rts
.endproc