Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

LIST [file$]
LIST ALL [file$]
LIST FILES [fspec$] [, sort]


LIST [file$]
LIST ALL [file$]
List a program on the serial console.
LIST on its own will list the program with a pause at every screen full.
LIST ALL will list the program without pauses. This is useful if you wish to transfer the program in the Maximite to a terminal emulator on a PC that has the ability to capture its input stream to a file.
In most cases the filename 'file$' is required however if EDIT file$ or RUN file$ has been used previously the "current program name" will have been set and in that case LIST will default to using that filename.
Devices without a file system do not accept 'file$' and will LIST the current loaded file.

LIST FILES [fspec$] [, sort] CMM2 only
This replaces the FILES command used on other devices.
Lists files in the current directory on the SD card.
'fspec$' (if specified) can contain search wildcards. Question marks (?) will match any character and an asterisk (*) will match any number of characters.
If omitted, all files will be listed.
For example:
* Find all entries
*.TXT Find all entries with an extension of TXT
E*.* Find all entries starting with E
X?X.* Find all three letter file names starting and ending with X
‘sort’ specifies the sort order as follows:
size by ascending size
time by ascending time/date
name by file name (default if not specified)
type by file extension

CMM2, Arrmites, Picromite only
Lists all valid commands or functions

CMM2 only
Lists the start address, width, height, and size of all the video pages for the current mode
In addition it shows whether for specific modes lines are duplicated in order to support the video output format.


Last edited: 15 December, 2020