X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: jimm Newsgroups: comp.os.msdos.djgpp Subject: Re: FreeDOS, cannot open swap file cwsdpmi.swp Date: Thu, 27 Oct 2011 00:24:46 -0700 (PDT) Organization: http://groups.google.com Lines: 25 Message-ID: <614778bd-5b4e-4b9a-9e4d-cf18c4505c4e@31g2000prp.googlegroups.com> References: <870bf8bb-b48e-47cb-8ec0-3d5125d93df8 AT h24g2000yqm DOT googlegroups DOT com> NNTP-Posting-Host: 24.22.56.37 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1319701558 22292 127.0.0.1 (27 Oct 2011 07:45:58 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 27 Oct 2011 07:45:58 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: 31g2000prp.googlegroups.com; posting-host=24.22.56.37; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe) Bytes: 2362 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9R8033V006588 Reply-To: djgpp AT delorie DOT com On Oct 26, 9:13 pm, Rugxulo wrote: > Hi, > > On Oct 26, 7:25 pm, jimm 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. 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.