Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* PDP-10 ASCII conversion
@ 1998-09-03  4:00 Duncan Phillips
  1998-09-03  4:00 ` John Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Phillips @ 1998-09-03  4:00 UTC (permalink / raw)


We have some old 9-track tapes from a PDP-10 that we need to retrieve
data from. The tapes have been dumped to cd but I was wondering if
anyone has a filter to convert ASCII files from PDP-10 format to Unix ?

Any help will be appreciated.


Duncan Phillips





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PDP-10 ASCII conversion
  1998-09-03  4:00 PDP-10 ASCII conversion Duncan Phillips
@ 1998-09-03  4:00 ` John Wilson
  1998-09-04  4:00   ` Smith and O'Halloran
  0 siblings, 1 reply; 3+ messages in thread
From: John Wilson @ 1998-09-03  4:00 UTC (permalink / raw)


In article <35EF1532.641DA773@uci.edu>,
Duncan Phillips  <dphillip@uci.edu> wrote:
>We have some old 9-track tapes from a PDP-10 that we need to retrieve
>data from. The tapes have been dumped to cd but I was wondering if
>anyone has a filter to convert ASCII files from PDP-10 format to Unix ?

You didn't specify what OS the 10 was running.  There are utilities on
ftp.dbit.com that can read some of them --

TOPS-10		ftp://ftp.dbit.com/pub/pdp10/tops10/decus/backup.tar
TOPS-20		ftp://ftp.dbit.com/pub/pdp10/tops20/read20/read20.tar
ITS		ftp://ftp.dbit.com/pub/pdp10/its/itstar/

If you don't care about the file structure of the tape and can manually
extract the ASCII text parts, extracting typical PDP-10 ASCII isn't too hard,
each group of five tape frames (i.e. bytes) can be converted to five ASCII
characters as follows:

Input:	aaaaaaaa	(as written by TM03 tape formatter etc.)
	bbbbbbbb
	cccccccc
	dddddddd
	----eeee	(high 4 bits of every 5th byte are dropped)

Yielding 36-bit word:
	aaaaaaaabbbbbbbbccccccccddddddddeeee

Extracting 7-bit bytes starting at the left-hand side:

Output:	0aaaaaaa	(pad with 0 MSB to store as an 8-bit byte)
	0abbbbbb
	0bbccccc
	0cccdddd
	0ddddeee	(N.B. low bit of 36-bit word is dropped)

Just write a quicky program to chew through the CD files 5 bytes at a time
doing the above bit twiddling, and then edit out the garbage from the output
files and you should be done.  Note that PDP-10 software typically stores text
files with lines terminated by CR LF, As God Intended;  if you'll be using
the output on a Weenix system you'll need to strip out CRs that immediately
precede LFs.

John Wilson
D Bit



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PDP-10 ASCII conversion
  1998-09-03  4:00 ` John Wilson
@ 1998-09-04  4:00   ` Smith and O'Halloran
  0 siblings, 0 replies; 3+ messages in thread
From: Smith and O'Halloran @ 1998-09-04  4:00 UTC (permalink / raw)


In article <35ef5bec.0@news.wizvax.net>, John Wilson <wilson@dbit.com> wrote:
>In article <35EF1532.641DA773@uci.edu>,
>Duncan Phillips  <dphillip@uci.edu> wrote:
>>We have some old 9-track tapes from a PDP-10 that we need to retrieve
>>data from. The tapes have been dumped to cd but I was wondering if
>>anyone has a filter to convert ASCII files from PDP-10 format to Unix ?
>
>You didn't specify what OS the 10 was running.  There are utilities on
>ftp.dbit.com that can read some of them --
>
>TOPS-10	ftp://ftp.dbit.com/pub/pdp10/tops10/decus/backup.tar
>TOPS-20	ftp://ftp.dbit.com/pub/pdp10/tops20/read20/read20.tar
>ITS		ftp://ftp.dbit.com/pub/pdp10/its/itstar/

Those three URLs have been added to my PDP-10 page.
http://www.inwap.com/pdp10/
	-Joe
-- 
INWAP.COM is Joe and Sally Smith, John and Chris O'Halloran and our cats
See http://www.inwap.com/ for "ReBoot", PDP-10, and Clan MacLeod.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-09-04  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-03  4:00 PDP-10 ASCII conversion Duncan Phillips
1998-09-03  4:00 ` John Wilson
1998-09-04  4:00   ` Smith and O'Halloran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox