home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / TESTEXT3.ZIP / TESTEXT.TXT < prev   
Text File  |  1990-12-09  |  11KB  |  303 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                                   Table of Contents
  11.  
  12.           Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
  13.  
  14.           Hardware/Software Requirements  . . . . . . . . . . . . . . .   2
  15.                Hardware . . . . . . . . . . . . . . . . . . . . . . . .   2
  16.                Software . . . . . . . . . . . . . . . . . . . . . . . .   3
  17.  
  18.           Display . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  19.                The Banner Box . . . . . . . . . . . . . . . . . . . . .   3
  20.                     Program name  . . . . . . . . . . . . . . . . . . .   3
  21.                     Elapsed Time  . . . . . . . . . . . . . . . . . . .   3
  22.                The Status Box . . . . . . . . . . . . . . . . . . . . .   3
  23.                     Processor . . . . . . . . . . . . . . . . . . . . .   3
  24.                     Memory Size . . . . . . . . . . . . . . . . . . . .   3
  25.                     Errors: . . . . . . . . . . . . . . . . . . . . . .   3
  26.                     Passes  . . . . . . . . . . . . . . . . . . . . . .   4
  27.                     Word Size . . . . . . . . . . . . . . . . . . . . .   4
  28.                     Offset  . . . . . . . . . . . . . . . . . . . . . .   4
  29.                     Phase . . . . . . . . . . . . . . . . . . . . . . .   4
  30.                The Memory Box . . . . . . . . . . . . . . . . . . . . .   4
  31.  
  32.           Operation . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  33.  
  34.           Comments/Suggestions  . . . . . . . . . . . . . . . . . . . .   6
  35.  
  36.           Releases and Versions . . . . . . . . . . . . . . . . . . . .   6
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.           Extended Memory Test for 80286/386/486,  J.M.Cyr,  October 1990
  45.  
  46.           Introduction
  47.           ============
  48.  
  49.                Increased reliance on memory intensive products such as
  50.           Windows 3.0{1}, OS/2{2}, and large disk caches, has pushed
  51.           us to install more and more memory on our systems. Systems with
  52.           four to eight megabyte of extended memory are no longer uncommon.
  53.           But yet, other than the BIOS cold boot test and hardware parity
  54.           checking, there are few tools available to test extended memory
  55.           thoroughly. This protected mode program, called TESTEXT, was
  56.           designed to fill this gap, by providing intensive and varied
  57.           memory testing, over all the extended memory installed. Both data
  58.           storage and address decoding logic are exercised by using random
  59.           data and access patterns.
  60.  
  61.                TESTEXT is FreeWare. This means you can use it, or distrib-
  62.           ute it free of charge. This program has been tested extensively,
  63.           and is though to be without defects. The author, however, is not
  64.           responsible for any damage caused its use. The program is sup-
  65.           plied as is, and will be used at your own risk.
  66.  
  67.  
  68.           Hardware/Software Requirements
  69.           ==============================
  70.  
  71.                TESTEXT was designed to run on processors that support
  72.           protected mode and extended memory. It cannot be used to test
  73.           Expanded Memory (EMS), and will not run on IBM XT{3} clones.
  74.           On machines that do support protected mode, some extended memory
  75.           must be installed before TESTEXT will run.
  76.  
  77.           Hardware
  78.           --------
  79.  
  80.                - IBM AT{4} compatible, using 80286{5}, 80386, or
  81.                80486 processor.
  82.  
  83.                - Monochrome or colour, 80 character by 25 line display.
  84.  
  85.                - Installed extended memory.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.                               
  92.  
  93.           {1}  Windows 3.0 is a trademark of Microsoft
  94.           {2}  OS/2 is a trademark of Microsoft and IBM
  95.           {3}  PC XT is a trademark of IBM
  96.           {4}  IBM AT is a trademark of IBM
  97.           {5}  80286, 80386, and 80486 are trademarks of Intel
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.           Extended Memory Test for 80286/386/486,  J.M.Cyr,  October 1990
  106.  
  107.           Software
  108.           --------
  109.  
  110.                - MS/DOS{1} 2.2 or later, PC/DOS{2} 2.2 or later.
  111.  
  112.  
  113.           Display
  114.           =======
  115.  
  116.                This program can accommodate any Monochrome (MDA) or Colour
  117.           (CGA, EGA, or VGA) adapter, so long as it is configured to run in
  118.           25 line by 80 column mode. The display is broken up into three
  119.           areas: the banner box, the status box, and the data box.
  120.  
  121.           The Banner Box
  122.           --------------
  123.  
  124.                The banner box contains two pieces of information that are
  125.                necessary when reporting problems:
  126.  
  127.                Program name:
  128.                     This is the name and version of the program you are
  129.                     running.
  130.  
  131.                Elapsed Time:
  132.                     This is the total amount of time, in hours, minutes and
  133.                     seconds, that TESTEXT has been running.
  134.  
  135.           The Status Box
  136.           --------------
  137.  
  138.                The status box display various pieces of program status
  139.                information:
  140.  
  141.                Processor:
  142.                     The processor detected by TESTEXT. Double word accesses
  143.                     will not be used on the 80286 processor.
  144.  
  145.                Memory Size:
  146.                     The amount of extended memory detected. This value is
  147.                     in kilobytes and is obtained from the machine configur-
  148.                     ation stored in CMOS.
  149.  
  150.                Errors:
  151.                     The total number of memory error encountered so far.
  152.  
  153.  
  154.  
  155.                               
  156.  
  157.           {1}  MS-DOS is a trademark of Microsoft
  158.           {2}  PC/DOS is a trademark of IBM
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.           Extended Memory Test for 80286/386/486,  J.M.Cyr,  October 1990
  167.  
  168.                Passes:
  169.                     The total number of passes performed so far. Each pass
  170.                     consists of a single store phase, and a single verify
  171.                     phase.
  172.  
  173.                Word Size:
  174.                     The data width of accesses used for memory testing.
  175.                     Three widths are used by TESTEXT: byte, word, and
  176.                     double word. Double word accesses are not supported on
  177.                     the 80286.
  178.  
  179.                Offset:
  180.                     This is the offset, in bytes, added to all memory
  181.                     address. An offset, varying from 0 to the current word
  182.                     size minus one, is used to ensure that accesses
  183.                     straddle hardware word and double word boundaries. The
  184.                     following figure illustrates double word access with
  185.                     offset of 3:
  186.  
  187.                     Physical memory |0 1 2 3|4 5 6 7|8 9 A B|C D E F|
  188.                     Accesses              |0 1 2 3|0 1 2 3|0 1 2 3|
  189.  
  190.                                   ->|1 2 3|<- Offset
  191.  
  192.                Phase:
  193.                     First a store phase is performed to set all of extended
  194.                     memory to random patterns. The a verify phases checks
  195.                     for the same patterns.
  196.  
  197.           The Memory Box
  198.           --------------
  199.  
  200.                The memory box serves to record a history of the errors
  201.                encountered. In this display box, extended memory is divided
  202.                into up to 15 lines, representing one megabyte each. Each
  203.                line is in turn divided into up to eight error status
  204.                values. Each of these values represents a 128K memory seg-
  205.                ment, and is displayed as eight hexadecimal digits. The
  206.                value represents the history of all the bits that were found
  207.                in error, in any double word (4 bytes) in this 128K byte
  208.                segment. A zero indicates no errors found. Any other value
  209.                indicates memory errors, and will be high-lighted. The
  210.                following diagram illustrates how the top right value repre-
  211.                sents the first 128K of extended memory.
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.           Extended Memory Test for 80286/386/486,  J.M.Cyr,  October 1990
  220.  
  221.                Address  Byte 0   Byte 1   Byte 2   Byte 3
  222.                11FFFC: 00100000 00000000 00000000 00000000 Bits in error
  223.                11FFF8: 00000000 00010000 00000000 00000000
  224.                 ...
  225.                100008: 00000000 00000000 00100000 00000000
  226.                100004: 00000000 00000000 00110000 00000000
  227.                100000: 00000000 00000000 00000000 01000000
  228.                                    =
  229.                                                               Total
  230.                Errors: 00100000 00010000 00110000 01000000 Bits in error
  231.                This value is then displayed in hex as:
  232.  
  233.                                    0-127K  128-255K
  234.                               1M  20103040 ........
  235.                               2M  ........ ........
  236.  
  237.                A hardware manual for your computer is required to map
  238.           address and bit failure information to specific failing memory
  239.           chips. This mapping is specified in your mother board design, and
  240.           is beyond the scope of this program.
  241.  
  242.  
  243.           Operation
  244.           =========
  245.  
  246.                TESTEXT was designed to run under DOS. It will not run under
  247.           OS/2. To invoke TESTEXT, type TESTEXT at the command line prompt.
  248.           You can supply a single optional parameter, the extended memory
  249.           size in kilobytes.
  250.  
  251.                Examples:
  252.  
  253.                >TESTEXT            ;;; test all configured extended memory
  254.  
  255.                >TESTEXT 512        ;;; test 1st 512K of extended memory
  256.  
  257.                 The rest is automatic. There is no way of returning direct-
  258.           ly to DOS once TESTEXT is started. If your computer is equipped
  259.           with a hardware reset button, you may use it to get out. Otherw-
  260.           ise, hit the ESCape key and you will get the same result. In
  261.           either case your system will perform a complete cold boot
  262.           sequence. This restriction is intentional. Previous versions
  263.           allowed keyboard exit back to DOS, but the risk was high. Many
  264.           angry netmails about clobbered caches and disk drives, have
  265.           convinced me that most individuals will ignore warnings about
  266.           disabling disk cache and ram drives when testing.
  267.  
  268.                Be aware that for large extended memories it takes time to
  269.           do a thorough test. In extreme cases TESTEXT may take up to 5
  270.           minutes to complete a single pass.
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.           Extended Memory Test for 80286/386/486,  J.M.Cyr,  October 1990
  279.  
  280.           Comments/Suggestions
  281.           ====================
  282.  
  283.                You may address comments and suggestions to me (Jean Cyr) at
  284.           Code Conjurers BBS (613-224-4480, or 224-9276) in Ottawa, or on
  285.           Compuserve to Userid [76616,556].
  286.  
  287.  
  288.           Releases and Versions
  289.           =====================
  290.  
  291.           Release 3 Version 0
  292.             -  First FreeWare release.
  293.  
  294.           Release 3 Version 1
  295.             -  Code optimization, 30% speed improvement.
  296.             -  Keyboard initiated cold boot.
  297.  
  298.           Release 3 Version 2
  299.             -  Fixes bug in memory size detection.
  300.  
  301.           Release 3 Version 3
  302.             -  Turn off drive motor when loaded from floppy.
  303.