home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 625.lha / Track-Display / Track-Display.doc next >
Text File  |  1991-12-31  |  4KB  |  62 lines

  1. Have you ever wondered what your floppy drive was doing when it seems
  2. to keep reading the same track over and over again?  I decided to add
  3. a track indicator to my disk drive to show exactly what it was doing!
  4.  
  5. Unlike the software only track indicators, this device requires no
  6. software initialization of any sort, and will therefore always be
  7. ready every time you turn on your computer. This means that it will
  8. even work with non-DOS software.
  9.  
  10. The basic idea is simple. The Track Display monitors the signals sent
  11. to the floppy drive (as well as a few from the drive), and duplicates
  12. the head motions with the display.  It also indicates the disk side 
  13. being accessed and the state of the R/W line. 
  14.  
  15. Amiga drives will only accept commands when their drive select pin is
  16. enabled. There are four drive select pins, one for each drive. For the
  17. external drives, the drive select lines are moved over by one for each
  18. drive in the chain. The external drives move their 2nd select line 
  19. (SEL2) to SEL1 on the expansion connector, and SEL3 to SEL2 and so on.
  20. Therefore each drive in the chain only needs to respond to SEL1. The
  21. internal drive selects are not passed to the external drive connector,
  22. so if you wish to monitor an internal drive, you will need to pass those
  23. select lines to the Track Display circuitry.
  24.  
  25. About the circuit. The drive select line is inverted, and used to enable
  26. an octal latch. This causes the latch to pass the signals fed to it from
  27. the Amiga drive connector. There are two CMOS up/down counter chips 
  28. (CD4510) and two BCD to 7 segment LED display drivers (CD4511) that keep
  29. track of the current head position. The TRK0 signal is buffered and sent 
  30. through a capacitor, which is used to reset the counters to 00 whenever 
  31. the drive steps to track 0, thus syncronizing the counters to the drive.
  32. The capacitor is used to deliver a single reset pulse rather than a
  33. continuous signal. The DIR signal determines whether the counters count 
  34. up or down, and the STEP signal is used as the counter clock.  The SIDE
  35. and Write Enable signals are buffered and sent to the decimal points on
  36. the 7 segment displays to indicate the current side and write status. The
  37. displays are buffered with 330 Ohm resistors to limit current.
  38.  
  39. Construction is not critical. You can either mount the device internally or
  40. externally. I chose to mount mine inside the voluminous A1010 drive. I cut
  41. a small square hole in the upper right corner, in which I placed some 1/8"
  42. smoked plexiglass. I mounted the displays upside down behind the plexiglass
  43. so that the SIDE and WE points did not look like decimal points. After
  44. compensating for the pin changes, I mounted the resistors and display 
  45. drivers to the back of the 7 segment displays. This limited the number of
  46. wires needed to the rest of the circuit which I mounted on a small piece
  47. of perf-board and placed along side of the 1010 drive. The last connections
  48. were to the Amiga drive connector inside of the A1010. I used short pieces 
  49. of ribbon cable, which were small enough to feed around the edge of the
  50. metal shielding.
  51.  
  52. The project works great! Instead of making one for every drive, you can 
  53. wire up a selector switch to the other SEL line for the other drives.
  54. This allows you to monitor any drive in the system.  Be careful when wiring
  55. it up. Double check your work. A stray piece of wire could permanently
  56. damage your Amiga! Once you've built one of these devices, you'll be amazed
  57. to find out what your floppy drive has been up to all this time!  Good Luck!
  58.  
  59.     -Mark Spankus
  60.     (Mark @ Shorty.CS.wisc.edu)
  61.  
  62.