Mail Archives: djgpp/1994/03/23/15:29:31
This is more of a DOS question than a DJGPP question; please bear with
me - I'm not a DOS *person*!
I'm fiddling around with an application that puts the display into 50-
row mode.  So far, everything is pretty cool; I'm using the code that
is part of the gppconio emulation of the Turbo C console functions, and
50-row mode works fine.
However, I also need to be able to switch back into the standard 80x25
mode that DOS uses.  Currently, when I quit my program, the display
stays in 50-row mode (and is sluggish even on my '486/50).
What do I do?  I want to be able to restore whatever state the machine
was in when the program was launched, not just switch blindly into
the standard 80-column color mode (or whatever).  Obviously this
involves some mucking about with int86(), but as I said, I'm not a DOS
person.  Help!
-- Chris Tate
   fixer AT faxcsl DOT dcrt DOT nih DOT gov
- Raw text -