Mail Archives: djgpp/1997/12/11/12:16:53
From: | Ryan McGee <don't AT spam DOT me>
|
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
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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
- Raw text -