From: clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman) Newsgroups: comp.os.msdos.djgpp Subject: DOS Protected Mode Services under Windows XP Date: 22 Jun 2002 15:53:21 GMT Organization: University of Virginia Computer Science Department Lines: 38 Message-ID: NNTP-Posting-Host: cobra.cs.virginia.edu X-Trace: murdoch.acc.Virginia.EDU 1024761201 12077 128.143.137.16 (22 Jun 2002 15:53:21 GMT) X-Complaints-To: abuse AT virginia DOT edu NNTP-Posting-Date: 22 Jun 2002 15:53:21 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have laptop with multiple OS installations, including Windows XP and DR-DOS. I have installed the Windows XP updates for DJGPP 2.03. When I run go32-v2, it tells me I have 136MB of DPMI memory available, but 0KB of swap space. (The laptop has 256 MB of DRAM). gcc 2.95.3 is failing to compile a very large function in one of my C source files (it will produce a few hundred KB of object code in a single function.) The failure is silent; make shows that the compilation is occurring, then it simply stops and does not continue any further in the makefile, with no messages. So, I thought I probably need to do something about the 0 swap space. Searching my Windows XP directories produces no hits for EMM386.EXE; the Help utility has no hits for "DPMI" or "DPMS", etc. The C:\CONFIG.SYS and C:\AUTOEXEC.BAT files are empty. So, I edited the C:\CONFIG.SYS file to include the EMM386.EXE file from my DR-DOS partition: DEVICE=E:\DRDOS\EMM386.EXE MULTI DPMI=ON FRAME=AUTO DEVICE=E:\DRDOS\DPMS.EXE This is how I use DPMI services on DR-DOS, but it makes no difference in the DOS box under Windows XP. Does anyone else have any swap space available under Windows XP? If so, how? Or, is swap space irrelevant? My Windows NT desktop has no swap space either, but it compiles this file just fine. It has 224MB of RAM and go32-v2 shows 171MB of DPMI memory available, while my laptop has 256MB of RAM and only 136MB of DPMI memory. Is that the key? Does Windows XP provide DPMI services to the DOS box without my knowing it? Thanks for any help. Clark Coleman