Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mbg@world.std.com (Megan)
Subject: Re: RT-11 Dates
Date: Tue, 14 Jan 2003 04:44:43 GMT	[thread overview]
Message-ID: <H8ot6J.1t6KHK@world.std.com> (raw)
In-Reply-To: 3s2cnZA_Ldal4b6jXTWcpQ@comcast.com

"Jim Mack" <jmack@mdxi.nospam.com> writes:

>Apologies if this isn't an appropriate group (and directions please, in
>that case).

>I support (on PC's) a legacy disk format based on the RT-11 file system,
>as realized on RX01 8" floppies but ported to 3.5" 720K / 1.44M.  I'm
>not sure, but this may be known as RX50.

>This is "Y2K" for the RT-11 date format... it's based at 1972 and uses 5
>bits for year. 1972 + 31 = 2003.  So what happens next year?`

We did take this into account for later versions of the OS.  If you
have an older version of RT-11, I'm not sure what will happen... it
may ignore the upper order (epoch) bits and simply print dates
starting from 1972 again.  Or, it may error.

>The actual layout of an RT11 date word is 0mmmmmdddddyyyyy.  That unused
>0 bit is rather tempting as a year-extender, but before I go off on my
>own, I wondered if there's been any discussion of this and if so, what
>was decided?

Actually, the month field is 4 bits, not 5, so the layout was (pre
extension):

	00mmmmdddddyyyyy

When we added the epoch support (which extends the date support until
2099), the date word layout became

	eemmmmdddddyyyyy

The year is generated by prepending the 'ee' bits to the 'yyyyy' bits,
resulting in a 7-bit field which, when based on 1972, gets you up to
2099.

>Along these lines, is there an online resource anywhere that documents
>the internals of the various physical floppy formats used by DEC, and
>the application of RT-11 to those formats?  In particular, I'm
>interested in the sector interleaving used on the two common 3.5"
>flavors (720K and 1.44M).

If you have the documentation, you'll find the info in the system
software manual (earlier versions of RT) or the file formats manual
(later versions).

					Megan Gentry
					Former RT-11 Developer

+--------------------------------+-------------------------------------+
| Megan Gentry, EMT/B, PP-ASEL   | email: mbg at world.std.com         |
|                                |                                     |
| "this space                    |             (s/ at /@/)             |
|  unavoidably left blank"       | URL:     http://world.std.com/~mbg/ | 
|                                | "pdp-11 programmer - some assembler |
|                  (DEC '77-'98) |  required." - mbg            KB1FCA |
+--------------------------------+-------------------------------------+


  reply	other threads:[~2003-01-14  4:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-14  2:55 RT-11 Dates Jim Mack
2003-01-14  4:44 ` Megan [this message]
2003-01-14 11:44   ` Jim Mack
2003-01-14 14:53 ` Jerome H. Fine
2003-01-14 16:47   ` Jim Mack
2003-01-15  4:00   ` glen herrmannsfeldt
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