Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DOS-11 Tape Format
@ 1992-01-18 22:03 Mark Hjelm
  1992-01-20 23:01 ` Carl P. Zwanzig
  1992-01-22 14:55 ` jwb
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Hjelm @ 1992-01-18 22:03 UTC (permalink / raw)


Does anyone remember the DOS-11 tape format, used under RSTS/E and
readable under VMS (using exchange)?  Well, I don't have easy access
to any of these machines any more, so I need to write a tape reader
myself and I can't find a spec for the format.  I've managed to get
the file name out of the header (6 bytes), but that leaves another 8
bytes of header.  2 bytes are account information, which I can figure
out, but what is in the rest of the header?
  
Mark
hjelm@cs.cmu.edu


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

* Re: DOS-11 Tape Format
  1992-01-18 22:03 DOS-11 Tape Format Mark Hjelm
@ 1992-01-20 23:01 ` Carl P. Zwanzig
  1992-01-22 14:55 ` jwb
  1 sibling, 0 replies; 3+ messages in thread
From: Carl P. Zwanzig @ 1992-01-20 23:01 UTC (permalink / raw)


In article <1992Jan18.220351.202942@cs.cmu.edu> hjelm+@cs.cmu.edu (Mark Hjelm) writes:
>Does anyone remember the DOS-11 tape format, used under RSTS/E and
>readable under VMS (using exchange)?  Well, I don't have easy access
>to any of these machines any more, so I need to write a tape reader
>myself and I can't find a spec for the format.  I've managed to get
>the file name out of the header (6 bytes), but that leaves another 8
>bytes of header.  2 bytes are account information, which I can figure
>out, but what is in the rest of the header?
>  
>Mark
>hjelm@cs.cmu.edu

Live, direct from the RSTS/E V9.0 Programming Manual, it's...

DOS-11 Tape Format !!!!

Each file consists of a label block, n data blocks and a tape mark.
The last file on the tape is followed by 2 more tape marks.
A file may have zero data blocks.
If a tape has no files, there will only be 3 tape marks on it.

Label format:
bytes     contents    format
0..3      file name   radix-50
4,5       file type   radix-50
6         programmer number   unsigned binary
7         project number      unsigned binary
8         protection code     binary bitmask, but it's always 155. for RSTS/E
9         unused
10,11     file creation date  internal date format
12,13     unused

RSTS/E ignores the protection code, I don't know about other os's.
RSTS/E uses project and programmer numbers in decimal, other os's use octal.
(although that really only matters for display)

Date format:
# = (day of year) + (year-1970)*1000

I hope that this helps.

Carl Zwanzig
zbang@access.digex.com


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

* Re: DOS-11 Tape Format
  1992-01-18 22:03 DOS-11 Tape Format Mark Hjelm
  1992-01-20 23:01 ` Carl P. Zwanzig
@ 1992-01-22 14:55 ` jwb
  1 sibling, 0 replies; 3+ messages in thread
From: jwb @ 1992-01-22 14:55 UTC (permalink / raw)


In article <1992Jan18.220351.202942@cs.cmu.edu>, hjelm+@cs.cmu.edu (Mark Hjelm) writes:
> Does anyone remember the DOS-11 tape format, used under RSTS/E and
> readable under VMS (using exchange)?  Well, I don't have easy access
> to any of these machines any more, so I need to write a tape reader
> myself and I can't find a spec for the format.  I've managed to get
> the file name out of the header (6 bytes), but that leaves another 8
> bytes of header.  2 bytes are account information, which I can figure
> out, but what is in the rest of the header?

You don't say what machine you want to read it on, but there was a good 
program in the DECUS library called TAPE (would you believe) which gave you 
the block format of the tape, and allowed inspection of each block.  I used it 
in RSTS, and I'm pretty sure I used it under VAX BASIC, so you should be able 
to compile it to run on any VAX.

It's been a while, but I seem to recall that some of those bytes were nulls, 
(reserved for future expansion ? ;-)

Regards,

John Bennett,                                 E-mail : jwb@dstos3.dsto.oz.au
Head, Networks Group                          Phone  : +61 8 259 5292
Information Systems Branch                    FAX    : +61 8 259 6726
DEFENCE SCIENCE AND TECHNOLOGY ORGANISATION   Postal : Bld 73 Labs Area
AUSTRALIA                                              PO Box 1600 Salisbury 
              "Lord Warden of the Sync Ports"          South Australia  5108
                  (DSTO Network Manager)               AUSTRALIA


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

end of thread, other threads:[~1992-01-22 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-01-18 22:03 DOS-11 Tape Format Mark Hjelm
1992-01-20 23:01 ` Carl P. Zwanzig
1992-01-22 14:55 ` jwb

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