From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with Fat DS Date: Sat, 20 Jul 2002 21:38:58 CDT Organization: Rice University, Houston TX Lines: 24 Message-ID: <3d3a1ec2.sandmann@clio.rice.edu> References: <299ed26b DOT 0207201516 DOT 5f44e2a3 AT posting DOT google DOT com> NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1027219721 29809 128.42.105.3 (21 Jul 2002 02:48:41 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 21 Jul 2002 02:48:41 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > while the above program runs on a normal PC with DOS, I am getting a > > "Error: could not allocate page table memory" > > in our target board which runs ROM-DOS. There are no other programs > running. Even a mem /c commands shows 613K of conventional memory free. This is strange - this should only happen if it tries to allocate DOS memory and fails, or you are trying to lock a whole bunch of physical memory. One thing to try is to use cwsparam to disable UMB usage (flags = 1) - it could the UMB calls are causing problems ? The only other thing I can think of is memory chain corruption, or not completely compatible DOS API calls. > I'd like to know what is the normal page table entries one > should use in setting parameters using CWSPARAM.EXE. Any anwers would > be really helpful. Automatic should always work, unless some other program has all the memory allocated. How big is the memory footprint of the image you would like to run? Start big (something like 20) and see how it works.