home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / windows / edos / advanced.txt < prev    next >
Text File  |  1993-06-14  |  5KB  |  268 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                       Chapter 1
  14.  
  15.                                 Advanced Information
  16.  
  17.  
  18.           1.1  IRQ conflicts: Or why your system acts like it has the
  19.           shakes.
  20.  
  21.  
  22.           IRQ conflicts are a hidden source of numerous nasty problems with
  23.           running DOS. As more and more hardware is installed in the
  24.           backplane, the chances of a conflict are very high. Herewith
  25.           follow Firefly Software's "rules of thumb".
  26.  
  27.           Get rid of internal fax and modem cards. Make external any
  28.           hardware that can be.
  29.  
  30.           Turn OFF the IRQ for LPT1 & 2. The IRQ is not needed unless you
  31.           use the printer ports for 2 way processing, and very few
  32.           installations do. Ordinary printing does not use bi-directional
  33.           transmissions.
  34.  
  35.           Remove the IRQ from COM2. Since I use COM2 only for a debug dump
  36.           line, consequently it does not seem to suffer from having the IRQ
  37.           turned off.
  38.  
  39.           These measures will free IRQs 3,5,7.
  40.  
  41.           Consult your hardware manual for instructions on how to disable
  42.           the IRQ's. Usually they are turned on/off by dip switches.
  43.  
  44.  
  45.  
  46.  
  47.           1.2  Expanded Memory (EMS): Or how to get along without knowing
  48.           what you are doing until the hair is all gone.
  49.  
  50.  
  51.           This comes under the heading of topics that you think you know,
  52.           what is going on. But in reality the tip of the iceberg is all
  53.           that is really visible. Stand here at the edge, and peer down
  54.           into the depths. The wonders to behold.
  55.  
  56.  
  57.           There are basically 3 memory managers.
  58.  
  59.              1.  386Max
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.              2.  QEMM
  74.  
  75.              3.  EMM386
  76.  
  77.           The following information is NOT inclusive, in that the material
  78.           will be confined as much as possible to EMS, and only 386
  79.           machines.
  80.  
  81.  
  82.           These memory manager provide control of EMS, XMS and UMB.
  83.  
  84.              1.  Expanded Memory
  85.  
  86.              2.  Extended Memory
  87.  
  88.              3.  Upper Memory Blocks
  89.  
  90.  
  91.           In general, if the memory manager provides EMS, it will also
  92.           provide the same total space as XMS memory, if requested. This
  93.           means that 1 meg of space can be used as EMS or XMS. Requests for
  94.           both being drawn from the same pool, up to a combined total of 1
  95.           meg.
  96.  
  97.  
  98.           If EMS is turned off, or inactive, there will not be any XMS.
  99.  
  100.           If the UMB is turned on then the manager will provide upper
  101.           memory blocks for use by DOS.
  102.  
  103.           If the memory manager is not loaded into memory it is the same as
  104.           if the manager were turned off. Except, in some cases EMS API
  105.           calls will appear to succeed, if loaded but not active.
  106.  
  107.  
  108.           If MS Windows is loaded after these memory managers, it turns
  109.           them off and provides the support. Except, there will no UMB
  110.           support if it was turned off prior to Windows' loading. This
  111.           means that Windows will provide EMS and XMS even when the other
  112.           memory managers were not loaded or active before Windows started
  113.           up.
  114.  
  115.           If the NoEMMDriver switch is TRUE in system.ini, then Windows
  116.           will not provide EMS or XMS support. Even if a PIF file provides
  117.           such.
  118.  
  119.  
  120.           A DOS application which fails to open "EMMXXXX0" and check the
  121.           returned file handle to see if it is a device, and subsequently
  122.           attempts to make EMS calls may experience calls that may or MAY
  123.           NOT fail. Some older EMS using programs do not check this
  124.           properly. When they fail, it is likely to be with a General
  125.           Protection Fault!
  126.  
  127.  
  128.  
  129.  
  130.                                         - 2 -
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           A DOS application running in Windows, where the PIF did not
  140.           provide any EMS will sometimes report a page frame segment of
  141.           B000 hex!
  142.  
  143.  
  144.           Configuration parameters in effect before Windows starts will be
  145.           taken over by Windows. You can not override these parameters with
  146.           those in system.ini.
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154. *************************************************
  155. There may be mistake in the text above, in that Windows will not 
  156. provide EMS if there was no EMS frame enabled before Windows was started.
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.                                         - 3 -
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.                                     Contents
  215.  
  216.  
  217.  
  218.                Chapter 1  Advanced Information                       1
  219.                   1.1  IRQ conflicts: Or why your system acts like it
  220.                        has the shakes. . . . . . . . . . . . . . . . 1
  221.                   1.2  Expanded Memory (EMS): Or how to get along
  222.                        without knowing what you are doing until the
  223.                        hair is all gone. . . . . . . . . . . . . . . 1
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.                                           i
  266.  
  267.  
  268.