Hi! If I have to guess, the latter (a DPMI call, I think) deliberately returns at most 2 GB to avoid sign overflows with software which uses 32 bit signed computation of how much memory it has :-) Maybe DOS32A has an option to let you disable that limiting if you dare. Or try HDPMI32 or CWSDPMI in various version or other DPMI drivers? And, if I may be curious, what program are you writing which will enjoy having more than 2 GB of RAM in DOS?
Regards, Eric :-) > Why mem.exe returns "Total memory" 3 612 188K but EAX=500h/int 31h > (and EAX=0xff90/int 21h by DOS32A) returns 2 096 601K only? Alex PS: You probably have 4 GB, of which some is not useable because for example your graphics card reserves areas? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user