From: James Hetfield Newsgroups: comp.os.msdos.djgpp Subject: virtual memory , paging ect Date: Wed, 28 May 1997 20:24:23 -0600 Organization: AT&T WorldNet Services Message-ID: <338CE8D7.7A56@nowhere.com> NNTP-Posting-Host: 207.147.118.108 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm new to protected mode programming and im trying to write a program that requires alot of memory. Anyway I get an error everytime that says I dont have enough dpmi memory. Dosn't dpmi support up to 256 mbytes vmen. If so how do I use it? Heres some partial source of what I'm trying to do ( this is for an emulator btw) UWORD *RAM[0xffffff] RAM[0]= malloc(0x80000); /* rom image */ RAM[c00000] = malloc(0x10000); RAM[c40000] = malloc(0x10000); Someone told me I would need to write my own virtual paging routines,handles ect, But I dont know where to begin. Any ideas on what to do? Thanks.