[0001] The present invention relates to a display controller for CRT and plasma display
apparatuses.
[0002] Along with the development of microcomputers, a variety of personal computers have
been developed. Some microcomputers employ plasma display apparatuses as a display
apparatus. The plasma display apparatus is controlled by a controller for a CRT display
apparatus (to be referred to as a CRT controller hereinafter).
[0003] Meanwhile, a cathode ray tube (CRT) display apparatus is widely used as a display
apparatus. Therefore, a variety of application programs have been developed for CRT
display apparatuses. A demand has arisen for effective use of such software resources.
That is, a plasma display apparatus is used as a main display apparatus, and a CRT
display apparatus is connected as an option, so that the two types of display apparatuses
are selectively used in accordance with application programs. In this case, when
an application program for a CRT display apparatus is to be displayed using a plasma
display apparatus, an error occurs. The CRT display apparatus can desirably change
a dot size. However, the plasma display apparatus has a fixed dot size, and cannot
change it. Therefore, when display is made in various display modes of different display
resolutions, the CRT display apparatus can cope with this, but the plasma display
apparatus cannot do so. For this reason, when a ratio of the number of dots in the
vertical direction to that in the horizontal direction of a display screen of the
CRT display apparatus is different from that of the plasma display apparatus, an actual
image on the display screen of the plasma display apparatus is distorted, resulting
in poor visual recognition property. In addition, a display font of the plasma display
apparatus is also distorted, resulting in poorer visual recognition property.
[0004] It is an object of the present invention to provide a CRT/plasma display controller,
which can obtain an optimal display font in either CRT or plasma display apparatus,
and is free from distortion of a display screen regardless of different display resolutions.
[0005] In order to achieve the above object, according to the present invention, a plasma
display apparatus which can perform display in a display mode including text and graphics
modes, and a display timing of which is controlled by a CRT controller, comprises:
stretch designation means for instructing stretching of a display screen of the plasma
display apparatus; means for discriminating in response to a stretch instruction from
the stretch designation means whether or not a current display mode is a stretch-enable
display mode; and image stretch means for, when the means for discriminating the
stretch-enable display mode determines that the current display mode is the stretch-enable
display mode, scanning a specific raster of the display screen of the plasma display
apparatus twice so as to stretch a display image.
[0006] This invention can be more fully understood from the following detailed description
when taken in conjunction with the accompanying drawings, in which:
[0007] Other objects and features of the present invention will be apparent from the following
description taken in connection with the following figures in which:
Fig. 1 is a block diagram showing an embodiment of the present invention;
Figs. 2A through 2C are flow charts of a display control processing program stored
in a ROM shown in Fig. 1;
Fig. 3 is a flow chart showing in detail 640 x 350 graphics mode processing shown
in Fig. 2B;
Fig. 4 is a flow chart showing in detail 640 x 400 graphics mode processing shown
in Fig. 2B;
Fig. 5 is a flow chart showing in detail a text mode shown in Fig. 2B;
Fig. 6 is a flow chart showing in detail double/single switching processing shown
in Fig. 2C;
Fig. 7 is a flow chart showing in detail CRT key processing shown in Fig. 2C;
Fig. 8 is a flow chart showing in detail CRT key processing shown in Fig. 2C;
Fig. 9 is a flow chart showing in detail stretch key processing shown in Fig. 2C;
Figs. 10A through 10C are views showing display screens of CRT and plasma display
apparatuses;
Figs. 11A and 11B are views showing detailed stretch processing;
Fig. 12 is a view showing a storage example of a display character font in a text
mode; and
Fig. 13 is a view showing the relationship between various display modes and flags
in the embodiment of the present invention.
[0008] An embodiment of the present invention will now be described with reference to the
accompanying drawings.
[0009] Fig. 1 is a block diagram showing an embodiment of the present invention.
[0010] Referring to Fig. 1, central processing unit (CPU) 1 is connected to system bus 3,
and executes processing as shown in Figs. 2A through 9. Read only memory (ROM) 5 is
connected to system bus 3, and stores processing programs as shown in Figs. 2A through
9, executed by CPU 1, such as basic input/output program (BIOS) for a CRT display
apparatus, a BIOS for a keyboard, and the like. ROM 5 also stores font pattern data
having predetermined matrix arrangements (in this embodiment, 8 x 8 dots, 8 x 14
dots, and 8 x 16 dots). Main memory 7 comprises a random access memory (RAM), and
is connected to system bus 3. RAM 7 has registers storing flag data. The flag data
are as follows:
i) CRT flag (FC) 9 indicating a display mode for a CRT display apparatus (to be referred
to as a CRT mode) or for a plasma display apparatus;
ii) double flag (FD) 11 indicating whether a display character font in a text mode
(to be described later) is a single font of a reference line width (1-dot width; thin
line) or a double font of a wider line width (bold) than the single font;
iii) graphics flag (FG) 13 indicating a text or graphics mode;
iv) stretch flag (FS) 15 indicating whether or not a display character font in the
graphics mode is also in a stretch mode;
v) stretch enable flag (FE) 17 indicating an enable/disable state of a stretch operation
[0011] Keyboard (KB) 19 is connected to system bus 3 via keyboard controller (KBC) 21, and
supplies data corresponding to a depressed key to CPU 1 via system bus 3. In this
embodiment, keyboard 19 includes a double/single switch key for switching a display
character font (single font/double font) in a text mode, a PDP switch key for instructing
the switching from the CRT mode to a PDP mode, a CRT switch key for instructing the
switching from the PDP mode to the CRT mode, a stretch switch key for switching a
display mode (stretch mode/normal mode) of plasma display (PDP) 23 to a graphics mode,
and the like.
[0012] PDP 23 displays image data from V-RAM 29 under the control of CRT controller (CRTC)
27 in the same manner as in CRT display apparatus (CRT) 25. Display modes of the PDP
include display mode A of 640 (horizontal) x 350 (vertical) dots shown in Fig. 10A,
and default display mode B of 640 (horizontal) x 400 (vertical) dots shown in Fig.
10B. In display modes A and B shown in Figs. 10A and 10B, the numbers of dots in the
vertical direction are different at a ratio of 350 : 400 = 7 : 8. The ratio of the
number of dots in the vertical direction to that of dots in the horizontal direction
on the display screen (horizontal x vertical = 640 x 400) of default display mode
B coincides with the CRT screen shown in Fig. 10C. Therefore, a figure displayed in
default display mode B of Fig. 10B coincides with a figure displayed on the display
screen of CRT 25 shown in Fig. 10C. However, in display mode A shown in Fig. 10A,
the figure is compressed in the vertical direction at a ratio of 7 : 8.
[0013] In the embodiment of the present invention, raster stretch by 7th-dot double scan
is performed as shown in Figs. 11A and 11B only in display mode A in accordance with
stretch display control (to be described later), so that a displayed figure in display
mode A is approximated to that on CRT display 25.
[0014] Fig. 12 shows a storage state of display character fonts used in the text mode. In
this embodiment, in the text mode, specific memory plane A (e.g., second plane of
first to fourth planes) on V-RAM 29 is used as a display character font storage section
for CRT 25, and another specific plane B (e.g., third plane) B is used as a display
character font storage section for PDP 23. For PDP 23, two types of fonts, e.g., single
and double fonts, are stored in units of blocks.
[0015] Fig. 13 shows the relationship between various display modes and flags in the embodiment
of the present invention. Symbols in Fig. 13 have the following meanings:
TEXT-PDP-S: representing a case wherein the text mode and the single-font display
mode are selected in the PDP.
TEXT-PDP-D: representing a case wherein the text mode and the double-font display
mode are selected in the PDP.
TEXT-CRT: representing a case wherein the text mode is selected in the CRT.
GRAPH-PDP-400: representing a case wherein the graphics mode and a display screen
(default screen) in display mode B (640 x 400) are selected in the PDP.
GRAPH-CRT-400: representing a case wherein the graphics mode and a display screen
(default screen) in display mode B (640 x 400) are selected in the CRT.
GRAPH-PDP-350: representing a case wherein the graphics mode and a display screen
(default screen) in display mode A (640 x 350) are selected in the PDP.
GRAPH-CRT-350: representing a case wherein the graphics mode and a display screen
(default screen) in display mode A (640 x 350) are selected in the CRT.
[0016] The embodiment of the present invention will be described hereinafter with reference
to Figs. 1 through 13.
[0017] Fig. 2 is a flow chart showing processing of the PDP/CRT controller of the present
invention. In step 41 in Fig. 2, CPU 1 reads out the content of RAM 7. CPU 1 checks
in step 43 if the content read out from RAM 7 corresponds to the CRT mode or plasma
display (PDP) mode. If YES in step 43, CPU 1 sets "1" representing the CRT mode in
FC 9 in step 45. In step 47, CPU 1 selects a CRT font.
[0018] However, if NO in step 43, CPU 1 sets "0" in FC 9 in step 49, and the flow advances
to step 51. In step 51, CPU 1 refers to RAM 7 to check if a display character font
in use is a single or double font. If a single font is used in step 51, CPU 1 selects
one of blocks 4 through 7 in Fig. 12. However, if a double font is used in step 51,
CPU 1 selects one of blocks 8 through 11 in Fig. 12.
[0019] In this embodiment, assume that the PDP mode is selected as a display mode for a
display, and a single font is selected as a display character font.
[0020] Since the display mode and the display character font are respectively the PDP mode
and the single font, FG 13, FE 17, and FS 15 are set to be "0". CPU 1 selects a default
display mode as the PDP display mode (in this embodiment, 640 x 400 dot matrix shown
in Fig. 10B) based on a CRT.BIOS stored in ROM 5 in step 59. CPU 1 then executes an
application program in step 61. CPU 1 checks in step 63 if a BIOS mode set command
is generated during execution of the application program. If YES in step 63, the flow
advances to step 65, and CPU 1 executes a BIOS mode set routine. CPU 1 checks in step
67 if an alteration request of a display mode is input. If NO in step 67, CPU 1 executes
text mode processing in step 69.
[0021] If YES in step 67, however, CPU 1 checks in step 71 if the display screen (640 x
350 dots) in display mode A shown in Fig. 10A is set. If YES in step 71, CPU 1 executes
640 x 350 graphics mode processing in step 73. However, if NO in step 71, CPU 1 checks
in step 75 if a 100 x 400 graphics mode is set. If YES in step 75, CPU 1 executes
640 x 400 graphics mode processing in step 77.
[0022] On the other hand, if NO in step 63, it is checked in step 78 if a key input at keyboard
19 is made. If YES in step 78, it is checked In step 79 shown in Fig. 2C if the double
font/single font switch key is depressed. If YES in step 79, double font/single font
switching processing is executed in step 81.
[0023] However, if NO in step 79, CPU 1 checks in step 83 if a key operated at keyboard
19 is the PDP key instructing switching from the CRT mode to the PDP mode. If YES
in step 83, CPU 1 executes a PDP key processing subroutine in step 85. However, if
NO in step 83, it is checked in step 87 if the operated key is the CRT key for instructing
switching from the PDP mode to the CRT mode. If YES in step 87, CPU 1 executes a CRT
key processing subroutine in step 89. However, if NO in step 87, CPU 1 checks in
step 91 if the operated key is the stretch key for switching the display mode (stretch
mode/normal mode) of PDP 23. If YES in step 91, CPU 1 executes a stretch key processing
subroutine in step 93.
[0024] On the other hand, if NO in step 91, CPU 1 executes processing for other input keys
in step 95.
[0025] The above-mentioned processing subroutines will be described below in detail with
reference to Figs. 3 through 9.
[0026] Fig. 3 shows a subroutine of processing of the display screen in display mode A.
If CPU 1 determines in step 71 in Fig. 2B that the 640 x 350 graphics mode is set,
it alters the display screen (640 x 400 dots) in default display mode B shown in Fig.
10B to the display screen (640 x 350 dots) in display mode A shown in Fig. 10A. More
specifically, in step 97 in Fig. 3, CPU 1 sets "1" representing the graphics mode
in FG 13, and thereafter, refers to FC 9 in step 99. If it is determined in step
99 that "1" representing the display mode of CRT 25 (CRT mode) is set in FC 9, CPU
1 sets "0" indicating a stretch disable mode in FE 17 in step 109. As a result, CPU
1 performs CRT display control in the normal mode for CRT 25. Fig. 10C shows a display
screen format on CRT 25 in this case, and Fig. 13 shows the states of flags.
[0027] However, if it is determined in step 99 that "0" indicating the display mode for
PDP 23 is set in FC 9, CPU 1 sets "1" indicating a stretch enable mode in FE 17 in
step 101. In step 103, CPU 1 refers to FS 15. If it determined in step 103 that "0"
indicating the normal mode is set in FS 15, CPU 1 performs display control in the
normal mode for PDP 23 in step 107. Fig. 10A shows a display screen format on PDP
23 in this case, and Fig. 13 shows states of flags. (In this case, FS = "0" in M6.)
In this case, since "0" is set in FS 15, stretch processing is not performed, and
an image is displayed on PDP 23 using the display screen (640 x 350 dots) in display
mode A shown in Fig. 10A. The display screen (640 x 350 dots) in display mode A shown
in Fig. 10A has no correspondence in real image with CRT 25, but can clearly display
a font.
[0028] If it is determined in step 103 that "1" indicating the stretch mode (raster stretch
mode) is set in FS 15, CPU 1 performs PDP display control in the stretch mode for
PDP 23. Fig. 10B shows a display screen format on PDP 23 in this case, and Fig. 13
shows states of flags. (In this case, FS = "1" in M6.) That is, a 7th dot of display
image data (Fig. 11A) read out from V-RAM 29 and displayed on PDP 23 is scanned twice
to achieve raster stretch processing. As a result, an image is expanded and displayed
in the same dot matrix as in the display screen format (640 x 400 dots) in the default
display mode shown in Fig. 10B. (350 dots in the vertical direction are expanded to
400 dots.)
[0029] With the PDP stretch function described above, in a system which can arbitrarily
and selectively display-drive the PDP and CRT mechanisms, if a display screen format
of PDP 23 is different from that of CRT 25, correspondence between PDP 23 and CRT
25 can be arbitrarily and selectively taken by means of a real image.
[0030] If it is determined in step 75 in Fig. 2B that the display screen (640 x 400 dots)
in display mode B is set, CPU 1 then executes a 640 x 400 graphics mode processing
subroutine shown in Fig. 4. More specifically, in step 113 in Fig. 4, CPU 1 sets "1"
indicating the graphics mode in FG 13, and sets "0" indicating the stretch disable
mode in FE 17. In step 115, CPU 1 performs PDP display control in the normal mode.
Fig. 10B shows the display screen format on PDP 23 in this case, and M4 in Fig. 13
shows the flag states. In this case, FE 17 is set to be "0" indicating the stretch
disable mode, and stretch processing is disabled. Therefore, an image is displayed
on PDP 23 using the display screen (640 x 400 dots) in display mode A shown in Fig.
10B.
[0031] If it is determined in step 67 in Fig. 2B that no alteration of the display mode
is made, CPU 1 executes a text mode processing subroutine in step 69. More specifically,
in step 117 in Fig. 5, CPU 1 sets "0" in FG 13 and FE 17. In step 119, CPU 1 refers
to FC 9. If FC 9 is set to be "1" indicating the CRT mode, a CRT font (blocks 0 through
3 in Fig. 12) is selected as a display character font in step 123. Fig. 10C shows
the display screen format on CRT 25 in this case, and M3 in Fig. 13 shows the flag
states.
[0032] If it is determined in step 119 that the CRT flag is set to be "0"' CPU 1 determines
that the PDP mode is CPU 1 then refers to FD 11 in step 121. If FD 11 is set to be
"1" indicating a double font, CPU 1 selects the double font (blocks 8 through 11 in
Fig. 12) as a display character font in step 125. If it is determined in step 121
that FD 11 is set to be "0"' CPU 1 determines that the single font is set, and selects
a single font (blocks 4 through 7 in Fig. 12) as a display character font in step
127. Fig. 10B shows the display screen format on PDP 23 in this case, and M2 (double
font) and M1 (single font) in Fig. 13 show flag states. In step 129, CPU 1 sets a
normal scan mode.
[0033] Upon selection of single font/double font, a display character font with a good visual
recognition property corresponding to use environment, an object to be processed,
and the like, can be arbitrarily used.
[0034] As described above, the display mode (graphics mode/text mode) is set and altered.
[0035] If it is determined in step 79 in Fig. 2C that the operated key is the double/single
switch key for switching the display character font (single font/double font) in the
text mode, double/single switching processing shown in Fig. 6 is executed. That is,
it is checked in step 131 if FG 13 is set to be "0" indicating the text mode. If "0",
it is checked in step 133 if FC 9 is set to be "0" indicating the PDP mode. If "0",
the flow advances to step 135, and CPU 1 refers to FD 11. If it is determined in step
135 that FD 11 is set to be "1" indicating a double font, CPU 1 sets "0" in FD 11
in step 137, and selects a single font as a display character font in accordance with
the content of FD 11 in step 139.
[0036] If it is determined in step 135 that FD 11 is set to be "0" indicating a single font,
CPU 1 rewrites FD 11 to be "1" in step 141, and selects blocks 8 through 11 in Fig.
12 based on the content of FD 11 in step 143.
[0037] In this manner, each time the double/single switch key is operated, the display character
fonts are alternately switched.
[0038] If it is determined in step 83 in Fig. 2C that the PDP key for instructing switching
from the CRT mode to the PDP mode is operated, processing shown in Fig. 7 is executed.
More specifically, if it is determined in step 145 in Fig. 7 that FC 9 is set to be
"1" indicating the CRT mode, display switching processing from the CRT to the PDP
including timing switching processing of CRTC 27 is executed in step 147. In step
149, CPU 1 refers to FG 13. If it is determined in step 149 that FG 13 is set to be
"1", CPU 1 refers to FS 15 in step 151. If it is determined in step 151 that FS 15
is set to be "1" indicating the stretch mode (raster stretch mode), PDP display control
in the stretch mode for PDP 23 is performed in step 155.
[0039] If it is determined in step 151 that FS 15 is set to be "0" indicating the normal
mode, PDP display control in the normal mode for PDP 23 is performed in step 153.
[0040] If it is determined in step 149 that FG 13 is set to be "0" indicating the text mode,
CPU 1 refers to FD 11 in step 157. If it is determined in step 157 that FD 11 is set
to be "0" indicating a single font, CPU 1 selects a single font (blocks 4 through
7 in Fig. 12) as a display character font of PDP 23 in step 159. If it is determined
in step 157 that FD 11 is set to be "1" indicating a double font, CPU 1 selects a
double font (blocks 8 through 11 in Fig. 12) as a display character font of PDP 23
in step 161.
[0041] If it is determined in step 97 in Fig. 2C that the CRT key for instructing switching
from the PDP mode to the CRT mode is operated, CPU 1 executes a CRT key processing
routine shown in Fig. 8. More specifically, if it is determined in step 163 in Fig.
8 that FC 9 is set to be "0" indicating the PDP mode, the flow advances to step 165,
and display switching processing from the PDP to CRT including timing switching processing
of CRTC 27 is executed. In step 167, CPU 1 refers to FG 13 in step 167. If it is determined
in step 167 that FG 13 is set to be "1" indicating the graphics mode, CRT graphics
display control in the normal mode for CRT 25 is executed in step 169. However, if
it is determined in step 167 that FG is set to be "0" indicating the text mode, a
CRT font (blocks 0 through 3 in Fig. 12) is selected as a text display character font
of CRT 25 in step 171.
[0042] If it is determined in step 91 in Fig. 2C that the stretch key is operated, stretch
key processing shown in Fig. 9 is executed. More specifically, if it is determined
in step 173 in Fig. 9 that FC 9 is set to be "0" indicating the PDP mode and in step
175 that FE 17 is set to be "1" indicating the stretch enable mode, the flow advances
to step 177. If CPU 1 determines in step 177 that FS 15 is set to be "0" indicating
the normal mode, it rewrites FS 15 to be "1" indicating the stretch (raster stretch)
mode in step 179. In step 181, CPU 1 double-scans a 7th dot, thereby performing raster
stretch processing. As a result, PDP display control in the stretch mode for PDP 23
is executed.
[0043] However, if it is determined in step 177 that FS 15 is set to be "1", CPU 1 rewrites
FS 15 to be "0" in step 183. In step 185, CPU 1 performs display control in the normal
mode based on the content of FS 15.
[0044] In this manner, various display switching processing operations can be executed
in response to key inputs.
[0045] In the above embodiment, the PDP can switch two types of display screen formats,
and stretch processing from 8 dots to 9 dots is performed by 7th-dot double scan.
However, the present invention is not limited to this. For example, three or more
display modes, three or more display screen formats, or another stretch means be employed.
1, A display controller in a display system which comprises a plasma display apparatus
(23), allows connection of a CRT display apparatus (25) as an option, and comprises
a CRT controller (27) for alternately driving said plasma display apparatus and said
CRT display apparatus, comprising:
means (19) for selecting a display apparatus to be driven;
indicator means (9) for indicating the selected display apparatus;
font storage means (7) for storing a font inherent to said plasma display apparatus
and a font inherent to said CRT display apparatus; and
display control means (1, 5) for selectively reading out the font inherent to
said plasma display apparatus or said CRT display apparatus from said font storage
means in correspondence with the display apparatus indicated by said indicator means,
and causing the selected display apparatus to display an image using the readout font.
2. A controller according to claim 1, characterized in that said font storage means
has a plurality of types of fonts inherent to said plasma display apparatus, and said
display control means selectively reads out and displays one of the plurality of types
of fonts.
3. A controller according to claim 1, characterized in that said font storage means
has a plurality of types of fonts inherent to said CRT display apparatus, and said
display control means selectively reads out and displays one of the plurality of types
of fonts.
4. A controller according to claim 1, characterized in that said indicator means comprises
a battery-backup memory.
5. A controller according to claim 1, characterized in that said indicator means comprises
a setting switch.
6. A controller according to claim 1, having at least a text mode and a graphics mode,
and characterized by further comprising:
mode selection means (19) for selecting one of a text mode and a graphics mode;
display mode indicator means (13) for indicating the display mode selected by
said mode selection means;
means (1, 5, 7) for, when said display mode indicator means indicates the text
mode, generating a text font inherent to the text mode; and
means (1, 5, 7) for, when said display mode indicator means indicates the graphics
mode, generating a graphics font inherent to the graphics mode.
7. A controller according to claim 6, characterized in that a CRT display apparatus
can be externally connected to said plasma display apparatus, and said plasma display
apparatus has first flag means (9) indicating a display mode by said CRT display apparatus
or a display mode by said plasma display apparatus, second flag means (11) indicating
whether a display character font in the text mode is a first font of a reference line
width or a second font of a width larger than the reference line width, and third
flag means (13) indicating whether the display apparatus performs display in the text
mode or the graphics mode.
8. A controller according to claim 6, characterized in that said means for generating
the text font and said means for generating the graphics font have means for storing
a plurality of types of font data, and said font storage means is divided into blocks
in accordance with the plurality of types of font data and stores first font data
of a reference line width and second font data of a width larger than the reference
line width in each block.
9. A controller according to claim 6, characterized in that the text font has a first
font of a reference line width and a second font of a width larger than the reference
line width, and a text character is displayed by selectively using either one font.
10. A controller according to claim 6, characterized in that a CRT display apparatus
can be externally connected, and the first and second fonts can be used only when
said plasma display apparatus is display-driven.
11. A controller according to claim 1, characterized by further comprising:
stretch designation means (19) for instructing stretching of a display screen
of said plasma display apparatus;
means (1, 5, 7) for discriminating in response to a stretch instruction from
said stretch designation means whether or not a current display mode is a stretch-enable
display mode; and
image stretch means (1, 5, 15) for, when said means for discriminating the stretch-enable
display mode determines that the current display mode is the stretch-enable display
mode, scanning a specific raster of the display screen of said plasma display apparatus
a plurality of times so as to stretch a display image.
12. A controller according to claim 11, characterized in that when an application
program for a CRT display apparatus is executed using said plasma display apparatus,
said means for discriminating the stretch-enable display mode determines that a display
mode of a plasma display having a ratio of the number of dots in the vertical direction
to that in the horizontal direction different from that of said CRT display apparatus
is set, and said image stretch means stretches the display screen of said plasma display
apparatus.
13. A controller according to claim 12, characterized in that the display mode has
a plurality of types of display modes of different resolutions.
14. A controller according to claim 12, characterized in that said means for discriminating
the stretch-enable display mode has first flag means (15) indicating a normal mode
and a raster stretch mode, and second flag means (17) indicating a stretch disable
mode and a stretch enable mode.
15. A controller according to claim 11, characterized in that said stretch designation
means comprises a keyboard including a stretch key.