Greetings:
I wanted to share my results installing kermit on both a Windows 10 PC and the Altairduino.
The goal was to get the two ends talking while also getting the server mode working on the Windows 10 PC side.The configuration allows much more freedom and efficiency for moving files between the PC and the Altairduino.
The path to this solution was filled with frustration and disappointment - until the right combination of files could be identified and proven to work together.
The Kermit disk image containing the
kerm411.com file is found here as a floppy image that can be added to the FLASH file system:
As was kindly provided in a prior post (thanks Richard Deane), the kermit.dsk is a bootable CPM 2.2B disk with
kerm411.com/
I renamed the .dsk image and added it to my FLASH card file/disk system.
kerm411.com works well with and without the "far end" being in server mode.
The key to solving the Win10 PC to CPM kermit problem is dependent upon finding two versions that work together as well as operate on their respective platforms.
Aside: I have been using a Raspberry Pi (3d printed housing and attached to back of an LCD display using the VESA mount) as my terminal server for the Altairduino. I am using minicom 2.7.1 (sudo apt0get install minicom -y) as the terminal emulator and it supports VT102, which is my desired emulation. It has XMODEM and other protocols for file transfers. It supports kermit as well. These are all "one at a time" transfers using minicom. I attempted to install the Raspbian C-Kermit program. It complains when it loads about SSL libraries being out of sync with the host. It is not perfect and trying to rebuild it for Raspberry Pi (Raspbian Buster with desktop version 4.19) was frustrating - since none of the makefile targets build cleanly for this target.
I went on a quest for the holy kermit for Windows that ACTUALLY RUNS on WIN10 and supports server mode. Finally I came across the following build (thanks to David Goodwin!):
The link to the latest build (2013-11-21) is also here, although it wasn't clear that this build was a "score" for running Win10 kermit in sever mode. And It was!
The link is under the text "Project 1 (David Goodwin, New Zealand)"
Details:
"Kermit communicates with the remote computer through the PUN and RDR devices, so each time Kermit is started, the SET PORT command must be issued to properly assign the physical I/O device to the RDR and PUN. For a typical Altair system using 2SIO port 1 as the console connection and 2SIO port 2 for the connection to the remote host, enter the following command at the Kermit command prompt (not the CP/M prompt):
SET PORT UR2 <-- This is for 2SIO port 2
Using minicom 2.7.1 on the RPi as my terminal emulator connected to the Altairduino on serial pins 18/19, 115200 N81...
I discovered that minicom options need to be set for carriage return behaviors.
In minicom, type CTL-A Z U
The "U" option toggles the addition of carriage returns to the end of lines on or off. It needs to be ON for kermit REMOTE DIRECTORY requests, REMOTE HELP requests, etc. Otherwise, the data presented on the KERM411 display is distorted.
I used the following CP/M 2.2b and KERM411 settings that matched up with the Altairduino serial port on pins A6/A7 9600 N81.
(Set via "Configure host (s)erial" and the "(E) Configure serial cards" options in the Altairduino configuration menus.)
The A disk is the kermit.dsk image and is booted to support the following:
A> STAT RDR:=UR2:
A> KERM411
Kermit-80 0A: SET PORT UR2
Kermit-80 0A: SET PARITY NONE
Kermit-80 0A: SET FLOW-CONTROL OFF
Kermit-80 0A:
On the WIN 10 PC side, the download from David Goodwin contains multiple executable files. The file of interest is the K95.EXE.
Run K95.EXE on the Win10 PC. A terminal screen will appear. This is kermit.
You need to know which COM port is connected to the Altarduino A6/A7 serial port. I used a USB to Serial converter connected between the PC USB port and the Altairduino A6/A7 DB9 Serial port.
My COM port was COM13. I used WIN10 "device manager" to directly set the adapter serial port settings to 9600 N81.
After starting K95.EXE, you are presented with a command prompt.
The following commands were applied to get the server running:
K-95> cd c:\CPMXFER <--- CPMXFER is where I drop files I want to transfer (GET) or where I "PUT" files from the Altairduino.
[C:CPMXFER\] K-95> SET PORT COM13
[C:CPMXFER\] K-95> SET PARITY NONE
[C:CPMXFER\] K-95> SET STOP-BITS 1
[C:CPMXFER\] K-95> SET SPEED 9600
[C:CPMXFER\] K-95> SET CARRIER-WATCH OFF
[C:CPMXFER\] K-95> SET FLOW-CONTROL NONE
[C:CPMXFER\] K-95>SERVER
I was able to GET and PUT files as well as view directories and HELP fairly easily.
(the edit was due to power outage followed by UPS panic. Time for a new battery....) :-(
I may make additional posts when I determine how robust the setup remains. I only tried the setup twice...
Cheers
Jim