![Decade BOB-3 Application Manual Download Page 10](http://html1.mh-extra.com/html/decade/bob-3/bob-3_application-manual_2461443010.webp)
BOB-3 Version 3.4 Application Guide ~ Copyright © 2004 by Decade Engineering ~ Page 10
{N<data>|
Writes a boot script into non-volatile memory. Send
{N|
to erase it. When the termination
character (vertical bar symbol) is received, BOB-3 sends
<XOFF>
, then sends
<XON>
and
{OK<CR>
upon completion (up to 6S later). All command and printable characters count toward
the maximum script length of 512 characters. The
{P
and
{R
commands and data values FF and
7C (the bar symbol) are prohibited in a boot script, except that any data is allowed within a
{Y
command argument. The script is always executed at power-up time, without a host controller, but
BOB-3 also operates normally if a host is connected. Notes: [1] The termination character was
<CR>
in firmware versions previous to V2.00. [2] Clear a rogue boot script by holding pin 15 low
as power is applied.
{ODh
Selects alternate functions of 6 logic output pins on the BOB-3 module. “h” is a single byte in the
range of 00~3F which selects alternate video control output functions of P0~P5 if bits are set true.
Alternate function details are presented in the text.
Bit Position
Port Name
Alt. Function
Default
0 (LSB)
P0
YM
0
1 P1
BLNK
0
2 P2 BLU 0
3 P3 GRN
0
4 P4 RED 0
5 P5
CSYNC
0
{OPh
Controls logic level (or polarity) of 6 output pins on the BOB-3 module, as listed above. “h” is a
single byte in the range of 00~3F. P0~P5 logic outputs match bit values of argument unless the
alternate port function has been selected. In that case, the corresponding video signal is inverted
if bit value is zero. All bits default to zero, so BOB-3 boots with the P0~P5 outputs low.
{P<data>
Writes user-definable character memory (font RAM). This command must be followed by exactly
1638 bytes of data, which loads all 63 user-definable characters. The data is structured as
follows: Each character is 12 pixels wide by 13 tall. Data bits set to 1 (true) indicate active
foreground pixels in the display. 2 data bytes represent each pixel row, starting with MSB at left
end of each row. The last 4 bits of the second byte for each row of pixels are always zero. Pixel
rows are sampled top-to-bottom within each character, and characters are sampled sequentially
from character number 00 to 3E (3F is a ‘transparent’ space char). Notes: [1] This command could
overflow the receive buffer if transmitted at high speed without pacing or flow control. [2] See
default RAM character set illustration. [3] See
{Y
command to load a single RAM character
instead of all 63. [4] A BOB-3 Font Editor utility program is available without charge from Decade
Engineering; see
. [5] Not allowed in a boot script!
{QT
If Q is true,
{U
controls RAM character background color (globally), and
{E
controls RAM
character foreground color (globally) in local mode. In genlock mode, send
{U0
for black
backgrounds. Other settings yield white backgrounds, so RAM characters can be made visible
only be sending
{E0
.
{QF
If Q is false, RAM character background is defeated and the
{U
command controls character
foreground color instead.
{QA
Engages automatic Q control mode (default). Sets Q false in genlock video mode, true in local
video mode. To achieve the appearance of transparent character backgrounds in both video
modes, RAM character backgrounds are internally set to the screen color in local mode.
{R
Forces BOB-3 system re-initialization. Restores all defaults, clears display RAM, then executes
boot script (if present). Not allowed in a boot script!
{S
System status query. BOB-3 returns:
{ST Vv Mmmi Dd B34 NTSC<CR>
where “v” is
T
or
F
(input video present or not), “mm” is 00~03 (video mode; 00: auto/local, 01: auto/genlock, 02:
local, 03: genlock), “i” is
I
or
N
(local video is interlaced or non-interlaced), “d” is
E
or
D
(display
enabled or disabled),
B34
is the current firmware version, and the last characters are “NTSC” or
“PAL” denoting video standards compatibility.
{Tn
Character translation mode. “n” = 0~4. 0: standard ASCII (default), 1: italic ASCII, 2: spatially
offset ASCII, 3: non-ASCII ROM characters, 4: user-definable RAM characters. See character set
illustrations for ROM characters (modes 0~3) and default RAM characters. Note: Do not send
data containing the command prefix character (hex 7B) while in translation mode 3 or 4 unless
you intend to send a command.