home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 198 / DOS6ALL.ZIP / PD0456.TXT < prev    next >
Text File  |  1993-03-11  |  9KB  |  245 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.     PD0456: HOW DO I GET MS-DOS(R) TO RUN IN THE HIGH MEMORY AREA?
  4. ======================================================================
  5.                                                    Revision Date: 4/93
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft MS-DOS versions 5.0 and
  9. 6.0.
  10.  
  11. INTRODUCTION
  12. ============
  13.  
  14. Microsoft MS-DOS can conserve memory by loading itself into the first
  15. 64 kilobytes (K) of extended memory, known as the high memory area
  16. (HMA). However, sometimes MS-DOS cannot load into the HMA.
  17.  
  18. WHAT ARE THE PREREQUISITES FOR LOADING MS-DOS INTO THE HMA?
  19. ===========================================================
  20.  
  21. MS-DOS can load itself into the HMA if all the following conditions
  22. are met:
  23.  
  24.  - Your computer must have an 80286 or higher processor.
  25.  
  26.  - Your computer must have extended memory (MS-DOS cannot load into
  27.    expanded memory). Use the MEM command to find out what type of
  28.    memory your computer has.
  29.  
  30.  - Your CONFIG.SYS file must contain a DEVICE command for HIMEM.SYS or
  31.    an equivalent extended memory manager. (For details, see "What
  32.    should I do if MS-DOS won't load into the HMA?" later in this
  33.    document.)
  34.  
  35.  - Your CONFIG.SYS file must contain either a DOS=HIGH or DOS=HIGH,
  36.    UMB command. The DOS command should appear after the DEVICE command
  37.    for HIMEM.SYS, and before any other DEVICE commands. (For details,
  38.    see "What should I do if MS-DOS won't load into the HMA?" later in
  39.    this document.)
  40.  
  41. HOW DO I FIND OUT WHETHER MS-DOS HAS SUCCESSFULLY LOADED INTO THE HMA?
  42. ======================================================================
  43.  
  44. To find out whether MS-DOS has loaded into the HMA, type "mem"
  45. (without the quotation marks) at the MS-DOS command prompt.
  46.  
  47. MS-DOS displays information about your system's memory. If the last
  48. line of the display reads "MS-DOS is resident in the High Memory
  49. Area," MS-DOS has successfully loaded into the HMA.
  50.  
  51. WHAT SHOULD I DO IF MS-DOS WON'T LOAD INTO THE HMA?
  52. ===================================================
  53.  
  54. If MS-DOS fails to load into the high memory area, follow the
  55. procedures below in order.
  56.  
  57. Procedure 1: Make Sure Your System Meets
  58. the Prerequisites for Loading MS-DOS into the HMA.
  59. --------------------------------------------------
  60.    
  61. 1. Make sure your system has an 80286 or higher processor.
  62.  
  63. 2. Make sure your computer has extended memory. To find out, type
  64.    "mem" (without the quotation marks) at the MS-DOS command prompt.
  65.    The MEM command reports the type and amount of memory that your
  66.    computer has.
  67.  
  68. 3. Edit your CONFIG.SYS file. To edit the file using MS-DOS Editor,
  69.    type the following at the MS-DOS command prompt:
  70.       
  71.       edit c:\config.sys
  72.  
  73. 4. Make sure your CONFIG.SYS file contains a DEVICE command for
  74.    HIMEM.SYS. If the file doesn't contain one, insert the following
  75.    line at the beginning of the file:
  76.  
  77.       device=c:\dos\himem.sys
  78.  
  79. 5. Make sure your CONFIG.SYS file contains a DOS=HIGH command or a
  80.    DOS=HIGH, UMB command. If the file doesn't contain one of these
  81.    commands, insert the following line:
  82.  
  83.       dos=high
  84.  
  85. 6. If you're using MS-DOS Editor, choose Exit from the File menu. When
  86.    MS-DOS Editor displays a dialog box prompting you to save your
  87.    file, choose the Yes button or press ENTER.
  88.  
  89. 7. Restart your computer by pressing CTRL+ALT+DEL.
  90.  
  91. 8. Use the MEM command to find out whether MS-DOS has loaded
  92.    successfully into the HMA. If MS-DOS has failed to load into the
  93.    HMA, continue with the next procedure.
  94.    
  95.    NOTE: If your MS-DOS directory is on a drive other than C,
  96.    substitute the appropriate drive letter for "c" in the above steps
  97.    and in the remaining procedures.
  98.  
  99. Procedure 2: Add the /CPUCLOCK Switch
  100. to the Device Command for HIMEM.SYS.
  101. -------------------------------------
  102.    
  103. 1. Create an MS-DOS startup disk. To do so, insert a formatted
  104.    floppy disk in drive A and type the following:
  105.       
  106.       sys c: a:
  107.     
  108.    Notes
  109.  
  110.    - Do not use drive B when you create a startup disk. Most computer
  111.      BIOS startup procedures do not look for a disk in drive B when
  112.      starting the computer (even though the light on drive B may turn
  113.      on momentarily).
  114.  
  115.    - If you are using MS-DOS 6.0, you can skip to step 3. You do not
  116.      need to create a startup floppy disk because you can use the 
  117.      MS-DOS 6 .0 interactive startup key (F8) to bypass commands in 
  118.      your CONFIG.SYS file if they cause your system to stop responding
  119.      (hang). For more information on using interactive startup, see
  120.      the "MS-DOS User's Guide and Reference," Chapter 4, "Configuring
  121.      Your System."
  122.  
  123. 2. Copy your CONFIG.SYS file to the startup disk by typing the
  124.    following:
  125.       
  126.       copy c:\config.sys a:\
  127.  
  128. 3. Use MS-DOS Editor to open your original CONFIG.SYS file. Locate the
  129.    DEVICE command for HIMEM.SYS and add the /CPUCLOCK:ON switch to it.
  130.    The command should now appear as follows:
  131.       
  132.       device=c:\dos\himem.sys /cpuclock:on
  133.  
  134. 4. Save your CONFIG.SYS file.
  135.  
  136. 5. Restart your computer by pressing CTRL+ALT+DEL.
  137.  
  138. 6. Use the MEM command to find out whether MS-DOS has loaded
  139.    successfully into the HMA. If MS-DOS has failed to load into the
  140.    HMA, continue with the next procedure.
  141.  
  142. Procedure 3: Add the /MACHINE Switch
  143. to the Device Command for HIMEM.SYS.
  144. ------------------------------------
  145.    
  146. 1. Use MS-DOS Editor to open your CONFIG.SYS file. Locate the DEVICE
  147.    command for HIMEM.SYS and add the /MACHINE switch to it. The
  148.    /MACHINE switch specifies the type of computer you have. The switch
  149.    should be followed by a colon (:) and your machine number (see the
  150.    following list). For example, the following DEVICE command
  151.    specifies that your computer is a Toshiba(R) 5100 (machine number
  152.    7):
  153.  
  154.       device=c:\dos\himem.sys /cpuclock:on /machine:7
  155.  
  156.    The following table lists machine types in alphabetical order, and
  157.    shows the corresponding number to specify with the /MACHINE switch:
  158.  
  159.      Machine Type               Number
  160.      ------------------------------------------------
  161.                            
  162.      Abacus 386                 1
  163.      Acer 1100                  6
  164.      AT&T(R) 6300 Plus          5
  165.      Bull Micral 60             16
  166.      Chaplet                    1
  167.      CompuAdd(R) 386 systems    1 or 8
  168.      CSS Labs                   12
  169.      Datamedia 386/486          2
  170.      Everex(TM) AT Plus 1800    1
  171.      Everex Notebook ELX        1
  172.      Excel Computer Systems     13
  173.      Hitachi(R) HL500C          8
  174.      Hewlett-Packard(R)         14
  175.         (HP(R)) Vectra(R)
  176.      HP Vectra (A and A+)       4
  177.      IBM(R) PC/AT(R)            1, 11, 12, or 13
  178.      IBM PS/2(R)                2
  179.      Intel(R) 301z or 302       8
  180.      JDR 386/33                 1
  181.      OPT 386-25 motherboard     1
  182.      Pak 386SX                  1
  183.      PC Limited                 4
  184.      PC 380/33C, PC 350/33C,    2
  185.         or PC300/33C BIOS 
  186.         revision 1.14
  187.      Philips                    13
  188.      Phoenix Cascade BIOS       3, 1, or 8
  189.      Toshiba 1600 and 1200XE    7
  190.      Toshiba 5100               7
  191.      Tulip(R) SX                9
  192.      Unisys(R) PowerPort        2
  193.      WYSE(R) 12.5 MHz 286       8
  194.      Zenith(R) ZBIOS            10
  195.  
  196.    If your computer is not on the list, or you are not sure which
  197.    number to use, try machine numbers in the following order: 1, 11,
  198.    12, 13, 8, 2-10, 14-16.
  199.  
  200. 2. Save your CONFIG.SYS file.
  201.  
  202. 3. Restart your computer by pressing CTRL+ALT+DEL.
  203.  
  204.    If your computer fails when you restart it, or you see the "ERROR:
  205.    Unable to control A20 line!" message, the machine number you
  206.    specified is incorrect for your hardware. If the computer hangs and
  207.    you are using MS-DOS 5.0, insert the startup disk in drive A and
  208.    restart your system. If you are using MS-DOS 6.0, use the F8 key to
  209.    start the interactive startup procedure. When you are prompted to
  210.    load HIMEM.SYS, press the N key.
  211.  
  212.    Then, edit your CONFIG.SYS file, specify a different machine
  213.    number, save your changes, and restart your system. You may need to
  214.    try several machine numbers before you identify the one that works
  215.    for your computer.
  216.  
  217. 4. After your computer starts, use the MEM command to find out whether
  218.    MS-DOS loaded into the HMA. If it did not, repeat this procedure
  219.    and specify a different machine number.
  220.  
  221. ADDITIONAL INFORMATION
  222. ======================
  223.  
  224. If you are using MS-DOS 5.0, refer to the following sources for
  225. additional information:
  226.  
  227. "Microsoft MS-DOS User's Guide and Reference," page 282, which
  228. explains how to load MS-DOS into the HMA.
  229.  
  230. "Microsoft MS-DOS User's Guide and Reference," pages 610-613, which
  231. provides details about the HIMEM.SYS device driver.
  232.  
  233. If you are using MS-DOS 6.0, refer to the following sources for
  234. additional information:
  235.  
  236. "Microsoft MS-DOS User's Guide," Chapter 6, "Making More
  237. Memory Available"
  238.  
  239. Microsoft MS-DOS Help Command Reference, (type "help" [without the
  240. quotation marks] at the MS-DOS command prompt).
  241.  
  242.  
  243.  
  244.  
  245.