Skip to content

Should *mem be more consistent with our documentation? #197

@stevesims

Description

@stevesims

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions