Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fcreg(1) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

libfcvg(3X)

fcvg_reg(3X)

FCREG(1)  —  NEWS-OS Programmer’s Manual

NAME

fcreg − operations for the status register of the FCVG device

SYSNOPSIS

fcreg [ reg value ]

DESCRIPTION

fcreg is a sample program to perform the operation on the status register of the FCVG device.  If fcreg is executed with no argument, it runs in the interpreter mode. If an argument is specified, it runs in the command mode. 

Command mode
In this mode, specify the bit to be rewritten to reg, and the value 0 or 1. Values for reg are shown below: reg Bit to be rewritten

regBit to be rewrittenregBit to be rewritten

lLINTvVDSET
pPHASEmMIX
sSUBSWoOUTSL
fFREZiINSL
hHCANeEE
cCHASWd-

For example, when you want to specify HCAN bit to be 1 (non-interlace), specify as shown below:

fcreg h 1

If d is specified to reg, the current status of the register is displayed. In this case, it is not necessary to specify a value to value.

Interpreter mode
If fcreg is executed with no argument, it runs in the interpreter mode and a value of the status register can be written interactively as shown below:

% fcinit
% fcreg

d
LINT = 00 = Normal1 = Internal
PHASE = 00 = Normal1 = Reverse
SUBSW = 00 = Sub on1 = Sub off
FREZ = 00 = Off1 = On
HCAN = 00 = Normal1 = Hiscan
CHASW = 00 = Char on1 = Char off
VDSET = 00 = All plane1 = Video only
MIX = 00 = Normal1 = −6dB
OUTSL = 00 = RGB1 = Y/R-Y/B-Y
INSL = 00 = RGB1 = NTSC
e 1
i 0
s 1
h 1
o 1
d
LINT = 00 = Normal1 = Internal
PHASE = 00 = Normal1 = Reverse
SUBSW = 10 = Sub on1 = Sub off
FREZ = 00 = Off1 = On
HCAN = 10 = Normal1 = Hiscan
CHASW = 00 = Char on1 = Char off
VDSET = 00 = All plane1 = Video only
MIX = 00 = Normal1 = −6dB
OUTSL = 10 = RGB1 = Y/R-Y/B-Y
INSL = 00 = RGB1 = NTSC
EE = 10 = External1 = Internal
q

When q or ^D is input, the program ends. 

FILES

/usr/sony/demo/NWB224/src/fcreg.c source code
/usr/sony/lib/libfcvg.aFCVG library
/usr/sony/include/fcvg.hheader file
/usr/sony/include/fcvg_lib.hheader file
/usr/sony/include/fcvg_reg.hheader file
/usr/sony/demo/NWB224directory for a sample program

SEE ALSO

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

NEWS-OSRelease 4.2.1R

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