PCGET and PCPUT

51 views
Skip to first unread message

Harm Munk

unread,
Sep 15, 2025, 3:43:08 PM (8 days ago) Sep 15
to Altair-Duino
I'm using CP/M 2 on the AddWaterAndStir Altair Duino Altair 8800 replica.
To exchange files between the Altair and my PC I (try to) use PCGET.COM and PCPUT.COM, in combination with minicom on Debian Linux.

PCPUT works as a dream, no problems sending files to the PC. PCGET, however, is a completely different story: whatever I try, it is not able to receive anything from the PC. Minicom keeps complaining about "NAK on sector"` until it exceeds the retry count.

What am I doing wrong?


John Galt

unread,
Sep 15, 2025, 4:45:49 PM (8 days ago) Sep 15
to Altair-Duino
question i have is how you are making the connection between the Altair Duino and your PC running linux.

are you using the micro usb? 
are you using the Serial port 9 pin? 
are you using a wifi modem?

depending on how you have mapped your serial ports you have to remember to use the B option with pcput and pcget. 

This is just my personal experience.
If you are using the wifi connection that will be the issue.
this is because it will require telnet enabled on these modems and that causes interference with Xmodem transfers.

Tom Wilson

unread,
Sep 15, 2025, 5:02:43 PM (8 days ago) Sep 15
to John Galt, Altair-Duino
This comes up a lot. You need to reset your port to 9600 BPS. I really wish the emulator used this as a default, since that's all that was available on those early machines. 

The other way is to fix the emulator's serial driver buffering. (Currently, the emulator shoves a byte into the data register, regardless of whether the prior byte has been read. Checking the control register first fixes this behavior.) Either way requires some software changes to the emulation code.

But setting your serial port to 9600 is something you can and should do. =)



--
You received this message because you are subscribed to the Google Groups "Altair-Duino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to altair-duino...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/altair-duino/c2f82d89-4ef0-4540-8d67-9d9967ae0ac7n%40googlegroups.com.

Patrick Linstruth

unread,
Sep 15, 2025, 5:09:26 PM (8 days ago) Sep 15
to Altair-Duino
When running PCGET, the Altair cannot keep up with data coming in faster than 9600 and is losing bytes. This causes PCGET to send a NAK which asks for the packet to be sent again. Same thing happens again and again.

When running PCPUT, you baud rate doesn’t matter because it will just send the data as fast as it can. Nothing gets lost.

I also wish the default was 9600 as that is how most Altairs were configured. It would also eliminate this problem.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages