
(2) Use "_CEXERES16COLOR" mode for arbitrary plane size and text mode.
Symbol "_CEXERES16COLOR" is definded in "graph.h".
For the setting of this mode, the function syntax is changed as
follows.
#include <crt.h>
#include <graph.h>
short _setvideomode( _CEXERES16COLOR, short origin,
short height, short TXmode ) ;
origin The origin of the graphic plane in Y direction.
height The origin of the graphic plane in X direction.
TXmode The text mode.
Specify one of following mode for the text mode.
CRT_MODE_V25_0 80-column x 25-line (starting line: 1)
CRT_MODE_V25_1 80-column x 25-line (starting line: 2)
CRT_MODE_V25_2 80-column x 25-line (starting line: 3)
CRT_MODE_V25_3 80-column x 25-line (starting line: 4)
CRT_MODE_V25_4 80-column x 25-line (starting line: 5)
CRT_MODE_V25_5 80-column x 25-line (starting line: 6)
CRT_MODE_V30 80-column x 30-line
These text mode symbols are defined in "crt.h".
"_CEXERES16COLOR" mode is similar to "_VRES16COLOR" mode except the
variable display size.
(3) If non-supported mode is specified, "_GRMODENOTSUPPORTED" is
returned by the "_grstatus" function. This is originally the return
value when the analog video mode is specified without analog VRAM
system.
(4) The cursor current position is initialized and moved to the home
position after the execution of this function.
If the text screen mode (column or line number in the screen) is
changed by this function, the text screen environment is initialized
(as same as "crt_setmode" does), and all setting about text screen
are set as initial state. Set the text screen environment (cursor
display mode, character set, etc.) if necessary.
[Remarks]
Use "crt_setmode" function or "_setvideomode( _CEXRES16COLOR,.. )"
to change the text mode.