www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/11/10:01:46

From: "Tom Morton" <tmorton AT yikesstation DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Changing text modes. 80*50.
Date: Thu, 11 Nov 1999 14:23:33 -0000
Organization: Yikes Station Ltd
Lines: 23
Message-ID: <80ej8t$rus$2@news6.svr.pol.co.uk>
NNTP-Posting-Host: modem-30.dextroamphetam.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 942329949 28636 62.136.62.158 (11 Nov 1999 14:19:09 GMT)
NNTP-Posting-Date: 11 Nov 1999 14:19:09 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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);

Oh yeah, I'm using DJGPP.


--
Yikes Station: Frontier Elite 2 Website
http://www.yikesstation.freeserve.co.uk

Tom 'Moretom' Morton




- Raw text -


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