* RT-11 Dates
@ 2003-01-14 2:55 Jim Mack
2003-01-14 4:44 ` Megan
2003-01-14 14:53 ` Jerome H. Fine
0 siblings, 2 replies; 6+ messages in thread
From: Jim Mack @ 2003-01-14 2:55 UTC (permalink / raw)
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?`
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?
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).
Thanks in advance for any tips, insights, etc.
--
Jim Mack
Editing Services Co
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: RT-11 Dates 2003-01-14 2:55 RT-11 Dates Jim Mack @ 2003-01-14 4:44 ` Megan 2003-01-14 11:44 ` Jim Mack 2003-01-14 14:53 ` Jerome H. Fine 1 sibling, 1 reply; 6+ messages in thread From: Megan @ 2003-01-14 4:44 UTC (permalink / raw) "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 | +--------------------------------+-------------------------------------+ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT-11 Dates 2003-01-14 4:44 ` Megan @ 2003-01-14 11:44 ` Jim Mack 0 siblings, 0 replies; 6+ messages in thread From: Jim Mack @ 2003-01-14 11:44 UTC (permalink / raw) 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 | > +--------------------------------+-------------------------------------+ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT-11 Dates 2003-01-14 2:55 RT-11 Dates Jim Mack 2003-01-14 4:44 ` Megan @ 2003-01-14 14:53 ` Jerome H. Fine 2003-01-14 16:47 ` Jim Mack 2003-01-15 4:00 ` glen herrmannsfeldt 1 sibling, 2 replies; 6+ messages in thread From: Jerome H. Fine @ 2003-01-14 14:53 UTC (permalink / raw) >Jim Mack wrote: > Apologies if this isn't an appropriate group (and directions please, in > that case). Jerome Fine replies: The news groups alt.sys.pdp11 and vmsnet.pdp-11 are more usual for this topic, but I do monitor both of the other groups as does Megan Gentry - obviously. > 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. As far as I know, RX50 are SSDD 5 1/4" floppy media that have 80 tracks per inch and 10 sectors per track. That is quite different from the normal PC DSDD 5 1/4" media which use 40 tracks per inch and 9 sectors per track. Also the total capacity of the RX50 is 800 sectors of 512 bytes per sector. I have NO idea what interleave is used, but on the PDP-11 with an RQDX1,2,3, I presume the controller takes care of the problem. As far as I know, RX23 are identical to the 3 1/2" 1.44 MByte floppy media on a PC (and the same drives are often used) with a format of 16 sectors per track and possibly 96 tracks per inch. The total capacity of both the RX23 and the 1.44 MByte PC HD floppy media are 2800 sectors of 512 bytes each. Note that the RX23 is NOT a standard media for the PDP-11, but does seem to be supported via the controller or host adapter if the correct number of blocks (sectors) is provided in a size request to the controller or host adapter made by the PDP-11 operating system. > 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?` Just keep on trucking, as Megan Gentry has already replied ... > 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? The month field was never actually 5 bits, so those extra two bits at the top were taken over. As Megan Gentry stated, the date range under V5.06 (ONLY the utilities MACRO and BUP were completed and even the monitors were not Y2K compliant) is 1972 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). I have no idea at all about how the sector interleave is done since that seems to be a controller or host adapter function as far as PDP-11 operating systems are concerned. Most likely there is some interleaving done, but it is probably the same as for the PC systems under DOS/Windows. However, you can probably ... > Thanks in advance for any tips, insights, etc. > Jim Mack > Editing Services Co look in the source code for the program PUTR.COM which is a DOS/WINDOWS 95/98 program available at: http://www.dbit.com/pub/putr/ If there is an interleave used which is different from the standard PC interleave, then PUTR would need to be able to handle that. PUTR handles RX50, RX33, RX23 and probably RX24 which might be those 720 KBytes 3 1/2" floppy media. NOTE: PUTR handles the RT-11 file structure as a matter of course, being able to switch between DOS/WINDOWS 95/98 and RT-11 file structures. On the same site, there is also the Erstaz-11 hobby emulator and information about the commercial versions as well. I realize that you don't use RT-11 in general. Also, this question seems related to commercial activity, so if you wish/want/need a Y2K version of RT-11 immediately, that is $ US 1600 from Mentec just for the V5.07 distribution and DOCs. License is extra. My goal is to produce a hobby Y2K/Y10K V5.03 hobby version before the end of this year starting with RT11FB and RT11XM. I will backward port the Y2K code from V5.04G that was done over 5 years ago - for a commercial customer. However, due to the almost total lack of interest by everyone, the Y2K/Y10K V5.03 changes will probably be available only to hobby users - and very few hobby users have indicated any interest. If you have any other questions, please ask. Let us know what happens with your project. GOOD LUCK and Happy New Year. Sincerely yours, Jerome Fine -- To obtain the original e-mail address, please remove the ten characters which immediately follow the 'at'. If you attempted to send a reply and the original e-mail address has been discontinued due a high volume of junk e-mail, then the semi-permanent e-mail address can be obtained by replacing the four characters preceding the 'at' with the four digits of the current year. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT-11 Dates 2003-01-14 14:53 ` Jerome H. Fine @ 2003-01-14 16:47 ` Jim Mack 2003-01-15 4:00 ` glen herrmannsfeldt 1 sibling, 0 replies; 6+ messages in thread From: Jim Mack @ 2003-01-14 16:47 UTC (permalink / raw) Jerome H. Fine wrote: >> Jim Mack wrote: > >> Apologies if this isn't an appropriate group (and directions please, >> in that case). > > Jerome Fine replies: > > The news groups alt.sys.pdp11 and vmsnet.pdp-11 are more > usual for this topic, but I do monitor both of the other groups > as does Megan Gentry - obviously. > Thanks. I suppose I'll just continue here, then. I've trimmed off the other crossposted groups to avoid clutter. >> 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. > > As far as I know, RX50 are SSDD 5 1/4" floppy media that have > 80 tracks per inch and 10 sectors per track. That is quite different > from the normal PC DSDD 5 1/4" media which use 40 tracks per > inch and 9 sectors per track. Also the total capacity of the RX50 > is 800 sectors of 512 bytes per sector. I have NO idea what > interleave is used, but on the PDP-11 with an RQDX1,2,3, I > presume the controller takes care of the problem. Ah, now I remember. RX50 was the format used on a different system for its 5.25" floppies. I've written handlers for all of these types, but it's been >10 years since I had to look at them (and no source any more). These were a bear, as I recall, because of the bizarre interleave and skew used. > As far as I know, RX23 are identical to the 3 1/2" 1.44 MByte floppy > media on a PC (and the same drives are often used) with a format > of 16 sectors per track and possibly 96 tracks per inch. The total > capacity of both the RX23 and the 1.44 MByte PC HD floppy > media are 2800 sectors of 512 bytes each. Note that the RX23 > is NOT a standard media for the PDP-11, but does seem to be > supported via the controller or host adapter if the correct number > of blocks (sectors) is provided in a size request to the controller > or host adapter made by the PDP-11 operating system. I've never come across the name RX23, but I'm sure you're right. The situation is this: two competing manufacturers using LSI-11 minis, both of whom used RX01 drives with compatible SSSD 8" media, which eventually became impossible to support for lack of disks and drives. Both added 3.5" drives, but they did it in incompatible ways. The first decided to treat the 3.5" as though it were a miniature RX01 disk, mapping 484 blocks onto the 80x9x512 format, and keeping all the gory soft-interleave and skew, with adaptations for the larger sectors. This is one format I have to support, and it's plain now that it's NOT a supported DEC format. The second apparently more closely followed a DEC convention (RX24?), using 1:1 interleave (maybe 2:1) and no skew. This is much more sane and easy to support. > ........ > > I have no idea at all about how the sector interleave is done since > that seems to be a controller or host adapter function as far as > PDP-11 operating systems are concerned. Most likely there > is some interleaving done, but it is probably the same as for the > PC systems under DOS/Windows. However, you can probably ... > > look in the source code for the program PUTR.COM which is > a DOS/WINDOWS 95/98 program available at: > http://www.dbit.com/pub/putr/ This source is a great help, and proved that the one format I need to support is totally non-standard. It doesn't help in my quest to discover its interleave and skew factors, but it does make it plain that I have to look elsewhere. > ......... > > If you have any other questions, please ask. Let us know what > happens with your project. GOOD LUCK and Happy New Year. > > Sincerely yours, > > Jerome Fine Thanks again, and best of luck with your projects. -- Jim Mack Editing Services Co ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RT-11 Dates 2003-01-14 14:53 ` Jerome H. Fine 2003-01-14 16:47 ` Jim Mack @ 2003-01-15 4:00 ` glen herrmannsfeldt 1 sibling, 0 replies; 6+ messages in thread From: glen herrmannsfeldt @ 2003-01-15 4:00 UTC (permalink / raw) "Jerome H. Fine" <jhfineb9rv@b9rvnospamcompsys.to> wrote in message news:3E242454.2FEB62E9@b9rvnospamcompsys.to... (snip) > > > 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. > > As far as I know, RX50 are SSDD 5 1/4" floppy media that have > 80 tracks per inch and 10 sectors per track. That is quite different > from the normal PC DSDD 5 1/4" media which use 40 tracks per > inch and 9 sectors per track. Also the total capacity of the RX50 > is 800 sectors of 512 bytes per sector. I have NO idea what > interleave is used, but on the PDP-11 with an RQDX1,2,3, I > presume the controller takes care of the problem. > > As far as I know, RX23 are identical to the 3 1/2" 1.44 MByte floppy > media on a PC (and the same drives are often used) with a format > of 16 sectors per track and possibly 96 tracks per inch. The total > capacity of both the RX23 and the 1.44 MByte PC HD floppy > media are 2800 sectors of 512 bytes each. Note that the RX23 > is NOT a standard media for the PDP-11, but does seem to be > supported via the controller or host adapter if the correct number > of blocks (sectors) is provided in a size request to the controller > or host adapter made by the PDP-11 operating system. The 5.25inch HD drive format is very similar to the 8 inch format, except that it allows 80 tracks instead of 77, and doesn't require the Reduced Write Current signal on inner cylinders. Instead, they use the RWC line to allow writing to DD disks, which naturally require lower write current. So, when using such a drive do NOT connect the RWC line. (I think it should be grounded, but I forget now.) The 3.5inch HD drive is similar to the 5.25inch HD drive, except that it runs at 300RPM (like 5.25in DD and 3.5inch DD) instead of 360RPM. You can get a few more sectors per track, but it works fine without them. -- glen ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-01-15 4:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-01-14 2:55 RT-11 Dates Jim Mack 2003-01-14 4:44 ` Megan 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox