Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jim Mack" <jmack@mdxi.nospam.com>
Subject: Re: RT-11 Dates
Date: Tue, 14 Jan 2003 06:44:34 -0500	[thread overview]
Message-ID: <ReSdnXQS2LS-Zb6jXTWcow@comcast.com> (raw)
In-Reply-To: H8ot6J.1t6KHK@world.std.com

Wow, great answer and more than I expected.  Thanks for the speedy
reply.

I should have clarified that there's no actual RT-11 OS in the picture,
this is legacy support for (what I believe are) RX50 disks with an RT-11
file system, but running on PCs and Macs.  The format was established
many years ago when DEC systems were the primary suppliers and consumers
of these files, and it's just stuck around by inertia.

As a result, there's no DEC documentation to be had.  I was hoping that
somewhere online were the few little bits I'd like to nail down... the
primary one being the RT-11 logical block to C-H-S interleaving for both
720K and 1.44M formats.

Memory tells me that it's a 3-block interleave per cylinder, with an
inter-cylinder advance of 6 blocks, but frankly I could be remembering
RX01 here, or making it all up.  And I have no idea if the head switch
needed for 1.44MB formats added yet another advance.

So if you have any pointers to online resources I'd be very pleased.

--
     Jim Mack
     Editing Services Co



Megan wrote:
> "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 11: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
2003-01-14 11:44   ` Jim Mack [this message]
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