Mail Archives: djgpp/2002/07/20/23:00:09
> 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.
- Raw text -