ZiLOG
<
065% .KPG %%& &GEQFGT
Using POPSET
POPSET provides an OSD mode that operates in a fashion
similar to the Caption Pop-on mode. The POPSET com-
mand 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
creates an OSD screen using the POPSET mode. It creates
A Sample OSD Program
15&
%QOOCPFU (WPEVKQP
]_
5GNGEV 2125'6 OQFG
6JG HKTUV DNQEM QH EQOOCPFU FKURNC[
8+&'1 KP &QWDNG 9KFG EJCTU 'CEJ
EJCTCEVGT KU GPVGTGF YKVJ VJG 94+6'
%*#4& EQOOCPF
]# _ 5GNGEV 212419 EWTUQT CV EJCTCEVGT
EQNWOP
]# _ /QXG EWTUQT VQ
]# _
]# G_
]# _
]# _
]# _
]# _
]# _
]# (_
2#% HQT 4'& EJCTU YTKVVGP KP 2#%
NQECVKQP
&QWDNG 9KFG EJCT FKURNC[U KP EJCT EQN
)TGGP OKF EQFG YTKVVGP VQ EJCT EQN
8 YTKVVGP VQ EJCT EQN
+
&
'
1
The next block of commands displays AUDIO in row 4 with
Double-Width.
]# _ 5GNGEV 212419 EWTUQT KP EJCT EQN
]# _ %WTUQT VQ EJCT EQN
]# _ )TGGP OKF EQFG YTKVVGP VQ EJCT EQN
]# _ # YTKVVGP VQ EJCT EQN
]# _ 7
]# _ &
]# _ +
]# (_ 1
The next set of commands displays 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
column alignment.
]# _ 5GNGEV 212419 EWTUQT KP EJCT EQN
a typical menu screen used in television receivers. It should
be noted that in this document, commands are written as ei-
ther a one- or two-byte HEX value, separated by a comma,
within curly braces (that is, a sample two-byte OSD com-
mand: {A1,00}).
In the sample programs below, a comment field can be writ-
ten 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 * is taken as a “comment”. Therefore, to
include a comment in the program, simply add the * at the
beginning of the function description.
15&
%QOOCPFU (WPEVKQP
]# _
]# _
]# _
]# _
]# F_
]# _
]# _
)TGGP OKF EQFG YTKVVGP VQ EJCTCEVGT EQN
&QWDNG 9KFG URCEG EJCT YTKVVGP VQ
EJCTCEVGT EQNWOPU
6 YTKVVGP VQ EJCT EQN
+
/
'
5GNGEV 212419 EWTUQT KP EJCT EQN
SET UP is displayed in row 8 using Double-Wide chars.
]# _ 5GNGEV 212419
]# _ %WTUQT VQ
]# _ )TGGP EJCTCEVGTU
]# _ 5
]# _ '
]# _ 6
]# _
]# _ 7
]# _ 2
CLOSED CAPTION displayed in row 10 using Double-Wide
characters. The last letter, N, appears in character column 30
and 31.
]# #_
]# _
]# _
]# _
]# %_
]# (_
]# _
]# _
]# _
]# _
]# _
5GNGEV 212419 C
%WTUQT VQ
)TGGP EJCT
%
.
1
5
'
&
%
&5
24'.+/+0#4;