Date: Sun, 20 Dec 1998 16:30:32 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tobias Nygren cc: djgpp AT delorie DOT com Subject: Re: problems with linear frame buffer In-Reply-To: <367cdf99.0@d2o32.telia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 20 Dec 1998, Tobias Nygren wrote: > I am writing a program that uses VESA mode 10F, 320x200x16.8M. > > I have got the physical memory adress from the modeinfo block. > It is 0xe1000000 ... > > I want the modeinfo.physbaseptr into an > unsigned char *bigbuffer; Don't do that, it will get you in trouble. I suggest downloading the DJGPP FAQ list (v2/faq211b.zip from the same place you get DJGPP) and reading section 18.5 there.