change PrintString to self-modifying instead of using a ZP pointer

This commit is contained in:
Dagen Brock 2015-03-09 23:08:02 -05:00
parent 91bc3fd7d6
commit 51bc316b19
1 changed files with 3 additions and 3 deletions

View File

@ -62,11 +62,11 @@ PrintStringsX stx _printstringsx_horiz
_printstringsx_horiz db 00
* PrintString (A=Low Byte, Y=High Byte)
PrintString sta $0
sty $1
PrintString sta :loop+1
sty :loop+2
ldy #0
:loop lda ($0),y
:loop lda $FFFF,y ; dummy bytes
beq :done
jsr COUT
iny