Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 681 -
On 80-column x 25-line (or 80 x 30-line) mode of 9 inch CRT, the
displayable characters are limited. Only 128 characters whose codes
are 0x20-0x5F and 0xA0-0xDF can be displayed. Lowercase characters
are converted into uppercase characters on the screen in this mode.
For 9-inch VGA, by specifying with CRT_MODE_MODE2, all characters
(all half-size character and FANUC character set ) can be displayed
on 80-column x 25-line (or 30-line). For example,
crt_setmode( CRT_MODE_V25_3 | CRT_MODE_MODE2 )
this enables to display all characters of 14-inch mode.
The color selection by the escape sequences code are ineffective on
monochrome mode. Characters are always displayed by WHITE (or the
maximum brightness on monochrome display equipment).
The console driver is initialized by this function.
All setting about CRT are initialized. So re-initialization is
required if needed. If this function is called while the graphic
grawing are displayed, the graphic drawing contents will be
initialized. The condition of graphics is initialized like
"Text mode" specified by _setvideomode function.
[Example]
The following program changes character size into 80-column x 25-line
mode if 9 inch CRT is equipped.
#include <crt.h>
void example( void )
{
if ( !( crt_gettype() & CRT_TYPE_14 ) )
crt_setmode( CRT_MODE_80X25 ) ;
}