delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/02/06:06:42

From: NoEmailAds AT execpc DOT com (Chris Giese)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: wide-screen support
Date: Sat, 02 Dec 2000 10:48:49 GMT
Organization: PROPULSION GROUP
References: <3A1D0670 DOT 4020209 AT mgupp DOT ru>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 22
Message-ID: <3a28d35f$0$35009$6d6c75b@news.execpc.com>
NNTP-Posting-Host: 97eb33b2.news.execpc.com
X-Trace: DXC=g0fk0Oa`0 AT bb0EN^dS;UdeLoK8f=:?J8`bCigiU>8_hh4`>8YbCYbkmTS\?QMPh1XdCXC1SQ]C<gbPAf<Jj5YI_f^bZB]W<3Ecl
X-Complaints-To: abuse AT execpc DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alexey Zakhlestine <indy AT mgupp DOT ru> wrote:

>Is it possible to allow djgpp-progs to use non-standard text-modes?
>I use WinNT, and set the "command-prompt" window to be 120 characters wide.
>Whenever I run some DOS applications, it changes to 80 characters, and 
>after they finish their job returns to 120 again.
>
>So. Is it possible? Or is it a dos-limitation?

Some DOS programs (COMMAND, EDIT) are smart enough to look at the screen
size in the BIOS data area (BDA).

You can set the screen size by programming the VGA chip directly,
then put the new screen size in the BDA.
	http://www.execpc.com/~geezer/temp/90x60.c

I don't know if this will work with WinNT...?

-- 
geezer@    | pmode tutorial, homebrew OS:
execpc.com | http://www.execpc.com/~geezer/os

- Raw text -


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