RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » Linux and CP/M-68k (NOT A HW ?)
Linux and CP/M-68k (NOT A HW ?) [message #9150] Thu, 23 September 2021 07:00 Go to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
I labeled the title, so the hardware folks don't waste their time reading a software question.

I'm using Minicomm to talk to CP/M-68k, then using Minicomm's Paste function to push file data out to 'ME' to transfer files from Ubuntu to CP/M, it sorta works, I was wondering if anyone has a better way? Due to health issues, I write stuff on my Ubuntu system, then transfer it to CP/M, it is almost necessary, cut n' paste is how I get around having the use of one hand.

curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9151 is a reply to message #9150] Thu, 23 September 2021 10:28 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
Hi Curbie,

I'm not sure it's a "better way", but I use minicom (from Linux) and have a couple of hacks to read in files in S-record format. I also wrote a little program that accepts an ascii file and saves it to disk. They are both crude, but they seem to work OK (at least for what I use them for). I find a much better approach is to use cpmtools to copy files and applications to compact flash on my Linux box (my homebrew 68k systems have a compact flash interface and supports multiple CP/M file systems).

Roger
Re: Linux and CP/M-68k (NOT A HW ?) [message #9152 is a reply to message #9151] Thu, 23 September 2021 12:17 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Roger,

My apologies, I am running minicom 2.7.1 just took a guess on how it was spelled. I'm not worried about saving CP/M files to Linux, for now I'm just making copies of the flash disk on to Linux, it's not a single file solution, but so far, it does what I need.

Because of the aforementioned health issues, I write on Ubuntu, then push that work out to CP/M-68 by pasting it into 'ME'. And pushing work/files to CP/M-68 IS what I want to improve. It works, but not real well.

curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9154 is a reply to message #9152] Fri, 24 September 2021 10:36 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
Hi Curbie,

If the version of minicom you are using (on Ubuntu) is like what I use, you can capture CP/M files to Linux quite easily. Just hit cntrl-a l (l as in long). Minicom will prompt for a file name into which console output is captured. Then just create the type of file you want to save with "TYPE" or "DUMP" or whatever. When done, do a cntrl-a l again to close the file on Ubuntu.

Easy!!

Roger
Re: Linux and CP/M-68k (NOT A HW ?) [message #9155 is a reply to message #9152] Sat, 25 September 2021 04:58 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Curbie,
Does minicom have Kermit file transfer capability? gkermit works well in CP/M68K; CB030 is fast enough that no hardware handshake is needed to transfer file (or files) with gkermit.
Bill
Re: Linux and CP/M-68k (NOT A HW ?) [message #9156 is a reply to message #9155] Sat, 25 September 2021 07:25 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Roger,

Thanks that was easy, but my issue is from Ubuntu to cp/m-68.

Curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9157 is a reply to message #9156] Sat, 25 September 2021 07:26 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Bill,

is gkermit compiled on cp/m-68 with C?
the readme for the package i downloaded yesterday references sub files for compiling, included some C and H files, but didn't include the sub files, do you or anyone have the sub files?

Curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9158 is a reply to message #9157] Sat, 25 September 2021 08:53 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
>> Does minicom have Kermit file transfer capability?

Yes, the version I use says that it does x-,y-,zmodem,kermit, and ascii. I have only used the xmodem option, so I don't know if, or how well, the others work.

Roger
Re: Linux and CP/M-68k (NOT A HW ?) [message #9159 is a reply to message #9157] Sat, 25 September 2021 10:11 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Curbie,
Gkermit.68k is already compiled and ready to run on your CB030. In fact, you can find it on drive A (ROMdisk) of CPM68K. Gkermit is how I upload CPM68K distribution files to a blank CF disk.
Bill
Re: Linux and CP/M-68k (NOT A HW ?) [message #9160 is a reply to message #9158] Sat, 25 September 2021 10:15 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Roger,

I think minicom has a setup to external programs.

Alt-A, O, file transfer protocals
+----------------------------------------------------------- -------------------+
| Name Program Name U/D FullScr IO-Red. Multi |
| A zmodem /usr/bin/sz -vv -b Y U N Y Y |
| B ymodem /usr/bin/sb -vv Y U N Y Y |
| C xmodem /usr/bin/sx -vv Y U N Y N |
| D zmodem /usr/bin/rz -vv -b -E N D N Y Y |
| E ymodem /usr/bin/rb -vv N D N Y Y |
| F xmodem /usr/bin/rx -vv Y D N Y N |
| G kermit /usr/bin/kermit -i -l %l -b %b Y U Y N N |
| H kermit /usr/bin/kermit -i -l %l -b %b N D Y N N |
| I ascii /usr/bin/ascii-xfr -dsv Y U N Y N |
| J - |
| K - |
| L - |
| M Zmodem download string activates... D |
| N Use filename selection window...... Yes |
| O Prompt for download directory...... No |
| |
| Change which setting? (SPACE to delete) |
+----------------------------------------------------------- -------------------+

I don't have kermit in /usr/bin/.

curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9161 is a reply to message #9160] Sat, 25 September 2021 10:24 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
my forty year old recollection is that I'll need a copy of kermit on both my Ubuntu system, and cp/m-68 I hope I found the cp/m-68 version yesterday, does anyone have a recommendation for the Ubuntu side?

curbie
Re: Linux and CP/M-68k (NOT A HW ?) [message #9162 is a reply to message #9161] Sat, 25 September 2021 10:31 Go to previous message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Bill,

I'm a moron, yes it's just been there all along, now for the Ubuntu side.

curbie
Previous Topic: CP/M-68 assembler questions (NOT A HARDWARE ?)
Next Topic: Ubuntu>minicom>kermit ( NOT A HW ? )


Current Time: Mon Mar 24 22:37:15 PDT 2025

Total time taken to generate the page: 0.03750 seconds