[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floptical eject programming question



jmk3@crux4.cit.cornell.edu (Jay Krell) writes:
> >.  How can I directly send the eject code to the floptical?  I would
> >like to have a program in BASIC or through an AppleWorks UltraMacro
> >(should be possible by poking in a short assembly language program and
> >running it).  If the finder can do it, there must be a way!
> 
>  If you're writing under GS/OS, the answer is easily found to be
>one of the sub calls of the DControlGS call, if memory serves.
>But, under ProDOS 8, I think you'd have to know some details specific
>to your RAMFast card, as I don't believe ProDOS 8 or the SmartPort
>offers a standardized eject call. You might even have to know
>SCSI stuff.

The Smartport eject call is standardised. It is CONTROL subfunction $04 I think.
I have a little binary program I run to eject 3.5" disks from a Mac 800k drive
with no eject button.