The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spectranet
#40
ardentcrest Wrote:I'm still having problems with your code Sad 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
If 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...).
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)