
Z86129/130/131
NTSC Line 21 Decoder
P R E L I M I N A R Y
DS96TEL0200
37
1
Note:
In this product specification one and two byte
commands are written as one or two, two-digit Hex values,
separated by a comma, within curly braces. For example,
the WRITE CHAR command for entering the letter A as a
single width character would be shown in this document as
{A3,41}. This command would write the letter A to the
current cursor position of the display row being addressed.
Refer to Serial Communications Interface and Commands
sections for further details of the serial communications
and the OSD commands.
The one byte commands provide a simple means of
creating OSD displays using preset screen formats built
into the part. These built-in modes provide the user with a
simple way to generate OSD screens. Two preset display
modes are available called POPSET and TEXTSET.
Using Popset
POPSET provides an OSD mode that operates in a
fashion similar to the Caption Pop-on mode. The POPSET
command organizes the memory into two eight row blocks,
one visible on screen and the other off screen. An OSD
screen can then be created by loading the off screen
memory by the command sequence POP ROW SEL,
WRITE CHAR .. WRITE CHAR .. POP ROW SEL ..
WRITE CHAR .. WRITE CHAR. The data can then be
presented for on-screen display with the FLIP command.
The following is an example of a command sequence that
will create an OSD screen using the POPSET mode. It
creates a typical menu screen used in television receivers.
It should be noted that in this document commands are
written as either a one, or two byte HEX value, separated
by a comma, within curly braces (i.e., a sample two-byte
OSD command: {A1,00}).
Note:
In the sample program below, a comment field is
written following the command to describe the action of the
command or sequence of commands, where appropriate.
The comment field is identified by an asterisk (*) and any
text following the * will be taken as a “comment” in the
examples that follow.
Sample OSD Program
OSD Commands
{33}
Function
*Select POP mode. Sets up the
Z86129
internal
organization to support POP mode.
The first block of cmds will display >
VIDEO in double wide chars. Each
character is entered with the
WRITE CHARD cmd.
*Select POPROW 2, cursor at
character column1
*move cursor to 0
*PAC for RED chars written in PAC
location.
*Double wide char “>” will display in
char col 1 & 2
*Green mid code written to char col
3
*"V" written to char col 4 & 5.
*"I"
*"D"
*"E"
*"O"
*The next block of cmds will display
AUDIO in row 4 double width.
*select poprow 4, cursor in char col
1
*cursor to char col 3
*Green mid code written to char col
3
*"A" written to char col 4 & 5.
*"U"
*"D"
*"I"
memory
{A0,02}
{A2,00}
{A3,08}
{A5,3e}
{A3,02}
{A5,56}
{A5,49}
{A5,44}
{A5,45}
{A5,4f}
{A0,04}
{A2,03}
{A3,02}
{A5,41}
{A5,55}
[A5,44]
[A5,49]
Notes:
*The next set of commands will display the word “TIME” in row
6 with double-wide characters. Spacing is obtained without the
A2 Cursor Set command to illustrate an alternate means of col-
umn alignment.