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