Subject: Re: Lost my 5.25 icon! Message-ID: <36FB0145.768E5998@swbell.net> From: Rubywand Reply-To: rubywand@swbell.net X-Mailer: Mozilla 4.51 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.apple2 References: Jeff Blakeney writes ... > > On Wed, 24 Mar 1999 09:59:48 -0600, Rubywand > wrote: .... > > > > Are you sure you mean 5.25" drives? System startup does not spin these drives; > >neither does the Finder when it starts unless this option is set in Preferences. (In > >fact, our IIgs shows two 5.25" drive icons even when the drives are disconnected.) > > I bet you still have slot 6 in the Slots Control Panel set to "Disk > Port". Yes. > The AppleDisk5.25 driver sees that there is a 5.25" drive > controller in the system and the detect scheme it uses is faulty, like > I noted before, so it must be messing up and thinks you have two 5.25" > drives attached. > Except that there is no way for the GS to really _know_ that there is a 5.25" drive attached except to spin it and attempt a read. (Write protect would be unreliable because most diskettes in 5.25" drives are not write protected.) We 'tell' the Finder to assume that we have two 5.25" drives attached just by accepting the default Slot 6 assignment, loading the 5.25" Driver during startup, and having Preferences set to not permit Finder to spin any 5.25" drives to check. Neither GS firmware nor System is messing up. Since our setup does have two 5.25" drives attached, everything works fine. Suppose the standard Slot setting for Slot 6 is accepted (= "Disk Port") and the 5.25" Driver is included in the SYSTEM/DRIVERS/ folder at startup and Preferences was previously set to have Finder check 5.25" drives upon startup. Then, upon startup, Finder will try to spin each 5.25" drive attached to the Disk Port chain and read any diskette in each drive. It will display a Disk icon for any 5.25" diskette it can read. It will normally display two 5.25" drive icons whether or not it can read any diskettes in the drives. The reason for setting Preferences to _not_ permit the 5.25" drive check by Finder is that the check is time consuming. If a drive has no diskette inserted, the check takes even longer and is more noisy. Also, this check will be performed whenever Finder is restarted, as, say, when quitting an application back to Finder. Unless there is some special reason to have a diskette show up whenever Finder is started, the user is much better off with no startup 5.25" drive checks. In a normal setup, the two drive icons will appear and the user just needs to click on the appropriate 5.25" drive icon when mounting a diskette is desired. > I bet if you changed slot 6 to "Your Card" that those 5.25" drive > icons would go away because the AppleDisk5.25 driver won't see a 5.25" > drive controller and will therefore not even try to detect drives. > Sounds like a good bet! (In fact, just tried it and, as you say, the icons do not show up.) Our 5.25" drives are connected to the Disk Port chain. So, naturally, we _want_ the icons to show up. > You could achieve the same result by making the AppleDisk5.25 driver > inactive or by deleting it. > Yes; we've done this a few times to eliminate unwanted 5.25" drive checks by some game, etc.. > By the way, if you only have one 5.25" drive connected and keep > getting two drive icons in the Finder you can change the aux type of > the AppleDisk5.25 driver so that it will only ever look for one drive. > I don't have the details handy but I can get them and post them if > anyone is interested. This info should also be in a FAQ somewhere. > It is ... >> From: David Empson 016- I have one 5.25" drive connected to my GS, but the System 6.0.1 Finder display shows two 5.25" icons!? How can I fix this? You need to change the AppleDisk5.25 driver file's auxilary filetype from $010E to $0101. You can use File Manager (an NDA utility) to make the change. For a standard GS/OS device driver, the lower six bits specify the number of devices supported by the driver (see the file type note on GS/OS drivers: FTN.BB.XXXX), so the maximum number of devices that can be supported by a single driver is 63. You should NEVER increase this higher than the original value, because the driver probably doesn't have space in its device tables to support more drivers than it originally claimed to. The AppleDisk5.25 driver supports a maximum of 14 devices - two 5.25" drives for each available slot. (In theory, it should be able to support 16: all seven real slots, plus the built-in disk port, but Apple never completed the implementation of dynamic slot switching for drivers, probably for compatibility reasons.) Don't change any of the higher order bits. The high order byte specifies the type of driver ($01 = GS/OS device driver), and the top two bits of the low order byte specify the type of GS/OS driver (00 = standard). NOTE: All of the above applies ONLY to GS/OS standard device drivers, not to GS/OS supervisory drivers, printer drivers, or anything else. See the filetype note for further information. There is one bit in the auxiliary type which is the same for all types of drivers: bit 15 set ($8000) indicates the driver is inactive (this is what Finder toggles when you click on the "Inactive" check box). << > > Which brings up another possibility-- maybe all Louis needs to do is click on > >the Special menu, select Preferences, and make sure "Check 5.25" drives on Finder > >start" is not checked. > > The Finder, when it is installed, defaults to having the 'Check 5.25" > drives on Finder start' checked. If Louis has not changed the Finder > preferences then this checkbox should already be checked. > > This means that the Finder should check to see if there is any disks > in any 5.25" drives when the Finder starts. If there is a disk in a > 5.25" drive, both the drive icon and a 5.25" disk icon will appear on > the Finder's desktop. > > But like I've said, if there is no disk in the drive then the driver > sometimes will fail to detect the presence of a drive at all and > therefore Finder will not even put a 5.25" drive icon on the desktop. > .... Which is another reason to set Preferences to not ask Finder to check the 5.25" drives. If you have any 5.25" drives connected, just let the drive icon(s) be mounted by default. Rubywand