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
not sure what it is bug/feature/me
#2
Your code runs OK in my emulator. I don't see any corruption.

If you are adding extra machine code during runtime (por POKES or UDG), you might be corrupting the heap (used mainly for string -alphanumeric- variables). To use UDG use --spectrum, or better ask here the other (best) way to do it.

If you need to load machine code at any location, there are other methods, like using a malloc for reserving such space, or using asm directives with DEFB.
Can you upload a screenshot of the corruption?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)