X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: FreeDOS, cannot open swap file cwsdpmi.swp Date: Thu, 27 Oct 2011 13:36:36 -0400 Organization: Aioe.org NNTP Server Lines: 59 Message-ID: References: <870bf8bb-b48e-47cb-8ec0-3d5125d93df8 AT h24g2000yqm DOT googlegroups DOT com> <614778bd-5b4e-4b9a-9e4d-cf18c4505c4e AT 31g2000prp DOT googlegroups DOT com> NNTP-Posting-Host: qBjb0U1QTH77eiTXJSCpEw.user.speranza.aioe.org X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2800.2001 X-Priority: 3 X-MSMail-Priority: Normal Bytes: 3182 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Rugxulo" wrote in message news:b73cdb6a-950b-47c5-bd85-14d191281a46 AT y36g2000yqm DOT googlegroups DOT com... > On Oct 27, 2:24 am, jimm wrote: > > On Oct 26, 9:13 pm, Rugxulo wrote: > > > On Oct 26, 7:25 pm, jimm wrote: > > > > I want to completely eliminate the possibility of CWSDPMI using swap. > > > > Since apparently you're using CWSDSTUB.EXE, you'll have to use > > > CWSPARAM.EXE (or similar) to change the default path "c:\cwsdpmi.swp" > > > to something invalid, e.g. "" (nothing), which (IIRC) by default will > > > just put a '\0' in the drive byte of the path. > > > how *exactly* do I do that with cwsparam? do I use this instead of > > cwsdstum or in addition to, or what's going on here? help me out. > > the manual doesn't work. > > ================ > F:\>copy /b cwsdstub.exe *.bak > > cwsdstub.exe => cwsdstub.bak > > F:\>cwsparam cwsdstub.exe > > Full name of paging file ("" to disable) ? [c:\cwsdpmi.swp] "" > > Number of page tables to initially allocate (0=auto) ? [0] > > Minimum application memory desired before 640K paging ? [512Kb] > > Paragraphs of DOS memory to reserve when 640K paging ? [3840] > > Paragraphs of memory for extra CWSDPMI internal heap ? [256] > > Maximum size of swap file ? [128Mb] > > Value of run option flags ? [0] > > F:\>cwsparam -v cwsdstub.exe Does PMODETSR.EXE use swap? I.e., If not, then I would change the DPMI host for it using STUBEDIT.EXE. E.g., STUBEDIT my_exe.exe It has five options, just hit enter for the first four. Change the last one to PMODETSR.EXE. You'll have to copy PMODETSR.EXE instead of CWSDPMI.EXE to your floppy. Mimimum amount of stack space (bytes/K/M) ? [0x80000 (512k)] Size of real-memory transfer buffer (bytes/K/M)? [0x4000 (16k)] Base name of ilfe to actually run (max 8 chars, ""=self) ? [""] Value to pass as file component of argv[0] (max 16 chars, ""=default) ? [""] Program to load to provide DPMI services (if needed) ? [CWSDPMI.EXE] Rod Pemberton