DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2
XMODEM RECEIVE file$ [,comportno]
XMODEM SEND file$ [,comportno]
Transfers a BASIC program to or from a remote computer using the XModem protocol.
The transfer is done over the serial console connection.
XMODEM SEND will send 'file$' held on the Colour Maximite's SD card to the remote device.
XMODEM RECEIVE will accept 'file$' sent by the remote device and save it on the Colour Maximite's SD card.
If the file already exists it will be overwritten when receiving a file.
SEND and RECEIVE can be abbreviated to S and R.
The XModem protocol requires a cooperating software program running on the remote computer and connected to its serial port.
It has been tested on Tera Term running on Windows and it is recommended that this be used.
After running the XMODEM command in MMBasic select:
File -> Transfer -> XMODEM -> Receive/Send from the Tera Term menu to start the transfer.
The transfer can take up to 15 seconds to start and if the XMODEM command fails to establish communications
it will return to the MMBasic prompt after 60 seconds and leave the program memory untouched.
CMM2 only: If ‘commportno’ is specified the transfer will take place over
the serial port specified (1 or 2).
In this case the port must have been previously opened with an appropriate baudrate.
Download Tera Term from http://ttssh2.sourceforge.jp/
Micromites without a file system receive XMODEM file directly to the program flash. 'file$' should be omitted.
Last edited: 15 December, 2020