Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: zbang@access.digex.com (Carl P. Zwanzig)
Subject: Re: DOS-11 Tape Format
Date: Mon, 20 Jan 1992 23:01:34 GMT	[thread overview]
Message-ID: <1992Jan20.230134.6624@access.digex.com> (raw)
In-Reply-To: 1992Jan18.220351.202942@cs.cmu.edu

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


  reply	other threads:[~1992-01-20 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-01-18 22:03 DOS-11 Tape Format Mark Hjelm
1992-01-20 23:01 ` Carl P. Zwanzig [this message]
1992-01-22 14:55 ` jwb
read-only archive

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