home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol140 / z80disk.doc < prev    next >
Encoding:
Text File  |  1985-02-10  |  3.5 KB  |  73 lines

  1.      Thi≤ i≤ aε extrac⌠ oµ aε articlσ iε Dr«á Dobb's¼á Apri∞ ì
  2. 1981.
  3.  
  4.      Thi≤ prograφ require≤ ß Z8░ MPU¼á a⌠ leas⌠ 32╦ bytσ RA═ ì
  5. memory, two flexible disk drives and CP/M 2.x.
  6.  
  7.      Al∞á consolσá I/╧á i≤á donσá usinτá thσá standarΣá CP/═ ì
  8. functioε calls«á Fo≥ maximuφ tes⌠ speed¼ acces≤ t∩ protecteΣ ì
  9. systeφá area≤ anΣ t∩ avoiΣ erro≥ interceptioε b∙ CP/M¼á disδ ì
  10. I/O is performed directly by calls to the BIOS drivers.
  11.  
  12.      Thσá prograφá i≤ configureΣ t∩ tes⌠á ßá sof⌠á sectored¼ ì
  13. singlσ densit∙ disδ witΦ 7╖ tracks¼ 2╢ sector≤ pe≥ tracδ anΣ ì
  14. 12╕ bytσ sectors«á Iµ yo⌡ arσ usinτ ß differen⌠ typσ oµ disδ ì
  15. drive¼á thσ numbe≥ oµ track≤ and/o≥ sector≤ pe≥ tracδ ma∙ bσ ì
  16. specifieΣá durinτ thσ initializatioε dialog¼á o≥ thσ prograφ ì
  17. may be reassembled to modify the default configuration.
  18.  
  19.      Thσá prograφ doe≤ no⌠ exhaustivel∙ checδ ou⌠ thσá drivσ ì
  20. anΣá an∙ error≤ detecteΣ b∙ thσ prograφ mus⌠ bσá interpreteΣ ì
  21. witΦ care« Intermitten⌠ error≤ occurrinτ throughou⌠  ß broaΣ ì
  22. rangσá oµ disδ addresse≤ probabl∙ indicate≤ ßá probleφá witΦ ì
  23. thσáá disδá drivσá unit«áá Error≤á indicateΣá a⌠á consisten⌠ ì
  24. addresse≤á withiεá adjacen⌠ track≤ ma∙ resul⌠ froφá worεá o≥ ì
  25. damageΣá disk«á Error-freσ executioε oµ thσá tes⌠á certainl∙ ì
  26. indicates an intact and useable diskette.
  27.  
  28.      NOTE║á thσá prograφá i≤á rathe≥á insensitivσá t∩á drivσ ì
  29. problem≤á relateΣá t∩á heaΣ movemen⌠ sincσ thσá diskettσá i≤ ì
  30. addressed in a smooth sequential manner.
  31.  
  32.      ERROR LISTING
  33.  
  34.      Error≤á detecteΣ b∙ thσ prograφ ma∙ bσ itemizeΣ oεá thσ ì
  35. systeφ consolσ o≥ thσ linσ printer«á Thσ pass¼á drivσá name¼ ì
  36. tracδá anΣ secto≥ wherσ thσ erro≥ occurreΣ arσá listed«á Al∞ ì
  37. number≤ arσ iε decimal«á Thσ erro≥ typσ i≤ designateΣ a⌠ thσ ì
  38. right« Iε thσ explanation≤ below¼ 'hardwarσ errorº signifie≤ ì
  39. aεá erro≥ statu≤ codσ passeΣ froφ thσ low-leve∞ disδá drive≥ ì
  40. and usually means a CRC fault or seek incomplete.
  41.  
  42. ERROR TYPE                    EXPLANATION
  43. ============================================================
  44. reaΣáerro≥á- origina∞ datß    Iµ runninτ iε restorσá mode¼
  45.                               hardwarσáreaΣ erro≥ noteΣáa≤
  46.                               the original data was being 
  47.                               loaded into memory.
  48.  
  49. write error - test data       Hardware error noted as the
  50.                               test data pattern was being
  51.                               written on the diskette.
  52.  
  53. read error - test data        Hardware error noted as the
  54.                               test data pattern was being
  55.                               read back from the diskette.è
  56. compare error - test data     Difference was found between
  57.                               the data pattern that was
  58.                               written to the diskette and
  59.                               the data that was read back.
  60.  
  61. write error - restore phase   Hardware error noted as the
  62.                               original data was being
  63.                               written back to the diskette.
  64.  
  65. read error - restore phase    Hardware error noted as the
  66.                               restored original data was 
  67.                               beinτáreaΣábacδáfo≥ verification.
  68.                               
  69. datßácanno⌠ bσ restoreΣ       Comparσ erro≥áfounΣábetweeε
  70.                               thσáorigina∞ádatß rewritteε t∩
  71.                               thσ diskettσ anΣáthσásamσ
  72.                               sectors read back for verification.
  73.