Mail Archives: djgpp/1999/06/08/07:27:11
Brian Ronk wrote in message ...
>>The same way as you would set a video mode, int 0x10.
>
>Hmmm... Maybe I needed to be a little more specific... ;) I have only
worked in text mode, so I don't know how to set a video mode, unless it's
the textmode() function...
Sorry :-)
textmode (int _mode) does change the screen mode but it seems to be a little
limited in the modes it can set.
The _set_screen_lines (int nlines) function offers more modes (80 columns
with 25, 28, 35, 40, 43 or 50 rows), use gettextinfo (struct text_info *_r)
to check whether it worked or not. All of the above are in <conio.h>.
There are other text modes, the only way I know to use them is by using
VESA, if you want some code to do so then email me direct and I'll send you
some.
Hope this helps.
Mike
Michael DOT Stewart AT capgemini DOT co DOT uk
mike AT reggin DOT freeserve DOT co DOT uk
- Raw text -