Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 711 -
(Note) The attributes mentioned here are for the current display device o
FS16/18 (CRTC-II). Any attribute bits will be added for the VGA
display device in the future.
(Note) The attributes mentioned above are for the current display device of
FS16/18 (CRTC-II). For VGA display device, the following attributes
are added.
15 8 7 0
+------------------------+------------------------+
| 0 0 0 Ib Bb Gb Rb I | B G R r b 0 0 0 |
+------------------------+------------------------+
B: Blue r: Reverse
G: Green b: Blink
R: Red
I: Low intensity -+
Bb:Background Blue |
Gb:Background Green | Additional attributes
Rb:Background Red | for VGA.
Ib:Background Low intensity -+
Actually, 4-bits of "IRGB" and "IbRbGbBb" indicate the palette index
number of character and background.
[Example]
The following program make the top line of the screen (14-inch type)
"REVERSE" for a moment.
#include <crt.h>
void example( void )
{
crt_settextattr( 1, 1, 1, 80, 0x0010, 0 ) ;
crt_settextattr( 1, 1, 1, 80, ~0x0010, 1 ) ;
}