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