2 setting up the text layer – Lucent Technologies MN10285K User Manual

Page 164

Advertising
background image

On-Screen Display

Display Setup Examples

MN102H75K/F75K/85K/F85K LSI User Manual

Panasonic Semiconductor Development Company

163

Panasonic

7.7.2

Setting Up the Text Layer

This section shows how to set up the text display data in the VRAM.

Register settings

RAMEND (x’007F04’) = x’80FF’ (Text RAM end address: x’9FFF’)

CIHP (x’007F1A’) = x’1020’

(CIHP = x’20’, CIHSZ = x’2’)

CIVP (x’007F1C’) = x’1803’

(CIVP = x’03’, CIVSZ = x’3’)

OSD3 (x’007F0A’) = x’0000’

(CAPM = x’0’)

Table 7-6 Example Text VRAM Settings

Line No.

RAM Addr. RAM Data

Data Type

Description

1

9FFE

9FFC

9FFA

9FF8

9FF6
9FF4

...

0000

825A

0001

0002

C004
C840

...

CC

COL

CC

CC

CHP
CVP

Character code = x’000’

BSHAD = 0, CSHAD = 0, FRAME = 1, BCOL = x’5’, CCOL = x’A’
Character code = x’001’

Character code = x’002’

CHSZ = x’0’, CSHT = 0, CHP = x’04’
CLAST = 0, CVSZ = x’1’, CINT = 0, CVP = x’40’

2

9FAE

9FAC

9FAA

9FA8

9FA6

9FA4
9FA2

9FA0

9F9E
9F9C

...

9469

0006

0007
4012

9A78

0008
4002

0010

D810
C870

...

COL

CC

CC

CCB

COL

CC

CCB

CC

CHP
CVP

BSHAD = 2, CSHAD = 1, FRAME = 0, BCOL = x’6’, CCOL = x’9’

Character code = x’006’

Character code = x’007’
Repeat character code, CCB = x’2’

BSHAD = 3, CSHAD = 0, FRAME = 1, BCOL = x’7’, CCOL = x’8’

Character code = x’008’
Blank, CCB = x’2’

Character code = x’010’

CHSZ = x’3’, CSHT = 0, CHP = x’10’
CLAST = 0, CVSZ = x’1’, CINT = 0, CVP = x’70’

3

9F5E

9F5C

9F5A

9F58

...

0300

0310

C044
E030

...

CC

CC

CHP
CVP

Character code = x’300’

Character code = x’310’

CHSZ = x’0’, CSHT = 0, CHP = x’44’
CLAST = 1, CVSZ = x’0’, CINT = 0, CVP = x’30’

Notes:

1. Always specify the color code (COL) or character code (CC) at the beginning of each line. If CC is the first code

(no COL), the foreground (text) color will be color 1 on the palette and the background will be color 2.

2. Always specify CHP and CVP, in that order, at the end of each line.

3. A CC code must immediately follow a COL code.

4. If you repeat a character with the CCB code, precede the CCB code with a CC code and follow it with a COL or

CC code.

5. Set CINT to 1 in the CVP setting to generate an OSD text interrupt.

6. Set CLAST to 1 in the CVP setting for the last line in the text display. Also, set the CVP value to a smaller value

than the position of the current line. (In the example in table 7-6, CVP = x’30’ is smaller than CVP = v’70’.)

Advertising
This manual is related to the following products: