Mail Archives: djgpp-workers/2001/04/05/06:31:45
On Thu, 5 Apr 2001, Esa A E Peuha wrote:
> On Wed, 4 Apr 2001, Eli Zaretskii wrote:
>
> > No, 0x10ffff is right from this point of view as well: the DPMI spec
> > requires that the size be an integral multiple of 4KB, i.e. the size
> > must be 0x110000, not 0x10fff0.
>
> But only if it's greater than 64 kB.
Yes, of course--and the _dos_ds segment is indeed of the large kind.
> Maybe we should print
> the limit so that this restriction is obvious, like "0010f---", instead
> of "0010ffff".
I think the exact number makes it easier to compare register values with
the limit to see what register is garbled. Whoever looks at the values
should know the DPMI basics ;-)
- Raw text -