delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/26/23:47:11

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cwsdpmi noswap
Date: Sun, 26 Oct 1997 21:18:05
Organization: Aspen Technology, Inc.
Lines: 13
Message-ID: <3453b38d.sandmann@clio.rice.edu>
References: <62imif$1sp AT news DOT xgw DOT fi>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: dmcap2.dmccorp.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> How can I give cwsdpmi command line options (-s-)? I have tried
> hex-editing the 'cwsdpmi.exe' text in the binary from
> 'CWSDPMI.EXE',0,0,0,0,0 to 'CWSDPMI.EXE -s-',0 but it doesn't help. I've
> also tried editing the source where is the text cwsdpmi.exe and compiling
> but it does exactly the same thing.

If you want to add a command option, you would have to hack the source for
the stub when it execs the image.  You don't want to do this.

You can set the swap capabilities via cwsparam.  So, do the following:
 1) copy cwsdpmi.exe csdpnosw.exe
 2) cwsparam csdpnosw.exe swapfile=""
 3) stubedit the djgpp image you want to run to specify csdpnosw.exe instead

- Raw text -


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