From: Ryan McGee Newsgroups: comp.os.msdos.djgpp Subject: Re: Mode13h help... Date: Thu, 11 Dec 1997 10:54:44 -0600 Organization: InLink Communications Company Lines: 18 Message-ID: <34901AD4.3F32E6A9@spam.me> References: <348F6F25 DOT 564D AT alpha DOT delta DOT edu> NNTP-Posting-Host: iits0291.inlink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I ran into the same problem a couple days ago. I found out that DJGPP won't accept far calls, so it make writing to the VGA card a little harder. I use this code instead where pict is a pointer to a screen buffer. unsigned int x; _farsetsel(_dos_ds); for(x = 0; x < 320*200; x++) { _farnspokeb(0xA0000 + x, pict[x]); } Ryan __________________________________________________________________________ If you feel the need to e-mail me, you can do it at RDM AT inlink DOT com