Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error "4 Out of memory, 0:1"
Just one thing: by default ZX BASIC does not crash by "out of memory" unless you're using the flag --debug-memory (use it only during testing phase before final release, to check for memory leaks o check for out of memory).

When ZX BASIC gets out of memory it silently starts to do weird things, even crash o reset, and not necessarily stop with "Out of Memory".
Are you sure your ASM calls are doing the right thing? (i.e. don't modify the IX register).

Also, you're using strings (SCREEN$, CHR$, STR$) along the program, but has tested them here, and they're all stable.
If you include the library <alloc.bas> you can get the free memory available calling the maxavail() function.

Messages In This Thread

Forum Jump:

Users browsing this thread: 1 Guest(s)