HD66841
17
Memory Selection
8-, 32-, or 64-kbyte SRAMs can be selected as buffer memory for the HD66841. Since the HD66841 has a
chip select circuit for memory, no external decoder is required. The memory type can be selected with the
MS1 and MS0 pins or the MS1 and MS0 bits of control register 2 (R1). Memory types and corresponding
pin address assignments are listed in Table 8.
The memory capacity required depends on screen size and can be obtained from the following expression:
Memory capacity (bytes) = Nhd
×
Nvd
Nhd: Number of horizontal displayed characters (where one character consists of 8 horizontal dots)
Nvd: Number of vertical displayed lines
For example, a screen of 640
×
200 dots requires 16-kbytes memory capacity since 80 characters
×
200
lines is 16 kbytes. Consequently, each plane requires two HM6264s (8-kbytes memories) in 8-level gray-
scale display modes. The
MCS0
pin must be connected to the
CS
pin of one of the memory chips in each
plane, and the
MCS1
pin must be connected to the
CS
pin of the remaining memory chip in each plane.
(Figure 5 (a))
A screen of 640
×
400 dots requires a 32-kbytes (256-kbit) memory capacity, so each plane requires an
HM62256, which is a 32-kbytes memory. In this case, the
MCS0
pin must be connected to the
CS
pin of
each memory chip. (Figure 5 (b))
Table 8
Memories and Pin Address Assignments
Pins or Bits
MS1
MS0
Memory
Address Pins
Chip Select Pins
Address Assignment
0
0
No memory*
—
—
MCS0
MCS1
MA13
MA14
MA15
MCS0
MCS1
MA15
MCS0
MCS1
—
0
1
8-kbyte
MA0-MA12
$0000–$1FFF
$2000–$3FFF
$4000–$5FFF
$6000–$7FFF
$8000–$9FFF
1
0
32-kbyte
MA0–MA14
$00000–$07FFF
$08000–$0FFFF
$10000–$17FFF
1
1
64-kbyte
MA0–MA15
$00000–$0FFFF
$10000–$1FFFF
Note:
*
There are some limitations if no memory is used. Refer to the User Notes section for details.