Xref: news2.mv.net comp.os.msdos.djgpp:5972 From: Tom Wheeley Newsgroups: comp.os.msdos.djgpp Subject: Re: go-32 and Linux DOSEMU Date: Sun, 14 Jul 96 11:58:00 GMT Organization: City Zen FM Lines: 40 Message-ID: <837345480snz@tsys.demon.co.uk> References: <199607121004 DOT GAA07038 AT fcshome DOT stoneham DOT ma DOT us> Reply-To: tomw AT tsys DOT demon DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <199607121004 DOT GAA07038 AT fcshome DOT stoneham DOT ma DOT us> fredex AT fcshome DOT stoneham DOT ma DOT us writes: > Thinking furiously, DJ Delorie wrote: > > > > > > > I just got the patch to dpmi.c for dosemu installed and rebuilt dosemu. > > > Now I can run GCC, et al, and it's great. > > > > > > one little problem: > > > when run go32-v2, it reports: > > > > > > DPMI memory available: 7744 Kb > > > DPMI swap space available: 0 Kb > > > > Edit /etc/dosemu.conf and look for a line that starts with "dpmi" and > > increase the setting. I changed mine from the default of 8192 to > > 32768 and sure enough, I got 32M of dpmi memory. > > Sorry, maybe I didn't explain well enough: The problem I'm trying to > get at here isn't the amount of DPMI memory available (at the time I > ran that go32-v2 I had dosemu.conf set for 8mb of dpmi memory, so 7744 > seems eminently reasonable to me), but the complete absence of DPMI > swap space. > > This machine has 16mb of physical ram, and when running on bare dos (i.e., > not dosemu) I DO get a reasonable value of the swap space. Call me stupid if I'm wrong, but under Linux, dosemu is your DPMI server; thus you are using Linux's swap space. You're not using CWSDPMI, anyway, like you are under plain DOS. ..splitbung -- #include /* The .splitbung super .sig system! */ #include main(){FILE *f;int c;char s[99];puts("fav .sig: ");fgets(s,99,stdin);strtok (s,"\n");f=fopen(s,"rb");while((c=getc(f))!=EOF)putchar(c);if(f)fclose(f);}