Decade BOB-3 Application Manual Download Page 10

 

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 

1 P1 

BLNK 

2 P2 BLU 0 
3 P3 GRN 

4 P4 RED 0 
5 P5 

CSYNC 

 

{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 

www.decadenet.com

. [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. 

Summary of Contents for BOB-3

Page 1: ...croll Allowed printing outside active vertical scroll block Revised vertical scroll behavior to print incoming characters immediately instead of waiting for line buffer full or CR Added simple network...

Page 2: ...inverted data Maximum low logic input level 1 0V Minimum high logic input level 3 0V Default bit rate is 9600 Bit rates are selectable via pin strapping see Pin Descriptions BOB 3 connects directly to...

Page 3: ...current status if any specified parameter is critical to your application System Hookup Basic Hookup The schematic diagram below shows a typical BOB 3 installation The serial data rate defaults to 96...

Page 4: ...dd protective networks in the RS 232 signal lines if your system environment isn t benign EMI filtering may also be required Be sure to add a power supply decoupling capacitor of at least 0 1uF across...

Page 5: ...1 BLKG Output port use is optional 27 P0 YM Output port use is optional 28 Video output drives 1Vpp into 75 ohms see notes 29 Ground for video signals also wire to pin 2 or host board ground plane 30...

Page 6: ...lop clamp pulses for DC restoration etc Note that CSYNC is reserved for use with external circuitry that must be installed to use the text crawl feature of BOB 3 modules with firmware version 2 00 or...

Page 7: ...s at different frequencies that s how the TV tuner is able to pick out just one The signals often originate at widely separated locations with no regard for scan synchronization and individual signal...

Page 8: ...XON to inform the host controller that it s on line BOB 3 may send a garbage character or two during initialization BOB 3 always monitors incoming video If video status changes and at start up time B...

Page 9: ...Range is limited internally For NTSC the limits are 09 and E2 9 to 226 decimal For PAL the limits are 23 and C8 35 to 200 decimal Iyyn Character outline mode by row yy 00 16 row number n 0 3 0 no outl...

Page 10: ...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 tran...

Page 11: ...ger the normal carriage return and line feed response CR is default Notes o In genlock overlay mode any color specification other than black causes a white display The color controls operate normally...

Page 12: ...ROM Character Set Default RAM Character Set BOB 3 Version 3 4 Application Guide Copyright 2004 by Decade Engineering Page 12...

Page 13: ...status indicator Note Starting with firmware version 3 3 pin 15 is tested at power up time and immediately after an R command is received During initialization pin 15 is an input with internal pullup...

Page 14: ...able with some VCRs It s generally worse in special effects modes e g freeze frame If operation is intermittent Tin plated contacts can become unreliable if an electrical contact treatment has not bee...

Reviews: