[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Floptical eject programming question
- Subject: Re: Floptical eject programming question
- From: david@zircon.cs.uow.edu.au (David E A Wilson)
- Date: 1 Nov 1994 12:16:45 +1100
- Newsgroups: comp.sys.apple2, comp.sys.apple2.programmer
- Organization: University of Wollongong, NSW, Australia.
- References: <391228$rcm@nyx10.cs.du.edu> <391l25$m6d@tuba.cit.cornell.edu>
- Xref: bga.com comp.sys.apple2:12540 comp.sys.apple2.programmer:1975
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.