delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/10/27/00:30:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: FreeDOS, cannot open swap file cwsdpmi.swp
Date: Wed, 26 Oct 2011 21:13:11 -0700 (PDT)
Organization: http://groups.google.com
Lines: 18
Message-ID: <870bf8bb-b48e-47cb-8ec0-3d5125d93df8@h24g2000yqm.googlegroups.com>
References: <aa046d5e-f173-44a1-bf71-acbbdd17e814 AT d37g2000prg DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1319688792 20357 127.0.0.1 (27 Oct 2011 04:13:12 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 27 Oct 2011 04:13:12 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: h24g2000yqm.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HNKUARELSC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1
(KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1,gzip(gfe)
Bytes: 2082
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9R4U2qh022332
Reply-To: djgpp AT delorie DOT com

Hi,

On Oct 26, 7:25 pm, jimm <jmich DOT  DOT  DOT  AT yahoo DOT com> wrote:
>
> I am making bootable floppies and a bootable cd-rom.
> I want to completely eliminate the possibility of CWSDPMI using swap.
> how do I compile/link/code/whatever my programs so that this is so?
> I can't expect any hard disks to have a partition on it.  c: may be
> actually an eltorito cdrom, so It may not necessarily be writable.  I
> want to completely rely on RAM, there's plenty of it to go around!

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.

Otherwise, you can disable at runtime, e.g. "lh cwsdpmi -p -s-" or
similar.

- Raw text -


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