view docs/nitros9guide/mfree.refentry @ 2772:0a3f4d8ea6d5

Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected. Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author drencor-xeen
date Wed, 23 Jan 2013 12:36:55 -0600
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="mfree">
<refnamediv>
<refname>MFREE</refname>
<refpurpose>Display Free System RAM</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>mfree</command>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Displays a list of which areas of memory are not presently in use
and available for assignment. The address and size of each free
memory block are displayed. The size is given as the number of 256-byte
pages. This information is useful to detect and correct memory
fragmentation (see <xref linkend="sec5.4.3"/>).
</para>
<para>
For more information see: <xref linkend="sec5.4"/>, <xref linkend="sec5.4.3"/>

</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
OS9: mfree

 Address  pages
--------- -----
 700- 7FF    1
 B00-AEFF  164
B100-B1FF    1

Total pages free = 166
</screen>
</refsect1>
</refentry>