vishniac@wanginst.UUCP (Ephraim Vishniac) (07/15/85)
Maybe the current version of IM is better, but... The 8/24/84 edition of the Segment Loader chapter neglects some vital information about _Launch, _Chain, and _ExitToShell. Most annoying is that it doesn't explain which volume the program (finder) will be launched from. If you guessed "the default volume" (my initial guess), you would be wrong. _SetVol sets the default volume, but has no effect on which volume programs are launched from. A little exploration revealed that _Launch, et al., use the volume whose volume reference number is in BootDrive (location $210). (Did they mean BootVol?) So far as I can see, the use of this location is completely undocumented. -- Ephraim Vishniac [apollo, bbncca, cadmus, decvax, harvard, linus, masscomp]!wanginst!vishniac vishniac%Wang-Inst@Csnet-Relay