home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 April / PCWorld_1999-04_cd.bin / Hardware / Drivers / MoDocDos / MDR7DOC.TXT < prev    next >
Text File  |  1997-01-11  |  204KB  |  4,801 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                     __________________________________________________
  8.                                           T H E 
  9.                                         M O D E M
  10.                                        D O C T O R
  11.                                     Version 7.0S / 7.0R
  12.                   Hank Volpe copyright 1989,1990,1991,1992,1993,1994, 1996
  13.                                       P.O. Box 43214
  14.                                     Baltimore MD 21236      
  15.                     __________________________________________________
  16.  
  17.  
  18.      What's New  . . . . . . . . . . . . . . . . . . . . . . . . .    Page 4
  19.  
  20.      Forward . . . . . . . . . . . . . . . . . . . . . . . . . . .    Page 5
  21.  
  22.      Section 1. Introduction . . . . . . . . . . . . . . . . . . .    Page 7
  23.  
  24.      Section 2. Starting MDR . . . . . . . . . . . . . . . . . . .    Page 9
  25.           The /B switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  26.           The /D Switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  27.           The /E switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  28.           The /Q switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  29.           The /S switch  . . . . . . . . . . . . . . . . . . . . .   Page 11
  30.           The /X switch  . . . . . . . . . . . . . . . . . . . . .   Page 11
  31.           The /F switch  . . . . . . . . . . . . . . . . . . . . .   Page 11
  32.  
  33.      Section 3. First Time Setup . . . . . . . . . . . . . . . . .   Page 12
  34.           A. Test Modem/ Uart      . . . . . . . . . . . . . . . .   Page 14
  35.           B. Uart Tests  . . . . . . . . . . . . . . . . . . . . .   Page 17
  36.           C. Return to main menu . . . . . . . . . . . . . . . . .   Page 18
  37.  
  38.      Section 4.0 The Main Menu . . . . . . . . . . . . . . . . . .   Page 18
  39.           4.01 Hot-Key selection   . . . . . . . . . . . . . . . .   Page 18
  40.                ALT-F . . . . . . . . . . . . . . . . . . . . . . .   Page 19
  41.                ALT-T . . . . . . . . . . . . . . . . . . . . . . .   Page 19
  42.                ALT-H . . . . . . . . . . . . . . . . . . . . . . .   Page 19
  43.           4.1 Login In Comm ports  . . . . . . . . . . . . . . . .   Page 19
  44.           4.11 What do IRQ's and COMM Ports do ? . . . . . . . . .   Page 20
  45.           4.12 Port assignments and their meaning  . . . . . . . .   Page 20
  46.           4.13 Testing defective Ports   . . . . . . . . . . . . .   Page 22
  47.           4.2 Regs       . . . . . . . . . . . . . . . . . . . . .   Page 23
  48.                Line Control Register . . . . . . . . . . . . . . .   Page 24
  49.                Line Status Register  . . . . . . . . . . . . . . .   Page 25
  50.                Modem Control Register  . . . . . . . . . . . . . .   Page 26
  51.                Modem Status Register . . . . . . . . . . . . . . .   Page 27
  52.                Interrupt ID Register . . . . . . . . . . . . . . .   Page 28
  53.                Interrupt Enable Register . . . . . . . . . . . . .   Page 30
  54.                Interrupt Mask Register . . . . . . . . . . . . . .   Page 31
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  68.  
  69.  
  70.                Interrupt Mask Register . . . . . . . . . . . . . .   Page 31
  71.           4.30 Handshaking tests . . . . . . . . . . . . . . . . .   Page 32
  72.           4.30A S-Register Displays  . . . . . . . . . . . . . . .   Page 33
  73.           4.31 Carrier Tests   . . . . . . . . . . . . . . . . . .   Page 34
  74.           4.31 Modem Driver Modules  . . . . . . . . . . . . . . .   Page 34
  75.           4.32 Types of Carrier Tests  . . . . . . . . . . . . . .   Page 36
  76.           4.33 AT Instruction Set Tests  . . . . . . . . . . . . .   Page 36
  77.           4.34 Uart or Dumb Modem Tests  . . . . . . . . . . . . .   Page 37
  78.           4.35 Error Messages  . . . . . . . . . . . . . . . . . .   Page 38
  79.           4.36 IRQ Failures  . . . . . . . . . . . . . . . . . . .   Page 39
  80.           4.38 Burst Mode Tests  . . . . . . . . . . . . . . . . .   Page 39
  81.           4.4 Loopback Tests . . . . . . . . . . . . . . . . . . .   Page 41
  82.           4.41 Loopback Test Error messages  . . . . . . . . . . .   Page 43
  83.  
  84.      4.42 Burst Mode Tests . . . . . . . . . . . . . . . . . . . .   Page 43
  85.  
  86.      4.5 Options Mode  . . . . . . . . . . . . . . . . . . . . . .   Page 45
  87.           4.51 Interactive Mode  . . . . . . . . . . . . . . . . .   Page 45
  88.                ALT-B . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  89.                ALT-C . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  90.                ALT-N . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  91.                ALT-R . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  92.                ALT-H . . . . . . . . . . . . . . . . . . . . . . .   Page 46
  93.                ALT-X . . . . . . . . . . . . . . . . . . . . . . .   Page 46
  94.           4.51A Testing for Interrupt Latency  . . . . . . . . . .   Page 46
  95.           4.51B View Fax Mode Settings . . . . . . . . . . . . . .   Page 47
  96.           4.52 View Current Statistics . . . . . . . . . . . . . .   Page 47
  97.           4.53 Print Current Statistics  . . . . . . . . . . . . .   Page 47
  98.           4.54 Reset Current Statistics  . . . . . . . . . . . . .   Page 47
  99.           4.55 Generate MDRD Windows File  . . . . . . . . . . . .   Page 48
  100.           4.6 Setup Mode . . . . . . . . . . . . . . . . . . . . .   Page 49
  101.                Mdr Color Selection Screen  . . . . . . . . . . . .   Page 49
  102.           4.7 Exit Program . . . . . . . . . . . . . . . . . . . .   Page 50
  103.  
  104.      5.0 Error Messages and their Meanings . . . . . . . . . . . .   Page 51
  105.           General Program Errors or Warnings . . . . . . . . . . .   Page 51
  106.           Setup Mode Diagnostics . . . . . . . . . . . . . . . . .   Page 52
  107.           Uart diagnostics . . . . . . . . . . . . . . . . . . . .   Page 56
  108.           Report Generator Messages  . . . . . . . . . . . . . . .   Page 57
  109.           Static DTR/DSR   RTS/CTS . . . . . . . . . . . . . . . .   Page 57
  110.           Carrier and Dynamic tests  . . . . . . . . . . . . . . .   Page 58
  111.           General program warnings . . . . . . . . . . . . . . . .   Page 60
  112.  
  113.  
  114.                                       Page 2
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  128.  
  129.  
  130.      Section 6. Special Modes and Information  . . . . . . . . . .   Page 64
  131.           6.1 Using Modem Drivers  . . . . . . . . . . . . . . . .   Page 64
  132.                6.11 External Modem Drivers . . . . . . . . . . . .   Page 65
  133.           6.2 Using the Command Line Mode switch /S  . . . . . . .   Page 65
  134.           6.3 Using the Hot-Keys   . . . . . . . . . . . . . . . .   Page 67
  135.                ALT-B Change Baud rate  . . . . . . . . . . . . . .   Page 67
  136.                ALT-C Clear Screen  . . . . . . . . . . . . . . . .   Page 68
  137.                ALT-F Force Microprocessor  . . . . . . . . . . . .   Page 68
  138.                ALT-H Help  . . . . . . . . . . . . . . . . . . . .   Page 68
  139.                ALT-R Register Display  . . . . . . . . . . . . . .   Page 68
  140.                ALT-X Exit Mode . . . . . . . . . . . . . . . . . .   Page 68
  141.                Control -Break  . . . . . . . . . . . . . . . . . .   Page 68
  142.           6.4 Logging in Defective Ports   . . . . . . . . . . . .   Page 69
  143.           6.5 What tests cannot Do . . . . . . . . . . . . . . . .   Page 69
  144.           6.6 Quirks with Some Modems  . . . . . . . . . . . . . .   Page 70
  145.           6.7 Buffered vs Direct Connect Modems  . . . . . . . . .   Page 71
  146.           6.8 Using Digiboard Serial Ports . . . . . . . . . . . .   Page 72
  147.           6.9 Running Modem Doctor under Windows 3.1 . . . . . . .   Page 74
  148.           6.91 Modem Doctor for Windows  . . . . . . . . . . . . .   Page 74
  149.           6.92 Running Modem Doctor on Networks  . . . . . . . . .   Page 75
  150.  
  151.      Section 7. Benefits of Registration . . . . . . . . . . . . .   Page 75
  152.  
  153.      Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . .   Page 76
  154.  
  155.      Disclaimer  . . . . . . . . . . . . . . . . . . . . . . . . .   Page 76
  156.  
  157.      Modem Doctor History
  158.      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   Page 77
  159.  
  160.  
  161.      All of  the documentation  text contained in  this file  is copyrighted
  162.      1989-1994 by  Hank Volpe. This  file is the technical  reference manual
  163.      that accompanies the Modem Doctor. This manual has been written for the
  164.      expert user who  would like to  have background information on  how the
  165.      Modem  Doctor conducts  its various  tests. It  also catalogs  the many
  166.      error messages and their meanings,  explains some of the mnemonics used
  167.      in testing, and  contains a brief history of the  different versions of
  168.      the  program.  Distribution  of  this text  without  the  Modem  Doctor
  169.      shareware version and its support files is prohibited by the author.
  170.  
  171.  
  172.  
  173.  
  174.                                       Page 3
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  188.  
  189.  
  190.  
  191.                       -------------------------------------------
  192.                          What's New in Modem Doctor Version 7.0
  193.                       -------------------------------------------
  194.  
  195.      For  those of you familiar  with Modem Doctor, here  is a brief look at
  196.      the improved and added features of version 7. If you are new to Modem
  197.      Doctor, take a look at the users manual file (MDRFIRST.TXT) that
  198.      accompanies your Modem Doctor package.
  199.  
  200.       1) Adds Modem "SNOOP" feature that detects active devices attached 
  201.          to your serial port.
  202.       2) Generates a Windows-type .INI file (MDRD.INI) which can be used
  203.          stand alone or together with Modem Doctor for Windows. 
  204.       3) Improved comm buffer communication routines. Handles modems that
  205.           send NULL characters for delays
  206.       4) Updated internal driver table now supports modems with speeds
  207.           up to 115.2kbps.
  208.  
  209.      In addition to these new features, existing commands have been enhanced
  210.      or   rewritten  to  accommodate  the  changing  technical  features  of
  211.      contemporary hardware.
  212.  
  213.       1) Improves 16550AFN tests. Buffers are tested 14 levels deep (instead
  214.          of 8) in both normal and new "burst mode" tests.
  215.       3) Tests for FAX modems, indicates Fax Group and Class.
  216.       4) Increase Baud Rate to 115200 in registered version.
  217.       5) Diagnostic Toggle mode for DTR and RTS signals, helpful in finding
  218.           bad cables or missing signals in cables.
  219.       6) Burst and Signature Rate Tests for Analog loop and Carrier.
  220.       7) Support for DIGIBOARD Comm ports via the Digiboard Driver.
  221.       8) Improve FOSSIL throughput routines.
  222.       9) Detects AT, PS-2 and Dual Bus Computers, Supports Dual 8259 PIC's.
  223.      10) Support for Digiboard Intelligent Serial ports that use Digiboard's
  224.          TSR comm port driver. Modem Doctor can test and support up to 4
  225.          boards with a maximum of 16 serial ports on each board.
  226.      11) Manual Login feature active in both shareware and registered
  227.          versions.
  228.      12) New /E switch to accommodate older display adapters (IBM 8541's)
  229.          that use Com4's address as a video display adapter address.
  230.      13) Improved interrupt stack routines for PS/2 machines.
  231.      14) Support for 33.6kbps modems.
  232.      15) Improved uart hardware I/O routines.
  233.  
  234.                                       Page 4
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  248.  
  249.  
  250.      16) Default startup mode uses polled TX operations. Some uarts in
  251.          inexpensive modems have a well-know defect detected by Modem Doctor
  252.          and other communication program authors that cause transmit
  253.          interrupt problems. You can change this selection with the ALT-T
  254.          command at any time.
  255.      17) Accommodations for BOCA modems with non-standard uarts. The Line
  256.          Status registers of most uarts are meant to be read only except for
  257.          bit 1. In the BOCA uarts, all bits are read/write, causing
  258.          communication lockups. Uart routines in Modem Doctor have been
  259.          changed to work with this problem.
  260.  
  261.      Thanks to many fine people that participated in the beta testing, Modem
  262.      Doctor is a better program today than in any previous version. To these
  263.      people go  my thanks  for helping  improve the  program and  make me  a
  264.      better programmer.
  265.  
  266.      Forward
  267.      -------
  268.      Welcome to the Modem Doctor.  This documentation along with the program
  269.      is a good source  of information about how Uarts and  Serial Ports work
  270.      with modems in your Personal Computer.
  271.               
  272.      There are two versions of the Modem Doctor;  The shareware version 7.0S
  273.      and the registered Version 7.0R. There are some differences between the
  274.      two.   Both   however  are   full-functioned  diagnostics   tools.  The
  275.      differences between the  two are as follows;
  276.               
  277.               Version 7.0S supports speeds to 2400 bps
  278.               Version 7.0R supports speeds to 115,200 bps
  279.               Version 7.0S does not include the Digital or the Analog 
  280.                 Loopback testing, or any of the dynamic handshaking tests 
  281.                 supported in version 7.0R, or the /s or /x  command-line 
  282.                 modes of operation.
  283.  
  284.      The  remaining 65+  tests of your  modem and  uart system  hardware are
  285.      fully functional. Although many people register for the higher DTE baud
  286.      rates,the  shareware version  of Modem  Doctor  is just  as capable  at
  287.      detecting your problems  as the registered  version. The higher  speeds
  288.      and uart tests serve as incentives for you to register your copy. 
  289.      Modem Doctor  has been featured  in many reviews  and included  in many
  290.      technical manuals. You can find background information in; 
  291.  
  292.  
  293.  
  294.                                       Page 5
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  308.  
  309.  
  310.  
  311.             Killer PC Utilities                     QUE
  312.             Upgrading and Repairing PC's            QUE
  313.             Modems Made Easy                        Bantam
  314.             PC-Secrets                              IDG Books
  315.             Dos 6.0 Powertools                      Bantam
  316.  
  317.      Reviews of early versions of Modem Doctor can be found in many national
  318.      computer columns and also in many publications. The two best known are
  319.      PC-World and the German weekly "Der Speigel". 
  320.  
  321.      The best way to find out about Modem Doctor and Modem Doctor support 
  322.      is our BBS. We're up and running 24hrs a day at 410-256-3631. There are
  323.      hundreds  of hard-to-find communication  utilities and free  advice for
  324.      those who  call. The BBS  is free to  all who  call, no fees  or upload
  325.      requirements. The  BBS, and improvement  to Modem Doctor  are supported
  326.      totally by those who register. I sincerely wish Modem Doctor could be a
  327.      full time occupation,  but the reality is that Modem Doctor is a labor-
  328.      of-love. This is why I appreciate your support of the program. It makes
  329.      communication problems simpler for all  who are just setting forth into
  330.      Cyberspace.  This  documentation  covers  both  versions,  however  the
  331.      feature differences above are provided for your  reference. This manual
  332.      is  provided as a  technical reference for advanced  users or for those
  333.      wishing to  get more  background information on  tests. For  first time
  334.      users  I would  suggest reading  the Getting  started Manual  text file
  335.      MDR7FST.TXT, which is a  little more basic in its approach.  If you are
  336.      using the  shareware version and  wish to  order, please use  the Order
  337.      form  included  with  this  package  or  see  Section  7,  Benefits  of
  338.      registration  at the end of this  documentation. You can always get the
  339.      latest version of Modem Doctor from the Modem Doctor BBS (410-256-3631,
  340.      24 hrs, speeds to 28.8kbps). 
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.                                       Page 6
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  368.  
  369.  
  370.      Section 1. Introduction - 
  371.      ------------------------- 
  372.      The Modem  Doctor is  a professional diagnostic  tool designed  to work
  373.      with  IBM-PC's and  compatibles. There  are two  versions of  the Modem
  374.      Doctor,  the  shareware   version  and  the  registered   version.  The
  375.      registered  version of the  Modem Doctor contains  complete diagnostics
  376.      for  8250-B,  8250-A,  16450,16550, 16550A(x),  and  compatible  Uarts,
  377.      RS-232  data lines,  and carrier  tests.  Some of  the many  diagnostic
  378.      features of the registered version are;            
  379.       **  Support for COM 1 through COM 8 using system IRQ's 2,3,4,5 or 7.
  380.       **  Baud Rates from 300 to 115200 bps
  381.       **  Support for Courier HST/Dual Standard/V.32 Modems [+],
  382.           US Robotics Sportster, V.34 28.8kbps modems,
  383.           Hayes 1200, 2400, Ultra and V9600 series Modems [+*],
  384.           Hayes 28.8kbps Optima modems, ZyXEL E, E+, Practical Peripherals, 
  385.           Intel, and Sierra Semiconductor modems. A Generic Driver 
  386.           is provided for all others.
  387.       **  Auto-detection of modems that use &T0 (CCITT V.54) diagnostics
  388.       **  Auto log-in of COMM ports 1 - 4 to DOS for use by other programs.
  389.       **  Manual log-in of up to 8 COMM ports for non-standard hardware,
  390.           including those with defective Uarts (on manual selection). 
  391.       **  On-screen display of all 8250 /16450/ 16550 Uart registers.
  392.       **  On-screen display of modem S-Registers.
  393.       **  Full Diagnostic tests of Uart and RS-232 Channels including;
  394.             -- ALL Uart registers.
  395.             -- ALL RS-232 handshaking Signals.
  396.             -- 8259 Interrupt Controller mask registers 
  397.                including dual-pic environments.
  398.             -- Digital loopback Uart tests including chips with Tri-stated 
  399.                OUT2 signals.
  400.             -- Analog loopback data tests.
  401.        **  Full diagnostic checks of "AT" instruction set modems;
  402.             -- Carrier tests on both originate and answer frequencies.
  403.             -- Carrier test interface for "dumb" modems or data channels.   
  404.             -- Burst mode tests that stress modulation requirements and
  405.                measure system throughput.
  406.             -- Modem microprocessor command channel diagnostics.
  407.             -- Support for high speed modems.           
  408.             -- Support for modems that use the alternate &T0 self test mode.
  409.             -- Dynamic simulated on-line testing of RTS/CTS and XON/XOFF 
  410.                handshaking.
  411.             -- Static DTR/DSR and RTS/CTS uart handshaking tests.
  412.             -- Ability to display any S-Register pairs
  413.  
  414.                                       Page 7
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  428.  
  429.  
  430.        **  Interactive Mode with 16K communications buffer for;    
  431.            -- TTY mode interactive communications over serial port or modem 
  432.                while on-line.
  433.            -- Interrupt latency test, you can use this to determine if your
  434.               display adapter is too slow for your high-speed modem.
  435.            -- Custom designed tests...help menu included.
  436.            -- On-line "Hot-key" viewing of 8250 Uart registers.
  437.        **  Hot-Keys for selecting the baud rate, to force a modem
  438.               microprocessor test mode, and to enable/disable transmitter
  439.               driven interrupts.
  440.        **  User Selection of modem drivers. Like printer drivers, these
  441.               software modules add more selections and more test capability
  442.               to The Modem Doctor. 
  443.        **  Ability to use external modem drivers. External modem drivers
  444.               make it possible to add special modems that might not use
  445.               standard AT conventions to the Modem Doctor without you having
  446.               to update to a new version of the program.
  447.        **  Built in report generator that displays the results of all tests
  448.               run on all serial ports and modems. Report can be printed at
  449.               any time and reset at any time by the user. 
  450.        **  Status bar that continuously displays the port, speed,
  451.               microprocessor status, Transmitter Interrupt enable status
  452.               and modem driver selections.
  453.        **  User defined Colors for all screens
  454.        **  Compatibility with mouse drivers. Mouse drivers also properly
  455.                enabled after exiting Modem Doctor.
  456.        **  Command Line Mode interface for setting up a modem to an
  457.                initialization string contained in a user created file;
  458.           -- A small text file contains the port (and optional address), the
  459.             speed, and the string to send to the modem. Any text editor can
  460.             create the file at any time!
  461.        **  Automatic detection of incorrect Com1 and Com2 port assignments,
  462.            IRQ assignment errors, missing IRQ signals, and missing handshake
  463.            signals.
  464.  
  465.      The Modem Doctor and all of its documentation is copyrighted by Hank
  466.      Volpe. The shareware version of this program may be distributed on
  467.      not charged for its duplication or acquisition (except for BBS systems
  468.      that charge a user fee for system access). 
  469.  
  470.      Important for Shareware Distributors. Like version 6.0, version
  471.      7.0 can be freely distributed  via these channels. The only requirement
  472.      that  I  absolutely insist  upon is  that you  mail us  a copy  of your
  473.  
  474.                                       Page 8
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  488.  
  489.  
  490.      catalog for  our files and that you encourage  users of your service to
  491.      register this and all other shareware that you distribute.
  492.  
  493.      Under no conditions  can anyone accept registration fees  for the Modem
  494.      Doctor but  Hank Volpe or agents  authorized for resale by  Hank Volpe.
  495.      The Modem Doctor is distributed on as "as-is" basis, with no warranties
  496.      for  usefulness  or suitability  expressed  or  implied. Users  of  the
  497.      shareware version are granted a limited license to use this program for
  498.      a trial  period only. Please  let your conscience  be your guide  as to
  499.      what you believe has been a fair trial period, for without  the support
  500.      of users who have registered, the Modem Doctor would not be the product
  501.      that it is today.
  502.  
  503.      The Modem Doctor is  a very flexible package for both  the new user and
  504.      for the experienced technician. The focus of this manual is to give you
  505.      a technical reference regarding how the Modem Doctor works, what is the
  506.      meaning of error messages you may encounter, and how the tests are
  507.      constructed to operate between your PC and your modem. First time users
  508.      or those unfamiliar with how the Modem Doctor operates should read  the
  509.      file  MDR7FST.TXT. MDR7FST  explains how  to  start and  use the  Modem
  510.      Doctor, how the  pulldowns operate, and how to use the menu and control
  511.      system.      
  512.  
  513.      Section 2. Starting MDR     
  514.      ------------------------     
  515.      The Modem Doctor  has been designed to  work with PC-Type  serial ports
  516.      and  "AT" instruction set (so called  Hayes compatible[++]) modems. The
  517.      Modem Doctor requires at least 1 serial port to operate. MDR is written
  518.      to  run under  MS  or PC  DOS 2.2  or higher,  and  will work  with any
  519.      standard display adaptor  in normal text mode. The  program requires at
  520.      least 200K of program memory space. 
  521.  
  522.      When MDR is started, it will use your current text mode. If you have
  523.      created a custom color file (see Options mode), your screen colors will
  524.      be displayed  as you  selected  them. If  not, default  colors will  be
  525.      loaded depending  on the  mode you  are  currently in  (Color or  Black
  526.      /White). Modem Doctor  starts just like any other program. From the dos
  527.      prompt, type MDR.  There are however several command  line switches you
  528.      might need to use from time to time.
  529.  
  530.  
  531.  
  532.  
  533.  
  534.                                       Page 9
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  548.  
  549.  
  550.      The /B switch
  551.      -------------
  552.      Code  has  been  included to  work  with  hardware-incompatible display
  553.      adapters as long as they are at least IBM-PC Bios compatible.  For most
  554.      computers, this  is not necessary  and will slow down  screen displays,
  555.      plus it will change the appearance of the input windows. The reason for
  556.      using this switch is (for example), if you wish to  route the output of
  557.      the program through  a voice synthesizer or operate  it under a program
  558.      that requires all screen writes to go through your Bios. If you wish to
  559.      use this bios  compatible mode instead of direct  display writes, start
  560.      the program using the Bios switch ;   MDR /B 
  561.  
  562.      The /D Switch
  563.      --------------
  564.      Starting MDR  with this  switch active  enables  support for  Digiboard
  565.      intelligent serial ports  (ComXi series) using Digiboard's  TSR support
  566.      driver. Support  includes many  diagnostic  and configuration  options.
  567.      Support is  included for  4 boards simultaneously  containing up  to 16
  568.      serial ports on  each board. See the section  entitled "Using Digiboard
  569.      Serial Ports".
  570.  
  571.      The /E switch
  572.      --------------
  573.      Certain  video adapters, mainly those attempting compatibility with IBM
  574.      8541 display adapters, use an address that is identical to the industry
  575.      standard address for Com4. The /E switch allows Modem Doctor to operate
  576.      on these machines. To start in this manner type; MDR /E
  577.  
  578.      The /Q switch
  579.      -------------
  580.      Starting in version 5.x tests were included to verify the accuracy of
  581.      IRQ settings. However this self-testing might not be desirable in some
  582.      computer environments. The  /Q switch makes it possible  to defeat this
  583.      self  test of  IRQ  assignments.  Using /Q,  Modem  Doctor will  report
  584.      "Standard Assignments" and not  verify the proper configuration  of IRQ
  585.      settings.  Use this  switch  if  you experience  a  "freeze-up" of  the
  586.      program  at the  initial sign-on  screen.  To bypass  IRQ verification,
  587.      start  the program with the IRQ switch; MDR  /Q.  If your computer is a
  588.      PS/2, Modem Doctor will now detect  this problem and switch in code  to
  589.      accommodate this peculiarity without the need for the /Q  switch.  NOTE
  590.      - IF  You wish to run Modem  Doctor under Windows, you  need to include
  591.      this  /Q switch  in  your  .PIF file  command  line. For  Windows  comm
  592.      problems, use Modem Doctor for Windows.     
  593.  
  594.                                      Page 10
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  608.  
  609.  
  610.      The /S switch
  611.      --------------
  612.      Registered versions 4.0 and  higher also can be run  to quickly program
  613.      and setup a Modem.  To use this mode  start the program with  the setup
  614.      switch ; MDR /S (see Section 3). 
  615.  
  616.      The /X switch
  617.      --------------
  618.      Registered versions 4.0 and higher have the ability to swap the
  619.      communication  pointers for COM1 and COM2 in  memory. To use this mode,
  620.      type MDR /X. Com1's  pointer will be swapped to COM2  (and visa versa).
  621.      You can specify any one of the 4 comm ports used by dos by typing; 
  622.      MDR /X [port] [port], where each [port] is a different comm port..ie to
  623.      swap Com1 and Com3, type MDR /X  1 3. MDR /X without port numbers flips
  624.      com1  and com2  by default.  This condition  is not permanent.  To flip
  625.      these again, just type MDR /X  or if you used comm numbers, type MDR /X
  626.      [port]  [port].  The  reason  for  this  command  line  switch  is  for
  627.      convenience and  also to make  it easier for  technicians to  swap port
  628.      assignments without  having to  change port jumpers.  This mode  is not
  629.      generally  useful  except when  you  believe  you  have  addresses  set
  630.      incorrectly or if you wish to use a serial device that is normally Com2
  631.      as Com1 (such as a serial printer) from a high-level language that does
  632.      not support 2 comm ports.  These changes are temporary. Permanent fixes
  633.      can only be  done in these cases if you physically change the addresses
  634.      on your serial card.
  635.  
  636.      The /F switch
  637.      -------------
  638.      Normally,  Modem Doctor  and most  comm programs  directly  control the
  639.      hardware of your  computer. Uart registers, interrupt  controllers, and
  640.      system hooks  are all  involved. Another  way to perform  control in  a
  641.      machine-independent way is by using kernels. Kernels are small programs
  642.      that reside  as TSR's (Terminate  Stay Resident) in your  computer. You
  643.      can  instruct Modem Doctor  to operate in  this manner,  and instead of
  644.      assuming  complete  control over  your system,  Modem Doctor  will work
  645.      through system  kernels. X00  and BNU  are  two such  kernel or  FOSSIL
  646.      programs. If you use Modem Doctor in this manner, some uart programming
  647.      and error trapping  is not possible (because the FOSSIL  drivers do not
  648.      support function  calls to handle  all test conditions).  However, this
  649.      command can  be useful if  you wish to test  the proper operation  of a
  650.      FOSSIL  driver  in your  system.  Other  Int14  type kernels  are  also
  651.      supported. To start Modem Doctor in this mode, type MDR /F.
  652.  
  653.  
  654.                                      Page 11
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  668.  
  669.  
  670.  
  671.      Section 3. First Time Setup     
  672.      ---------------------------     
  673.      The first time you start the Modem Doctor, it will begin several system
  674.      checks. These checks are not repeated until you start the program over
  675.      again from the Dos prompt. First, the Modem Doctor checks to see what
  676.      hardware is available and reports its results to you. Displayed on the
  677.      bottom  line is  the  serial  number unique  to  each copy  (registered
  678.      version). If  incorrect  COMM  addresses  are detected  or  if  swapped
  679.      addresses are  detected, an  Alert-bar will be  displayed, warning  you
  680.      that a non-standard  assignment was detected, and you are  asked if you
  681.      wish to have this fixed for testing purposes only.    
  682.  
  683.      ┌───────────────────────── The Modem Doctor──────────────────────────┐
  684.      │                    Welcome to the Modem Doctor                     │
  685.      └────────────────────────────────────────────────────────────────────┘
  686.      ╒[ Modem / Uart Hardware Detection ]══════════════════════════════════╕
  687.      │ Port assignments  Base(hex)    Irq   Port Usage        MODEM        │
  688.      │ Com port 1   [ ]     3f8        4                                   │
  689.      │ Com port 2   [ ]     2f8        3    IRQ/MOUSE                      │
  690.      │ Com port 3   [ ]     3e8        4                      Modem On     │
  691.      │ Com port 4   [ ]     2e8        3    IRQ/MOUSE                      │
  692.      │ Com port 5   [ ]                                                    │
  693.      │ Com port 6   [ ]                                                    │
  694.      │ Com port 7   [ ]                                                    │
  695.      │ Com port 8   [ ]                                                    │
  696.      │   Bus type: AT Bus    Interrupt Levels: 15   HD uses DMA Ch3?: NO   │
  697.      │   Interrupt Status :  15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0         │
  698.      └─────────────────────────────────────────────────────────────────────┘
  699.  
  700.      ╔[  Serial Port Detection ]═══════════════════════════════════════════╗
  701.      ║                       Serial port detection                         ║
  702.      ║           Searching for other standard active Comm ports            ║
  703.      ║                                                                     ║
  704.      ║                          Total Comm ports  =2                       ║
  705.      ║                    PRESS ANY KEY TO START TESTING                   ║
  706.      ║                                                                     ║
  707.      ║                                                                     ║
  708.      ║                                                                     ║
  709.       ═════════════════════════════════════════════════════════════════════╝
  710.  
  711.  
  712.  
  713.  
  714.                                      Page 12
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  728.  
  729.  
  730.      Modem Doctor 7.0 uses a heads-up display  that shows you the Comm port 
  731.      assignment number, the base i/o address, and the interrupt line in use.
  732.      Unlike other  IRQ mapping  utilities, Modem  Doctor actually  creates a
  733.      system interrupt and traps its ID. Running under DOS, Modem Doctor will
  734.      always identify the correct IRQ line. In multi-tasking situations, this
  735.      test may  not be valid, which is  why a new window has  been created to
  736.      allow you to easily select any IRQ line you wish to use.
  737.  
  738.      Version 7.0 includes a new "SNOOP" feature that looks for active serial
  739.      ports. If a  modem is found with an  active CTS line, the  words "Modem
  740.      On" are  displayed under  "MODEM". Also, Modem  Doctor looks  for IRQ's
  741.      used  by a  serial mouse. If  one is  found, the words  "IRQ/MOUSE" are
  742.      displayed under "Port Usage". Port Usage also  will display information
  743.      about FOSSIL drivers as well (as explained later in this document).
  744.  
  745.      Modem Doctor  also identifies  the Computer  BUS type  in use  (PC, AT,
  746.      PS/2), the maximum number of  system hardware interrupts, the status of
  747.      DMA channel  3 (sometimes used  for Hard Drive access,   sometimes free
  748.      for use by  intelligent serial board DMA transfers),  and the status of
  749.      all interrupts (gray means inactive, white means active).
  750.         ╔[  Ports  ]═╗   ╔[  IRQ's  ]═╗  ╔[  Baud  ]══╗
  751.         ║ Use COM 1  ║   ║ Use IRQ 2  ║  ║   300 BPS  ║
  752.         ║ Use COM 2  ║   ║ Use IRQ 3  ║  ║  1200 BPS  ║
  753.         ║ Use COM 3  ║   ║ Use IRQ 4  ║  ║  2400 BPS  ║
  754.         ║ Use COM 4  ║   ║ Use IRQ 5  ║  ║  4800 BPS  ║ *               
  755.         ╚════════════╝   ║ Use IRQ 7  ║  ║  9600 BPS  ║ * 
  756.                          ║ Use IRQ 9  ║  ║ 19200 BPS  ║ *
  757.                          ║ Use IRQ10  ║  ║ 38400 BPS  ║ Registered Versions
  758.                          ║ Use IRQ11  ║  ║ 57600 BPS  ║ * only
  759.                          ║ Use IRQ12  ║  ║115200 BPS  ║ *                 
  760.                          ║ Use IRQ15  ║  ╚════════════╝  
  761.                          ╚════════════╝
  762.      Next, you are instructed to pick from  a list of valid Comm ports.  The
  763.      only ports that are listed are valid ports that MDR found when it first
  764.      started, or ports you logged in using the manual login mode. 
  765.      Use the  arrow keys to  find your selection,  and then press  return to
  766.      select.
  767.  
  768.      A window now opens showing you  your IRQ line choices. The sliding  bar
  769.      will pick the IRQ line Modem Doctor found valid during the first set of
  770.      tests. You  can change this to any IRQ line you wish. A note of caution
  771.      though, if you pick an incorrect IRQ line, the following tests will not
  772.      be valid.
  773.  
  774.                                      Page 13
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  788.  
  789.  
  790.      A window  now opens showing you valid Comm  port speeds. Select a speed
  791.      fromthis menu. Please note, don't select a speed faster than your modem
  792.      can  handle. The reason for faster speeds is so communication links can
  793.      also be tested.   Use  the arrow  keys and  press return  to make  your
  794.      selection.
  795.               
  796.      At this point you are in the options menu. If  you select "Test Modem",
  797.      a series of commands and tests will  be performed. Please check to make
  798.      sure  the modem  is  on line  and  running. If  you  select "Test  Uart
  799.      Hardware", only  the Uart will be tested. The  modem will not be setup.
  800.      This selection is useful only  if you wish to test an RS-232  line or a
  801.      "dumb" modem.Selection  3 aborts to  the main menu. (NOTE:  Version 5.0
  802.      and higher include "hot-keys" to force the Modem Doctor to  believe you
  803.      are using a modem with a microprocessor and for changing the baud rate.
  804.      Read Section 4 on the menu system for more details).       
  805.  
  806.      A. Test Modem/ Uart     
  807.        ---------------------
  808.      ╒[ Modem / Uart System Diagnostics ]══════════════════════════════════╕
  809.      │ Comm port /IRQ in use [ ] Port = 3  Address = 3E8  IRQ = 4          │
  810.      │ Int 14 interface      [ ] Inactive                                  │
  811.      │ Uart type             [ ] 16550AN/AF/AFN buffered Uart detected     │
  812.      │ Baud rate selected    [ ] 2400                                      │
  813.      │ Baud Rate reg test    [ ] Confirmed correct baud rate               │
  814.      │ Modem Microprocessor  [ ] Diagnostics passed                        │
  815.      │ Modem ID Type         [ ] 16800+ bps modem                          │
  816.      │ Modem Fax Ability     [ ] G3 EIA Class 2 Fax Capable                │
  817.      │ Modem Memory/Rom      [ ] Memory /Rom test passed                   │
  818.      └─────────────────────────────────────────────────────────────────────┘
  819.      ╒[ Diagnostic Dialog]═════════════════════════════════════════════════╕
  820.      │              Modem microprocessor command bus active                │
  821.      │ Modem ID reports a 16800 ZyXel U-1496 Series &T1  modem installed   │
  822.      │                    Modem uses EIA Fax Commands                      │
  823.      │                Modem microprocessor memory tests OK                 │
  824.      │            Modem microprocessor accepts setup commands              │
  825.      │                    Modem microprocessor ON-LINE                     │
  826.      │                Modem - uart status appears correct                  │
  827.      │                     Press any key to continue                       │
  828.      └─────────────────────────────────────────────────────────────────────┘
  829.  
  830.  
  831.      The preceding page shows you the results of a normal test with a modem.
  832.      The first  step tests  the uart  to modem  hardware. If any  connection
  833.  
  834.                                      Page 14
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  848.  
  849.  
  850.      errors  are discovered, they  are reported to the  screen. If no errors
  851.      are detected, the Modem Doctor will check to see what type of uart is
  852.      installed. 
  853.  
  854.      There are differences between the different types of uarts, and
  855.      the Modem  Doctor uses this test to determine  how to test the uart and
  856.      what registers to display to the screen.  Next, the uart is set to  the
  857.      desired baud rate, and the uart speed  register is queried to make sure
  858.      it did set  up properly. Next, the  modem command bus is  tested and if
  859.      its  compatible, the  modem ID  information is  queried from  the modem
  860.      microprocessor. The Modem Doctor then  issues a command that forces the
  861.      modem to run a checksum of its ram or rom memory. If your modem returns
  862.      an OK, then the Modem Doctor assumes your modem passed properly.  If an
  863.      error is returned, you  will receive an error message  stating that the
  864.      modem  reported  a  rom/ram  check  failure.   If  your  modem  has fax
  865.      capabilities, Modem  Doctor attempts  to determine  is Group  (command)
  866.      capabilities. Finally, the modem is setup  for diagnostics. Note: These
  867.      setup strings do not overwrite any non-volatile storage. 
  868.  
  869.      If your modem setup properly, all the uart registers and the First 16
  870.      Modem S registers  are displayed.  This display is  not shown the  next
  871.      time you  log in a  Comm port unless  you press  the space bar.  If the
  872.      modem  does not respond  to certain parts of  the tests, error messages
  873.      are reported. 
  874.  
  875.                               Testing Modem Microprocessor
  876.                               ---------------------------- 
  877.                      Modem Microprocessor Command Mode Not Detected 
  878.                               Software Reset Initiated      
  879.               
  880.      This message  is displayed if the modem did  not respond the first time
  881.      for a query to its status. This could happen for any number of reasons,
  882.      including that the modem was still on-line and not in the command mode.
  883.      A  soft-reset  is  performed,  which  essentially  tries  to  wake  the
  884.      processor up. 
  885.  
  886.              No Response...resetting Modem Microprocessor ...attempt #1
  887.              No Response...resetting Modem Microprocessor ...attempt #2
  888.              No Response...resetting Modem Microprocessor ...attempt #3
  889.               
  890.      After 3 soft-resets, the Modem Doctor assumes that the modem is  jammed
  891.      and needs  a hardware reset. A hardware reset is the program equivalent
  892.      of  turning the modem on and  off again. This is  the only way to reset
  893.  
  894.                                      Page 15
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  908.  
  909.  
  910.      some  internal modems   that get  "jammed" when  the computer  is first
  911.      turned on. Clearing a "jam" usually takes no more than 2 attempts.   
  912.  
  913.  
  914.                    Trying Hardware reset of the Modem Microprocessor
  915.               
  916.      The Hardware reset is performed, and again the modem microprocessor is
  917.      strobed for its status.  
  918.               
  919.                              Software Reset Initiated
  920.               
  921.      After a hardware reset, a soft reset is performed again, attempting to
  922.      wake  the  processor up.  If  this fails,  the    following message  is
  923.      displayed; 
  924.               
  925.                    Modem Microprocessor Did Not Accept Setup Commands 
  926.                    Trying a Hardware reset of the Modem Microprocessor
  927.        
  928.  
  929.      After one more attempt at waking the modem up, the Modem Doctor assumes
  930.      that the modem is  not compatible  and based on the  status given it by
  931.      the Uart, it will report if the device is off or not connected.  
  932.               
  933.                WARNING..This unit does not have a Compatible Modem attached
  934.                WARNING..The Modem Device appears to be off or not connected
  935.  
  936.      The registers are now displayed for diagnostic tests, and a conclusion
  937.      based  on  the status  of the  registers is  displayed. There  are many
  938.      reasons  why the modem/uart could fail.  See the error code section for
  939.      details.  If the  Uart is fine,  but the  modem is not  compatible, the
  940.      program will tell you that the Uart hardware tests ok and  display this
  941.      in a window to the right of the register display.        
  942.  
  943.      Note: The reason for testing the modem command set so extensively is so
  944.      there can be no doubt about the modem accepting commands. You can force
  945.      The Modem Doctor to believe it has a modem with a compatible
  946.      microprocessor by  using the  hot-key Alt-F. See  Section 4  about Menu
  947.      system commands.
  948.         
  949.  
  950.  
  951.  
  952.  
  953.  
  954.                                      Page 16
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  968.  
  969.  
  970.      B. Uart Tests     
  971.      ---------------     
  972.      The uart test is performed every time either the modem or the uart test
  973.      is selected. Essentially,  the uart test programs all  of the registers
  974.      of the uart  and looks to see that the correct  values have been placed
  975.      in them. If  any one of the  registers fails to  set, the Modem  Doctor
  976.      will display all of the registers and a diagnostic message. After that,
  977.      it looks to see that an RS-232  loop is active. If not, it displays  an
  978.      error message saying that the loop is either disconnected or a register
  979.      in  the uart is  defective. If all  checks well, the  type of uart chip
  980.      that is installed is  returned. The type of uart chip  is important for
  981.      the  way the Modem  Doctor will test and  display the uart. Essentially
  982.      there are 3 types it can detect;      
  983.  
  984.      8250-B
  985.      This is the original uart installed in many PC's and serial port add-on
  986.      cards.      
  987.               
  988.      16450/8250-A
  989.      This is  an upgraded  uart that  fixes a  bug in  the interrupt  enable
  990.      register of  the 8250-B and  also tri-stated the  OUT2 pin of  the chip
  991.      during loopbacks.  It also adds  a scratch-pad register as  the highest
  992.      register. This register is tested by the Modem Doctor but not displayed
  993.      because it never  has what you  would consider as a  "correct" setting.
  994.      The 16450 is    used primarily in 80286 (AT) systems.
  995.  
  996.      16550
  997.      This chip is essentially a faster 16450. However, it cannot be  used in
  998.      a  FIFO  buffering mode,  but it  does  allow for  a programmer  to use
  999.      multiple DMA channels  and thus increase throughput on  an AT or higher
  1000.      class computer system.      
  1001.  
  1002.      16550A(x)
  1003.      This chip is a faster 16450 with a built in transmit and receive FIFO
  1004.      buffer. It also allows multiple DMA channel access. You should see this
  1005.      chip in your 80386, 80486, Pentium, or RISC type machine. You should 
  1006.      also consider installing this chip if you do any serious communications
  1007.      at 9600 bps or higher while you are multi-tasking. Whenever a 16450,
  1008.      16550 or 16550AN is displayed, different diagnostics and/or different 
  1009.      register mnemonics are displayed. The 16550AN's ability to enable 
  1010.      and disable FIFO mode is also tested. In any case and with any uart, 
  1011.      each register is checked for proper values. If anyone of them fail, 
  1012.      a window will open and display a possible cause for the problem. 
  1013.  
  1014.                                      Page 17
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1028.  
  1029.  
  1030.                         Preliminary Diagnostic Checks of Hardware 
  1031.                         ----------------------------------------- 
  1032.                                Testing Uart Hardware Only  
  1033.                                -------------------------- 
  1034.                              A 8250-B Uart has been detected 
  1035.                            Modem - Uart Status appears correct
  1036.               
  1037.      The first time through these tests, the registers will display for
  1038.      diagnostics. Unlike the modem tests, only the uart registers are
  1039.      displayed. From then on, if the test results are correct, you will be
  1040.      prompted if you wish  to have the registers displayed. If  a test fails
  1041.      at any time, you will always see the registers displayed along with an 
  1042.      appropriate diagnostic message.        
  1043.               
  1044.      C. Return to main menu     
  1045.      ----------------------     
  1046.      Selecting this returns you to the main  menu, this allows you to change
  1047.      an entry made in error without having to wait for the diagnostic checks
  1048.      to fail. In any event, after any of these tests have been run, you will
  1049.      then enter the Modem Doctor's Main Menu.
  1050.  
  1051.      Section 4.0 The Main Menu
  1052.      -------------------------
  1053.      The main  menu  consists of  a sliding  bar from  which  you make  your
  1054.      selections.  Using the  arrow keys  you slide  left or  right. Pressing
  1055.      ENTER selects a  feature. If the feature has a pulldown window, you use
  1056.      the up  or  down arrows  to navigate,  and then  ENTER  to select  that
  1057.      feature.
  1058.  
  1059.      4.01 Hot-Key selection 
  1060.      ----------------------  
  1061.      In addition to these menu selections, there are three hot-keys that are
  1062.      active at nearly  all times in the Modem Doctor.  The ALT-B combination
  1063.      can be used to  change the baud  rate from the  main menu, from  inside
  1064.      pulldowns and Manual  test section. A  window will pop-up  and you  can
  1065.      pick your  desired serial port speed. This can save  a lot of time when
  1066.      you  wish to test  a modem at  various speeds.  Using the Setup  / Test
  1067.      Modem & Uart  mode is  the safest  way (because it  verifies the  modem
  1068.      microprocessor  accepts  commands  properly  at  the  selected  speed),
  1069.      however if you  use the ALT-B command,  you will take a  short-cut that
  1070.      can help you when testing your modem. 
  1071.  
  1072.  
  1073.  
  1074.                                      Page 18
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1088.  
  1089.  
  1090.      The next hot-key is ALT-F,  or FORCE Micro on-line. Actually, there  is
  1091.      no "force" involved.  By pressing this  key, you make the  Modem Doctor
  1092.      believe there is  a AT Instruction set compatible  modem attached. This
  1093.      can be handy  for troubleshooting a modem that doesn't work properly at
  1094.      certain speeds  or under certain  conditions.   The Setup Test  Modem &
  1095.      Uart section will  not allow any  AT Instruction  set Carrier tests  on
  1096.      modems that  it cannot properly  setup. The ALT-F  combination bypasses
  1097.      this and allows such testing. When you press ALT-F, you will notice the
  1098.      Status Bar will say that  a modem microprocessor is on-line.   Starting
  1099.      with Version 4,  this key can be  operated as a toggle  between on-line
  1100.      and off-line. This key is active inside of any menu at any time.
  1101.  
  1102.      Another  hot-key is  ALT-T. It allows  you to  toggle how  Modem Doctor
  1103.      treats  the  transmission of characters.  Most times, interrupt  driven
  1104.      transmissions  are  used because  they  are  fast,  waste no  CPU  time
  1105.      looping,  and give the best  throughput. However, some early 8250 uarts
  1106.      cannot handle interrupt-driven transmits without errors. When you start
  1107.      Modem Doctor,  transmit-driven interrupts  are disabled.  If you  would
  1108.      like  to enable  and test  your  system for  transmit driven  interrupt
  1109.      capability,  press  ALT-T.  If  you  experience  errors  when  transmit
  1110.      interrupts are  active and your   errors go  away when this  feature is
  1111.      inactive, you either  have a uart  that  cannot handle interrupt-driven
  1112.      transmit routines, or your  system is  too slow to  process and support
  1113.      this feature.
  1114.  
  1115.      The last hot-key is the ALT-H for help. This key will give you varying
  1116.      levels of help. From the main menu, it gives a terse help just like
  1117.      pressing the down arrow key does. Inside of a pulldown, it gives you
  1118.      expanded help, just as selecting the appropriate help section of the
  1119.      pulldown also does.
  1120.  
  1121.      4.1 Login In Comm ports     
  1122.      -----------------------     
  1123.      When you select this menu, you are offered these choices               
  1124.        
  1125.  
  1126.      ╔[  Comm Port Login  ]═══════════╗
  1127.      ║ Let me Auto Detect COMM Ports  ║ <- Searches for all Comm ports
  1128.      ║ You Manually Enter COMM Ports  ║ <- You enter port addresses
  1129.      ║ Help with Auto login Commands  ║ <- Detailed help or ALT-H
  1130.      ║      Return To Main Menu       ║
  1131.      ╚════════════════════════════════╝                              
  1132.  
  1133.  
  1134.                                      Page 19
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1148.  
  1149.  
  1150.      Option 1 repeats what the Modem Doctor does when you first begin to run
  1151.      the program. Option 2 allows you to enter a "non" standard port address
  1152.      and assign one  of the two Interrupt lines to use with the Uart. Option
  1153.      3  gives you  an expanded,  on-line  help description  of these  tests.
  1154.      Option 4 returns to the main menu.      
  1155.  
  1156.  
  1157.  
  1158.  
  1159.      4.11 What do IRQ's and COMM Ports do ? 
  1160.      ---------------------------------------      
  1161.      Each time  a  character is  received by  a  modem, it  has  to get  the
  1162.      attention of the  computer by raising an interrupt  request line (IRQ).
  1163.      PC-type computers  have 8 of  these lines, AT-type  (ISA bus), MCA  and
  1164.      EISA computers  have at  least 16. The  8259 Interrupt  controller chip
  1165.      handles these  requests for  attention. By design,  COM1 uses  IRQ4 and
  1166.      COM2 uses IRQ3. IRQ7 is assigned to a printer, IRQ5 to the Hard Drives.
  1167.      It is possible to use COM1 and COM2 or COM3 and COM4 at the same  time,
  1168.      but  you cannot use  COM1 and COM3  or COM2 and  COM4 at  the same time
  1169.      because these  share IRQ lines.  If you  needed to use  3 or more  COMM
  1170.      ports at the same  time, you would  need to use  another IRQ line.  The
  1171.      best  bets are IRQ7  and IRQ5, because  they may be  available when you
  1172.      need  them. IRQ7 is  really only  needed by  programs that  use printer
  1173.      interrupts (background  type spoolers  for example).  IRQ5  is used  by
  1174.      fixed disks. It  may or may not  cause a conflict  if you use this  IRQ
  1175.      line with your  modem. PC type computers are quite limited because they
  1176.      only have 8 IRQ lines and most  are reserved. AT type computers have 16
  1177.      IRQ lines. 
  1178.  
  1179.      A good tip would be to consult your hardware manual to find out if  you
  1180.      can or can't use  these other IRQ's. However, if you do not need to use
  1181.      3  or more  COMM ports at  one time,  then it is  best to  stick to the
  1182.      reserved IRQ4 and IRQ3 for all of your activity. 
  1183.                      
  1184.      4.12 Port assignments and their meaning 
  1185.      ---------------------------------------  
  1186.      Like IRQ lines, certain port addresses  were reserved to work with  the
  1187.      PC's  external hardware  devices. Two  of  these were  reserved by  all
  1188.      manufacturers; 3F8 (HEX) and  2F8 (HEX).  Although only two  COMM ports
  1189.      were supported by the original  ROM-BIOS, there are two additional port
  1190.      memory locations  available for use by MS-DOS  and PC-DOS applications.
  1191.      These  reserved  port addresses  are  3E8  (HEX)  and 2E8  (HEX).  Most
  1192.      internal  modems come  with  these  4 ports  as  selections along  with
  1193.  
  1194.                                      Page 20
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1208.  
  1209.  
  1210.      several IRQ line combinations.  There is  a "quirk" in the way that the
  1211.      ROM-BIOS logs in these ports. If the  Power on self-tests (POST) do not
  1212.      find a 3F8 serial port but they do find a 2F8, then the 2F8 serial port
  1213.      is mistakenly  assigned to COM1. To add  to this, the reserved IRQ line
  1214.      for COM1 is IRQ4. But this serial Port of 2F8 is using COM2's  address,
  1215.      which means it needs IRQ3 instead of IRQ4. So, if you are trying to use
  1216.      Basic, Pascal,  or DOS for  COM1 operations, the  serial port  or modem
  1217.      will not be able  to work. The  general rule thus  is "No COM1  without
  1218.      COM2". 
  1219.  
  1220.      The Modem Doctor when it is run will detect this log-in problem and
  1221.      display an  "alert-bar"  with a  message to  you that  points out  this
  1222.      error. You can then elect to correct this for the purposes  of testing.
  1223.      Remember  though, you  can  only  fix  these addresses  permanently  by
  1224.      changing the settings  on your serial port  or internal modem.  You can
  1225.      run Modem Doctor  with the /X switch  to fix this problem at  boot time
  1226.      until you do change the address settings permanently. The addresses for
  1227.      PC's  are standardized in order for  communication programs to properly
  1228.      work. As stated above, the industry standards are;      
  1229.  
  1230.               COMM 1  3F8   COMM 2  2F8    COMM 3  3E8    COMM 4 2E8
  1231.               IRQ4          IRQ3           IRQ4           IRQ3      
  1232.  
  1233.               
  1234.               COMM 5  3F8   COMM 6  2F8    COMM 7  3E8    COMM 8  2E8
  1235.               IRQ7          IRQ7           IRQ5           IRQ5      
  1236.              
  1237.      The port  addresses for serial ports (1-4) are  held in a reserved area
  1238.      of  memory.  The "base  port"  of each  of these  uarts  is saved  in a
  1239.      distinct  area. When  you first  start  the Modem  Doctor, the  program
  1240.      checks  these locations  to see  if there  are  any Comm  ports already
  1241.      logged  in by Dos. If  not, a search is  conducted for the PC's default
  1242.      Comm 1  and Comm 2 port values and these  are logged in. Next, a search
  1243.      is  performed for  the other  industry standard  Comm ports.  Some PC's
  1244.      already log  these in,  however IBM-PC's and  those that  mimic exactly
  1245.      their ROM-BIOS routines do not log  in a COMM 3 or a COMM  4. The Modem
  1246.      doctor  does log these in, and as  a side benefit, these stay logged in
  1247.      until the next warm or  cold boot is   performed on your computer.  Why
  1248.      would  Dos  not  log  in  a port?  Well,  some  multi-tasking  programs
  1249.      overwrite this area to prevent "swapping" of communication programs and
  1250.      it is possible that they might not  be properly restored on exit. Next,
  1251.      a  search is made for  the custom comm  ports 5-8. These  ports are not
  1252.      held in DOS at all, but are held in program  memory by the Modem Doctor
  1253.  
  1254.                                      Page 21
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1268.  
  1269.  
  1270.      after a user logs the port in using the Manual log-in mode (see below).
  1271.      If one  of these  ports is  found, it will  be added  to the  comm port
  1272.      option menu for you to use when you test the modem.  The reason
  1273.      for  the custom  ports is  to  help users  who  are using  non-standard
  1274.      interrupt  lines (IRQ7,IRQ5).  Unlike the  Dos  logged-in ports,  these
  1275.      assignments disappear when the Modem Doctor is exited. The Modem Doctor
  1276.      follows the accepted arraignment of these comm Port /IRQ line pairings.
  1277.      However, you do have full control at  all times over all port addresses
  1278.      and IRQ assignments and can change them  using the Manual Login mode.  
  1279.      As far as the  2 Options presented by the  Login Mode, option 2 is  the
  1280.      only  real option available. Please use  it with caution. The only need
  1281.      for this  option is for logging in a comm port that does not use any of
  1282.      the  listed industry  standards as its  base port  address or  IRQ line
  1283.      assignments. Consult  your serial port  or Modem's user manual  to make
  1284.      sure you enter  the exact port address and select the correct Interrupt
  1285.      line to  use with it. Otherwise the Modem  Doctor will not recognize or
  1286.      be able to test any device hooked  to this port. Protection is included
  1287.      in this routine to keep someone from accidentally entering  a port that
  1288.      is used by  the system board, display adapters,  or fixed disk adaptor.
  1289.      Entering any of these values, or an error, will result in the display;
  1290.  
  1291.                       "WARNING...RESERVED port...RETRY ENTRY"      
  1292.  
  1293.      After running option 1 or 2 , you must tell the Modem Doctor which comm
  1294.      port you wish to use so that testing can begin. Pressing the ESCAPE key
  1295.      or pressing a left or right arrow key works the same as Option # 3 and
  1296.      returns you to the main menu.              
  1297.  
  1298.      4.13 Testing defective Ports 
  1299.      ----------------------------  
  1300.      Whenever the Modem Doctor checks to see if a port is  working properly,
  1301.      it checks the status  of several registers. If  a uart appears  "dead",
  1302.      the Modem Doctor will tell you that  the port was not "found". You  can
  1303.      use the Manual mode and override this determination. This allows you to
  1304.      test a defective port to find out  what is wrong. If you tell the Modem
  1305.      Doctor for  example to use serial Port 2F8 as COM2  and you do not have
  1306.      a COM2, the  message "COM2 not Found"  will be returned with  an option
  1307.      "Override [Y/N]  ?". Answering "Y" will  force the login of  this port.
  1308.      Certainly there is  no benefit to  testing a  non-existent port, but  a
  1309.      port that  is defective  may not  be logged-in.  So, you  now have  the
  1310.      option  to test  this defective  port hardware  to pinpoint  a problem.
  1311.      Combined  with the  register  display and  diagnostics,  you will  most
  1312.      likely be able to pin-point any uart problem quickly and easily. 
  1313.  
  1314.                                      Page 22
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1328.  
  1329.  
  1330.      4.2 Regs     
  1331.      -------------      
  1332.        ╔[  Register Tests  ]══════════════╗
  1333.        ║ Quick uart register diagnostics  ║  <- Displays all registers
  1334.        ║ DTR/DSR  RTS/CTS echo test       ║  <- Tests handshake lines
  1335.        ║ DTR Continuous Pulse test        ║  <- New, Pulses DTR line on/off
  1336.        ║ RTS Continuous Pulse test        ║  <- New, Pulses RTS line on/off
  1337.        ║ Dynamic  RTS/CTS handshake test  ║ +<-|Handshakes under simulated
  1338.        ║ Dynamic Xon/Xoff handshake test  ║ +<-|on-line conditions.
  1339.        ║ Display any 10 S-registers       ║  <- Display S-registers
  1340.        ║ Help and info on these tests     ║  <- Help or ALT-H
  1341.        ║       Return to main menu        ║
  1342.        ╚══════════════════════════════════╝
  1343.                                                   + registered version only
  1344.  
  1345.      The register display section can be an invaluable diagnostic tool. What
  1346.      this does is "poll" all of the status registers of the uart, and the
  1347.      interrupt controller to  tell you exactly what  is going on.   When you
  1348.      use the setup mode, the Modem Doctor checks all of these  registers for
  1349.      correct   information. If something  wrong is discovered, a  warning is
  1350.      displayed  on the screen telling you what  the Modem Doctor believes is
  1351.      wrong. Many different error conditions  are checked, see the error code
  1352.      section for a listing. Each  register contains a Mnemonic for each  one
  1353.      of the data bits.   Bits that are  a logic low ( = 0) are displayed  in
  1354.      low intensity, those that are a logic high (=  1) are displayed in high
  1355.      intensity.  On a color monitor, this is easy to see. On a Mono Monitor,
  1356.      make  sure you  have the    brightness and  contrast controls  properly
  1357.      adjusted to  see  the difference  between  the two  status  conditions.
  1358.      (Note: Version 4 allows you to pick your own custom colors, however, it
  1359.      will still alternate between high intensity and low intensity shades of
  1360.      the colors you select for the uart register displays).
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.                                      Page 23
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1388.  
  1389.  
  1390.  
  1391.      -[ Line Control Register ]----------      
  1392.      |  DLB STB STP EPS PEN STB WS1 WS0  |     
  1393.      ------------------------------------      
  1394.      This register controls  many of the setup characteristics  of your uart
  1395.      and how it behaves to your PC. This register is responsible for setting
  1396.      baud rate, setting  break code transmission, parity, and  the length of
  1397.      the serial stream  word. 
  1398.               
  1399.      DLB    Divisor Latch          Used to access the baud rate registers.  
  1400.                                    Should be low for all displays.
  1401.               
  1402.      STB    Set Break              If high, the modem transmits a
  1403.                                    break signal, should be low normally.    
  1404.      STP    Stick Parity           Should be low normally    
  1405.      EPS    Even Parity select     High = even parity..should be low
  1406.                                    normally.   
  1407.      PEN    Parity Enable          Enable parity checks, should be low
  1408.                                    normally.
  1409.      STB    Stop Bits              Number of stop bits, should be low
  1410.                                    normally to indicate 1 stop bit character
  1411.                                    only.
  1412.      WS1    Word Length Select 1     
  1413.      WS0    Word Length Select 0   These two bits are used to determine the
  1414.                                    serial data word length. Both should be
  1415.                                    high normally to indicate a length of 8
  1416.                                    bits.
  1417.               
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.                                      Page 24
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1448.  
  1449.  
  1450.  
  1451.      -[ Line Status Register ]----------- 
  1452.      |      TSE THE BI  FE  PE  OE  DR   |      
  1453.       ___________________________________      
  1454.               
  1455.      The  line status  register  reports error  conditions  that might  have
  1456.      occurred between the PC and the Uart.      
  1457.  
  1458.      TSE    TX Shift Register      A high indicates that all characters
  1459.                                    sent to the Uart were transmitted. Should
  1460.                                    be High Normally.      
  1461.  
  1462.      THE    TX Holding Register    A high indicates that the Uart can now   
  1463.             Empty                  accept a new character from the PC.Should
  1464.                                    be high normally. 
  1465.  
  1466.      BI     Break Interrupt        A high indicates that a break signal was 
  1467.                                    received. Should be low normally.      
  1468.  
  1469.      FE     Framing Error          A high indicates that a serial data train
  1470.                                    did not have a proper stop bit. Should be
  1471.                                    low normally.   
  1472.  
  1473.      PE     Parity Error           A high indicates that the received serial
  1474.                                    data's parity did not match what the uart
  1475.                                    was programmed to receive. Should be low 
  1476.                                    normally.     
  1477.  
  1478.      OE     Overrun Error          A high indicates that a character in the 
  1479.                                    receive buffer was not read by the PC in 
  1480.                                    time, and another character overwrote and
  1481.                                    destroyed it. Should be low normally. 
  1482.  
  1483.      DR     Data Ready             A High indicates that a character has
  1484.                                    been received and is ready to be read by 
  1485.                                    the PC from the receiver buffer. Should
  1486.                                    be low normally for these test, but can
  1487.                                    vary while data is coming in from the
  1488.                                    modem. 
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.                                      Page 25
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1508.  
  1509.  
  1510.  
  1511.  
  1512.      -[ Modem Control Register ]---------
  1513.      |              LP  OT2 OT1 RTS DTR  |     
  1514.      ------------------------------------       
  1515.               
  1516.      The Modem Control register handles all of the interfacing between the  
  1517.      Uart  and  the modem.  Only  5 signals  are  needed for  this  level of
  1518.      control.   
  1519.       
  1520.               
  1521.      LP     LOOP                   A high indicates that the loopback
  1522.                                    digital diagnostic has been activated.
  1523.                                    This feature only works with 8250 uarts
  1524.                                    or those that are 100% compatible. This
  1525.                                    is used in the digital loopback test. 
  1526.  
  1527.      OT2    OUT 2                  A high enables the uart to generate
  1528.                                    interrupts. A low disables interrupts.
  1529.                                    This should always be high for testing
  1530.                                    purposes.  
  1531.         
  1532.      OT1    OUT 1                  On 100% compatible modems, a high on this
  1533.                                    pin will perform a hardware reset of the
  1534.                                    modem in some compatible designs.Normally
  1535.                                    this is a low.
  1536.  
  1537.      RTS    Request to Send        A Handshaking signal that is used by some
  1538.                                    modems to enable data transfer between
  1539.                                    the modem and the Uart. Should be high
  1540.                                    for testing purposes.
  1541.  
  1542.      DTR    Data Terminal Ready    A Handshaking signal that is used by some
  1543.                                    modems to enable data transfer between
  1544.                                    the modem and the uart. Should be high 
  1545.                                    for testing purposes.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.                                      Page 26
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1568.  
  1569.  
  1570.  
  1571.      -[ Modem Status Register ]----------      
  1572.      |  RLS RI  DSR CTS DRD TER DDR DCS  |     
  1573.      ------------------------------------      
  1574.      The Modem  Status Register  returns the status  of the  control signals
  1575.      sent by the modem to the Uart.      
  1576.               
  1577.      RLS    Received Line Detect   A high indicates that a carrier has been 
  1578.                                    received by the modem. When the Analog
  1579.                                    tests are run, this should be high. If
  1580.                                    it is not, it is still possible that the
  1581.                                    modem is ok, however the cable from the
  1582.                                    modem to the uart (for externals only)
  1583.                                    might not have a complete circuit due to
  1584.                                    faulty wiring of the RS-232 cable. This
  1585.                                    signal is very important for some
  1586.                                    communications programs to operate
  1587.                                    properly.      
  1588.  
  1589.      RI     Ring Indicator         A high indicates that the modem detected 
  1590.                                    a ringing signal on the phone line. 
  1591.                  
  1592.      DSR    Data Set Ready         This is part of the DTR/DSR Handshaking
  1593.                                    pair that is used by some modems to
  1594.                                    control the flow of data. Normally it
  1595.                                    will be a high. 
  1596.  
  1597.      CTS    Clear to Send          This is part of the RTS/CTS Handshaking
  1598.                                    pair that is used by some modems to
  1599.                                    control the flow of data. Should normally
  1600.                                    be a high.
  1601.  
  1602.      DRD    Delta Received         Line Signal Detect. A high indicates that
  1603.                                    the Received Line Signal has changed
  1604.                                    state. Some communications programs use
  1605.                                    this also as an indication that a carrier
  1606.                                    was detected by the modem. 
  1607.      TER    Trailing Edge
  1608.               Indicator            A high indicates that the Ring Indicator 
  1609.                                    changed state. Some communications
  1610.                                    programs use this as an indication that
  1611.                                    the phone has rung.      
  1612.  
  1613.  
  1614.                                      Page 27
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1628.  
  1629.  
  1630.      DDR    Delta Data Set Ready   Indicates that the DSR signal has changed
  1631.                                    state.      
  1632.  
  1633.      DCS    Delta Clear to Send    Indicates that the CTS signal has changed
  1634.                                    state. 
  1635.               
  1636.      If a 8250-B / 16450 or 8250A Uart was detected, the following is
  1637.      displayed;      
  1638.             
  1639.      -[ Interrupt ID Register ]----------
  1640.      |                      ID1 ID0 ITP  |     
  1641.      ------------------------------------       
  1642.               
  1643.      The  Interrupt  ID  Register is  used  to  tell the  CPU  what  kind of
  1644.      interrupt occurred.      
  1645.  
  1646.      ID0    Interrupt Bit 2     
  1647.      ID1    Interrupt Bit 1        These two signals are a binary code which
  1648.                                    can be read by the CPU to tell what kind
  1649.                                    of interrupt occurred. Both bits high
  1650.                                    indicates an error occurred or a break
  1651.                                    interrupt wasreceived.  Bit 2 high and
  1652.                                    Bit 1 low indicates that data is ready to
  1653.                                    be read by the CPU. Bit 1 high and bit 2
  1654.                                    low indicates that a ring signal or
  1655.                                    carrier signal was received. For testing
  1656.                                    purposes, only the Data ready mode is
  1657.                                    used. 
  1658.  
  1659.      ITP    Interrupt Pending      A Low indicates that an interrupt has
  1660.                                    occurred. For testing purposes, this
  1661.                                    should always be high if data was
  1662.                                    successfully read by the Modem Doctor. If
  1663.                                    it is not, then an interrupt did occur
  1664.                                    but the CPU did not respond. Suspect a
  1665.                                    problem with an interrupt controller chip
  1666.                                    or the uart interrupt generating
  1667.                                    capability. If a 16550 or
  1668.                                    16550A(x) chip was detected, the register
  1669.                                    selection uses the enhanced register
  1670.                                    display.             
  1671.               
  1672.  
  1673.  
  1674.                                      Page 28
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1688.  
  1689.  
  1690.  
  1691.      If  a  16550A(x) was  detected,  the  appearance  of the  Interrupt  ID
  1692.      register changes and the following is displayed;
  1693.  
  1694.      -[ Interrupt ID Register ]----------
  1695.      | FEM FEL          ID2 ID1 ID0 ITP  |     
  1696.      ------------------------------------   
  1697.      FEM   FIFO Enable MSB         This is the most significant bit of the
  1698.                                    FIFO register. It should be high on both
  1699.                                    the 16550 and 16550AN if the FIFO
  1700.                                    buffering is enabled. Normal Modem Doctor
  1701.                                    status shows this as a logic low (unless
  1702.                                    testing is performed).  
  1703.  
  1704.      FEL   FIFO Enable LSB         This is the least significant bit of the
  1705.                                    FIFO Register. It should be a high on the
  1706.                                    16550A(x) only! The 16550 always displays
  1707.                                    this bit low. Again, the normal Modem
  1708.                                    Doctor status  will show this as a logic
  1709.                                    low (unless testing is performed).
  1710.  
  1711.      ID2   FIFO Timeout            This signal is raise high by a 16550A(x)
  1712.                                    to indicate that it is holding characters
  1713.                                    for the CPU to read, but it is less than
  1714.                                    what the CPU has requested to be
  1715.                                    interrupted for. The FIFO buffer can be
  1716.                                    as deep as 14 characters. If only 8 have
  1717.                                    come in, the CPU will not be interrupted.
  1718.                                    The 16550A(x) is programmed to interrupt
  1719.                                    after a period of time has gone by during
  1720.                                    which no characters were received in
  1721.                                    order to force the CPU to get what it is
  1722.                                    currently storing. Normal operation
  1723.                                    should keep this line low, if it
  1724.                                    is high at any time there is a problem
  1725.                                    with the uart.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.                                      Page 29
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1748.  
  1749.  
  1750.               
  1751.      -[ Interrupt Enable Register ]------      
  1752.      |                  ESI ELI ETI ERI  |     
  1753.      ------------------------------------      
  1754.               
  1755.      The Interrupt Enable register is programmed to allow certain types of  
  1756.      interrupts to occur.      
  1757.  
  1758.      ESI    Enable Status          A high causes the uart to generate an
  1759.                                    interrupt whenever RI or RSD signals in
  1760.                                    the Modem Status register go high. Should
  1761.                                    be low for testing.
  1762.  
  1763.      ELI    Enable Line            A high causes the uart to generate an 
  1764.                                    Interrupt whenever an error or break
  1765.                                    interrupt is detected in the Line Status
  1766.                                    Register. Should be low for testing.
  1767.  
  1768.      ETI    Enable Transmitter     A high causes the uart to generate a
  1769.                                    holding register interrupt whenever the
  1770.                                    THE signal of the empty interrupt line
  1771.                                    status register goes high. Should be low
  1772.                                    for testing.        
  1773.                                    
  1774.  
  1775.      ERI    Enable Receive Data    A high causes the uart to generate a
  1776.                                    ready interrupt whenever data is ready to
  1777.                                    be read by the CPU. The DR line of the
  1778.                                    line status register going to a high
  1779.                                    state generates this  condition. This
  1780.                                    signal should be high for testing
  1781.                                    purposes, since it is the only interrupt
  1782.                                    needed by the Modem Doctor.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.                                      Page 30
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1808.  
  1809.  
  1810.  
  1811.      -[ Interrupt Mask Register ]--------      
  1812.      |  IQ7 IQ6 IQ5 IQ4 IQ3 IQ2 IQ1 IQ0  |     
  1813.      ------------------------------------      
  1814.      The interrupt mask register is contained on the 8259 priority interrupt
  1815.      controller on your computer's motherboard. Each one of these hardware
  1816.      interrupts corresponds to an external device.      
  1817.  
  1818.      IQ7   Printer Interrupt (can be used by Custom COM5 or COM6)
  1819.      IQ6   Floppy Disk Interrupt     
  1820.      IQ5   Hard Drive interrupt (can be used by Custom COM7 or COM8)
  1821.      IQ4   COM1 Interrupt (also COM3)     
  1822.      IQ3   COM2 Interrupt (also COM4)     
  1823.      IQ2   reserved by IBM (Gateway to second 8259 on AT's)     
  1824.      IQ1   Keyboard Interrupt     
  1825.      IQ0   Timer Interrupt      
  1826.           
  1827.  
  1828.  
  1829.      Under Normal  Conditions, IQ0,IQ1 and IQ6 should be lit, along with IQ4
  1830.      if  testing COM1  (or  COM3)   or IQ3  if  testing COM2  (or COM4).  In
  1831.      addition, other lines could be lit depending on your computer. The only
  1832.      line the  Modem Doctor looks for is the IQ4  or IQ3 lines (depending on
  1833.      which serial port you are testing).   
  1834.  
  1835.      -[ Interrupt Mask Register ]--------      
  1836.      |  I15 I14 I13 I12 I11 I10 IQ9 IQ8  |     
  1837.      ------------------------------------      
  1838.  
  1839.      If you are using an  IRQ line above 7, this alternate  display is shown
  1840.      above.  In normal  use, only IRQ9,  IRQ10, IRQ11, IRQ12,  and IRQ15 are
  1841.      free to be  assigned to other hardware devices. 
  1842.  
  1843.      I15 - free, normally assigned to BIOS
  1844.      I14 - used by hard disk controllers
  1845.      I13 - Redirected NMI interrupt or coprocessor
  1846.      I12 - free, normally assigned to BIOS
  1847.      I11 - free, normally assigned to BIOS
  1848.      I10 - free, normally assigned to BIOS
  1849.      IQ9 - Redirected IRQ 2
  1850.      IQ8 - Real time clock interrupt
  1851.  
  1852.  
  1853.  
  1854.                                      Page 31
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1868.  
  1869.  
  1870.      Although the status  of all interrupt lines are  shown, only 9,10,11,12
  1871.      and 15 can be accessed by Modem Doctor.
  1872.  
  1873.  
  1874.      4.30 Handshaking tests
  1875.      ----------------------
  1876.      Just like  a handshake between  friends, the Modem Doctor  tests to see
  1877.      that  your  computer  uart  and  the   modem  are  properly  exchanging
  1878.      handshaking for  data  communication.  There  are 4  tests  for  proper
  1879.      operation.  Two of  them are  static  (meaning that  the control  lines
  1880.      between the computer and modem are raised and lowered), and two of them
  1881.      are  dynamic (meaning that  the modem is placed  in a self-connect mode
  1882.      and data is sent to the modem). 
  1883.      Static test results can  vary modem to modem. Some  modems echo control
  1884.      line   toggles...in other words,  if DTR goes  low, so will  DSR. Other
  1885.      modems do not. So, it would  be considered normal for a modem *not*  to
  1886.      pass this particular  test.  However, if you wish to test  a cable, and
  1887.      at the end you place a  loopback plug, then the static echo test should
  1888.      pass. Otherwise, your cable  is wired incorrectly!
  1889.  
  1890.      The static RTS/CTS tests are conducted the same way, however this
  1891.      handshake pair is important for high-speed modem users. Again, working 
  1892.      through a modem, you will see a failure (unless using the modem for 
  1893.      Synchronous  Communications, something  most users never  do). However,
  1894.      with a  loopback plug, you should see the  static test pass. The static
  1895.      tests above   are designed to  show that your  cabling to the  modem is
  1896.      proper, when verified with a loopback plug. However, these tests cannot
  1897.      verify  if  your  modem    microprocessor will  act  properly  on  this
  1898.      handshaking information. 
  1899.  
  1900.      New in version  7.0, DTR and  RTS pulse tests are  added to aid  you in
  1901.      finding problems with cables or connectors. If DTR is selected, the DTR
  1902.      line is raised and lowered every 2 seconds. If RTS is selected, the RTS
  1903.      line  is  raised  and lowered  every 2  seconds. Using  modem indicator
  1904.      lights or  Modem Doctor's status display  and a loopback cable, you can
  1905.      find out if a cable has the proper wiring for handshaking signals. With
  1906.      some simple test equipment (like a logic probe), you can use  this mode
  1907.      to trace a problem to its source.
  1908.  
  1909.      The dynamic  tests force your  modem to self-connect. Next  the RTS (or
  1910.      DTR)   lines are  dropped (depending  on which  test is  run). Then  20
  1911.      characters are   sent  to the  modem. If  the modem  is properly  using
  1912.      handshaking, no characters will  be sent back to  the computer. If  any
  1913.  
  1914.                                      Page 32
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1928.  
  1929.  
  1930.      characters are  received,  then  your    modem  ignored  the  handshake
  1931.      request. In most  cases, if the  static tests   passed but the  dynamic
  1932.      failed, it means your modem needs to be setup for  testing. 
  1933.  
  1934.      The Modem  Doctor offers you  the choice  of programming your  modem to
  1935.      test its ability to  handshake. Using this mode requires that  you have
  1936.      selected the  proper modem  driver from the  Carrier mode  before hand,
  1937.      otherwise incorrect commands will  be sent to  your modem. If you  know
  1938.      you have the right driver, then you can go ahead and see if your  modem
  1939.      is set properly or not.
  1940.  
  1941.      None of the commands sent to the modem are permanently stored in the
  1942.      modem. If the Modem Doctor enables handshaking and it works, but your
  1943.      setup in the modem does not work, then you have to reprogram the modem
  1944.      yourself. You can use the Interactive  terminal mode to do this if  you
  1945.      wish without leaving  the Modem Doctor. Also, in order  for these tests
  1946.      to  be  valid you  must  be using  a  modem that  supports  RTS/CTS and
  1947.      XON/XOFF handshaking  modes of operation.
  1948.  
  1949.      4.30A S-Register Displays
  1950.      -------------------------
  1951.      The most important  S-registers are the first 16.  These determine many
  1952.      of  the  abilities   and  options  that  your  modem   can  use  during
  1953.      communication  sessions. However,  today's high-speed modems  have many
  1954.      more registers, in fact  some  have up  to 200! After the first  16, no
  1955.      one  really follows  any sort  of  "plan", each  modem manufacturer  is
  1956.      pretty free to do what they  wish. From a  diagnostic standpoint,  this
  1957.      is a  nightmare scenario. Even  with the same   manufacturer, different
  1958.      ROM  versions change  how these  registers are  used.  The "compromise"
  1959.      position is allow for the viewing of S-registers  in groups  of 10. You
  1960.      pick the starting register, and the next 10 are displayed. Values  of 0
  1961.      (appearing slowly) usually indicate that the selected register doesn't 
  1962.      exist. As  with all  Modem Doctor  routines, you  cannot change  any of
  1963.      these S- register settings, unless you go into the Interactive Mode and
  1964.      use the AT  commands that allow you to change register settings. 
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.                                      Page 33
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  1988.  
  1989.  
  1990.      4.31 Carrier Tests     
  1991.      -----------------  
  1992.        ╔[  Modem Tests  ]═══════╗
  1993.        ║ Carrier Self-tests     ║  <- Simulate on-line tests
  1994.        ║ Burst Mode Self-Test   ║  <- New, Sends data in Bursts
  1995.        ║ Burst Signature Test   ║  <- New, Sends a modulation test pattern
  1996.        ║ Burst Alt Data Test    ║  <- New, Sends an alternating pattern
  1997.        ║ Select modem drivers   ║  <- Pick a modem driver
  1998.        ║ Help with carrier test ║  <- Help
  1999.        ║  Return to main menu   ║
  2000.        ╚════════════════════════╝
  2001.  
  2002.      The carrier test section is used to test your modem's ability to detect
  2003.      a  carrier, demodulate  signals on the  originate frequency  and answer
  2004.      frequency, and to  properly control the RLS (Received  Line Signal) and
  2005.      CD  (carrier  detect) modem  status/control  lines.  All of  these  are
  2006.      essential  elements  for  good data  communication.    When you  select
  2007.      carrier tests, a pulldown menu is displayed. Option 1,2,3 and 4 prompts
  2008.      you to run different carrier tests (see types of carrier tests later in
  2009.      this section). Option 5  offers you the chance to select a custom modem
  2010.      driver. Option  7 allows   you  to return  to the  main menu  (pressing
  2011.      ESCAPE or a  left/right arrow  key  also does the same  thing as option
  2012.      7).  
  2013.               
  2014.      4.31 Modem Driver Modules    
  2015.      --------------------------  
  2016.      Although your AT instruction set modem is based on a defacto standard
  2017.      developed by Hayes,  there are several "supersets" of  this instruction
  2018.      set  for  various modems.  Currently,  the    Modem Doctor  supports  9
  2019.      different software Modem  Drivers for testing; Generic  Compatible, &T0
  2020.      (CCITT V.54  test sequence)  instruction set,  Hayes 9600,14400,  Hayes
  2021.      28800 bps,  Courier   HST/V.32, Sportster 14440,  USR 28800  bps, ZyXEL
  2022.      1496 E and E+,  Practical Peripherals, Intel, and Sierra  Semiconductor
  2023.      modems.  If your modem  is not included,  you can easily  pick a driver
  2024.      that will work for you following these simple guidelines;
  2025.  
  2026.        a) If it is a high speed modem (over 2400 bps), select Hayes 9600.
  2027.        b) If it is a 2400 bps modem, select &T0 instruction set.
  2028.        c) If these do not work, use Generic driver.
  2029.  
  2030.      When the Modem Doctor is running the setup mode, it queries the 
  2031.      microprocessor  for its type identification. Based on this information,
  2032.      a  modem driver is selected for use.  Basically, all 2400 bps and lower
  2033.  
  2034.                                      Page 34
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2048.  
  2049.  
  2050.      modems   are assigned  the Generic Driver,  and all  supported 9600 and
  2051.      higher modems  are assigned their  proper ID, based on  the information
  2052.      your modem  returns  via its  ROM code.  If Modem  Doctor  knows its  a
  2053.      high-speed  modem but can't  determine the  type, the  Courier HST/V.32
  2054.      driver is assigned  by default. The &T0 instruction  set modems, (those
  2055.      that  use  the CCITT  V.54 test  sequence), are  tested in  a different
  2056.      manner with a  different set of instructions. Previous  versions of the
  2057.      Modem Doctor would automatically switch to the &T0  instruction set  if
  2058.      the modem was a 2400 bps  modem and if it failed to   properly detect a
  2059.      carrier during  testing. This  function is still  built into  the Modem
  2060.      Doctor, but  you can optionally  select the &T0 driver  yourself before
  2061.      beginning  your testing  in order  to speed  things up.  Auto-selection
  2062.      added about  10 seconds  a pass  that can now  be eliminated.   If  you
  2063.      desire to  select the &T0  set for your modem  instead of letting   the
  2064.      Modem Doctor do it for you. 
  2065.  
  2066.      NOTE: Don't select this  instruction set unless you know for  sure that
  2067.      your modem  is 100% instruction  set compatible with the  Hayes 2400 or
  2068.      2400B. Hayes  1200 bps  and lower, and  almost all  other 2400  bps and
  2069.      lower modems use  the Generic  Driver. You  will find that  99% of  all
  2070.      modems  will  work properly  with this    assignment, in  fact,  if you
  2071.      disable all data  compression and Fixed link assignments  from any high
  2072.      speed modem (including  28800+'s), the generic  driver will test  these
  2073.      modems properly  also! This allows  people with high-speed  modems that
  2074.      are not supported currently to use the Modem Doctor for testing. If you
  2075.      have  a  high-speed  modem  that is  not  supported,  you  can   use  a
  2076.      Combination of  the Manual mode  and the  Generic Modem Driver  to test
  2077.      these modems also.  
  2078.  
  2079.      All of the modem drivers used by the Modem Doctor are built into the
  2080.      program, however version 7.0, like earlier versions, has the ability 
  2081.      to recognize an external driver file. If the Modem Doctor finds and 
  2082.      external driver file when it starts, it uses those command instead of 
  2083.      the  built-in  drivers. The  format  for  drivers has  changed  between
  2084.      version 4.0x, 5.0, 7.0  and any future drivers will be  released in all
  2085.      formats  for users of all versions of Modem Doctor.
  2086.  
  2087.      What purpose is  there in external drivers?  Well, first off, if  a new
  2088.      modem  command set is  adopted, or  a bug is  discovered in  one of the
  2089.      built-in modems, you  will be able to  receive a free driver  file from
  2090.      any bbs or by mail. This  means that your copy of the Modem  Doctor can
  2091.      stay current  for some  time to  come. The second  reason for  external
  2092.      drivers is to  allow you,  if you desire,  to have us  custom design  a
  2093.  
  2094.                                      Page 35
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2108.  
  2109.  
  2110.      modem driver for a particular modem. These drivers would be designed at
  2111.      a  modest charge and would be for your  use only. In any case, external
  2112.      drivers insure your investment in the Modem Doctor.
  2113.  
  2114.      4.32 Types of Carrier Tests  
  2115.      -----------------------------     
  2116.      The carrier tests are designed to test your modem under actual use
  2117.      conditions (minus a telephone line). Your modem uses two different
  2118.      frequency bands for communication. These are the originate and answer
  2119.      frequencies. AT Compatible modems can select these under command of the
  2120.      Modem Doctor via the appropriate Modem Driver module. So called "Dumb"
  2121.      Modems have front-panel switches that you must use to properly test the
  2122.      modem. The Modem Doctor supports both types of tests, one of which is
  2123.      automatically selected by the Modem Doctor depending on the hardware it
  2124.      detects.  
  2125.               
  2126.      4.33 AT Instruction Set Tests 
  2127.      -----------------------------     
  2128.      If you selected  the Test Modem/Uart option  from the setup menu  and a
  2129.      Modem with  a compatible  microprocessor was detected,  or if  you have
  2130.      forced the  Modem Doctor to  use the AT  instruction set tests  via the
  2131.      hot-key  ALT-F, the  Modem Doctor  will test  the originate  and answer
  2132.      frequencies of your modem automatically. Before running this test, make
  2133.      sure you have  disconnected the modem from the  telephone line, because
  2134.      the modem will go  off-hook and sometimes the  dial-tone will interfere
  2135.      with  testing. If you press ESCAPE in this menu, you return to the main
  2136.      menu. Any other  key continues. You will  be prompted to enter  a "Loop
  2137.      Count".  If you  select a  count of  1, you  will be  able to  hear the
  2138.      connecting tones on your speaker. If you select a count greater than 1,
  2139.      then the speaker is turned off.  
  2140.  
  2141.      After you make your  selection, two windows will  open on your  screen.
  2142.      One contains data that is being sent to the modem,  the other data that
  2143.      has been  received by the modem. All of the characters from binary 0 to
  2144.      binary 255  are transmitted.  Some of these  will look  strange because
  2145.      they are  characters of  the extended character  set. The  Modem Doctor
  2146.      takes a  great deal of care in preserving  the normal condition of your
  2147.      modem before testing, and sends  all the character strings necessary to
  2148.      test without disturbing  any non-volatile memory settings.  If you have
  2149.      an external  modem, you will  see the data being  sent and acknowledged
  2150.      before testing begins. 
  2151.  
  2152.  
  2153.  
  2154.                                      Page 36
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2168.  
  2169.  
  2170.      While it is setting up, the Modem Doctor tells you what is going
  2171.      on, including that  the modem is  reset, that commands are  being sent,
  2172.      and  that it is waiting for a carrier.  The Modem Doctor waits up to 15
  2173.      seconds for either the word CONNECT or the  RLS signal to go active. If
  2174.      this does not happen, the Modem Doctor  switches to the &T0 command set
  2175.      that is  used by Hayes  2400's and several  other clones. This  test is
  2176.      just as  valid as a  full carrier test  for these types of  modems, and
  2177.      verifies  both  the  modem  and  the  uart  signal  paths  as  does the
  2178.      traditional  carrier test.  If you  switch to  this  mode, you  will be
  2179.      informed  via  the  screen and  the  message  "CCITT  V.54  "  will  be
  2180.      displayed.  Also, if  you have  an external  modem, you  might see  the
  2181.      "modem ready" light flashing throughout  this test. If you selected the
  2182.      &T0 instruction set yourself from the Modem Driver selection menu, then
  2183.      the  &T0 set  will  be used  exclusively.  This selection  is  mainly a
  2184.      convenience for some users  (because the auto-detection method takes  a
  2185.      little  longer), however  it  will not  test any  other  kind of  modem
  2186.      properly. If you  are unsure, let  the Modem Doctor  figure it out  for
  2187.      you. Note, if you select more  than 1 iteneration and change you  mind,
  2188.      press ESCAPE anytime during the test. At the next available loop-repeat
  2189.      time the  Modem Doctor  will abort  testing and give  you your  current
  2190.      status.  
  2191.  
  2192.      4.34 Uart or Dumb Modem Tests 
  2193.      ----------------------------- 
  2194.      This test works the same as the AT instruction set modem test with two
  2195.      main exceptions. First, Your modem must  be able to generate a  carrier
  2196.      on  its own  on the  answer  and originate  frequencies. Most  external
  2197.      "dumb"  modems  have front panel switches  for this function. Most  are
  2198.      marked as  AL (for Analog  Loopback). If your modem  can generate this,
  2199.      answer yes    and follow  the prompts  on the  screen.  All testing  is
  2200.      performed  as above,  except you setup  the modem instead  of the Modem
  2201.      Doctor  using its modem driver software.   Whenever the Modem Doctor is
  2202.      working with the  micro in the "Off-line" mode, the dumb mode tests are
  2203.      used. You are prompted if your modem can generate a carrier. Answer yes
  2204.      to start  the testing.  You are then  told to place  your modem  in the
  2205.      analog loop mode and force the carrier detect on. Most dumb modems will
  2206.      light the CD light  on the front panel of the modem  when you press the
  2207.      AL switch. This  CD light sends  a RLS (Received   Line Signal)  status
  2208.      word  to the uart. The Modem Doctor looks for this before it will allow
  2209.      testing in  this dumb mode.  If your  modem cannot  generate a  carrier
  2210.      indication, you  can still test  an analog loopback using  the loopback
  2211.      function in the registered version and select the analog loopback tests
  2212.      (this is explained later in the documentation).  
  2213.  
  2214.                                      Page 37
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2228.  
  2229.  
  2230.               
  2231.      4.35 Error Messages 
  2232.      -------------------     
  2233.      If A RLS (Received Line Detect) signal is not received before testing
  2234.      begins, this indicates that either a carrier is not being generated (or
  2235.      properly received in self test) by the modem, or an RS-232 Cable to an
  2236.      external modem  is improperly  wired. Although  RS-232 loops  will work
  2237.      fine without an RLS signal  being wired, there is no way for  the Modem
  2238.      Doctor to detect on a  dumb modem if a carrier  was generated. On a  AT
  2239.      instruction set modem, the Modem  Doctor alternately looks for the word
  2240.      "CONNECT"  to  be  sent  from the  modem  if  there  is  no RLS  signal
  2241.      available. If you wish your all of your communications programs to work
  2242.      properly, you should get a cable with this signal wired. If an error is
  2243.      detected during  the analog  test,  the error  counter is  incremented.
  2244.      There are two error counters; one  is used for the originate mode,  and
  2245.      the other for the answer mode. If you receive an error, it could be due
  2246.      to a problem with a uart or a modem at a certain baud rate. Try testing
  2247.      at other  baud rates to  determine if  the errors  repeat. Also  errors
  2248.      could occur on only the originate or the answer frequency. This is more
  2249.      prevalent at higher baud rates.  Finally, make sure that the  modem was
  2250.      disconnected   from  the  phone  line  before  testing.  The  dial-tone
  2251.      interferes with some modems. One other possibility exists, that
  2252.      there could be a problem with a cable or interrupts not properly being
  2253.      generated or  properly handled  by the  CPU.  Run the  digital/loopback
  2254.      tests  and  if  the problem  repeats,  you  might have  a  bad  uart or
  2255.      motherboard problem. Although it is  unlikely, if power is removed from
  2256.      the modem  or a  cable falls off  (or who knows  what else),  the Modem
  2257.      Doctor waits a pre-determined period of time for an interrupt to occur.
  2258.      If  none is  detected,  the  warning "Modem  Queue  Failure" or  "Modem
  2259.      Receiver Failure"  will be displayed in one of the windows. These might
  2260.      also be  displayed if  the modem never  acknowledged a  character being
  2261.      transmitted, or  never sent one  back. Again, the only  conditions that
  2262.      would cause this would be a  cable being removed between the modem  and
  2263.      the uart,  the power being removed to the  modem, or the modem "blowing
  2264.      up" via some unnatural means during the test. If the RLS (Received Line
  2265.      Signal) is constantly active from the modem, the Modem Doctor will tell
  2266.      you that you might have  a problem with a cable  or the modem and  that
  2267.      the test results might not be valid. Reason for  this is that the Modem
  2268.      Doctor never did  detect a carrier because the uart said it was already
  2269.      there. This can be traced in nearly  all cases to the modem. Change the
  2270.      setting  of the modem to let the carrier   Detect (CD) act normally. It
  2271.      should never be set to be forced on for a PC. If so, not only the Modem
  2272.      Doctor, but other communications programs will  not operate properly. 
  2273.  
  2274.                                      Page 38
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2288.  
  2289.  
  2290.      4.36 IRQ Failures
  2291.      -----------------
  2292.      The Modem Doctor will allow you to test a modem that might not have a
  2293.      proper IRQ  assignment. Such errors  in jumper settings on  your serial
  2294.      cards or internal  modems are  tough to  trace. If you  see this  error
  2295.      message  displayed,  it  means that  your  modem  is  receiving signals
  2296.      properly, but  it cannot communicate  back to the computer  over normal
  2297.      interrupt assignments. This  normally results  from using  an IRQ  line
  2298.      reserved for  one comm port with  another. See the  section above about
  2299.      IRQ's if you get this error, and use  the table above as a guide to how
  2300.      to correct  your problem. IRQ failures  will be displayed in  the setup
  2301.      mode, the  Regs Quick Uart  Diagnostics mode, the Analog  Loopback mode
  2302.      and the Carrier Tests mode.
  2303.  
  2304.      4.38 Burst Mode Tests
  2305.      ----------------------
  2306.      Burst Mode tests  have been added to  Modem Doctor. Unlike the  carrier
  2307.      self tests  (which transmit  1 character  at a  time and  wait for  the
  2308.      character to be received), the Burst Mode tests send all characters  at
  2309.      once, and  then clock  how long  it takes  for these  characters to  be
  2310.      received. There are 3 different Burst Mode Tests.
  2311.  
  2312.        1) Burst Mode Self-Test - All 255 characters are sent in a burst. 
  2313.        2) Burst Signature test - designed to detect shift register and
  2314.                                  modulation problems.
  2315.        3) Burst Alt Data test  - another test pattern used for similar
  2316.                                  purposes as test #1.
  2317.  
  2318.      Modem Doctor clocks how long it takes to receive them all. This 
  2319.      information is displayed in a bar between windows like this;
  2320.  
  2321.      --------------------------------------------------------------------
  2322.      16550A TR14 TX Time = 1.21sec  210 cps RX Time = 1.00sec   255 cps
  2323.      --------------------------------------------------------------------
  2324.  
  2325.      Between  the windows  (sent  to and  received from  modem),Modem Doctor
  2326.      calculated  the send  and return  time  and approximate  characters per
  2327.      second. Also,  since this particular test was run  on a computer with a
  2328.      16550AFN uart,   Modem  Doctor also displays  the buffer  trigger level
  2329.      (14). A  16550AFN uart   will usually return  characters faster  than a
  2330.      regular uart. Transmit times   however depend  on the type of  computer
  2331.      more than the type of uart.  Faster machines can send data faster.
  2332.  
  2333.  
  2334.                                      Page 39
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2348.  
  2349.  
  2350.  
  2351.      After the test runs, you will see this window;
  2352.  
  2353.         ╒[  Burst Test ]══════════════════════════════════════════╕
  2354.         │ The results of the burst mode data tests shows that     │
  2355.         │ approximately 465 characters per second can be safely   │
  2356.         │ moved between modem and uart without handshaking        │
  2357.         │                                                         │
  2358.         │ You do not need any handshaking at this DTE speed       │
  2359.         │               Press Any Key to Continue                 │
  2360.         │                                                         │
  2361.         └─────────────────────────────────────────────────────────┘
  2362.  
  2363.      This  value is  calculated by  adding  the receive  and transmit  times
  2364.      together. If  Modem Doctor  calculates the round  trip time to  be more
  2365.      than it should  be at the chosen  baud rate, you will see  this message
  2366.      instead;
  2367.  
  2368.         ╒[  Burst Test ]══════════════════════════════════════════╕
  2369.         │ The results of the burst mode data tests shows that     │
  2370.         │ approximately  210 characters per second can be safely  │
  2371.         │ moved between modem and uart without handshaking        │
  2372.         │                                                         │
  2373.         │ You will need some sort of handshaking at this speed    │
  2374.         │               Press Any Key to Continue                 │
  2375.         │                                                         │
  2376.         └─────────────────────────────────────────────────────────┘
  2377.  
  2378.      At  2400 bps,  240  characters  are transmitted  each  second. If  your
  2379.      computer can only  handle 210 cps total, then  your computer could drop
  2380.      characters.  Therefore hardware handshaking is needed. Now, no computer
  2381.      made will have this problem until you exceed baud rates of 4800 bps. At
  2382.      9600  bps, 960  characters  need to  be received  per  second. If  your
  2383.      computer can only  handle 930, you will need  handshaking. At 19200bps,
  2384.      you need to  be able  to handle  1920 cps. Most  computers under  50mhz
  2385.      cannot do this without handshaking.
  2386.  
  2387.      The Burst Signature Mode tests are  useful in detecting Modem or serial
  2388.      link modulation/demodulation problems. As with the previous Burst test,
  2389.      Modem  Doctor  calculates  the  tx  and rx  times.  However,  only  one
  2390.      character  is sent, an A5 hex or  .  This character in binary is broken
  2391.      into  two halves;    1010  (A)  and  0101  (5).  Since  modulation  and
  2392.      demodulation  in modems   depends  on correctly  phasing changing  data
  2393.  
  2394.                                      Page 40
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2408.  
  2409.  
  2410.      packets,  this  A5 character    swings  the  modem between  worst  case
  2411.      repeating bit states.  If you find   errors here, you may  have located
  2412.      the source of your "line noise" problems.
  2413.  
  2414.      Burst  Alt Signature  Test -  Another  useful test  in determining  the
  2415.      condition of  the modulator/demodulator in  a modem. In this  case, two
  2416.      characters are alternated; the   or A5  hex and the letter Z or 5A hex.
  2417.      The modem sees these data bits  1010 (A) 0101(5) 0101 (5) 1010 (A).
  2418.  
  2419.      Additionally, Modem  Doctor  stresses the  first  few data  packets  by
  2420.      sending the sequence  5A A5 5A A5 5A  A5 A5 5A 5A A5 A5  5A A5 5A. Many
  2421.      times,   initial packets  of data  are garbled  (beginning of  a line).
  2422.      Again, if  you    have a  failure,  this  may  be the  source  of  your
  2423.      intermittent line noise.
  2424.  
  2425.      The analog burst tests in the registered version work in the identical
  2426.      manner, except no modulation from a modem is used. This enables you to
  2427.      test the shift registers and serial/parallel decoder features of your
  2428.      serial port.
  2429.  
  2430.      4.4 Loopback Tests     
  2431.      -------------------      
  2432.      The loopback tests were designed for two purposes. First, to test an
  2433.      RS-232  loop  including  cables that  are  properly  terminated  with a
  2434.      loopback plug,  and second, to run a digital  loopback test on 8250 and
  2435.      100% compatible uarts.  Additionally, the analog  portion of this  test
  2436.      can be used to test a  dumb modem that does not generate a  CD (carrier
  2437.      detect)  signal  when the  AL  switch  is thrown  on  the  front panel.
  2438.      Selecting loopback and pressing return fetches this menu;      
  2439.  
  2440.  
  2441.      ╔[  Loopback Tests  ]═══════════╗
  2442.      ║ Analog Loopback using a PLUG  ║ +<- test Uart & Cables
  2443.      ║ Digital Loopback 8250 UARTS   ║ +<- Uart test only
  2444.      ║ Burst Mode Self-Test          ║ +<- New, Sends data in a burst
  2445.      ║ Burst Signature Test          ║ +<- New, Sends Burst signature data
  2446.      ║ Burst Alt Data Test           ║ +<- New, Sends alternate burst data
  2447.      ║ Loopback Plug Technical Data  ║ +<- How to build a
  2448.      ║ Help with Loopback Tests      ║     loopback plug
  2449.      ║     Return To Main Menu       ║
  2450.      ╚═══════════════════════════════╝
  2451.                                        +registered version only
  2452.  
  2453.  
  2454.                                      Page 41
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2468.  
  2469.  
  2470.      Analog loopback tests require that you attach a Loopback plug either to
  2471.      the back of the Comm port connector on your computer, or at the end  of
  2472.      a  RS-232 Cable. This test is designed for external modems, however you
  2473.      could run this on an internal modem as  a test of the command channel's
  2474.      ability     to receive characters.  Caution should be used  on internal
  2475.      modems,  for  some will  fail  this  test. If  this  happens,  don't be
  2476.      concerned. However  this test should  NEVER fail with a  loopback plug,
  2477.      unless  you  were trying  to  drive  the  line at  an  excessive  rate.
  2478.      Remember, the  faster the data rate,  the shorter the  lines should be,
  2479.      and  the faster the  computer should be  to handle it.  With a loopback
  2480.      plug on  the back of the  serial port, speeds  of 56000 bps  should run
  2481.      fine even  on a slower PC (as long as it is not multi- tasking). If you
  2482.      experience  problems  at 56000  but  not at  19200,   chances  are your
  2483.      hardware is  fine (if you  are using an  8250-B). In extensive  testing
  2484.      with PC's at 4.77 mhz, the original 8250-B performed flawlessly at
  2485.      56000 bps.  Dumb modems can use this test  also (as explained above and
  2486.      in the section carrier tests).  Digital loopback tests require that you
  2487.      have    an  8250-B,  8250A,16450,  16550,    16550A(x)  or  other  100%
  2488.      compatible uart in your system. These uart's have built-in diagnostics.
  2489.      If you are  using a  PC compatible  internal modem or  a PC  compatible
  2490.      serial card, then you will definitely have a compatible uart installed.
  2491.  
  2492.      There is  a design difference  between the 8250-B and  other compatible
  2493.      chips in this series. Some of the differences were explained above, but
  2494.      the important difference for the loopback test is the way the different
  2495.      uarts will  respond.   The 8250-B  allowed its  OUT2  signal to  become
  2496.      active  during  loopback  testing.  The  OUT2  signal  is  used  by  PC
  2497.      compatible  machines to  gate the  interrupt signal  off of  the serial
  2498.      board  (or internal modem). Later designs (8250A, 16450, 16550,16550AN)
  2499.      tri-stated this line.  As a result, the self-test  diagnostics will not
  2500.      allow the interrupt signal to gate off the board and interrupt the CPU.
  2501.      This would cause all  digital loopback tests on these improved chips to
  2502.      fail. The Modem Doctor handles this by a brute-force read of the uarts.
  2503.      By sampling the Interrupt ID register, the presence  of an interrupt is
  2504.      detected, then the receiver buffer register is read. This method is not
  2505.      as  efficient as  a  true interrupt-driven  test  would be,  but  it is
  2506.      accurate. The Uart does generate the ID for an interrupt, the character
  2507.      is pulled out of the  uart. In version 4.0,  the speed of this  routine
  2508.      was significantly  enhanced so that  it runs approximately at  the same
  2509.      speed as a true interrupt driven 8250-B.
  2510.  
  2511.  
  2512.  
  2513.  
  2514.                                      Page 42
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2528.  
  2529.  
  2530.  
  2531.      When running this test on an 8250-B, you will see the true speed of the
  2532.      interrupt handling and processing. On others, you  will see the
  2533.      brute-force method.  Each is an accurate test of  the uart and valid at
  2534.      any baud rate  selected. If this test does not run,  but yet the analog
  2535.      test and all other  tests  run fine,  it means that  you do not have  a
  2536.      compatible uart   installed.   Some uarts  that are  not 8250's  have a
  2537.      problem entering this  mode properly.  If  the test does not  start, do
  2538.      not be alarmed,  because  only 8250 and true compatibles will pass this
  2539.      test. However this  test will NEVER start  and then fail unless  you do
  2540.      have a  hardware problem. You  should never  pick up a  character error
  2541.      using this test. If  you do, you  have a bad uart  or  CPU  motherboard
  2542.      problem. Both tests open up windows (like the analog test) and send and
  2543.      receive characters  to the  uart. If you  wish to know  how to  build a
  2544.      loopback  plug,  select  the  Loopback  Plug  technical  data  section.
  2545.      Pressing ESCAPE or  the left/right arrows is  the same as Option  4 and
  2546.      returns you to the main menu.  
  2547.            
  2548.      4.41 Loopback Test Error messages         
  2549.      ---------------------------------           
  2550.      Essentially  the error  messages for  these  tests are  simple. In  the
  2551.      loopback test mode,  if a character is received  incorrectly, the error
  2552.      counter is advanced and a report is issued at the end. If the analog or
  2553.      digital tests fail to receive or transmit characters, the messages will
  2554.      explain that  either the transmit  queue, the receive queue  failed, or
  2555.      that the uart  did not respond  to the tests.  The last message  may be
  2556.      displayed if you have a non-compatible uart. If the uart fails to setup
  2557.      properly for the digital loopback  test (does not program its registers
  2558.      properly), a warning is      displayed that there is an error in one of
  2559.      the  registers. The  message will  explain  what is  wrong and  what it
  2560.      expects.  Also, if you are using the wrong IRQ line for your comm port,
  2561.      you will receive an  IRQ failure error. See the warning message section
  2562.      for more details.                    
  2563.  
  2564.      4.42 Burst Mode Tests
  2565.      ----------------------
  2566.      Like the  Carrier mode,  Burst Mode  tests have  been  included in  the
  2567.      Loopback   tests.  Unlike  the regular  analog  loopback  tests  (which
  2568.      transmit  1 character  at  a time  and  wait for  the  character to  be
  2569.      received), the Burst Mode tests  send all characters at once,  and then
  2570.      clock how long  it takes for these   characters to be  received. Please
  2571.      refer section 4.38  for a description of these tests. Used with a Uart,
  2572.      these burst  mode diagnostics are used to test  serial ports and do not
  2573.  
  2574.                                      Page 43
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2588.  
  2589.  
  2590.      use any modem  modulation techniques. However, burst tests  will detect
  2591.      bad buffer chips or serializes in a uart just as it detected modulation
  2592.      problems in  a modem.  As with  the  carrier mode  tests, Modem  Doctor
  2593.      calculates the system throughput and displays it in this manner;
  2594.  
  2595.      --------------------------------------------------------------------
  2596.       16550A TR14 TX Time = 1.21sec   210 cps RX Time = 1.00sec   255 cps
  2597.      --------------------------------------------------------------------
  2598.      Between  the windows  (sent  to and  received from  modem),Modem Doctor
  2599.      calculated  the send  and return  time  and approximate  characters per
  2600.      second. Also, since this  particular test was run on a  computer with a
  2601.      16550AFN  uart, Modem  Doctor also  displays the  buffer trigger  level
  2602.      (14). A 16550AFN  uart  will  usually return characters  faster than  a
  2603.      regular  uart. Transmit times   however depend on  the type of computer
  2604.      more  than the  type of uart.   Faster  machines can send  data faster.
  2605.      After the test runs, you will see this window;
  2606.  
  2607.                 ╒[  Burst Test ]══════════════════════════════════════════╕
  2608.                 │ The results of the burst mode data tests shows that     │
  2609.                 │ approximately 465 characters per second can be safely   │
  2610.                 │ moved between modem and uart without handshaking        │
  2611.                 │                                                         │
  2612.                 │ You do not need any handshaking at this DTE speed       │
  2613.                 │               Press Any Key to Continue                 │
  2614.                 │                                                         │
  2615.                 └─────────────────────────────────────────────────────────┘
  2616.  
  2617.      This  value is  calculated by  adding  the receive  and transmit  times
  2618.      together. If  Modem Doctor calculates  the round trip  time to  be more
  2619.      than it should be  at the chosen baud  rate, you will see  this message
  2620.      instead;
  2621.  
  2622.                 ╒[  Burst Test ]══════════════════════════════════════════╕
  2623.                 │ The results of the burst mode data tests shows that     │
  2624.                 │ approximately  210 characters per second can be safely  │
  2625.                 │ moved between modem and uart without handshaking        │
  2626.                 │                                                         │
  2627.                 │ You will need some sort of handshaking at this speed    │
  2628.                 │               Press Any Key to Continue                 │
  2629.                 │                                                         │
  2630.                 └─────────────────────────────────────────────────────────┘
  2631.  
  2632.  
  2633.  
  2634.                                      Page 44
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2648.  
  2649.  
  2650.  
  2651.      4.5 Options Mode
  2652.      ---------------------              
  2653.  
  2654.        ╔[  User Options Selection  ]╗
  2655.        ║ Interactive Terminal Mode  ║  <- A Built-in mini-terminal 
  2656.        ║ View FAX Mode Settings     ║  <- New, List Current Fax settings
  2657.        ║ View Current Statistics    ║  <- Status of all tests
  2658.        ║ Reset Current Statistics   ║  <- Reset all tests to 0 
  2659.        ║ Print Current Statistics   ║  <- Send results to printer
  2660.        ║ Generate MDRD Windows file ║  <- Generates a special Windows file
  2661.        ║ Help with these options    ║
  2662.        ║    Return to main menu     ║
  2663.        ╚════════════════════════════╝
  2664.  
  2665.      The options mode allows you access to the built-in 16k communications
  2666.      terminal (Interactive Mode), and the report generator features. 
  2667.  
  2668.      4.51 Interactive Mode
  2669.      ----------------------
  2670.      As well written as  the Modem Doctor is,  there exists the  possibility
  2671.      that a modem or a system might not be compatible with  the diagnostics.
  2672.      The manual section allows  you to send your own string  commands to the
  2673.      modem,  read  back   data,  and  in  fact  you  could  use  this  as  a
  2674.      mini-communications program.   If you select this mode,  a window opens
  2675.      with  the  banner  Interactive  Mode.  At the  Bottom  are  listed  the
  2676.      "Hot-Keys" you can use;
  2677.  
  2678.            ALT-B   This opens a window for you to change the baud rate.     
  2679.                Note: if you are on-line with a service this might cause an  
  2680.                error between the computer and the modem. Off-line conditions
  2681.                should work properly. 
  2682.               
  2683.            ALT-C   Clears the screen. This only clears the window of data,
  2684.                and leaves all your prompts.   
  2685.  
  2686.            ALT-N   Add Nulls, this is new with Modem Doctor 5.0, and can be
  2687.                used to determine if your display adapter is causing
  2688.                "Interrupt Latency".
  2689.               
  2690.            ALT-R   This displays the Uart registers...handy for real-time   
  2691.                troubleshooting of RS-232 loops.      
  2692.          
  2693.  
  2694.                                      Page 45
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2708.  
  2709.  
  2710.           
  2711.            ALT-H   Help..this displays the basic AT Command set instructions
  2712.                that  you could use to control your modem. Note that this is
  2713.                only a basic set. Some modems have many extensions to this,
  2714.                so for advanced work, consult your owners manual.      
  2715.               
  2716.            ALT-X   Exits the interactive mode and returns to the main menu. 
  2717.        
  2718.  
  2719.      4.51A Testing for Interrupt Latency
  2720.      -----------------------------------
  2721.      Interrupt Latency is caused by  a hardware device (usually a hard  disk
  2722.      or a   video display adapter) taking longer  to process a function that
  2723.      the time it   takes to receive  a character over your  modem. Normally,
  2724.      interrupt latency is  not a  problem until you use DTE/DCE speeds  over
  2725.      19200bps. With today's high- speed  modems, its not uncommon for people
  2726.      to be running speeds of 38400 or   57600bps between computer and modem.
  2727.      Older display adapter, most notably  early EGA's  with "Auto-detection"
  2728.      circuitry, cause  interrupt  latency. The    symptoms will  range  from
  2729.      loosing characters occasionally  to excessive errors   when downloading
  2730.      files. 
  2731.  
  2732.      There is  no  real test  for  interrupt latency,  because such  a  wide
  2733.      variety of  situations  can cause it. The  only "cure" is to acquire  a
  2734.      faster display  adapter or  a 16550AFN uart. Now,  there is a way  that
  2735.      you can use Modem Doctor to verify such an error is happening, and that
  2736.      is by using ALT-N. When you add  nulls, you are telling Modem Doctor to
  2737.      wait a bit longer inside of a routine that talks to your video adapter,
  2738.      looking  for more  interrupts before  exiting the  display  routine. If
  2739.      adding nulls improves the error  rate that you see characters displayed
  2740.      (while on-line via the Interactive mode to a BBS), then you know you do
  2741.      indeed  have an  interrupt latency problem.  There are  two "short-cut"
  2742.      keys associated with  ALT-N, and they are ALT+ and  ALT-. ALT-N prompts
  2743.      you for a number, while ALT+ adds 1 to that number, and ALT-  subtracts
  2744.      1 from that number.
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.                                      Page 46
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2768.  
  2769.  
  2770.  
  2771.      4.51B View Fax Mode Settings
  2772.      ----------------------------
  2773.  
  2774.      If you have a fax modem, Modem Doctor will give you more detailed  info
  2775.      on its features than the setup menu initially displayed.
  2776.  
  2777.      ╒[ Fax Modem Information]═══════════════════════════════════════╕
  2778.      │ Current Fax Class       : 0                                   │
  2779.      │ Permissible Fax Classes : 0,2,8                               │ 
  2780.      │ DCE Model Information   : U1496E  V 6.01 M                    │
  2781.      │ DCE Manufacturer        : ZyXEL                               │
  2782.      │ DCE Revision Number     : U1496E  V 6.01 M                    │
  2783.      │ Auto Answer Mode        : DCE answers/auto-determines         │
  2784.      │                     Press Any Key To Continue                 │
  2785.      └───────────────────────────────────────────────────────────────┘
  2786.  
  2787.      If your modem  is a Class 1, none of this  information can be displayed
  2788.      since the modem lacks the ability to accept T.30 commands. However,  if
  2789.      you  do have a Class 2 or higher  modem (as most are), you will see the
  2790.      display above. This information, especially Permissible class faxes and
  2791.      Auto Answer mode are important for some fax software.
  2792.  
  2793.  
  2794.      4.52 View Current Statistics
  2795.      ----------------------------
  2796.      Whenever you  log-in a comm  port for  testing, the Modem  Doctor keeps
  2797.      tabs  on how many tests were run, the  baud rates that were tested, and
  2798.      how many errors you accumulated. You can view these statistics by using
  2799.      this selection. These results are  also displayed whenever you quit the
  2800.      Modem Doctor.
  2801.  
  2802.      4.53 Print Current Statistics
  2803.      -----------------------------
  2804.      If you wish a hard-copy of your  test results, just select this option.
  2805.      You will  be able to  send this to  any one  of the printers  the modem
  2806.      doctor finds available or to a file called MDR.RPT.
  2807.  
  2808.      4.54 Reset Current Statistics
  2809.      -----------------------------
  2810.      Use this mode to reset all test results back to zero at any time.     
  2811.  
  2812.  
  2813.  
  2814.                                      Page 47
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2828.  
  2829.  
  2830.  
  2831.      4.55 Generate MDRD Windows File
  2832.      -------------------------------
  2833.      Windows  introduces a  layer between  your  communication hardware  and
  2834.      software.  This layer  is  managed  by a  special  driver. The  default
  2835.      Windows  driver, Comm.drv, needs  information contained in  two special
  2836.      Windows  files, system.ini and  win.ini. Unfortunately, Windows  has no
  2837.      way to check if this information is valid or not.
  2838.  
  2839.      When you select this  feature, Modem Doctor Ver 7.0 generates a special
  2840.      .INI type file that declares all of the communication hardware settings
  2841.      using Windows-style variables. The file takes the following format;
  2842.  
  2843.      [mdrd]            ; a section applet for Windows
  2844.  
  2845.      Com1Base=03F8     ; Com1's base address is 03F8 hex
  2846.      Com1Irq=4         ; Com1's IRQ is IRQ4
  2847.      Com1FIFO=0        ; Com1 has a 8250/16450 uart installed
  2848.      Com2Base=02F8     ; Com2's base address is 02F8 hex
  2849.      Com2Irq=3         ; Com2's IRQ is IRQ3
  2850.      Com2FIFO=1        ; Com2 has a 16550AFN Buffered Uart installed
  2851.      Com4Base=02E8     ; Com4's base address is 02E8 hex
  2852.      Com4Irq=3         ; Com4's IRQ is IRQ3
  2853.      Com4FIFO=0        ; Com4 has a 8250/16450 uart installed
  2854.  
  2855.      Notice  there is  no readings  for  Com3. Modem  Doctor  will only  log
  2856.      hardware it was able to  identify. Also, unlike Windows, Modem Doctor's
  2857.      MDRD.INI  file   contains  VERIFIED   information  from   the  hardware
  2858.      diagnostics. You can now use this information in two ways; First, print
  2859.      it out and  compare it to the  contents of your system.ini  and win.ini
  2860.      files. Second, you  can use Modem Doctor  for Windows to do  a side-by-
  2861.      side comparison of your Windows settings and Modem Doctor for Dos 7.0's
  2862.      findings.  You can  then use  the built-in  .INI file  editor in  Modem
  2863.      Doctor  for Windows to  make your corrections.  Troubleshooting Windows
  2864.      communication problems are now easier than ever before. For information
  2865.      about Modem Doctor for Windows,  see the section entitled "Modem Doctor
  2866.      for Windows" in this document.
  2867.  
  2868.      The file  created, MDRD.INI  is placed in  your default  directory (the
  2869.      current directory  you are using  with Modem Doctor  7.0. In  order for
  2870.      Modem Doctor for  Windows to use  this file, you  must copy it to  your
  2871.      Windows  subdirectory (the directory  that contains you  Windows files,
  2872.      usually C:\WINDOWS.
  2873.  
  2874.                                      Page 48
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2888.  
  2889.  
  2890.      4.6 Setup Mode     
  2891.      --------------      
  2892.      The setup  mode consists  of 2  sections.  The first,  the setup  modem
  2893.      section was  covered above.  Use this to  change the serial  port under
  2894.      test, the baud rate, and the type of test to be run.        
  2895.  
  2896.      The  second section allows  you to select  the colors that  you wish to
  2897.      work with while using the Modem Doctor. You can select default colors,
  2898.      Monochrome (black and white), or create your own custom colors.
  2899.  
  2900.      If you are using a color monitor, you can use window selections to pick
  2901.      the colors you  like and optionally save  them to a file  (MDR.CFG). If
  2902.      you  save them, then as long as this file exists, the Modem Doctor will
  2903.      use those colors  in place of the  default ones. To return  to default,
  2904.      either erase the  MDR.CFG file, or select default colors and save it to
  2905.      disk. When  you enter the color  selection mode, you will  be presented
  2906.      with three different  windows that will allow  you to make legal  color
  2907.      selections.
  2908.  
  2909.      [ Mdr Color Selection Screen ]
  2910.      Select from this menu the color of normal window and error backgrounds
  2911.      Background
  2912.      Black 
  2913.      Blue  
  2914.      Green 
  2915.      Cyan 
  2916.      Red 
  2917.      Magenta 
  2918.      Brown 
  2919.      Gray 
  2920.  
  2921.      Select from this  menu the  color of all  window foregrounds &  sliding
  2922.      bars
  2923.      foreground colors;
  2924.      Darkgray 
  2925.      Lightblue 
  2926.      Lightgreen 
  2927.      Lightcyan 
  2928.      Lightred 
  2929.      Lightmagenta
  2930.      Yellow 
  2931.      White 
  2932.  
  2933.  
  2934.                                      Page 49
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  2948.  
  2949.  
  2950.      If  you select two  colors the same (or  different intensities that are
  2951.      the same), the Modem Doctor will tell you your selections  are invalid.
  2952.      After you have made your choices,  you will be presented with a  window
  2953.      that allows you to save your choices to a file, use the choices without
  2954.      saving  or reselect.  If you  save them to  a file,  a file  MDR.CFG is
  2955.      created or  updated. When Modem Doctor loads the next time, it will use
  2956.      these colors again.
  2957.  
  2958.  
  2959.      4.7 Exit Program     
  2960.      ----------------     
  2961.      This is  the  only way  to exit  the Modem  Doctor.  This is  necessary
  2962.      because  the  interrupt tables  and  controllers  of  your PC  must  be
  2963.      returned to their original  state in order to avoid  problems after you
  2964.      use the Modem  Doctor.  Pressing Control-C or  Control-Break during the
  2965.      Modem  Doctor will cause  one of two  things to happen.  First, it will
  2966.      ignore what you  have done if  it is critical that  the program not  be
  2967.      interrupted,  or second,  if  it is  at  all possible  to exit  without
  2968.      damage, a window will open telling you that you can Control-Break abort
  2969.      if you wish..answer yes or  no. You can Control-Break during  all tests
  2970.      and at times from menus. If you choose to quit, the Modem Doctor cleans
  2971.      things up properly  and exits to Dos.  Please remember this is  just an
  2972.      emergency way of  doing an exit. Use the  Exit function from   the main
  2973.      menu as the correct way to end the program.
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.                                      Page 50
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3008.  
  3009.  
  3010.  
  3011.      5.0 Error Messages and their Meanings     
  3012.      -------------------------------------     
  3013.      The Modem Doctor, if presented with an error, will make a  diagnosis of
  3014.      the problem. In most cases, this should be enough for you to figure out
  3015.      what is wrong and go on from there to correct it.      
  3016.               
  3017.      General Program Errors or Warnings
  3018.      ----------------------------------
  3019.      1)   ABORT PROGRAM Control Break Key pressed..Aborting Program Run. 
  3020.           Do you wish to abort? [Y/N] : 
  3021.           - This means you have pressed the Control Break Key sometime
  3022.           during the program run. The Modem Doctor, unlike most programs,
  3023.           does not drop to dos with a Control-Break without cleaning up
  3024.           after itself. Answering Yes will clean up and stop the program.
  3025.           Answering no keeps the program running at the spot you left off
  3026.           at.
  3027.  
  3028.           If you answer Yes, you will see this message;
  3029.           Flushing Buffers.......Restoring Comm Port and Interrupt Vectors
  3030.           Program Aborted..all vectors restore.
  3031.  
  3032.      2)   You Must SETUP a COMM PORT first....Press any key to continue 
  3033.           - If you do not select at least 1 comm port when the program first
  3034.           starts running, you cannot run any tests. This message explains
  3035.           why.
  3036.  
  3037.      3)   Exchanging COM1 and COM2 Base Addresses in Memory
  3038.           COM1 Address was    %x   COM2 Address was    %x
  3039.           COM1 Address now is %x   COM2 Address now is %x
  3040.           Run MDR /X again to exchange again, these changes are gone when
  3041.           you reboot!
  3042.           - This messages is displayed when Modem Doctor is run in the
  3043.           exchange mode (MDR /x).
  3044.  
  3045.      4)   Sorry...but I cant find a modem to use... Use Login Feature to
  3046.           Manually Log in a comm port.
  3047.           - The Modem Doctor needs at least 1 comm port installed at a
  3048.           conventional port address to run. If none are available, you have
  3049.           to use the manual login mode to start testing. You should never
  3050.           see this  error message with a computer unless it has no serial
  3051.           ports whatsoever.
  3052.  
  3053.  
  3054.                                      Page 51
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3068.  
  3069.  
  3070.      5)   Resetting modem to your default settings...please wait
  3071.           - Whenever you exit Modem Doctor and a microprocessor-based modem
  3072.           was detected, it will clean up after itself and restore your modem
  3073.           to initial settings. Uart only tests do not display this message.
  3074.  
  3075.      6)   Your foreground color equals  background..please retry
  3076.      7)   Your foreground low intensity equals background, please retry
  3077.           - These messages are displayed when you make color selection
  3078.           choices that would not be proper for the type of display monitor
  3079.           you are using.
  3080.  
  3081.      8)   Warning..I could not create the MDR.CFG file. No colors saved to
  3082.           disk.
  3083.           - Modem Doctor could not save the file to disk, perhaps there is
  3084.           no more space on the disk or the disk is write-protected.
  3085.  
  3086.      9)   Warning..I could not read the MDR.CFG file. No colors read to disk
  3087.           - You asked Modem Doctor to load the color configuration, however
  3088.           there was none found on your disk or in the current working
  3089.           directory.
  3090.  
  3091.      Setup Mode Diagnostics
  3092.      -----------------------
  3093.      1)   No Response...resetting modem microprocessor ...attempt #%d
  3094.           - The Modem Doctor tried sending a simple AT command to your modem
  3095.           but it did not respond with a valid answer.
  3096.  
  3097.      2)   Modem microprocessor command mode not detected
  3098.           - The Modem did not respond to a valid, simple AT command either
  3099.           because it is on-line, jammed, or not completely compatible.
  3100.  
  3101.      3)   Modem microprocessor command bus active
  3102.           - The Modem Doctor received a correct response from the modem and
  3103.           placed it into the command mode.
  3104.  
  3105.      4)   Software reset initiated
  3106.           - A software reset clears all test registers and resets the modem.
  3107.  
  3108.      5)   Modem microprocessor memory tests OK
  3109.           - The Modem Doctor instructed your modem to run a self-test of its
  3110.           RAM/ROM contents. It responded successfully.
  3111.  
  3112.  
  3113.  
  3114.                                      Page 52
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3128.  
  3129.  
  3130.  
  3131.      6)   Modem microprocessor memory may have a problem
  3132.           - The Modem Doctor instructed your modem to run a self-test of its
  3133.           RAM/ROM contents and did not receive the proper response. Your
  3134.           modem may or may not have a problem depending on the results of
  3135.           all the rest of the testing. If all other tests are ok, chances
  3136.           are your modem might have a memory problem. If other tests fail,
  3137.           it could be because your modem is not completely compatible.
  3138.  
  3139.      7)   Modem ID reports a 1200 bps modem installed
  3140.           Modem ID reports a 2400 bps modem installed
  3141.           Modem reports a 9600+ bps modem installed
  3142.           Modem reports a 9600 /1440 bps modem installed
  3143.           - All of these messages are based on receiving correct product
  3144.           codes from your modem. Some modem manufacturers however do not
  3145.           place valid product codes in their modems, so it is possible that
  3146.           you might see the Modem Doctor give you the incorrect type of
  3147.           modem. This does not affect testing, however it does affect the
  3148.           type of Modem Driver that is automatically selected. You can
  3149.           override automatic selections from the Carrier Menu by selecting
  3150.           the proper driver for your modem.
  3151.  
  3152.      8)   No modem ID received...using Generic driver
  3153.           - No product code was received, so defaults are being used.
  3154.  
  3155.      9)   Modem microprocessor accepts setup commands
  3156.           Modem microprocessor did not accept setup commands
  3157.           - The Modem Doctor sends setup commands for all of its tests to
  3158.           your modem. If they were not received properly, you get an error
  3159.           message.
  3160.  
  3161.      10)  An 8250-B Uart has been detected
  3162.           A 16450 / 8250A Uart has been detected
  3163.           A 16550AN/AF/AFN Buffered Uart has been detected
  3164.           A 16550 Non-buffered Uart has been detected
  3165.           - The Modem Doctor programs uarts differently depending on the
  3166.           type and the test running. This will tell you what type of uart
  3167.           chip you have installed in your serial port.
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.                                      Page 53
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3188.  
  3189.  
  3190.  
  3191.      11)  Modem Control Register reading show that either the LOOP, OUT2,
  3192.           DTR, RTS did not set properly to test. OUT2 and DTR are essential
  3193.           for proper-functioning communications. LOOP is necessary for the
  3194.           digital test to run.
  3195.           -Either the Modem Control Register is bad, or their is a problem
  3196.           with the serial port or modem.
  3197.  
  3198.      12)  Modem Status Register readings show that there is no status coming
  3199.           back from the modem to the Uart. Neither RTS/CTS or DTR/DSR Pairs
  3200.           are active. Most comm programs can work without RTS/CTS, but
  3201.           DTR/DSR are needed by most. RTS/CTS are needed by most hi-speed
  3202.           modems for handshaking.
  3203.           -Your external cable may be wired wrong, or if this is an external
  3204.           modem, check that the cable is plugged in and that the modem is
  3205.           turned on.
  3206.  
  3207.      13)  Line Control Register readings show that the word length selected
  3208.           is incorrect or you have a parity error. WS1 and WS0 should both
  3209.           be on indicating that 8 bit words are to be used. All other
  3210.           readings should be low. Parity errors could happen once but not
  3211.           every time. 
  3212.           -If either persists, then the Uart is defective or communications
  3213.           to the Uart are suspect.
  3214.  
  3215.      14)  Line Status Register readings show a problem. The Tx Holding
  3216.           register THE and the Tx Shift register TSE should be the only
  3217.           active signals. No other signals should be active. If either TSE
  3218.           or THE are not active then the Uart is not resetting properly.
  3219.           Uart is suspect. If any other signal is high, and TSE/THE are both
  3220.           active, then you have a data overrun or framing error. 
  3221.           -If this repeats, you should then suspect the Uart or connections
  3222.           to the Uart from the computer.
  3223.  
  3224.      15)  Modem Control Register readings show that either DTR,RTS or OT2
  3225.           signals are not set properly. DTR & RTS are needed by most comm
  3226.           programs. OT2 is essential for interrupts to occur. 
  3227.           - Uart is suspect or the interface to the Uart from the computer
  3228.            bus.
  3229.  
  3230.      16)  Interrupt ID Register readings show that an interrupt is pending
  3231.           when none should be. This can be caused by a modem being turned on
  3232.           and off as testing was conducted or if data was waiting to be read
  3233.  
  3234.                                      Page 54
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3248.  
  3249.  
  3250.           by a prior  running application, or you are not using the correct
  3251.           IRQ line.
  3252.            -If this does not clear when you display the registers again,
  3253.            then the Uart is suspect or connections to the Uart from the
  3254.            computer, or you are using the wrong IRQ line for this comm port
  3255.            assignment.
  3256.  
  3257.      17)  Interrupt Enable Register readings show that ERI Enable Receiver
  3258.           ints is not set properly. As a result, you might not get proper
  3259.           recognition of any interrupts being generated when a character is
  3260.           received. 
  3261.           -Suspect the Uart or connections to the Uart from the computer
  3262.           bus.
  3263.  
  3264.      18)  Interrupt Controller has not responded to setting the IRQ4 line.
  3265.           This problem is on the system board of your computer. Run your
  3266.           computer diagnostics program to locate the error.
  3267.           -Normally IRQ4 is used for COM1 you might have a usage conflict.
  3268.  
  3269.      19)  Interrupt Controller has not responded to setting the IRQ3 line.
  3270.           This problem is on the system board of your computer. Run your
  3271.           computer diagnostics program to locate the error.
  3272.           -Normally IRQ3 is used by COM2 you might have a usage conflict.
  3273.  
  3274.      20)  Interrupt Controller has not responded to setting the IRQ7 line.
  3275.           This problem is on the system board of your computer. Run your
  3276.           computer diagnostics program to locate the error.
  3277.           -Normally IRQ7 is used by the printer you might have a usage
  3278.           conflict.
  3279.  
  3280.      21)  Interrupt Controller has not responded to setting the IRQ5 line.
  3281.           This problem is on the system board of your computer. Run your
  3282.           computer diagnostics program to locate the error.
  3283.           -Normally IRQ5 is used by the Hard Drive Controller you might have
  3284.           a usage conflict.
  3285.  
  3286.      22)  WARNING...This COMM PORT MODEM STATUS & ID REGISTERS ARE DEFECTIVE
  3287.           - This is a severe error. It means that one or more of the uart
  3288.           registers are defective. This could also be caused by logging in a
  3289.           non-existent comm port in the manual mode. You should never
  3290.           see this message displayed in an auto-detected mode unless your
  3291.           uart is definitely defective.
  3292.  
  3293.  
  3294.                                      Page 55
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3308.  
  3309.  
  3310.      Uart diagnostics
  3311.      -----------------
  3312.      1)   Confirmed Uart setup to proper baud rate
  3313.           - The uart Dlab (divisor latch) settings are polled to make sure
  3314.           they match what the Modem Doctor intended. If not, you see the
  3315.            following displayed;
  3316.           ERROR..Uart did not set to desired baud rate
  3317.           (you should not see this message unless the divisor latch in your
  3318.           uart is defective).
  3319.  
  3320.      2)   Trying a hardware reset of the modem microprocessor
  3321.           - None of the attention commands or soft-resets to the modem have
  3322.           worked to place the modem microprocessor on-line. A hardware reset
  3323.           simulates turning the power on and off to the modem and uart.
  3324.  
  3325.      3)   WARNING...This unit does not have a compatible modem attached
  3326.           - After many tests and hardware/software resets, the Modem Doctor
  3327.           finally deduces it cannot work with this modem because it is not
  3328.           compatible. If you have a compatible modem, then you might have
  3329.           selected the wrong baud rate to work with, or you forgot to turn
  3330.           the external modem on. If there is a hardware problem, the next
  3331.           screen you will receive will be the uart diagnostics pointing out
  3332.           the problem. 
  3333.  
  3334.      4)   Modem microprocessor ON-LINE
  3335.           - The Modem Doctor successfully communicated to the modem
  3336.           microprocessor.
  3337.  
  3338.      5)   Testing Uart hardware only
  3339.           - You are running uart-only tests.
  3340.  
  3341.      6)   WARNING...The Modem Device appears to be off or not connected
  3342.           - No status is being received from the modem indicating it is on.
  3343.           If it is on, you might have a bad cable. If you are testing a uart
  3344.           that is hooked up to a serial mouse, then you will always see this
  3345.           message displayed, for a serial mouse does not use traditional
  3346.           uart status.
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.                                      Page 56
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3368.  
  3369.  
  3370.  
  3371.      Report Generator Messages
  3372.      --------------------------
  3373.  
  3374.      1)   You selected to clear the report stats.This means that any errors
  3375.           found will not be reported in a final report format. 
  3376.           Are you sure [Y/N]: ? 
  3377.           - All report statistics will be cleared if you respond Yes.
  3378.  
  3379.      2)   Send to file MDR.RPT 
  3380.           Send to printer LPT1:
  3381.           Send to printer LPT2:
  3382.           Send to printer LPT3:
  3383.           Do not Print /Return
  3384.           - The printed form of your report can be sent to any one of 3 dos
  3385.           printers (if the Modem Doctor detects they are installed) or to a
  3386.           file called MDR.RPT.
  3387.           
  3388.      3)   Print Buffer full or Printer off-line
  3389.           - If the Modem Doctor cannot communicate with the printer, it is
  3390.           either receiving a busy signal from the printer (which clears when
  3391.           the busy signal is lifted) or the printer is off-line.
  3392.  
  3393.      Static DTR/DSR   RTS/CTS  Handshaking tests
  3394.      -------------------------------------------
  3395.  
  3396.      1)   Lowering DTR Signal..waiting for DSR to follow
  3397.           DSR did not follow DTR dropping or is set as a permanent ON
  3398.           DSR followed DTR drop...normal for all devices
  3399.           DSR did not follow DTR raising..possible cable or modem setup
  3400.           problem
  3401.           DSR followed DTR raise or is set as a permanent ON
  3402.           - The DTR/DSR tests work by lowering the DTR (Data terminal ready)
  3403.           signal from the computer to the modem. If the modem uses this type
  3404.           of handshaking, it should respond by lowering its signal that is
  3405.           picked up in the uart modem status register as a DSR (Data set
  3406.           ready) signal. If not, then either the modem is not set up
  3407.           properly according to standard handshaking protocol or you have a
  3408.           bad cable. Please note, a failure to follow DTR/DSR handshaking
  3409.           might keep some communication programs from working with your
  3410.           modem. If you get an error, consult your modem manual or have the
  3411.           Modem Doctor test your cable to an external modem with a loopback
  3412.           plug.
  3413.  
  3414.                                      Page 57
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3428.  
  3429.  
  3430.           
  3431.      2)   Lowering RTS signal..waiting for CTS to follow
  3432.           Dropping RTS Signal to modem
  3433.           Modem is using RTS/CTS Handshaking properly
  3434.           Modem is not using RTS/CTS Handshake hold
  3435.           Raising RTS line    
  3436.           CTS did not follow RTS dropping...usually normal for modems
  3437.           CTS followed RTS drop...usually normal for serial devices
  3438.           CTS did not follow RTS raising...you could have a cable problem
  3439.           CTS followed RTS raise or is set as a permanent ON
  3440.           - Like DTR/DSR, RTS/CTS handshaking tests check that if the
  3441.           computer lowers its RTS (Ready to send) line, that the modem
  3442.           responds in kind and that the CTS (Clear to send) status is echoed
  3443.           to the uart modem status register. This signal is not as important
  3444.           as the DTR/DSR, unless you have a high speed modem. In this case
  3445.           RTS/CTS handshaking is critical for proper high-speed transfers.
  3446.  
  3447.      Carrier and Dynamic tests
  3448.      ---------------------------
  3449.      1)   Sending Carrier Test info to modem
  3450.           - Commands to self-connect are beings sent to your modem.
  3451.  
  3452.      2)   T1 Loopback commands sent waiting 5 seconds till start of test
  3453.           - The alternate &T0/&T1 instruction set is being used for self
  3454.           tests.
  3455.  
  3456.      3)   Carrier Detected...waiting 5 seconds to the start of the test
  3457.           - The RLS (Received line signal) went to an active state or the
  3458.           Modem Doctor received the words CONNECT from the modem during
  3459.           self-testing. The 5 second delay is necessary to allow some modems
  3460.           to settle down for proper reception of characters during
  3461.           self-tests.
  3462.  
  3463.      4)   Using &T1 Loopback command set to modem for this test
  3464.           - If you selected the Generic driver and the Modem Doctor failed
  3465.           to connect, it uses this &T0/&T1 instruction set automatically for
  3466.           its testing. 
  3467.  
  3468.      5)   Sending 20 Characters to the modem
  3469.           - All Dynamic DTR/DSR and RTS/CTS tests force the modem to self
  3470.           connect. Next either the DTR or RTS lines are dropped, and 20
  3471.           characters are sent to the modem. If no characters are received
  3472.           back to the computer from the modem, then the Modem Doctor reports
  3473.  
  3474.                                      Page 58
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3488.  
  3489.  
  3490.           that the dynamic handshaking works. If a character is received,
  3491.           then it means that type of dynamic handshaking does not work.
  3492.  
  3493.      6)   Sending Xoff Signal to modem
  3494.           - An ASCII character that tells the modem NOT to send data has
  3495.           been transmitted to the modem for dynamic Xon/Xoff testing.
  3496.  
  3497.      7)   Modem is using Xon/Xoff Handshaking properly
  3498.           - 20 characters were sent to the modem, and it properly did not
  3499.           send anything back to the computer.
  3500.  
  3501.  
  3502.      8)   Modem is not using Xon/Xoff Handshake hold
  3503.           - 20 characters were sent to the modem, but it send them back to
  3504.           the computer, indicating it did not recognize the dynamic Xon/Xoff
  3505.           handshake test. Normally most modems do not need this handshake.
  3506.  
  3507.      9)   Sending Xon Signal to the modem
  3508.           - This restores the modem to proper operation and clears its
  3509.           internal data buffers.
  3510.  
  3511.      10)  Warning...I can't test this modem because there is no RTS/CTS
  3512.           signals. If this is an external modem, you may not have a proper
  3513.           cable or the modem is off. If you have an internal, you might have
  3514.           a port conflict or a configuration switch set improperly.
  3515.           - Most times this message is due to an improperly wired cable or a
  3516.           improper configuration of some modem switches. See your modem
  3517.           manual for setup, or use a loopback plug and the Analog loopback
  3518.           mode to test the cable.
  3519.  
  3520.      11)  Setting up the modem for the Originate Mode Carrier Test..please
  3521.           wait.
  3522.           Setting up the modem for the Answer Mode Carrier Test.....please
  3523.           wait.
  3524.            -Self tests commands are being sent to your modem for the
  3525.             different connect modes and frequencies.
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.                                      Page 59
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3548.  
  3549.  
  3550.  
  3551.      General program warnings
  3552.      ------------------------
  3553.      1)   Note...you hit the Escape Key during testing. This means the
  3554.           results of this test is inconclusive. You should run these tests
  3555.           again without escaping for a valid performance check.
  3556.           - You can press escape during nearly all tests that the Modem
  3557.           Doctor runs (except during crucial communication modes between the
  3558.           modem and computer, in which case as soon as this communication is
  3559.           completed, the Modem Doctor will escape with this warning.
  3560.  
  3561.      2)   INTERRUPT FAILURE Warning
  3562.           Note...No interrupts were detected or generated during testing.
  3563.           This could be due to a failure of your serial port to generate
  3564.           interrupts or you have selected an IRQ line or Comm assignment in
  3565.           error on the serial card or in a custom assignment from the Login
  3566.           menu manual mode. Check your settings and if all is ok, suspect
  3567.           the Uart or serial port card.
  3568.           - This warning can be received anytime that the Modem Doctor tries
  3569.           to talk to a modem or a uart (in analog loopback test). The most
  3570.           common cause of this problem is an incorrect jumper or comm port
  3571.           assignment on your modem or serial port. See the section on IRQ's
  3572.           and their meanings to select the proper IRQ line for your port.
  3573.  
  3574.      3)   Fixed Rate Advisory
  3575.           Note...I had to lower the baud rate to match the connect rate.
  3576.           What this means is that you are using a high speed modem with a
  3577.           fixed link rate in a variable rate mode. You might want to check
  3578.           your DTE/DCE settings in your modem Nram if this is not desired.  
  3579.          - Most high-speed modems keep the link between the computer and
  3580.           the modem running at a fixed rate, while the connection between
  3581.           the modem and the remote modem (bbs or service) operates at
  3582.           another rate. This method allows data compression and greater
  3583.           throughput (characters per second) to be received by the computer.
  3584.           If you have a high-speed modem, check your settings. It is
  3585.           recommended you run in the fixed link rate whenever possible so
  3586.           you can gain all the benefits of data compression with the new
  3587.           data protocols.
  3588.  
  3589.  
  3590.  
  3591.  
  3592.  
  3593.  
  3594.                                      Page 60
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3608.  
  3609.  
  3610.  
  3611.      4)   Failure Report 
  3612.           RLS (Received Line Signal Detect) indicates that a carrier has not
  3613.           been received by the UART. Check modem or connector wiring 
  3614.           - This is an advisory that you might have a cable wired      
  3615.           incorrectly between your computer and external modem or that your
  3616.           modem does not raise the RLS signal. This is only critical if your
  3617.           communication  programs never display the words "ON-LINE".
  3618.  
  3619.      5)   Modem not responding to the Analog originate test
  3620.           - Modem never went into the self-test mode. 
  3621.  
  3622.      6)   Carrier Not Detected..5 Sec Sync Delay till start of Answer test  
  3623.           Modem not responding for Analog answer test
  3624.           - A carrier should have been received by the RLS signal or the
  3625.           words CONNECT from the modem, if not, the &T0/&T1 instructions are
  3626.           sent and the test is performed. If the modem does not respond to
  3627.           this test, then the last message is displayed indicating a problem
  3628.           getting the modem to self-test itself.
  3629.  
  3630.      7)   RLS Warning
  3631.           The Received Line Signal of your modem stayed active throughout
  3632.           the testing. Some modems have a jumper or switch that should be
  3633.           set to carrier is active only when a signal is detected. Check
  3634.           your manual to change this setting so the Modem Doctor and comm
  3635.           programs will work properly. Check your modem to make sure that
  3636.           Carrier isn't forced high 
  3637.  
  3638.      8)   NOTE.Carrier (RLS Line) active, it should not be..test may not be
  3639.           valid.
  3640.           - The RLS signal was always active. This means the Modem Doctor
  3641.           cannot figure out if the modem ever entered the self-test mode.
  3642.           Also, your communications program probably will always display the
  3643.           "ON-LINE" status. Unfortunately, this type of situation is the
  3644.           default setting from the factory of most 2400 bps modems. It can
  3645.           be reprogrammed by a simple setup command. See your modem manual
  3646.           for instructions.
  3647.  
  3648.      9)   SET YOUR MODEM TO ORIGINATE CARRIER FREQUENCY...PRESS TO CONTINUE
  3649.           SET YOUR MODEM TO ANSWER CARRIER FREQUENCY...PRESS TO CONTINUE
  3650.           - Dumb modem tests require you to flip switches on your modem.
  3651.           Usually this is the AL button. After you do this, the Modem Doctor
  3652.           should see a carrier and continue proper testing.
  3653.  
  3654.                                      Page 61
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3668.  
  3669.  
  3670.      10)  Loopback Transmit Error
  3671.           Loopback Queue Failure
  3672.           ESCAPE KEY PRESSED....ABORTING ALL LOOPBACK TESTS
  3673.           UART Control Lines set...waiting 2 seconds for CTS Handshake
  3674.           NO CTS Handshake Detected .Continuing test even though plug/line
  3675.           maybe bad
  3676.           Loopback Queue Failure 
  3677.           UART not responding using Analog Loopback Plug mode
  3678.           No Loopback Plug or General Failure of the Hardware
  3679.           Analog Loopback Test passed without any errors
  3680.           - If the analog loopback did not return characters or generate an
  3681.           interrupt, then the uart may have been tested without a loopback
  3682.           plug attached or there is a failure of the uart. If all was ok, a
  3683.           passed message is displayed.
  3684.  
  3685.      11)  Loopback Transmit Error
  3686.           UART not responding to the Digital Loopback test
  3687.           UART Registers did not set for Loop back test 
  3688.           UART Digital Test passed without any errors
  3689.           - If no characters were received, then either the uart you are
  3690.           working with is not 100% 8250-B compatible or defective. If
  3691.           everything was ok, a passed message is displayed.
  3692.  
  3693.      12)  Warning, Comm Port 1 is using Com Port 2's address.You should
  3694.           reconfigure your Serial Card to the correct Address.
  3695.           Otherwise,Communication programs won't properly operate.
  3696.  
  3697.      13)  Warning, Comm Port 2 is using Com Port 1's address.
  3698.           Do you want me to correct this for testing purposes only? [Y/N]: 
  3699.           - These error messages are received if the Modem Doctor found a
  3700.           Com2 reserved address as Com1, or visa versa. Many PC owners that
  3701.           do not have built-in serial ports make the mistake of assigning a
  3702.           Com2 address without having a Com1 installed. The ROM-BIOS cannot
  3703.           correct this problem or even detect it. The Modem Doctor does and
  3704.           will point out the error to you.
  3705.  
  3706.      14)  Flopping COM1/COM2 pointers in Memory only. Note..this is only
  3707.           valid till the next warmboot of your system. You must change your
  3708.           serial card settings to keep this permanent. Note...tests may not
  3709.           work  properly because of this error.
  3710.           - This message is displayed either in the exchange mode or when
  3711.           the Modem Doctor is asked to fix the problem of addresses in
  3712.           memory for testing only.
  3713.  
  3714.                                      Page 62
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3728.  
  3729.  
  3730.      15)  Logging out incorrect COM1 for testing purposes.
  3731.           Logging out incorrect COM2 for testing purposes.
  3732.           - If you decide not to fix a problem, the incorrect assignment is
  3733.           logged out of Dos and your choices for testing.
  3734.  
  3735.      16)  ALL Available COMM ports are in use...Press to Return
  3736.           - If 4 comm ports (shareware) or 8 comm ports (registered) are
  3737.           already in use, you cannot add any more in the auto-login mode to
  3738.           the Modem Doctor. Use the manual mode to override your choices for
  3739.           testing comm ports higher than 8.
  3740.  
  3741.      17)  Comm (x) Not Found ... override ? :
  3742.           - You told the Modem Doctor in manual mode that a port existed
  3743.           with a certain base port address. It was not found. If you
  3744.           override, this  address is logged in for testing. This allows you
  3745.           to test a defective uart chip that might not be recognized by dos
  3746.           or the Modem Doctor as valid.
  3747.  
  3748.      18)  Sorry...your Modem.dat file has an invalid Comm port
  3749.           Sorry...I cannot find Modemdr.dat file in this directory
  3750.           
  3751.           WARNING...RESERVED PORT ADDRESS in Mdr.dat file
  3752.           correct address in hex must be between [ ]..ie [2F8]
  3753.  
  3754.           Sorry...your Modem.dat file has an invalid Speed..using 300 baud
  3755.  
  3756.           Modem Did not respond to setup string..run the Modem Doctor to
  3757.           check your modem.
  3758.  
  3759.           Programming according to file Mdr.dat
  3760.           Modem Responded to setup string and is ready for use
  3761.  
  3762.           - Running Modem Doctor in the setup (/s) mode, the file MDR.DAT is
  3763.           queried for the proper comm port, address, speed and setup string.
  3764.           If any of this is invalid, one of the messages above is received.
  3765.           If it is valid you receive the message that Modem Doctor is
  3766.           programming according to the Mdr.dat file.
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.                                      Page 63
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3788.  
  3789.  
  3790.  
  3791.      19) Standard Assignment Not Verified
  3792.           When Modem Doctor 6 starts, it automatically verifies all comm
  3793.           port base addresses and IRQ settings. However, some environments
  3794.           may not tolerate self-testing of IRQ selections. To defeat this
  3795.           setting,  Modem Doctor is started with the /Q switch. When
  3796.           operating in this mode, Modem Doctor displays the above message
  3797.           next to the IRQ assignments to indicate that the program has not
  3798.           verified any IRQ assignments.
  3799.  
  3800.      Section 6. Special Modes and Information     
  3801.      ---------------------------------------- 
  3802.      The Modem Doctor supports a wide range of "AT" instruction set modems.
  3803.      There are however  "supersets" of instructions that  manufacturers have
  3804.      used to enhance the capability of their modems. Although there is some
  3805.      structure  in this area, not all commands intermix between different
  3806.      brands and lines of modems. This situation is analogous to PC computer
  3807.      printers, and it  calls for a similar approach. The Modem Doctor now
  3808.      supports the use of "Modem Drivers" to meet these special needs. 
  3809.      Additionally, due to the increase in computers using the ISA bus, there
  3810.      are more interrupt lines  free to be used  by modem manufacturers.  For
  3811.      test purposes, you can use IRQ2-15 for your hardware testing. Using the
  3812.      special /S switch, you can send initialization codes to your modem from
  3813.      a batch  file or other  command-line need to  setup the modem  for use.
  3814.      Finally, to  add some  flexibility to  the Modem  Doctor's diagnostics,
  3815.      some  special  "Hot-keys" have  been added.  These have  been discussed
  3816.      above in  an operational sense,  however in  this section you  will get
  3817.      some idea of how these can help you speed up testing and test defective
  3818.      or non-compatible hardware.   
  3819.              
  3820.      6.1 Using Modem Drivers 
  3821.      -----------------------  
  3822.      Most Modem's today are built on  the original "AT" instruction set that
  3823.      was developed by Hayes Micromodems  in their 1200B series. This driver,
  3824.      named the Generic  Driver in the  Modem Doctor, is used  exclusively if
  3825.      the modem returns an ID indicating it is a 300,1200 or 2400  bps modem.
  3826.      Also, if the modem  does not return an ID, this Generic Driver is used.
  3827.      The Generic Driver can be used to test nearly all modems, however there
  3828.      are some 2400 bps modems that  were  built using the command  structure
  3829.      that Hayes Micromodems put into their 2400B line. These  modems used an
  3830.      "&" for some  modem setup and command functions. The Modem Doctor has a
  3831.      driver for these modems called the "&T0/&T1" driver. Using this driver,
  3832.      the Modem Doctor  can perform  a simulated   carrier test. During  your
  3833.  
  3834.                                      Page 64
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3848.  
  3849.  
  3850.      testing of  this type  of modem, you  will notice  the MB  (Modem Busy)
  3851.      light flashing on your    external modem. This driver  (and all others)
  3852.      is user selectable, however the  Modem Doctor will automatically switch
  3853.      to it when performing the carrier tests if the Modem was detected to be
  3854.      a 2400 bps modem.
  3855.  
  3856.      Most high speed modem will work properly with one of two drivers; The
  3857.      Hayes Ultra or  US Robotics  (Courier) V.32.  So if your  modem is  not
  3858.      listed, use one of these two drivers in its place.
  3859.  
  3860.      6.11 External Modem Drivers
  3861.      ---------------------------
  3862.      Supported starting with version 4.0 is the ability to read a specially
  3863.      created  external modem  driver file.  This file  makes it  possible to
  3864.      handle any future  changes in modems by  simply releasing a  new driver
  3865.      file.  When the  Modem Doctor  first begins,  it looks  in the  default
  3866.      directory for the existence of this driver  file. If it exists, a valid
  3867.      checksum is performed  to see that it is indeed a  modem driver. If so,
  3868.      this external set of  commands is inserted  in place of the  internally
  3869.      contained modem  drivers. As of the  initial release of  7.0, there are
  3870.      two external driver files in  circulation. These drivers are built into
  3871.      the latest  release of  Modem Doctor  (ver 7.0).  Driver files  will be
  3872.      released under 2 conditions; first, if a bug is detected in any  of the
  3873.      driver  routines, a  shareware  driver  file will  be  released on  the
  3874.      bulletin boards at no cost. Registered users will be mailed at  no cost
  3875.      the  updated driver  file. Second,  if a  registered user would  like a
  3876.      custom modem driver file written, we will create one at  minimal charge
  3877.      as long as proper documentation for the type of modem is  submitted. If
  3878.      you wish  to have an  interface written, please contact  us for pricing
  3879.      and appropriate  information that we will need to do this for you.
  3880.               
  3881.               
  3882.      6.2 Using the Command Line Mode switch /S 
  3883.      ----------------------------------------  
  3884.      There can be special occasions where you need to initialize and test a
  3885.      modem  before another program can be run. The Modem Doctor now supports
  3886.      a method to do this. Using the command line switch /S, you can instruct
  3887.      the Modem Doctor to "wake-up" a Modem and send an initialization string
  3888.      to it.
  3889.  
  3890.      Although similar to our product Comset, it offers some additional
  3891.      flexibility but does not allow the serial port only setup that Comset
  3892.      does.    To use  this special mode, you  need to have  a companion file
  3893.  
  3894.                                      Page 65
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3908.  
  3909.  
  3910.      named MDR.DAT that you create  with any ASCII text editor  that follows
  3911.      this format;  
  3912.  
  3913.           1) All information must start on the first space on each line     
  3914.              and can consist of up to 3 lines. Line 1 and Line 2 are 
  3915.              required.  
  3916.               
  3917.           2) Line 1 = Port Number 1 through 8 and an optional port address
  3918.              in  [] ( For settings greater than Port 4, this address is
  3919.              required).
  3920.  
  3921.           3) Line 2 = the Baud Rate you wish to use (300-115200 or 3-1152
  3922.              are acceptable).  
  3923.              
  3924.           4) Line 3 = the initialization string you wish to send. This
  3925.              string must start with AT and can be up to 80 characters long.
  3926.              If no string is included in the file, or if it does not begin
  3927.              with the letters AT, then ATZ is automatically sent to the
  3928.              modem.   
  3929.               
  3930.           Example..to setup Port 2 to 19200 and set S7 to 255;  
  3931.           Make a file called MDR.DAT that looks like this;        
  3932.  
  3933.               2 [2F8]<--note for Port 1-4 unless it is non-standard [2F8] 
  3934.                         is not needed   
  3935.               192   
  3936.               AT S7= 255  
  3937.           Next, start the Modem Doctor by typing  MDR /S. As long as the
  3938.           MDR.DAT file is in the current working directory, these commands
  3939.           will be sent. If not, you will get an error message stating that
  3940.           MDR.DAT could not be found.  
  3941.  
  3942.           Why not have the Modem Doctor search all directories for the file?
  3943.           Well, the reason is so that you can put MDR.EXE in a Dos path but
  3944.           have individualized setup MDR.DAT files in different
  3945.           subdirectories for different programming needs. Instead of
  3946.           constantly changing the file, make different ones and call
  3947.           MDR.EXE. It will only use the MDR.DAT file in the current working
  3948.           directory.
  3949.               
  3950.      After the initialization string is sent, the Modem Doctor will wait
  3951.      up to 10 seconds for the word "OK" to return from  the modem. If it
  3952.      does not, you will get a message saying the modem failed to setup. In
  3953.  
  3954.                                      Page 66
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  3968.  
  3969.  
  3970.      either case, whatever your modem sent to the Modem Doctor will be
  3971.      displayed. If you see the word "ERROR", that was sent from the modem,
  3972.      it probably means that your initialization string was not correct. No
  3973.      message returning could indicate a problem with the modem, or an
  3974.      invalid baud rate. When it finishes executing, the Modem Doctor
  3975.      returns an errorlevel to the calling program. An errorlevel of 0 is
  3976.      normal, an errorlevel of 99 indicates a failure. You can use these
  3977.      errorlevels to control batch processes if you wish to.  
  3978.      Also, this mode of the Modem Doctor uses bios screen writes, so all
  3979.      of the information displayed can be redirected to a printer, a file,
  3980.      or whatever other DOS device you wish.  Example...to send the output
  3981.      of this test to a file called Test.txt...  
  3982.  
  3983.                MDR /S  > TEST.TXT or    MDR /S >> TEST.TXT (if you wish to
  3984.                append an existing Test.txt file.  
  3985.  
  3986.      If the Modem Doctor setup was successful, the modem's DTR and RTS lines
  3987.      stay active, if not, they are dropped.  If you need more specialized
  3988.      command-line  modes of  operation, you  might  consider Comset.  Comset
  3989.      allows Serial Ports and  Modems to be setup at various  rates and under
  3990.      various conditions. Registered  Modem Doctor users get  a 15% discount!
  3991.      You can find Comset on most BBS's as COMSET12.ZIP.   
  3992.          
  3993.      6.3 Using the Hot-Keys 
  3994.      ----------------------  
  3995.      Hot-Keys are  combinations of  the ALT  key plus  a  letter. The  Modem
  3996.      Doctor adds several of these Hot-keys to make it easier to test  modems
  3997.      at different  baud rates and to  circumvent  some of the error checking
  3998.      that the program performs under normal circumstances.  
  3999.               
  4000.      ALT-B Change Baud rate - 
  4001.      If you are testing a system that you  suspect has a problem, it is best
  4002.      to use the setup mode when changing the baud rate.  The Setup mode will
  4003.      test all the registers, and  the modem microprocessor (if selected) and
  4004.      assure you that all the hardware is communicating properly at each baud
  4005.      rate. However, if  you feel a system  is running fine, using  the ALT-B
  4006.      from the  main menu can save time when  running tests at different baud
  4007.      rates. Press ALT-B  and select the baud rate (taking care not to select
  4008.      a rate higher that what your modem is  rated for if you are doing modem
  4009.      tests). ALT-B  works from the  main menu,  and from  inside the  Manual
  4010.      interactive mode.   
  4011.               
  4012.  
  4013.  
  4014.                                      Page 67
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4028.  
  4029.  
  4030.      ALT-C Clear Screen - 
  4031.      This key is  only active inside of  the Manual interactive mode  and is
  4032.      used to clear the text window of any characters.                     
  4033.  
  4034.      ALT-F Force Microprocessor on-line - 
  4035.      The  Modem  Doctor  has  many  tests built-in  to  verify  the  working
  4036.      condition of a microprocessor-based modem and will not allow a modem to
  4037.      be tested  in the  "AT" instruction  set mode  if it  has not  properly
  4038.      addressed and setup a modem microprocessor. Using the ALT-F combination
  4039.      forces the Modem Doctor to perform tests as if it had properly  setup a
  4040.      modem. This  feature should  be used  with care,  however   its primary
  4041.      benefit is to  help you test a malfunctioning modem to see exactly what
  4042.      commands it will respond to. Pressing ALT-F also updates the status bar
  4043.      to  indicate that the modem microprocessor is on-line (which may or may
  4044.      not be the  case after this command  was issued). Version 4.0  of Modem
  4045.      Doctor makes this hot-key a toggle, so pressing 1 time will  change the
  4046.      on-line status. Pressing again returns it back to normal.
  4047.  
  4048.      ALT-H Help -
  4049.      You can  press this key at any  time to get help on  a topic or general
  4050.      help depending on  if you are in  a menu or at the  main menu selection
  4051.      bar.
  4052.  
  4053.      ALT-R Register Display - 
  4054.      This is  only active inside of the Manual  interactive mode and is used
  4055.      to  display  the status  of  all  Uart  registers  on  the  screen  for
  4056.      diagnostic purposes.  
  4057.  
  4058.      ALT-X Exit Mode - 
  4059.      This is only active inside of  the Manual interactive mode and is  used
  4060.      to exit this mode. 
  4061.  
  4062.      Control -Break
  4063.      --------------
  4064.      This  allows  an immediate  exit from  anywhere permissible  inside the
  4065.      Modem  Doctor,  however  it offers  you  a  choice to  clean  up  or to
  4066.      continue. You should not  use this mode, it  is better to exit via  the
  4067.      Main menu selection.
  4068.  
  4069.  
  4070.  
  4071.  
  4072.  
  4073.  
  4074.                                      Page 68
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4088.  
  4089.  
  4090.  
  4091.      6.4 Logging in Defective Ports 
  4092.      ------------------------------  
  4093.      If a serial port Uart is defective, the Modem Doctor will refuse to log
  4094.      it in for testing. This is necessary because there is no way  for it to
  4095.      know  what  ports  are defective  and  what  are  non-existent. However
  4096.      starting with  Version 4.0, you  can now  log-in a  defective chip  for
  4097.      testing. The procedure to do so is explained above under Manual  Login.
  4098.      The reason for  doing so however might  not have been apparent.  If any
  4099.      register of a serial port is defective, it might not function properly.
  4100.      Logging in this  defective port will give  you the full benefit  of the
  4101.      Uart and Serial port diagnostics.  Error messages will be displayed, in
  4102.      most  cases  there will  be  multiple  error  messages. There  are  two
  4103.      possible causes of a defective port; the  Uart chip and the Serial Port
  4104.      address system. If  it is a chip,  simply replacing the chip  fixes the
  4105.      problem.  If it is  a serial port  instead, then the  same problem will
  4106.      repeat. How do  you approach this?  Well for  starters, check that  the
  4107.      strapping  on your  serial port  board  matches the  correct COMM  port
  4108.      assignment (ie strapped for COM1 for COM1..etc). Next, if there is user
  4109.      selectable IRQ  assignments, make sure  it again matches the  COMM port
  4110.      assignment (IRQ4 for COM1/3, IRQ3 for COM2/4, IRQ5 for COM7/8, IRQ7 for
  4111.      COM6/7). If all  this is set properly,  then you can suspect  the chip,
  4112.      but also the Serial Port hardware that gates the address of the chip to
  4113.      the computer.  Finally, if you get warnings  about status, but the chip
  4114.      logs in, then  you might just have a bad cable from the computer to the
  4115.      modem (NOTE:  The Modem  Doctor does  not consider  this  an error  but
  4116.      simply displays a warning and allows the Uart to be logged-in for use).
  4117.           
  4118.               
  4119.      6.5 What tests cannot Do     
  4120.      ------------------------     
  4121.      Although  I  tried to  be extremely  thorough  in my  tests,  there are
  4122.      somethings that  tests just cannot  do or  pinpoint. If you  are having
  4123.      problems with  excessive line-noise,  you might  have a  bad connection
  4124.      between  your modem  and your  telephone wiring  in the  house. Another
  4125.      possibility, although  remote, is  that your modem  does not  offer the
  4126.      correct input  impedance to  the telephone line.  This can cause  poor 
  4127.      connections. The  problem is with  the electronic design of  the modem,
  4128.      and  again, it  is more  prevalent in  inexpensive modems.  Also, tests
  4129.      cannot check  that the communications  program you are using  is set up
  4130.      correctly.
  4131.  
  4132.  
  4133.  
  4134.                                      Page 69
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4148.  
  4149.  
  4150.      At times,  installing a  communications package can be very challenging
  4151.      for a novice  user. Tests also cannot  check the wiring in  your serial
  4152.      Cable. The Modem Doctor will tell you if a handshaking pair is missing,
  4153.      but it cant tell you why. It could be because the Uart is bad, but more
  4154.      than likely,  your RS-232  Cable doesn't carry  all of  the handshaking
  4155.      signals to  or from the  external modem or  serial device. This  can be
  4156.      important if you  are using a high-speed modem.  Most High-speed modems
  4157.      will  drop the  CTS line  when  their communication  buffers are  full.
  4158.      Previous  Modems ignored   the  RTS/CTS  signals and  instead used  the
  4159.      DTR/DCE pair. What this  means is that if you buy a new modem, it might
  4160.      not work with  the older-cable (yet  at the same  time the older  modem
  4161.      will  work..which might lead  you to believe that  you have a defective
  4162.      modem).      
  4163.               
  4164.      6.6 Quirks with Some Modems     
  4165.      ---------------------------      
  4166.      Carrier tests - 
  4167.      Some  Modems have  two "AT"  instruction sets,  usually referred  to as
  4168.      Compatible and Enhanced. If your modem does not perform a carrier  test
  4169.      at speeds  below 4800,  then  this is  usually  the case.  Some  modems
  4170.      provide a dip-switch or  a toggle switch to select either mode. Setting
  4171.      your  modem to  the Standard  Compatible Mode  should get  rid of  your
  4172.      problems  below  4800 bps.  Also,  make  sure  you select  the  Generic
  4173.      Compatible  Modem Driver  unless you  are sure  your modem  matches the
  4174.      modem's that have special drivers  written especially for their use. At
  4175.      speeds above  4800 bps,  the Modem Doctor  is only compatible  with USR
  4176.      V.32, Dual  Standards (V.32  and HST)  and HST  brand of  modems, Hayes
  4177.      V9600 and  Ultra 9600,  and Courier 2400  modems. If  you wish  to test
  4178.      another brand  of modem that  is not  compatible, simply  turn off  any
  4179.      modem-hardware error correcting using the Manual mode and following the
  4180.      information in your  modem users manual. Then select  the Generic Modem
  4181.      Driver and you should be able to test your modem properly. 
  4182.  
  4183.      Finally, if only one of the tests (Originate or Answer) runs and NO    
  4184.      CARRIER is displayed for the other, the problem lies with the Enhanced
  4185.      Command  settings of  your  modem.  Hayes Modems  use  &T1 through  &T8
  4186.      commands for their 2400 and also  have other special switches. The  &T0
  4187.      command set is tried by this version of the Modem Doctor automatically,
  4188.      however there  is no compensation for any other type of modems that use
  4189.      non-standard  commands. Again for  the sake  of compatibility  with the
  4190.      widest range of  modems at speeds below 4800,  this cannot be corrected
  4191.      for in  this version. Considering  the vast numbers of  "AT" compatible
  4192.      modems in the marketplace,  these two exceptions are minor and will not
  4193.  
  4194.                                      Page 70
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4208.  
  4209.  
  4210.      affect most users. Finally, users of 8250 compatible  Uarts that do not
  4211.      support the  Digital (Chip) Loopback will get  an error. This should be
  4212.      of no concern.   However if the test runs  for a while, then fails,  it
  4213.      could indicate  a problem  with your  Uart. This  is  explained in  the
  4214.      pull-down window  in the program. The  Modem Doctor has been  tested on
  4215.      about 25 Modems from Major Manufacturers and on a variety of Clones and
  4216.      Compatibles  (plus the  "Real Thing").  It is  possible that  a certain
  4217.      combination of hardware still might give problems, however if you are a
  4218.      registered user, I will find a way to make it work.  
  4219.  
  4220.      6.7 Buffered vs Direct Connect Modems
  4221.      -------------------------------------
  4222.      When testing  high speed  modems,  you should  note that  some of  them
  4223.      cannot test in the a "buffered mode", which means that they will not be
  4224.      able to  self-test in  carrier mode  above speeds  of  9600. The  Hayes
  4225.      Ultra's fall into  this category. The highest DTE/DCE rate  you can use
  4226.      and still generate  a successful carrier test  is 9600 bps. Any  higher
  4227.      DTE rate will cause Modem Doctor to return errors that are not valid. 
  4228.               
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.  
  4254.                                      Page 71
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4268.  
  4269.  
  4270.  
  4271.      6.8 Using Digiboard Serial Ports
  4272.      --------------------------------
  4273.      Modem Doctor now supports Digiboard  Intelligent Serial Ports that  use
  4274.      the "X"  series drivers (XIDOS). To  test these serial ports,  you must
  4275.      start Modem  Doctor with  the /D command...ie  from the  dos prompt....
  4276.      MDR /d (or MDR /D).
  4277.  
  4278.      The /D switch  instructs Modem Doctor to ignore  traditional comm ports
  4279.      and instead test Digiboards. When  started in this manner, Modem Doctor
  4280.      looks  for an  installed  driver. If  one is  not  found, Modem  Doctor
  4281.      defaults to the INT14 support mode (pretty useless unless you also have
  4282.      an INT14 driver running).
  4283.  
  4284.      ╒[ DigiBoard Hardware Detection ]═════════════════════════════════════╕
  4285.      │ Driver Version :  409   Supported Channels:  4   Total Boards:  1   │
  4286.      │ Lowest Channel :    4    Highest Channel  :  7                      │
  4287.      │                                                                     │
  4288.      │ Board # 0   IRQ: 5    Board Type:    1    DP Memory Seg : D800      │
  4289.      │        Channels: 4   I/O Address:  320h   First Channel :    4      │
  4290.      │                                                                     │
  4291.      │                                                                     │
  4292.      │   Bus type: AT Bus    Interrupt Levels: 15   HD uses DMA Ch3?: NO   │
  4293.      │   Interrupt Status :  15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0         │
  4294.      │                     Press Any Key to Continue                       │
  4295.      └─────────────────────────────────────────────────────────────────────┘
  4296.  
  4297.      Modem Doctor can test up to 4 Digiboards that contain up to 16 channels
  4298.      each. When in the setup mode,  you will get this screen instead of  the
  4299.      traditional PORT, IRQ, SPEED selections;
  4300.  
  4301.            ╔[  Digboard  ]╗ ╔[  Channel  ]╗   ╔[  Baud  ]══╗
  4302.            ║ Use Board 1  ║ ║ Use Ch 1    ║   ║   300 BPS  ║
  4303.            ╚══════════════╝ ║ Use Ch 2    ║   ║  1200 BPS  ║
  4304.                             ║ Use Ch 3    ║   ║  2400 BPS  ║ 
  4305.                             ║ Use Ch 4    ║   ╚════════════╝ Higher speeds
  4306.                             ╚═════════════╝                  with registered
  4307.                                                          version to 57.6kbps
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.                                      Page 72
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4328.  
  4329.  
  4330.  
  4331.      If more than 1 board is found, it will be displayed (max is 4). If more
  4332.      than 4 channels are found on the selected board, they will be displayed
  4333.      (max 16).
  4334.  
  4335.      As with  any fossil or comm driver, Modem Doctor may or may not be able
  4336.      to fully  test the hardware.  In these modes,  Modem Doctor  depends on
  4337.      your communication driver (a fossil, the digiboard driver or some INT14
  4338.      driver TSR) to correctly handle  comm ports. Only when Modem  Doctor is
  4339.      started without any  "switches" will it directly control  the hardware.
  4340.      This  is  indicated by  the  Int14  interface  indicator in  the  setup
  4341.      section;
  4342.  
  4343.      ╒[ Modem / Uart System Diagnostics ]══════════════════════════════════╕
  4344.      │ Comm port /IRQ in use [ ] Port = 5  Address = 320  IRQ = 5          │
  4345.      │ Int 14 interface      [ ] DigiFossil                                │
  4346.      │ Uart type             [ ] 16450/8250A detected                      │
  4347.      │ Baud rate selected    [ ] 2400                                      │
  4348.      │ Baud Rate reg test    [ ] Not supported with Fossil or INT14        │
  4349.      │ Modem Microprocessor  [ ]                                           │
  4350.      │ Modem ID Type         [ ]                                           │
  4351.      │ Modem Fax Ability     [ ]                                           │
  4352.      │ Modem Memory/Rom      [ ]                                           │
  4353.      └─────────────────────────────────────────────────────────────────────┘
  4354.  
  4355.      In  this case,  Modem Doctor  shows  it is  using  the DigiFossil.  For
  4356.      regular FOSSIL  routines,  the  words  FOSSIL or  EXTENDED  FOSSIL  are
  4357.      displayed.  During  direct   mode  testing,  the  words   INACTIVE  are
  4358.      displayed. Once you  are logged into using Digiboard  ports, you cannot
  4359.      access normal Dos ports without exiting the program and restarting. All
  4360.      tests described  in  earlier sections  above  work with  the  Digiboard
  4361.      without modification. 
  4362.  
  4363.  
  4364.  
  4365.  
  4366.  
  4367.  
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  
  4374.                                      Page 73
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4388.  
  4389.  
  4390.  
  4391.      6.9 Running Modem Doctor under Windows 3.1
  4392.      ------------------------------------------
  4393.      Modem Doctor was designed to work directly with system hardware.
  4394.      Unfortunately, Windows seizes control of all hardware in order to allow
  4395.      for the virtualization of comm ports and interrupts. Nonetheless, Modem
  4396.      Doctor can run under Windows if you take the following precautions;
  4397.  
  4398.      1) Never run Modem Doctor without the /Q switch. Interrupt results
  4399.         under Windows are not predictable or accurate. Crashes to system
  4400.         operation may result.
  4401.  
  4402.      2) Make sure you have optimized your system.ini to allow a minimum
  4403.         ComxBoostTime of 6.
  4404.  
  4405.      3) Make sure all your comm ports are configured to NEVER WARN during
  4406.         a device contention. Modem Doctor will occasionally "fight" Windows
  4407.         for control of the comm ports. NEVER WARN can be selected from the
  4408.         control panel "ports" option.
  4409.  
  4410.      6.91 Modem Doctor for Windows
  4411.      -----------------------------
  4412.      Modem Doctor  now has  a companion program,  Modem Doctor  for Windows.
  4413.      Written  specifically for  the Windows  environment,  Modem Doctor  for
  4414.      Windows contains most of  the same tests in Modem  Doctor 7.0. However,
  4415.      it  contains additional  tests specifically  designed  for testing  the
  4416.      Windows Communications Interface. Included in this program;
  4417.  
  4418.        * Visual display of all commands and responses to/from your modem
  4419.        * Extensive, Interactive Help system 
  4420.        * Detection of over 20 specific Windows setup problems in addition
  4421.           to the over 60 tests of your system hardware done in both
  4422.           versions.
  4423.        * Built in .INI file editor makes maintaining communications
  4424.           parameters simple and easy.
  4425.        
  4426.      Modem  Doctor for  Windows is  distributed as  shareware. You  can find
  4427.      Modem Doctor  for  Windows  on the  Modem  Doctor  BBS  (410-256-3631).
  4428.      Registration  fee is  $24.95.  You can  purchase  both programs  (Modem
  4429.      Doctor for Dos  7.0 and Modem Doctor  for Windows) for $40.00.  See the
  4430.      order form for more information.
  4431.  
  4432.  
  4433.  
  4434.                                      Page 74
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445.  
  4446.  
  4447.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4448.  
  4449.  
  4450.      6.92 Running Modem Doctor on Networks
  4451.      ---------------------------------------
  4452.      Modem Doctor is not designed to run on a network. It can run on client
  4453.      machines that are  connected to a network.  For safety, use the  MDR /Q
  4454.      command. Some Network cards use IRQ's assigned to comm ports. IRQ tests
  4455.      in a network environment can cause serious problems to communications. 
  4456.      When running on a network, Modem Doctor can only test local comm ports.
  4457.      No TCP/IP or other protocol access is currently supported.
  4458.  
  4459.               
  4460.      Section 7. Benefits of Registration     
  4461.      ------------------------------------      
  4462.      Thank you  for your registration.  The Current Registered Version  # of
  4463.      the Modem Doctor is 7.0R. All Registered Users are entitled to free
  4464.      Maintenance  updates and  these will  be  reflected by  changes in  the
  4465.      decimal fraction number..ie   7.01, 7.02. Minor  upgrades are indicated
  4466.      by changes in the  tenths digit..ie 7.10. Minor upgrades are  not free,
  4467.      but cost no more than major upgrades.
  4468.  
  4469.      If  a new  super-duper version comes  out (8.X or  9.X), all registered
  4470.      users  will be able to  update for only $7 (plus shipping,handling  and
  4471.      tax where applicable). Currently registered users of versions 2 through
  4472.      5  can  update    for  $5  (plus  shipping,   handling  and  tax  where
  4473.      applicable). If you have  trouble with the Modem Doctor,  or questions,
  4474.      feel free to call or write.   
  4475.  
  4476.      When doing either you will need to have the Version Number, your serial
  4477.      number,   and  in  some  cases the  Module  Identification Number.  The
  4478.      Version   number is displayed  when you first  start the  program along
  4479.      with  the serial   Number.  The  Module Identification  numbers can  be
  4480.      displayed at any time   from the main menu  after you pass the  initial
  4481.      setup mode. Simply type  a # sign, and all of the  modules that make up
  4482.      the Modem  Doctor will   display their  version numbers on  the screen.
  4483.      Right now, all Modules have  identical version  numbers from program to
  4484.      program,  but in  the  future,    there could  be  custom  modules  for
  4485.      registered users, so in this case the Module ID could become important.
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.                                      Page 75
  4495.  
  4496.  
  4497.  
  4498.  
  4499.  
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  
  4506.  
  4507.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4508.  
  4509.  
  4510.       You can reach us with your questions at 410-256-5767 or write to ;
  4511.  
  4512.                                      Hank Volpe
  4513.                                     PO Box 43214
  4514.                                   Baltimore MD 21236
  4515.               
  4516.                     Thanks again for registering the Modem Doctor.
  4517.  
  4518.      You  can  always  download  the  latest  shareware  version  and  other
  4519.      communication  utilities  from  the Modem  Doctor  BBS  at 410-256-3631
  4520.      (300 -> 19.2kbps).  Also, if you write  your questions on the  BBS, you
  4521.      will get a faster response than if you had written via the mail. 
  4522.  
  4523.      Notes -  [+] References to USR /Courier/Dual Standard/HST
  4524.                           Copyrighted by US Robotics     
  4525.               
  4526.               [++] References to AT Instruction Set ,Smartmodem,Hayes
  4527.                    Copyrighted by Hayes Inc.
  4528.               
  4529.               References to MNP refer to An error free protocol 
  4530.               Copyrighted by Microcom Inc.     
  4531.  
  4532.              References to dos, microsoft, Windows copyrighted by IBM
  4533.              or Microsoft.
  4534.              References to 8250B or other uarts are copyrighted by a 
  4535.              variety of manufacturers including (but not limited to ) 
  4536.                  Intel, National Semiconductor.
  4537.        
  4538.         
  4539.      Disclaimer -  
  4540.      It is not the intent of the author to recommend any brand of modem over
  4541.      another nor to infringe on the copyrights of the manufacturers by
  4542.      mentioning their products. A modem fits  a need, and whatever one works
  4543.      for you is the one you  should have. As time goes on, more  modems will
  4544.      be added to the list of "special enhanced " tests. The modems mentioned
  4545.      are done so only because of the popularity they enjoy and for  no other
  4546.      reason.  All programming  of modems  for  testing is  done with  simple
  4547.      character strings, similar to any  type of data that  can be sent to  a
  4548.      modem or a serial port. Any modem, whether AT compatible or not, can be
  4549.      handled  by  the  Modem  Doctor with  special  software  drivers. These
  4550.      software  drivers will  be distributed  free  of charge  as needed  for
  4551.      general  use.  Custom  drivers created  by  Hank  Volpe  for particular
  4552.      clients however will require a fee for handling and programming time.
  4553.  
  4554.                                      Page 76
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4568.  
  4569.  
  4570.      Modem Doctor History
  4571.  
  4572.               Ver 7.0  - New SNOOP feature detects active modems.
  4573.  
  4574.                        - New MDRD.INI file capabilty links Modem Doctor
  4575.                          for Dos together with Modem Doctor for Windows
  4576.                          and allows for easier communication diagnostics
  4577.                          in the Windows program enviromnent.
  4578.                          
  4579.                        - Improved Comm buffer routines that strip off
  4580.                          NULL codes sent by some modems for delay. These
  4581.                          codes caused problems in the command mode with
  4582.                          the buffer and some modems, returning incomplete
  4583.                          information
  4584.  
  4585.                        - Updated internal drivers to match current modem
  4586.                          hardware. Supports newer 33.6kbps and 57.6kbps
  4587.                          modems.
  4588.  
  4589.                        - Improved 16550AFN Uart routines, primarily
  4590.                          buffer purges.
  4591.                       
  4592.  
  4593.               Ver 6.0  - Improved PS/2 IRQ test support - PS/2's 
  4594.                          would halt or have their stack run-away during 
  4595.                          IRQ tests. The /Q switch from the command line
  4596.                          bypasses these tests. However, I've 
  4597.                          written some routines in assembler to create 
  4598.                          interrupt stacks that handle this 5.2 problem.
  4599.  
  4600.                        - Improved 16550AFN diagnostics - Modem Doctor 6
  4601.                          tests 16550AFN's, however after these tests, the 
  4602.                          buffers were shut down and not used (since no tests
  4603.                          existed that stressed their ability to perform).
  4604.                          These registers are now enabled to a trigger level
  4605.                          of 14 during all burst mode tests.
  4606.  
  4607.                        - Improved FOSSIL tests - FOSSIL routines have been 
  4608.                          streamlined to increase throughput during the burst
  4609.                          mode tests.
  4610.  
  4611.                        - Improved Modem Driver Detection - Modem Doctor now 
  4612.                          holds an exact-match table for supported modems. 
  4613.  
  4614.                                      Page 77
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4628.  
  4629.  
  4630.                          If no match is found, Modem Doctor "guesses" for
  4631.                          the best match. This will make it easier to support
  4632.                          future modems.
  4633.                        
  4634.                        - Adds IRQ support for IRQ's 7-15
  4635.                        - Improves 16550AFN tests.
  4636.                        - Tests for FAX modems, indicates Fax Group and
  4637.                          Class.
  4638.  
  4639.                        - Increase Baud Rate to 115200 in registered version.
  4640.                        - Diagnostic Toggle mode for DTR and RTS signals, 
  4641.                          helpful in finding bad cables or missing signals in
  4642.                          cables.
  4643.  
  4644.                        - Burst and Signature Rate Tests for Analog loop and
  4645.                          Carrier. 
  4646.                        - Support for DIGIBOARD Comm ports via the Digiboard
  4647.                          Driver.
  4648.                        - Improve FOSSIL throughput routines
  4649.                        - Detects AT, PS-2 and Dual Bus Computers, Supports 
  4650.                          Dual 8259 PIC chips.
  4651.  
  4652.  
  4653.            
  4654.               Ver 5.2 -  The /Q switch was added to the command line
  4655.                          interface to allow for the user to bypass the IRQ
  4656.                          self-tests. Some computer environments may freeze
  4657.                          when self-tests of IRQ lines are performed. In this
  4658.                          case, running with the /Q switch will bypass these
  4659.                          tests. No other changes were made to the program.
  4660.                         
  4661.               Ver 5.1 -  Program was recompiled to remove Borland C++
  4662.                          optimizations which were found to cause STACK 
  4663.                          problems running under Digital Research's DR/DOS
  4664.                          6.0. No other changes were made to the program.
  4665.  
  4666.               Ver 5.0 -  New tests added to verify IRQ operation, verify
  4667.                          proper COMM port/IRQ selection, added NULL tests to
  4668.                          Interactive selection. Structure changed for
  4669.                          drivers to include handling all modem
  4670.                          identification codes. All window routines changed
  4671.                          to directly drive displays (vs working through
  4672.                          standard C library interfaces), S-register window 
  4673.  
  4674.                                      Page 78
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4688.  
  4689.  
  4690.                          display added to REGS menu, interfaces added to
  4691.                          handle generic INT14 and FOSSIL drivers, bypassing
  4692.                          all direct control of hardware while in that mode. 
  4693.  
  4694.                          Other updates include identification of mouse
  4695.                          drivers and re-activation upon exit, ability to
  4696.                          handle accurate timing loops on machines with a
  4697.                          system speed of 50mhz+, addition of interrupt
  4698.                          driven transmit routines. Addition of 5 new uart
  4699.                          internal tests.
  4700.            
  4701.               Ver 4.0 -  New tests added for dynamic handshaking and static 
  4702.                          handshaking. New report generator features, new
  4703.                          exchange mode. Higher baud rates, cleaner windows
  4704.                          that grow to meet commands. Recognition of mouse
  4705.                          inputs via a compatible mouse driver. Expansion of
  4706.                          internal modem drivers and ability to read external
  4707.                          modem drivers. Improved brute-force reading for
  4708.                          faster digital loopback tests. Automatic aborting
  4709.                          of modem tests when IRQ failures are detected. New
  4710.                          advisories for fixed-link rate, IRQ failures, wrong
  4711.                          comm port assignments, swapped comm port
  4712.                          assignments. Addition of custom
  4713.                          color selections, pulldown windows that stay when
  4714.                          left-right arrow keys are moved. Updating of 16550
  4715.                          AN  support for resetting and clearing buffers.
  4716.                          Replacement of all internal comm drivers with new
  4717.                          dos independent routines. Correction of many (and
  4718.                          hopefully all) spelling errors.
  4719.  
  4720.               Ver 3.0 - New tests added for 16450/16550/16550AN Uarts.
  4721.                         Improved Control-Abort handling, Regs command now 
  4722.                         performs a full diagnostic call when activated. 
  4723.                         Hot-Keys added (Force Micro, Baud Rate Select). 
  4724.                         Modem Driver software added to program, Status Bar 
  4725.                         added to program. Support for IRQ 3,4,5,7 added 
  4726.                         via COM1 through COM8 log-ins. Speed increased to 
  4727.                         38.4KB. /S Command line option added for setup of 
  4728.                         a modem including batch file errorlevel support. 
  4729.                         Escape key functionality added to Carrier Tests 
  4730.                         and the loopback tests.
  4731.  
  4732.              Ver 2.2 - Corrects a bug in Ver 2.1 Communication routines
  4733.  
  4734.                                      Page 79
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.         Modem Doctor 7.0 Technical Reference (c) Copyright 1996 Hank Volpe
  4748.  
  4749.  
  4750.                         that caused some modems to lock-out because they 
  4751.                         were waiting for two carriage returns to begin. 
  4752.                         Also it added 4 diagnostic Uart tests
  4753.               
  4754.               Ver 2.1 - This version was a Beta test. A Beta tester 
  4755.                         accidentally uploaded this to several boards. 
  4756.                         Please remove all Ver 2.1S software that you may 
  4757.                         find.
  4758.               
  4759.               Ver 2.0 - This version also was a Beta test with support
  4760.                         for COM1-2 and 2400 bps maximum
  4761.               
  4762.               Ver 1.0 - First test version
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784.  
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  
  4791.  
  4792.  
  4793.  
  4794.                                      Page 80
  4795.  
  4796.  
  4797.  
  4798.  
  4799.  
  4800.  
  4801.