Mail Archives: djgpp/2000/12/02/06:06:42
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 -