From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cebf,e57088bed44fba90 X-Google-Attributes: gid10cebf,public X-Google-Thread: 1164f8,e57088bed44fba90 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-01-13 20:47:46 PST Newsgroups: comp.sys.dec,comp.sys.dec.micro Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!newshub.sdsu.edu!newshub1.wanet.net!uunet!sac.uu.net!world!mbg From: mbg@world.std.com (Megan) Subject: Re: RT-11 Dates Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <3s2cnZA_Ldal4b6jXTWcpQ@comcast.com> Date: Tue, 14 Jan 2003 04:44:43 GMT Xref: archiver1.google.com comp.sys.dec:15175 comp.sys.dec.micro:921 "Jim Mack" 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 | +--------------------------------+-------------------------------------+