Article View: comp.sys.dec.micro
Article #30Re: reading rainbow disks on a '386 PC
From: Charles Lasner
Date: Tue, 04 Aug 1992 05:55
Date: Tue, 04 Aug 1992 05:55
76 lines
4375 bytes
4375 bytes
In article <1992Aug3.164235.1187@menudo.uh.edu> cosc16to@menudo.uh.edu (Andy Hakim) writes: >lasner@watsun.cc.columbia.edu (Charles Lasner) writes: >: >: Where can I obtain Teledisk? Does it require any low-level preformatting >: of the media on the target? >: >I checked the ftp site "wuarchive.wustle.edu", it is in directory >"mirrors2/msdos/dskutl" as file "teled212.zip". > >Nope, this one does not require any low level preformatting. It's possible >to stick in a brand new ds/dd and let it go. Incidently, teledisk is >made by the same people, Sydex, who make 22disk. > >-andy Sydex also makes RAINDOS. I suspect that teledisk will only make sector-compatible descendents though, so if I have a specially layed-out version of a diskette (such as 2:1 interleave or staggered, etc.) the descendent will lose that aspect of optimization, and will instead become "vanilla" RX50 format in the case of RX50 diskette. The point is that certain software, especially for DECmates not specifically geared to CP/M-80, and *any* bootable DECmate diskette (including CP/M-80) the format used in stock RX50 layout is non-optimal. There are different requirements for different specific applications, but just as on PC's, the use of non-interleaved non-staggered disks can be demonstrated to be inferior to a variant in terms of sector ordering at the low format level. Rainbow MS-DOS disks have an implied software interleave of 2:1 for the FAT area, and 1:1 in the rest; this is in software, so the standard disk layout should be maintained, except that the *stagger* is not taken into account. Thus, like a PC, Rainbow MS-DOS disks should be formatted with a stagger of 2 per track. Thus track 1 is layed out 1,2,3,4,5,6,7,8,9,10 and track 2 is layed out 9,10,1,2,3,4,5,6,7,8. When the disk seeks from track 1 to track 2, it will thus miss 9 and 10, but immediately find 1. Were the stagger not there, it would miss 1 and 2, and reject 3,4,5,6,7,8,9 while waiting for 1 to come around again. Thus staggering relieves rotational latency. For the DECmate, there are two additional problems: All bootable diskettes require the logically sequential reading of tracks 78, 79 in the order 1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10. But the RX interface of the DECmate can't perform 1:1 interleave ever, so this is anti-optimal not only in stagger but more importantly in interleave. Thus, this area of the disk should be formatted with an interleave of 2:1 as well as a stagger of 2. Thus the disk is layed out: track 78: 1,6,2,7,3,8,4,9,5,10 track 79: 5,10,1,6,2,7,3,8,4,9 This restriction is based on the ROM routines that read in this area in linear order. This is mostly why all DECmates take so long to boot up! Changing to a better sector order will chop seconds out of the boot time. Further, all systems other than CP/M-80 require some form of help, mostly applying the stagger that helps the Rainbow as well (again other than CP/M). For DECmate MS-DOS, tracks 0-3 should be in 1-1 interleave because the software already maps the disk in 2:1 usage. tracks 4-79 should be formatted 2:1 interleave to help out the RX interface when the Rainbow-optimal ordering is invoked (similar to the DECmate ROM access, and just as inefficient on a DECmate). OS/278 does a software 2:1 interleave, so the only help needed is a disk-wide stagger factor of 2. Note that RT-11 and all other -11-oriented disks should use stock format only because this superior software maps all sectors to include both the 2-1 interleave and stagger of 2 already. So, if Teledisk is a *really* good utility, it won't disturb the format's stagger and interleave as it copies the disks! cjl
Technical Details
Message-ID:
<1992Aug4.055511.11371@news.columbia.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!news.columbia.edu!watsun.cc.columbia.edu!lasnerReferences:
<1992Aug3.063956.9549@news.columbia.edu> <1992Aug3.164235.1187@menudo.uh.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec.micro Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!news.columbia.edu!watsun.cc.columbia.edu!lasner From: lasner@watsun.cc.columbia.edu (Charles Lasner) Subject: Re: reading rainbow disks on a '386 PC Message-ID: <1992Aug4.055511.11371@news.columbia.edu> Sender: usenet@news.columbia.edu (The Network News) Nntp-Posting-Host: watsun.cc.columbia.edu Reply-To: lasner@watsun.cc.columbia.edu (Charles Lasner) Organization: Columbia University References: <1992Aug3.063956.9549@news.columbia.edu> <1992Aug3.164235.1187@menudo.uh.edu> Date: Tue, 4 Aug 1992 05:55:11 GMT Lines: 77