C ” “ h ” “ v ” “ o – NEC PD17062 User Manual
Page 249

249
µ
PD17062
Sample program
If the CROM data and VRAM data are specified as shown above, the display on the screen varies depending
on the CROM bank.
The CROM bank is specified by CROMBNK (b
0
at 30H).
The following description applies to the above example.
(1) CROMBNK = 0
Display “CH” appears on the screen. The control data used in this case is “control data 1”.
(2) CROMBNK = 1
Display “VO” appears on the screen. The control data used in this case is “control data 1”.
0
1
2
3
4
5
6
7
8
9
A
B
8
0
0
0
0
1
4
0
0
1
CROM data
VRAM data
0 8 0 0 H
0 8 0 F H
0 8 1 0 H
0 8 1 F H
0 C 0 0 H
0 C 0 F H
0 C 1 0 H
0 C 1 F H
“ C ”
“ H ”
“ V ”
“ O ”
; Control data 1
; Control data 2
; Control data 1
; Control data 2