From: russell DOT thamm AT dsto DOT defence DOT gov DOT au Newsgroups: comp.os.msdos.djgpp Subject: DJGPP & 256 MB Date: Wed, 21 Oct 1998 05:23:19 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 25 Message-ID: <70jr47$k0s$1@nnrp1.dejanews.com> NNTP-Posting-Host: 203.5.217.4 X-Article-Creation-Date: Wed Oct 21 05:23:19 1998 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) X-Http-Proxy: 1.0 x1.dejanews.com:80 (Squid/1.1.22) for client 203.5.217.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Can someone please tell me how to create a DJGPP program that can access all 256 MBytes of installed physical memory. I've read the FAQ and I still can't work it out. I am running in DOS 7 (Exit To DOS with custom CONFIG.SYS/AUTOEXEC.BAT). I am using CWSDPMI r4 configured for no virtual memory. I have HIMEM loaded. My program has a 118 MByte data structure and it causes a segmentation fault while loading. If I halve the size of this data structure, the program runs OK. The behaviour is the same with EMM386 loaded or not (novcpi noems), so I am convinced that the 128 MByte limit is the problem. Even if I could get it to work without EMM386 (which I can't), I have so little base memory left that I keep getting "out of memory errors" during compilation. I really need to load some drivers high (only 440k of base memory without smartdrv loaded). I'd be grateful for any help Russell Thamm -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own