beautypg.com

NEC PD17062 User Manual

Page 250

background image

250

µ

PD17062

20.4.3 Carriage Return Data

The term carriage return data refers to the data pointing to the address of the VRAM data that specifies

the first character in a row on the screen.

The carriage return data specifies the end of a display row.

When carriage return data appears two times consecutively, it specifies the end of a screen.

There are two types of carriage return data; one type is a carriage return to BANK1, and the other is a carriage

return to BANK2. The data in the ID field determines whether the data field indicates a carriage return to BANK1

or BANK2. If the ID field contains 01B, it indicates a carriage return to BANK1, and if the ID field contains 11B,

it indicates a carriage return to BANK2.

The carriage return data consists of 6 bits, the upper 3 bits of which point to the row address of VRAM and

the lower 3 bits of which point to the upper 3 bits of the VRAM column address. The lowest bit of the VRAM

column address is fixed at 0. If the carriage return data is 010011B, therefore, the VRAM row address is 010B

(2H), and the VRAM column address is 0110B (6H); namely, they mean the return data to 26H.

Fig. 20-3 Carriage Return Data Configuration

b

7

b

6

b

5

b

4

b

3

b

2

b

1

b

0

ID field

Data field

VRAM row address

Upper 3 bits of the

VRAM column address