Mail Archives: djgpp/1998/01/08/01:15:50
James Higginbotham wrote:
>
> Is there a list anywhere that explains how to do simple screen
> controls with djgpp? I am currently using RHIDE with DJGPP attempting
> to expand my limited C knoweledge. While I have learned that there are
> no basic options for clearing the screen, changing it to blue etc...
> there has got to be a way. My operating system is Win95/MS-Dos and I
> am not playing with C++ at the moment just C. Any links would be
> greatly appreciated that cover screen controls under DOS and DJGPP.
for text mode, look at conio.h and the documentation for the functions
contained therein. (type info libc func conio at the command prompt if
you installed the texinfo package.)
for elementary mode 0x13 VGA stuff, take a look at:
http://www.people.cornell.edu/pages/asu1/samples/index.html#Putpixel
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -