# Device types

; This file is 'devicelist.txt' and resides in the Data folder.
; The file is used by MMEdit and MMCC
; In MMEdit select the syntax to match your device as returned with MM.DEVICE$
: In MMEdit, choosing the wrong syntax will result in keywords not showing in the correct colour
; In MMEdit, the syntax is only for visual effects and does not have any other purpose.
; In MMCC, the syntax is used to determine the commands required to tranfer files by XMODEM or AUTOSAVE
; New devices can be added and mapped to an existing syntax a newly created syntax.
; iF you add a new syntax, the file 'devicetypes.txt' will also need editing
; Lines starting with ; are comments and the remaining lines are TAB delimited
; blank lines are ignored.

MM.DEVICE$ | Syntax
ARMmite F407 ARMmite H7 ARMmite L4 | ARMmite
Colour Maximite 2 Colour Maximite 2 G2 | CMM2
DOS | DOS
Colour Maximite DuinoMite Generic PIC32 Maximite | maximite
Micromite Micromite MkII | micromite
Micromite Extreme Micromite Plus | micromite+
MMBasic for Linux MMBasic for Windows | MMB4W
PicoMite PicoMite RP2350A PicoMite RP2350B | picomite
PicoMiteHDMI RP2350A PicoMiteHDMI RP2350B PicoMiteHDMIUSB RP2350A PicoMiteHDMIUSB RP2350B PicoMiteVGA PicoMiteVGA RP2350A PicoMiteVGA RP2350B PicoMiteVGAUSB PicoMiteVGAUSB RP2350A PicoMiteVGAUSB RP2350B | picomiteVGA_HDMI
WebMite WebMite RP2350A | webmite
ATTiny85 | ATTiny85

; devicetypes.txt Edit this file and devicelist.txt to add new devices.
; lines starting with ; are comments
; fields are seperated by TAB to make editing in spreadsheet easier.
; mmDevice The string returned by PRINT mm.device$
; Fname The 'family' name grouping devices that have identical commands for file management. This is the syntax name in MMEdit
; autostart The command to start saving a program
; autoend The command used to indicate the end of a program load - usually ^C
; autoName The CMM2 serise require a file name when doing an autosave
; drives The number of 'drives' Usually 1 or 2 (A: and B:)
; xmName superceeded
; filesCMD Files command usually 'files' except on the CMM2 which uses 'ls'
; filesAll superceeded. leave at zero
; listAll LIST ALL will list the full program without waiting at each page
; flash The device has the ability to save programs in flash memory slots - pisomite etc
; fnstart The character position of the file name with a files command
;

Fname | autostart | autoend | autoName | drives | xmName | filesCMD | filesAll | listAll | flash | fnstart
ARMmite | autosave | \026 | 0 | 1 | 3 | files | 0 | 1 | 0 | 13
ATTiny85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |  |
CMM2 | autosave | \027[12~ | 1 | 1 | 3 | ls | 0 | 1 | 0 | 30
command |  |  | 0 | 1 | 0 | files | 0 | 1 | 0 | 0
maximite | auto | \003 | 0 | 2 | 2 | files | 0 | 0 | 0 | 0
micromite | autosave | \026 | 0 | 0 | 1 | 0 | 1 | 0 | 0 |
micromite+ | autosave | \026 | 0 | 1 | 3 | files | 0 | 1 | 0 | 0
picomite | autosave | \026 | 0 | 2 | 1 | files | 0 | 1 | 1 | 30
picomiteVGA_HDMI | autosave | \026 | 0 | 2 | 1 | files | 0 | 1 | 1 | 30
webmite | autosave | \026 | 0 | 2 | 1 | files | 0 | 1 | 1 | 30

Last edited: 13 February, 2025