From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,95ead19cf6a3acb5 X-Google-Attributes: gid1164f8,public X-Google-Thread: 113641,95ead19cf6a3acb5 X-Google-Attributes: gid113641,public X-Google-ArrivalTime: 1992-01-20 17:48:16 PST Xref: sparky comp.sys.dec:1275 comp.sys.misc:274 Newsgroups: comp.sys.dec,comp.sys.misc Path: sparky!uunet!psinntp!digex!zbang From: zbang@access.digex.com (Carl P. Zwanzig) Subject: Re: DOS-11 Tape Format Message-ID: <1992Jan20.230134.6624@access.digex.com> Keywords: DOS-11 Organization: Living Room RSTS/E References: <1992Jan18.220351.202942@cs.cmu.edu> Date: Mon, 20 Jan 1992 23:01:34 GMT 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