The *mem command produces output that reflects the Agon's memory map, as it stands at run-time.
Our documentation describes a slightly different memory map, where we have a 32kb area of memory reserved for "moslets", 16kb above that reserved for MOS's use, and above that the top 16kb of memory is for the MOS heap/stack.
*mem shows USER:LO space as extending from &040000-&0bbfff which includes the area reserved for moslets, and the 16kb above that's reserved for MOS... The upper boundary of this area is 1 byte below where MOS:DATA is placed, based on the value of the _low_data pointer.
Whilst the info shown by the mem command is technically accurate, we probably should show a map that includes the areas of memory documented as being reserved.
The
*memcommand produces output that reflects the Agon's memory map, as it stands at run-time.Our documentation describes a slightly different memory map, where we have a 32kb area of memory reserved for "moslets", 16kb above that reserved for MOS's use, and above that the top 16kb of memory is for the MOS heap/stack.
*memshowsUSER:LOspace as extending from&040000-&0bbfffwhich includes the area reserved for moslets, and the 16kb above that's reserved for MOS... The upper boundary of this area is 1 byte below whereMOS:DATAis placed, based on the value of the_low_datapointer.Whilst the info shown by the
memcommand is technically accurate, we probably should show a map that includes the areas of memory documented as being reserved.