Thanks for back10 updates.
I reviewed your source code but noticed a bug in your code. If you select
binary mode, it was not supposed to truncate last word at G_EOF mark. I had a
problem when I extracted dskaa.sav from my klad.tap.
Corrected code is for copy2disk():
case DF_ASCII:
case DF_BINARY:
buf[0] = (w >> 29) & 0177;
buf[1] = (w >> 22) & 0177;
buf[2] = (w >> 15) & 0177;
buf[3] = (w >> 8) & 0177;
buf[4] = (w >> 1) & 0177;
if (w & 1) buf[4] |= 0200;
amount = 5;
if (diskformat == DF_ASCII && lhalf(tapehdr[G_FLAGS]) & GF_EOF) {
amount = 1;
if (buf[1] != 0) amount = 2;
if (buf[2] != 0) amount = 3;
if (buf[3] != 0) amount = 4;
if (buf[4] != 0) amount = 5;
}
break;
Also, how about high-density ftp mode (packed binary - 2 words each 9 bytes)
which you entered TENEX on ftp prompt for binary transfer from TOPS-20 ftp
server (like Simtel20)?
Tim
-----Original Message-----
From: Simh [mailto:[email protected]] On Behalf Of Johnny Eriksson
Sent: Saturday, March 11, 2017 8:48 AM
To: [email protected]
Subject: Re: [Simh] Announcement: back10
[stuff deleted...]
I have updated back10 to handle these ways in case anyone wants to use them.
The following options exist to select the format:
-A Select ANSI-ASCII
-C Select CORE-DUMP
-I Select INDUSTRY-COMPATIBLE
The default is still ANSI-ASCII.
--Johnny
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh