Multiline Display; Fig. 2.11.13 Generation Timing Of Crt Interrupt Request; Fig. 2.11.14 Display State Of Blocks And Occurrence Of Crt Interrupt Request - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

FUNCTIONAL DESCRIPTION
2.11 CRT display function
2.11.5 Multi-line display
The M37221M6-XXXSP/FP can ordinarily display 2 lines on the CRT screen by displaying 2 blocks at
different vertical positions. In addition, it can display up to 16 lines by using a CRT interrupt.
A CRT interrupt request occurs at which display of each block has been completed. In other words,
character display of a certain block starts when a scanning line reaches the display position (specified by
vertical position registers) for that block, and an interrupt occurs when the scanning line exceeds the block.
For multi-line display, it is necessary to enable the CRT interrupt (by clearing the interrupt disable flag to
"0" and setting the CRT interrupt enable bit = bit 4 at address 00FE
In a CRT interrupt processing routine, the character data and vertical position of the block of which display
has been completed (the display as CRT interrupt cause is completed) is then replaced with the character
data (contents of CRT display RAM) and display position (contents of vertical position register) for next
display.
Notes 1: Set the second and later block 1 display start positions of block 1 to be lower than display position
of the last block 2.
2: The CRT interrupt request does not occur at the end of display when the block is not displayed.
In other words, if a block is set to off display with the display control bit of the CRT control
register (at address 00EA
Fig. 2.11.13 Generation timing of CRT interrupt
request
2-84
), a CRT interrupt request does not occurs (refer to "Figure 2.11.14").
16
Block 1
Block 2
,
Block 1
,
Block 2
CRT interrupt request
7220 Group User's Manual
to "1").
16
Block 1 (on display)
Block 2 (on display)
On display (CRT interrupt request
occurs at the end of block display)
Block 1 (off display)
Block 2 (off display)
Off display (CRT interrupt request does
not occur at the end of block display)
Fig. 2.11.14 Display state of blocks and occurrence
of CRT interrupt request
CRT interrupt request

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents