home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apple2 / 26556 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.1 KB

  1. Path: sparky!uunet!gatech!rpi!usenet.coe.montana.edu!news.uoregon.edu!cie.uoregon.edu!nparker
  2. From: nparker@cie.uoregon.edu (Neil Parker)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: How does Eject work on an Apple 3.5 drive?
  5. Date: 8 Jan 1993 04:09:40 GMT
  6. Organization: The Universal Society for the Prevention of Reality
  7. Lines: 34
  8. Message-ID: <1iiuq4INNhne@pith.uoregon.edu>
  9. References: <1993Jan2.061850.8141@cs.uow.edu.au>
  10. NNTP-Posting-Host: cie.uoregon.edu
  11.  
  12. In article <1993Jan2.061850.8141@cs.uow.edu.au> david@cs.uow.edu.au (David E A Wilson) writes:
  13. >I have looked at the IWM pinout description in tn-misc-006 and read
  14. >descriptions of the 5.25" disk drive, Unidisk 3.5 Smartport and everything
  15. >else I could find but have never been able to find out what the controller
  16. >does to cause an Apple 3.5 to eject. The only additional signal the 3.5
  17. >has over the 5.25 is the head select. How then can the drive be told to
  18. >eject the disk?
  19.  
  20. As a previous poster noted, it's done by setting the phase lines to a weird
  21. combination.  Here are the exact instructions:
  22.  
  23.      Get the byte at $C031.  Turn bit 6 ON, and bit 7 OFF.  Don't change
  24.      any other bits.  Write the modified byte back to $C031.
  25.      Turn on the drive by accessing $C0E9.
  26.      Select the eject function by accessing $C0E1, $C0E3, and $C0E5.
  27.      Perform the eject function by accessing $C0E7 and then $C0E6.
  28.      When the disk is ejected (it takes about 1 second), turn the drive off
  29.      by accessing $C0E8.
  30.      Clear the control lines by accessing $C0E0, $C0E2, and $C0E4.
  31.      Finally, get the byte at $C031, turn off bit 6, and write it back.
  32.  
  33. Note:  Just in case there are any typos in the above, DON'T try it with a
  34. non-expendable disk in the drive.
  35.  
  36. The full details of this trick and many others can be obtained by anonymous
  37. FTP from cco.caltech.edu.  Cd to /pub/apple2/info and get the file
  38. "iwmstuff".  If you can't do anonymous FTP, I can provide copies by
  39. e-mail.
  40.  
  41.                - Neil Parker
  42. --
  43. Neil Parker                 No cute ASCII art...no cute quote...no cute
  44. nparker@cie.uoregon.edu     disclaimer...no deposit, no return...
  45. parker@corona.uoregon.edu   (This space intentionally left blank:           )
  46.