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

View File

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