home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD2.iso / DOSTOOLS / PMODEW / PMODEW.FAQ < prev    next >
Encoding:
Text File  |  1996-12-31  |  5.8 KB  |  122 lines

  1. ------------------------------------------------------------------------------
  2. ------------------ Frequently Asked Questions About PMODE/W ------------------
  3. ------------------------------------------------------------------------------
  4. ----------------------------- Updated 11/18/96 -------------------------------
  5. ------------------------------------------------------------------------------
  6.  
  7. Q: Where can I find the latest version of PMODE/W?
  8.  
  9. A: The best way to get the latest version is via the Internet. We always place
  10.    the newest PMODE/W on the following sites. The sites toward the top are
  11.    most likely to have it first:
  12.  
  13.    ftp://ftp.cdrom.com/pub/demos/incoming/code
  14.    (later moved to /pub/demos/code/pmode)
  15.    ftp://x2ftp.oulu.fi/pub/msdos/programming/watcom
  16.  
  17.    You can get the latest release (as well as other information) via WWW at:
  18.  
  19.    http://www.di.net/pmw
  20.    http://www.dorsai.org/~daredevi/pmw
  21.  
  22.    In addition, you may contact the authors directly by sending email to
  23.    daredevi@dorsai.org.
  24.  
  25.  
  26. Q: How do I get rid of the startup message? How come it was never there before?
  27.  
  28. A: You can disable the startup message using PMWSETUP. The startup message
  29.    was just added in v1.23 at the request of many PMODE/W users. We did not
  30.    feel a need to display anything at startup, but since so many have asked
  31.    for it, we decided to add it in this version.
  32.  
  33.  
  34. Q: Is PMODE/W 100% compatible with DOS/4GW?
  35.  
  36. A: PMODE/W is compatible with nearly all Watcom C/C++ functions. However,
  37.    PMODE/W does not support all of the extensions and API functions which
  38.    DOS/4GW does. DOS/4GW does a number of things that we feel are quite
  39.    unnecessary for most applications and most likely you will never miss them
  40.    (especially since they waste a lot of your precious memory and disk space).
  41.    Why extend something, wasting system resources, when you may not even be
  42.    using it in your program? So remember: before blaming a problem with your
  43.    program on PMODE/W, make sure that what you are doing is indeed supported
  44.    by our system. Read PMODEW.DOC for more information.
  45.  
  46.    NOTE: PMODE/W is NOT a clone of DOS/4GW! There are many differences in the
  47.          way PMODE/W operates. Please keep this in mind when reporting bugs.
  48.  
  49.  
  50. Q: Why doesn't my PMODE/W program work with DOS/4GW?
  51.  
  52. A: You can not run a compressed PMODE/W program with DOS/4GW. The program may
  53.    be using a DPMI function which PMODE/W supports but DOS/4GW does not. You
  54.    may also be using 16 bit code directly instead of allocating DOS memory,
  55.    copying the code, and using it. PMODE/W always loads 16 bit real mode code
  56.    into low memory, thus enabling you to use it directly. DOS/4GW loads all
  57.    code into extended memory, where you can not use real mode code.
  58.  
  59.  
  60. Q: Why doesn't my DOS/4GW program work with PMODE/W?
  61.  
  62. A: Almost any program that works with DOS/4GW will run correctly with PMODE/W
  63.    as long as it does not use any DOS/4GW specific functions. If a program
  64.    does not work at first, you may have to tweak the PMODE/W system variables
  65.    using PMWSETUP. For example, you may try setting the maximum low memory to
  66.    reserve to 0FFFFh to force PMODE/W to load all 32 bit code and data into
  67.    extended memory like DOS/4GW (16 bit code will still be loaded into low
  68.    memory). You may also try increasing the number and/or nesting of the
  69.    protected and real mode stacks.
  70.  
  71.  
  72. Q: Can I still debug PMODE/W programs under the Watcom debugger?
  73.  
  74. A: Yes you can. You can debug your PMODE/W programs in exactly the same manner
  75.    you would debug a DOS/4GW program (using the /TR=RSI switch of course). You
  76.    cannot, however, debug programs which have been compressed using PMWLITE.
  77.    You also cannot debug PMODE/W programs that do not run under DOS/4GW.
  78.  
  79.  
  80. Q: Why can't I access more than 16 megs of memory under my VCPI server when
  81.    there is more than that available in my system?
  82.  
  83. A: You must increase the maximum number of VCPI page tables PMODE/W will
  84.    manage using the PMWSETUP program. Each page table you add will give you
  85.    another 4 megs of memory (provided that it is physically available of
  86.    course).
  87.  
  88.  
  89. Q: Why can't I map more than 4 megs of address space of a physical device
  90.    using DPMI function 0800h?
  91.  
  92. A: You must increase the maximum number of physical address mapping pages in
  93.    PMODE/W using PMWSETUP.
  94.  
  95.  
  96. Q: How come PMODE/W takes a little while to load under EMM386?
  97.  
  98. A: PMODE/W allocates all of its extended memory pool during initialization
  99.    whereas DOS/4GW allocates memory every time you (or the C libraries) call
  100.    the DPMI memory allocation functions. The delay is caused by EMM386's
  101.    slowness in allocating pages. PMODE/W may take a little longer than DOS/4GW
  102.    at startup in this case, but it will be much faster during the execution
  103.    of the program since it does not need to call EMM386 for memory again
  104.    after that. If the delay is a problem, you can adjust the amount of
  105.    extended memory to allocate in PMWSETUP. The less memory there is to
  106.    allocate, the faster loading will be under EMM386. However, keep in mind
  107.    your memory requirements when changing that setting.
  108.  
  109.  
  110. Q: How come DOS/4GW, Pharlap, or other 32bit DOS applications don't work using
  111.    spawn() under PMODE/W?
  112.  
  113. A: Some other DOS extenders require extended memory to initialize. Also, the
  114.    program you are trying to run may require extended memory. To remedy this,
  115.    you can change the maximum amount of extended memory for PMODE/W to
  116.    allocate using PMWSETUP. Set the value to something you feel meets the
  117.    requirements of your program instead of the default (which allocates ALL
  118.    memory). This will make sure that your program does not allocate any more
  119.    memory than it needs, therefore leaving whatever memory is left over for
  120.    the program you are trying to execute.
  121.  
  122.