delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/08/01:15:50

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Questions on Screen Controls
Date: Wed, 07 Jan 1998 17:11:09 -0500
Organization: Cornell University (http://www.cornell.edu/)
Lines: 24
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34B3FD7D.BE105F0C@cornell.edu>
References: <690me3$cn8 AT bgtnsc02 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: cu-dialup-0002.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019