beautypg.com

7 specifying the display start position – NEC PD17062 User Manual

Page 264

background image

264

µ

PD17062

20.7 SPECIFYING THE DISPLAY START POSITION

IDC display start positions (upper left of the screen) can be specified by setting data in the IDC start position

setting register. Up to 16 horizontal and vertical positions can be specified. In other words, the display position

of the entire screen can be shifted. The IDC start position setting register consists of a 4-bit vertical start

position setting register and a 4-bit horizontal start position setting register. The IDC start position setting

register is mapped at peripheral address 01H. It can be read- and write-accessed using the GET and PUT

instructions.

Note that the IDC start position setting register should not be written to when the IDCEN flag is 1.

Fig. 20-12 IDC Start Position Setting Register Configuration

b

7

b

6

b

5

b

4

b

3

b

2

b

1

b

0

b

3

b

2

b

1

b

0

b

3

b

2

b

1

b

0

Horizontal start position

Vertical start position