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
Error "4 Out of memory, 0:1"
#7
Ok, consider that the IX register isn't a problem in my case, because the routines don't use it.
Instead, it's highly probable that the problem is about the low org address: I had the feeling that it was a STACK-related issue (there're many GOSUBs), that's why at the beginning all goes ok, and after reaching a certain score/level, it crashes (both in 16K and 48K modes)...

* * * SOLVED! * * *
Yes, my org address was too low! I pushed my routines a little further and I've nested some of them inside the character-set, finally I gained 710 bytes.
Now, starting at org 24710 the game works, no more memory issues :-)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)