John Galt schrieb am Sonntag, 8. Januar 2023 um 16:52:47 UTC+1:
I don't know if you have the same issue however....
back when i first started transferring files to my Altair via teraterm i would have everything setup correctly and go to send or receive a file
and teraterm would sit there doing nothing.
In playing with the connection trying to figure out what is going on i wrote a little utility that would "PING" the serial port.
it would send a simple test message over serial back to my USB on my laptop with teraterm open on the serial connection.
my little message would show up correctly on teraterm. suddenly my file transfers worked correctly.
then i learned if i power cycled teraterm would go back to the same issue.
putting 2 and 2 together i figured out teraterm is expecting some kind of "hello i'm here" response when it makes a serial connection before it finalizes the connection.
I use my ping program and when i cold boot my altair and connect to teraterm for the first time.
i run "PING" and make sure teraterm can see the altair then i go about using pcput and pcget.
i works fine so i never tried to fix whatever.
my file is called PING.BAS
you can use it to help diagnose an issue as well.
200 REM write to serial port
205 PRINT"PORTS TO TEST: 18,20,22(18 is 9 pin port on back of Altair)"
206 PRINT"ENTER A PORT TO TEST IN DECIMAL"
207 INPUT PORT
210 PN=PORT
220 A$="THIS IS A TEST. 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
225 A$=A$+CHR$(13)+CHR$(10)
230 A=INP(PN) : REM read from control register
240 FOR I=1 TO LEN(A$)
250 IF A AND 2=0 THEN 250 : REM bit 1=0 when output register is full
260 OUT PN+1,ASC(MID$(A$,I)) : REM send test byte
270 NEXT
280 END
i have converted this basic program to a binary and i just run it on each startup to fix the teraterm issue.