Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Manage +2A ramdisc with ZXBasic, is possible ?
#9
Sorry, I completely overlook this post!
ZXBasic uses the heap, but you can limit the heap size with a compiler option, --heap-size. The default is all the available memory after the code.
You can use --heap-size=256 (only 256 bytes) and that will be enough for many cases.

You can also change the ORG (ORiGin) of your compiled program, with the --org command line option.
The default is 32768, but you can change to any other position. (e.g. --org 26000)
Hope this help.

You can find more information about the command line options here:
<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Zxb#Command_Line_Options">http://www.boriel.com/wiki/en/index.php ... ne_Options</a><!-- m -->

For more info, please, tell me. :roll:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)