File transfert with kermit

203 views
Skip to first unread message

Olivier Lécluse

unread,
Aug 22, 2020, 12:59:15 PM8/22/20
to IMSAI 8080esp

Hi. Im am new to this group. I have just finished assembling my IMSAI8080 replica. This is really a great kit. I have also installed the imsaisim software from z80pack on my PC (linux). This is a great piece of software.

My question is : how to transfert a file from the PC to the IMSAI and vice versa.

I have managed to do this via dsk and cpmtools : the following command does the trick
cpmcp -t drivec.dsk my_file  0:
then I transfert the dsk on the IMSAI and it is OK.

I was looking for another solution. I saw this conversation and I tried to get this work
but with little success :
Everything works fine until I try to send the file. I am probably missing something here.

This is the steps I follow :
1. on Linux :
(/home/me/) C-Kermit>set host * 8080
Binding socket to port 8080 ...
Listening ...
Waiting to Accept a TCP/IP connection on port 8080 ...

2. on the IMSAI :
b:kermit
Kermit-80   0C:>Set port UC1
Kermit-80   0C:>Connect[Connected to remote host.  Type Control-\C to return;
 type Control-\? for command list]
I then type : ATD192.168.1.60:8080

3. on linux
I see the conection established :
Reverse DNS Lookup... (OK)
imsai8080.local connected on port 8080
(/home/me/) C-Kermit>

then I type :  send /protocol:xmodem test.pas
 Sending /home/me/test.bas, 46 blocks:
Give your local XMODEM receive command now.

4. on the IMSAI
rx test.pas
but I can't get a prompt or anyhing to type the receive command. CTRL-C does nothing. The console is stuck and I have to do a reset.

If I type "C" I see the beginning of the file and an error on the Linux :
Retry 0: Timeout on sector ACK
Retry 0: NAK on sector

Do I miss something ?

Thanks
Olivier

John Kennedy

unread,
Aug 22, 2020, 11:07:37 PM8/22/20
to IMSAI 8080esp

Olivier Lécluse

unread,
Aug 23, 2020, 4:03:09 AM8/23/20
to IMSAI 8080esp

Thank you for the link. It is very useful.

Unfortunately, I am still stuck at the same place : Just after I connect the imsai to the PC with ATD, I can't get the prompt back. The guide says "Press Ctrl and *, followed by *C to return to the Kermit command prompt." but this doesn't work. I am using a french keyboard, maybe the keys are different on azerty ?

Udo Munk

unread,
Aug 23, 2020, 6:42:21 AM8/23/20
to IMSAI 8080esp
The default escape of kermit is CTL-\, so you need to type CTL-\ followed by c.
On many keyboards other than US entering CTL-\ really sucks. You can change
the escape character with 'set escape', I usually use CTL-A.

The I made a video showing how I transfer files between the IMSAI (PC emulation)
and a VM running MWC COHERENT:



Udo Munk

unread,
Aug 23, 2020, 7:17:54 AM8/23/20
to IMSAI 8080esp
Also it is more comfortable to set the host kermit right into server mode:

set host /server * 8080

Then on the connected CP/M kermit you can do:

remote dir                         - show hosts directory
remote cd somedir           - change directory on the host
send filename                   - send a file to the host
receive filename               - receive a file from the host

Don't forget to hangup the modem connection after done, won't happen magically ;-)
Connect to the modem again: connect
Type +++ to get into command mode and hangup with ATH.

Olivier Lécluse

unread,
Aug 23, 2020, 8:28:26 AM8/23/20
to IMSAI 8080esp
Thank you very much. This is exactly what I needed.
Everything is working great.
Olivier

Ted Kekatos

unread,
Aug 23, 2020, 12:47:57 PM8/23/20
to IMSAI 8080esp
Olivier
Welcome to the group. Congrats on building your kit.      Pictures are always welcome.  

cheers

Ted

Olivier Lécluse

unread,
Aug 23, 2020, 3:08:59 PM8/23/20
to IMSAI 8080esp
sure, here is the beauty :)

FFCB9B27-347C-4AD0-9883-D37234B1F8B0.jpeg
Reply all
Reply to author
Forward
0 new messages