Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: Ejecting disks on a Unidisk 3.5 Message-ID: <51009@apple.Apple.COM> Date: 1 Apr 91 06:16:09 GMT References: <1991Mar29.151823.8462@umiami.ir.miami.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 28 In article <1991Mar29.151823.8462@umiami.ir.miami.edu> jdeitch@umiami.ir.miami.edu (Jonathan Deitch) writes: >Anyone know how to make a Unidisk 3.5" drive on an Apple //c eject the disk >from software ? > >I'd be interested mainly in doing this from machine language, so if anyone >can send me source code (it shouldn't be long) I'd be a happy camper. >- Jonathan >------------------------------------------------------------------------------ >Internet : jdeitch@umiami.miami.edu | "Good musicians execute >------------------------------------------------- | their music but bad ones You need to make a SmartPort "Control" call to the right slot and unit number; reference material includes the Apple IIgs Firmware Reference Manual and the Apple II SmartPort Technical Notes. Be careful doing an Eject through SmartPort under ProDOS 8--you should make sure you're -not- talking to a pre-revision-C SCSI card, or make sure that you -are- talking to a 3.5" drive. The Eject subcall was originally defined only for 3.5 drives, and to an *old* SCSI card it meant "Format"! (If your software works ONLY on an Apple IIc Plus, that isn't a problem.) -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II System Software Engineer | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.