Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 305 -
ACRTC Graphic
--------------------------------------------------------------------
Mode Size(Text) Palette (Color mode)
--------------------------------------------------------------------
_98RESSCOLOR 640x400(80x25) 8 colors (PC-98)
(_98RESS8COLOR) (40x16)
(_98RESS16COLOR)
_98RESCOLOR
(_98RES8COLOR)
(_98RES16COLOR)
(_VRES16COLOR)
(_VRES16EXCOLOR)
(_VRES256COLOR)
--------------------------------------------------------------------
_98TEXT80 Text mode(80x25) 8 colors
_TEXTC80 (40x16)
--------------------------------------------------------------------
This function sets the following modes for "_DEFAULTMODE",
"_MAXCOLORMODE" or "_MAXRESMODE".
--------------------------------------------------------------------
Mode VGA Graphic ACRTC Graphic
--------------------------------------------------------------------
_DEFAULTMODE _98TEXT80,_TEXTC80 _98TEXT80,TEXTC80
_MAXCOLORMODE _VRES256COLOR _98RESSCOLOR
_MAXRESMODE _VRES16COLOR _98RESSCOLOR
--------------------------------------------------------------------
(2) Use "_CEXERES16COLOR" mode for arbitrary plane size and text mode.
This mode is valid for only VGA Graphic.
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.