Here's a slightly better version for #2
Code:
Print_ROM_127: ' Call with zb = INTERNAL ROM_Memory_Location [byte]
Do until AB > 128
READ ZB, AB BB = AB & $7F ' drop the upper bit, DEBUG does not allow any math functions during output.
DEBUG BB ' Debug like all the other printing commands does not allow any math operations
ZB= ZB + 1 ' Increment through the string
Loop
return
==============================
I've noticed that Debug and the other "Print" commands use 2 bytes per Char.
Is there a way to do the above string "Peeking" in the program memory?
Does Grasshopper need to explore
PEEKCODE
AND
@ STRING_LOC DT "Text here"
Stay tuned on this bat channel.
Bookmarks