home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / dskutl / ddd.lbr / DDD.DQC / DDD.DOC
Encoding:
Text File  |  1985-06-17  |  3.0 KB  |  70 lines

  1. Following is the documentation provided by Dysan Corporation for 
  2. use with their Digital Diagnostic Diskette (DDD).
  3.      Using the DDD, it is possible to align most floppy drives 
  4. with no test equipment - other than your computer and a 
  5. screwdriver or two.
  6.      The program DDD.ASM is a generic one, and is useless until 
  7. modified for a specific computer or controller board.  We will 
  8. be maintaining copies of all of these "specific" versions on 
  9. Technical CBBS ( (313) 846-6127 ), so if you modify this program 
  10. for your own use, please pass a copy along to us there, so that 
  11. others may also benefit from Dysan's contribution of this 
  12. program to the public.
  13.                          -Dave Hardy, CDP Corp., Technical CBBS
  14.  
  15. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  16.  
  17.        Requirements for using Dysan's Diagnostic Program
  18.  
  19.  
  20.                         DYSAN CORPORATION
  21.                            CE DIVISION
  22.  
  23.                     DRIVE DIAGNOSTIC PROGRAM
  24.                            for CP/M-80
  25.  
  26. The Drive Diagnostic Program is a sample program showing how 
  27. the Digital Diagnostic Diskette (DDD) can be used for Floppy 
  28. Drive checking.
  29.  
  30. The program requires the following hardware to run:
  31.  
  32.      CRT with cursor positioning and clear screen commands.
  33.      (The program is currently configured for a Hazeltine 1500.)
  34.  
  35.      CP/M-80 system with at least 32k of memory.
  36.  
  37.      At least one 8" or 5.25" floppy disk drive.
  38.  
  39. This source program is provided on an 8" single density, one-
  40. sided diskette that is compatible with the CP/M-80 operating 
  41. system.  The program provided will not run "as-is"; it must 
  42. be modified by someone experienced in 8080 Assembly language, 
  43. CP/M-80 and disk drive controller interfacing.
  44.  
  45. In order to make the program run with the target system, there 
  46. are four assembly language subroutines that must be modified 
  47. to interface with the system's disk controller/drive(s):
  48.  
  49.      1) "SELECT" - Selects and Homes the drive.
  50.      2) "TRACK"  - Seeks to the track number found in register A.
  51.      3) "HOME"   - Restores the selected drive's head to track 0.
  52.      4) "READ"   - Reads sector in register "A" and exits with
  53.                    error status.
  54.  
  55. The above routines must be coded within the Diagnostic Program, 
  56. instead of calling the routines through the BIOS, because the 
  57. BIOS may interfere with disk I/O operation (either by trapping 
  58. disk errors or deblocking sector calls, i.e. where sector sizes 
  59. are greater than 128 bytes).
  60.  
  61. The sample program was coded for use with the Western Digital 
  62. FD-1793 floppy disk controller IC.  The program will work with 
  63. other controllers (i.e. NEC uPD765 and Intel 8272 FDCs) by 
  64. modifying the source program, as indicated above.  Because some 
  65. disk controllers don't allow programmed access to the drive's 
  66. INDEX signal (i.e. NEC and Intel), "Index Timing" and "Spindle 
  67. Speed" testing are not possible with the current program.
  68.  
  69.  
  70.