Path: utzoo!attcan!uunet!mcvax!hp4nl!uva!eduard From: eduard@uva.UUCP (Eduard de Jong) Newsgroups: comp.sys.mac.hypercard Subject: Re: Is it possible to test for the existance of an object? Message-ID: <585@uva.UUCP> Date: 22 Dec 88 17:22:05 GMT References: <82129@sun.uucp> <258@gloom.UUCP> Reply-To: eduard@uva.UUCP (Eduard de Jong) Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Lines: 37 Newsgroups: comp.sys.mac.hypercard Subject: Re: HyperCard on floppies Summary: Non-boot disks must be mounted by startup application. Expires: References: <29693@tut.cis.ohio-state.edu> Sender: Reply-To: eduard@uva.UUCP (Eduard de Jong) Followup-To: Distribution: world Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Keywords: Startup, mounting disks. In article <29693@tut.cis.ohio-state.edu> Howard P. Marvel asks: > 1. How do I delay until the 2d disk is recognized? This problem may be explained by looking at the MACs boot procedure. It runs (scematicaly) like this: At Boot_time only the boot disk is mounted by the boot code; the system can subsequently be read using the standard FileManager calls. Any floppydrives or SCSI devices connected to the machine and recognised at boot_time (ie powered and running) are put in the event queue with a "DiskInsert Event" message. However, any drivers needed for the disks are loaded at boot_time. Normally the Finder will directly after its is launched cause the disks to be mounted when it discovers them at its first calls to GetNextEvent. This expose leads to a possible solution: If HC, as I expect, correctly handles DiskInsert events all you need is an Idle-handler in the Home stack that goes to your stack on the other disk. This should work as I figure HC posts Idle messages only after it has seen and processed any real events (like KeyDown & DiskInsert &c.). Hope you get this working now. --No fancy signature-- Eduard K. de Jong Frz.