/*-------------------------------------------------------------------*/ /* Program: testd.c */ /* Author: (c) William M. Pipher 1990 All Rights Reserved */ /* Re: Free copyrighted software utility */ /* Date: Jul 08 90 */ /* Purpose: test for disk error or printer error */ /* Runs on IBM PC or compatable under PC/MS DOS 3.0 or later */ /* */ /* */ /* The prog accepts EITHER user defined drive designator (d0 to d83) */ /* OR user defined port designator (p1 to p3) */ /* and optional "quiet" parameter to mask comments. */ /* */ /* For help enter: TESTD ? */ /* For code list enter: TESTD codes */ /* */ /* This utility is supplied for educational purposes only and is */ /* to be used entirely and absolutely at YOUR OWN RISK! */ /* */ /* YOU are solely responsible for determining the program's */ /* applicability to you and your circumstances. */ /* */ /* This utility is supplied FREE. The author retains full copyright. */ /* */ /* Syntax: TESTD [drive] [port] ["codes"] ["quiet"] [?] */ /* */ /* Example: TESTD d0 quiet */ /* Example: TESTD p1 */ /* Example: TESTD codes */ /* Example: TESTD ? */ /* */ /* Calls: Standard Microsoft C 5.1 Libraries */ /* small memory model */ /* */ /* Side Eff: does direct reads from */ /* parallel status port, bytes at port vectors (0x408+) */ /*-------------------------------------------------------------------*/