cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/11/13:01:28

Message-ID: <382B0194.9C195801@home.com>
From: Robin Johnson <robbat2 AT home DOT com>
Organization: Orbit Computers
X-Mailer: Mozilla 4.5 [en]C-AtHome0405 (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Changing text modes. 80*50.
References: <80ej8t$rus$2 AT news6 DOT svr DOT pol DOT co DOT uk>
Lines: 31
Date: Thu, 11 Nov 1999 17:49:07 GMT
NNTP-Posting-Host: 24.113.36.103
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.bc.home.com 942342547 24.113.36.103 (Thu, 11 Nov 1999 09:49:07 PST)
NNTP-Posting-Date: Thu, 11 Nov 1999 09:49:07 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tom Morton wrote:

> Does anyone know how I can set the text mode to be 80*50 characters?
> IIRC setting colour text mode is done seperately from setting the
> number of lines but I just can't remember how to do it.
> This is the wee chunk of code that sets text mode but it leaves me
> in 80*25 characters, which is too small:
>
>  /* Set video mode */
>  r.h.ah = 0x00;
>  r.h.al = 0x03; /* Color text mode */
>  int86(0x10, &r, &r);

80x50 is a mode supported by VESA, so try using a VESA set of init
routines.
and then changemode to what ever the mode is.

I think that the functionity is in Allegro.

--
Robin Hugh Johnson
"Robbat2"
"Of all deceptions, self-deception is the worst"
- Plato
E-Mail     : robbat2 AT hotmail DOT com
ICQ#       : 30269588 or 41961639
Mail Files : robbat2 AT home DOT com
Home Page  : http://robbat2.cjb.net
Time Zone  : Pacific Daylight (GMT - 8)


- Raw text -


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