delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/08/07:27:11

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: text VGA mode
Date: Tue, 8 Jun 1999 08:50:34 +0100
Organization: (Posted via) Netcom Internet Ltd.
Message-ID: <7jihov$7be$1@taliesin.netcom.net.uk>
References: <EGEOGAKKOJJOBAAA AT mailcity DOT com>
NNTP-Posting-Host: hgty.capgemini.co.uk
X-Trace: taliesin.netcom.net.uk 928827999 7534 194.42.240.2 (8 Jun 1999 07:46:39 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: 8 Jun 1999 07:46:39 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Lines: 27
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Brian Ronk wrote in message ...
>>The same way as you would set a video mode, int 0x10.
>
>Hmmm...  Maybe I needed to be a little more specific... ;)  I have only
worked in text mode, so I don't know how to set a video mode, unless it's
the textmode() function...


Sorry :-)
textmode (int _mode) does change the screen mode but it seems to be a little
limited in the modes it can set.

The _set_screen_lines (int nlines) function offers more modes (80 columns
with 25, 28, 35, 40, 43 or 50 rows), use gettextinfo (struct text_info *_r)
to check whether it worked or not. All of the above are in <conio.h>.

There are other text modes, the only way I know to use them is by using
VESA, if you want some code to do so then email me direct and I'll send you
some.

Hope this helps.

Mike
Michael DOT Stewart AT capgemini DOT co DOT uk
mike AT reggin DOT freeserve DOT co DOT uk


- Raw text -


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