home *** CD-ROM | disk | FTP | other *** search
- Thi≤ i≤ aε extrac⌠ oµ aε articlσ iε Dr«á Dobb's¼á Apri∞ ì
- 1981.
-
- Thi≤ prograφ require≤ ß Z8░ MPU¼á a⌠ leas⌠ 32╦ bytσ RA═ ì
- memory, two flexible disk drives and CP/M 2.x.
-
- Al∞á consolσá I/╧á i≤á donσá usinτá thσá standarΣá CP/═ ì
- functioε calls«á Fo≥ maximuφ tes⌠ speed¼ acces≤ t∩ protecteΣ ì
- systeφá area≤ anΣ t∩ avoiΣ erro≥ interceptioε b∙ CP/M¼á disδ ì
- I/O is performed directly by calls to the BIOS drivers.
-
- Thσá prograφá i≤ configureΣ t∩ tes⌠á ßá sof⌠á sectored¼ ì
- singlσ densit∙ disδ witΦ 7╖ tracks¼ 2╢ sector≤ pe≥ tracδ anΣ ì
- 12╕ bytσ sectors«á Iµ yo⌡ arσ usinτ ß differen⌠ typσ oµ disδ ì
- drive¼á thσ numbe≥ oµ track≤ and/o≥ sector≤ pe≥ tracδ ma∙ bσ ì
- specifieΣá durinτ thσ initializatioε dialog¼á o≥ thσ prograφ ì
- may be reassembled to modify the default configuration.
-
- Thσá prograφ doe≤ no⌠ exhaustivel∙ checδ ou⌠ thσá drivσ ì
- anΣá an∙ error≤ detecteΣ b∙ thσ prograφ mus⌠ bσá interpreteΣ ì
- witΦ care« Intermitten⌠ error≤ occurrinτ throughou⌠ ß broaΣ ì
- rangσá oµ disδ addresse≤ probabl∙ indicate≤ ßá probleφá witΦ ì
- thσáá disδá drivσá unit«áá Error≤á indicateΣá a⌠á consisten⌠ ì
- addresse≤á withiεá adjacen⌠ track≤ ma∙ resul⌠ froφá worεá o≥ ì
- damageΣá disk«á Error-freσ executioε oµ thσá tes⌠á certainl∙ ì
- indicates an intact and useable diskette.
-
- NOTE║á thσá prograφá i≤á rathe≥á insensitivσá t∩á drivσ ì
- problem≤á relateΣá t∩á heaΣ movemen⌠ sincσ thσá diskettσá i≤ ì
- addressed in a smooth sequential manner.
-
- ERROR LISTING
-
- Error≤á detecteΣ b∙ thσ prograφ ma∙ bσ itemizeΣ oεá thσ ì
- systeφ consolσ o≥ thσ linσ printer«á Thσ pass¼á drivσá name¼ ì
- tracδá anΣ secto≥ wherσ thσ erro≥ occurreΣ arσá listed«á Al∞ ì
- number≤ arσ iε decimal«á Thσ erro≥ typσ i≤ designateΣ a⌠ thσ ì
- right« Iε thσ explanation≤ below¼ 'hardwarσ errorº signifie≤ ì
- aεá erro≥ statu≤ codσ passeΣ froφ thσ low-leve∞ disδá drive≥ ì
- and usually means a CRC fault or seek incomplete.
-
- ERROR TYPE EXPLANATION
- ============================================================
- reaΣáerro≥á- origina∞ datß Iµ runninτ iε restorσá mode¼
- hardwarσáreaΣ erro≥ noteΣáa≤
- the original data was being
- loaded into memory.
-
- write error - test data Hardware error noted as the
- test data pattern was being
- written on the diskette.
-
- read error - test data Hardware error noted as the
- test data pattern was being
- read back from the diskette.è
- compare error - test data Difference was found between
- the data pattern that was
- written to the diskette and
- the data that was read back.
-
- write error - restore phase Hardware error noted as the
- original data was being
- written back to the diskette.
-
- read error - restore phase Hardware error noted as the
- restored original data was
- beinτáreaΣábacδáfo≥ verification.
-
- datßácanno⌠ bσ restoreΣ Comparσ erro≥áfounΣábetweeε
- thσáorigina∞ádatß rewritteε t∩
- thσ diskettσ anΣáthσásamσ
- sectors read back for verification.