Intel 386 CREAD/NEW/FOLLOWUP

Doug Huffman doug at proto.com
Wed Jun 19 23:54:36 AEST 1991


osmoviita at cc.helsinki.fi writes:

>In article <1991Jun17.020201.14746 at proto.com>, doug at proto.com (Doug Huffman) writes:
>> 
>> and is licensed from me.  The 386 one has a 64 MB limit under DOS and VCPI
>> because the BIOS returns the number of K bytes of extended memory available 
>> in a 16 bit register, under DPMI you have less because things are different

>Only 64 MB? DJGPP has 128 MB main memory + 128 MB disk swap space! 
>How about the virtual memory size in Your extender? And so, is DPMI only
>for small data forever?

I do not know how it can allocate 128 MB.  How does it know this much memory
is available?  The BIOS doesn't handle this.  Send email on this or post
in comp.os.msdos.programmer, this is out of line for comp.lang.c

Under DPMI the amount of memory available is host dependant.  With my 
extender I take 3/4 of the memory reported by the DPMI host.  My extender
will handle up to 3 GBytes under DPMI (provided the host reported 4 GBytes
available).

My extender does not current provide virtual memory directly, this is 
handled by the DPMI host.

-- 
uunet!proto!doug
doug at proto.com



More information about the Comp.lang.c mailing list