From: Dave Bird Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI-Alloc with 192MB RAM - how ? Date: Mon, 26 Jul 1999 01:12:56 +0100 Organization: ARS HakeMongers inc...... ><_'> <_" Message-ID: References: <7n7si0$ae1$1 AT news DOT luth DOT se> <3797dc74 DOT sandmann AT clio DOT rice DOT edu> <7n9gpq$5lf$1 AT antares DOT lu DOT erisoft DOT se> <3798d38d DOT sandmann AT clio DOT rice DOT edu> <7nepsn$34o$3 AT news DOT luth DOT se> <379b8e09 DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: xemu.demon.co.uk X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209 X-Trace: news.demon.co.uk 933010263 nnrp-13:16598 NO-IDENT xemu.demon.co.uk:158.152.196.209 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.01 Lines: 30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <379b8e09 DOT sandmann AT clio DOT rice DOT edu>, Charles Sandmann writes >> Charles Sandmann (sandmann AT clio DOT rice DOT edu) wrote: >> : In r5 the maximum will be 2Gb which would consume an extra 64Kb. Dos memory >is >> : a precious resource which is needed for DMA buffers, nested images, and >> : pagetables. The number of users which needed more than 128Mb of virtual >> : is very small ... >> >> Are you saying this extra 64KB (or 4KB) is needed for every nested >> program? > >No, only once for the DPMI provider. But page tables for large memory is >a big problem. It takes 4Kb for each 4Mb memory address space you have >touched. So, if you want to use 384Mb physical memory (no virtual) then >you need 384Kb of memory just for the page tables. With DOS needs, DJGPP >low memory needs, and other DPMI needs - you can't afford to just waste >any of it. Some very small memory machines (640K/1Mb total memory 386s) >are supported by CWSDPMI - and it must use DOS memory for all purposes. Charles, couldn't the program either (1) suggest a default supported size based on knowing how much DOS memory there is, or (2) simply be recompilable with options for different large memory configurations? Then everyone would be happy. -- ^-^-^-@@-^-;-^ http://www.xemu.demon.co.uk/ (..)__u news:alt.smoking.mooses