MEMORY.LIT

MEMORY <size> {k}{m}

MEMORY is similar to its AMOS counterpart, except that it can be used at any time to change the user’s memory partition size. (Under AMOS you can only reduce your partition size after the system is booted.)

The initial memory size is set by the MEMORY key in miame.ini.

Note that although A-Shell’s user memory implementation has some similarities to the AMOS equivalent, there are also several differences. For one, when you use LOAD to load modules into user memory, they do not actually take up space in the "partition" set by the MEMORY command. (Instead, space is dynamically allocated for loaded modules.) This is also true of a number of other memory allocations, such as temporary memory needed to load an SBX subroutine or for use in sorting. Thus, it is likely that you can get by with a smaller partition under A-Shell than you needed under AMOS. (On the other hand, memory is cheap, so why worry about it?)