delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/26/07:15:48

From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANNOUNCE: CWSDPMI r5 released
Date: Thu, 26 Oct 2000 13:00:07 +0200
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 119
Message-ID: <39F80EB7.A86BF00C@ma.tum.de>
References: <200010251615 DOT MAA11371 AT delorie DOT com>
NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de
Mime-Version: 1.0
X-Trace: wsc10.lrz-muenchen.de 972558070 29067 131.159.69.74 (26 Oct 2000 11:01:10 GMT)
X-Complaints-To: news AT lrz-muenchen DOT de
NNTP-Posting-Date: 26 Oct 2000 11:01:10 GMT
X-Mailer: Mozilla 4.73 [de]C-CCK-MCD DT (Win98; U)
X-Accept-Language: de,en,en-US
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Charles Sandmann schrieb:
> 
> CWSDPMI r5 has been release and is available on Simtel and mirrors.
Thank you very much for your efforts.

When playing with CWSPARAM to find optimal settings for my application,
I often experienced, that (unnoticed) the application loaded an other CWSDPMI
from the path (or from it's stub info, or an other DPMI server was already
loaded) 
than that one I just had modified. 
Also I always had my difficulies with pages and paragraphs sizes to remember :-)

So I have modified the CWS_PARAM(r4) program to have the following screen
outputs.
For some parts I took my inspiration from Allegro, others were made by myself. 
If you all like it, we could ask Mr. Charles Sandman to take my modifications
over
to his r5 distribution. Thanks for comments or even more "enhancements".
BTW please don't take this as a critisism of Charles' great work.


DOS C:>cws_param -h           

CWSPARM Usage: CWSPARM [-h] [dpmi_image] [-v] [param=value . . . ]
           or: CWSPARM [-h] [prog_name]  [-v] [param=value . . . ]
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-h means give help   -v means view params  param=value means set w/o prompt
use full name to modify a given 'dpmi_image' (default is "./cwsdpmi.exe")
use 'prog_name' to modify an executable`s associated dpmi-image
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*parameter*        *parameter description*
swapfile           Full name of paging file ("" to disable)
pagetable          Number of page tables to allocate (0=auto)
minappmem          Minimum application memory before 640K paging
savepara           DOS memory to reserve when 640K paging
heap               Memory for extra CWSDPMI internal heap
maxswap            Maximum size of swap file
flags              Value of run option flags
                       
                       
DOS C:>cws_param -v           

DOS Version is 'MS-DOS 7.10'

DPMI memory:
Physical:                   55 Mb         56.896 Kb     58.261.504 b
Disk:                       68 Mb         69.980 Kb     71.659.520 b
Total Virtual:             123 Mb        126.876 Kb    129.921.024 b

CWSPARM: parameter values of './cwsdpmi.exe'

CWSPARM: An other DPMI server (guess W98) is already memory resident!
         No parameter inside './cwsdpmi.exe' will have any effect
         until the './cwsdpmi.exe' DPMI image is actually loaded

*parameter value*  *parameter description*
c:/cwsdpmi.swp     Full name of paging file ("" to disable)
  0                Number of page tables to allocate (0=auto)
512 Kb             Minimum application memory before 640K paging
 60 Kb             DOS memory to reserve when 640K paging
  2 Kb             Memory for extra CWSDPMI internal heap
128 Mb             Maximum size of swap file
  3                Value of run option flags
                       
                       
DOS C:>cws_param              

DOS Version is 'MS-DOS 7.10'

DPMI memory:
Physical:                   55 Mb         56.896 Kb     58.261.504 b
Disk:                       68 Mb         69.980 Kb     71.659.520 b
Total Virtual:             123 Mb        126.876 Kb    129.921.024 b

CWSPARM: parameter values of './cwsdpmi.exe'

CWSPARM: An other DPMI server (guess W98) is already memory resident!
         No parameter inside './cwsdpmi.exe' will have any effect
         until the './cwsdpmi.exe' DPMI image is actually loaded

Full name of paging file ("" to disable)      ? [c:/cwsdpmi.swp] 
Number of page tables to allocate (0=auto)    ? [  0   ] 
Minimum application memory before 640K paging ? [512 Kb] 
DOS memory to reserve when 640K paging        ? [ 60 Kb] 
Memory for extra CWSDPMI internal heap        ? [  2 Kb] 
Maximum size of swap file                     ? [128 Mb] 
Value of run option flags                     ? [  3   ]                        
                       

DOS C:>cws_param ..\DFR       

DOS Version is 'MS-DOS 7.10'

DPMI memory:
Physical:                   55 Mb         56.896 Kb     58.261.504 b
Disk:                       68 Mb         69.980 Kb     71.659.520 b
Total Virtual:             123 Mb        126.876 Kb    129.921.024 b

CWSPARM: parameter values of '../BIN/dpmi.usr'
         potentially used by '../DFR.exe'

CWSPARM: An other DPMI server (guess W98) is already memory resident!
         No parameter inside '../bin/dpmi.usr' will have any effect
         until the '../bin/dpmi.usr' DPMI image is actually loaded

Full name of paging file ("" to disable)      ? [c:/cwsdpmi.swp] 
Number of page tables to allocate (0=auto)    ? [  0   ] 
Minimum application memory before 640K paging ? [ 60 Kb] 
DOS memory to reserve when 640K paging        ? [ 20 Kb] 
Memory for extra CWSDPMI internal heap        ? [  8 Kb] 
Maximum size of swap file                     ? [255 Mb] 
Value of run option flags                     ? [  0   ]                        



-- 
 Gruss Waldemar Schultz.
 Technische Universität München, Zentrum Mathematik M1, D 80290 München
 Tel: +49 (0)89 2892 8226        FAX: +49 (0)89 2892 8228

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019