02-12-2015, 04:08 PM
ardentcrest Wrote:I'm still having problems with your codeIf you have code that works, then it would be very useful to me to check if my routines are failing and why (no information last year, just reverse engineering, and little time...).But I do now have some code that works.
Now I need help with this
I have this
Code:ASM
garbage2: defm 0
END ASM
How would I put a text string into garbage2 from basic. Would I have to poke each CHR code one by one, and how would I find the address if garbage2
For the 2nd question, you can:
Code:
LET a$ = "Hello World"
FOR i = 0 TO LEN(a$) - 1:
POKE @MyLabel, CODE a$(i)
DoSomething(...)
NEXT i
END : REM Prevents the program entering MyLabel zone
MyLabel:
ASM:
garbage2:
END ASM