Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fcvg_clut_r(3X) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

libfcvg(3X)

FCVG_CLUT(3X)  —  NEWS-OS Programmer’s Manual

NAME

fcvg_clut_r, fcvg_clut_w − functions for color look-up table of the FCVG device

SYNOPSIS

#include <fcvg.h>

int fcvg_clut_r(col_num, rgb)
unsigned char col_num;
unsigned char rgb[3];

int fcvg_clut_w(col_num, rgb)
unsigned char col_num;
unsigned char rgb[3];

DESCRIPTION

These functions operates on the color look-up table of the FCVG device. 

fcvg_clut_r
Reads the value of the color number specified with col_num in the color look-up table and set array rgb.

fcvg_clut_w
Sets the value of the color number in the color look-up table specified with col_num with the color specified with array rgb.

rgb corresponds to the following colors:

rgb[0]Red
rgb[1]Green
rgb[2]Blue

The range of col_num is shown below:

0 ≤ col_num  ≤ 15

Values outside of this range cannot be specified. 

FILES

/usr/src/sony/lib/libfcvg/∗ directory for the source code of the library

/usr/sony/demo/NWB224 directory for a sample program

/usr/sony/lib/libfcvg.a FCVG library

/usr/sony/include/fcvg.h header file

/usr/sony/include/fcvg_lib.h header file

/usr/sony/include/fcvg_reg.h header file

SEE ALSO

libfcvg(3X), fcvg_clut_default_w()
Chapter 8 "Full-Color Video Graphics Interface Board" in NEWS-OS Release 4.0 Programmer’s Guide. 

NEWS-OS Release 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026