mirror of
https://github.com/digarok/MiniMemoryTester.git
synced 2024-06-05 22:29:30 +00:00
change PrintString to self-modifying instead of using a ZP pointer
This commit is contained in:
parent
91bc3fd7d6
commit
51bc316b19
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user