Background of the Invention
The present invention relates to a monochromatic tone display apparatus for producing a pseudocolor display by using a monochromatic display device.
A monochromatic tone system is defined as a system for producing a pseudocolor display by using a monochromatic display. Tone levels are determined in correspondence with respective colors, and tone differences are expressed on the monochromatic display by utilizing tone level differences. For example, one-bit I (intensity) data is added to the 3-bit data of R.multidot.G.multidot.B to represent 8 colors and to format the 4-bit data of I.multidot.R.multidot.G.multidot.B which can express 16 tones corresponding to 16 colors. When the 4-bit data is displayed on the monochromatic display, the 4-bit data can display a maximum of 16 tones. In other words, 16 tone levels are given in correspondence with 16 colors. The I bit is set at logic "0" in the normal mode, and at logic "1" in an emphasizing mode.
A typical example is described in "IBM Personal Computer XT Hardware Reference Library Technical Reference". However, this reference describes only interface color graphic specifications. No description is made of a compression tone display which serves as the main feature of the present invention.
Assume that the 4-bit data of I.multidot.R.multidot.G.multidot.B is weighted to provide a color code C=I.times.8+R.times.4+G.times.2+B, and that numbers 0 through 15 are given by Cs, respectively, as shown in FIG. 1. The smaller the color code, the lower the tone level. The larger the color code, the higher the tone level.
According to the above-described system, however, since the difference between the adjacent tone levels is small, the difference cannot be easily identified. In addition, since the I bit among the I, R, G and B bits has the maximum weight coefficient, the screen is darkened when the I bit is enabled.
Summary of the Invention
It is an object of the present invention to provide a monochromatic tone display apparatus wherein the conventional 16 tones are compressed to 9 tones to increase the difference between each two adjacent tone levels.
In order to achieve the object of the present invention, there is provided, in a display apparatus, a tone display control device for producing a monochromatic tone display corresponding to red (R), green (G), and blue (B) signals, as well as to an intensity (I) signal, in synchronism with a horizontal synchronizing (HSYNC) signal and a vertical synchronizing (VSYNC) signal, upon reception of the HSYNC, VSYNC, R, G, B and I signals, comprising:
first means for generating different tone level voltages in response to combinations, given such that at least one of the R, G and B signals is active when the I signal is inactive; and
second means for generating both a minimum tone level voltage when the I signal is active and all the R, G and B signals are inactive, and a maximum tone level voltage when one or a combination of the R, G and B signals is active.
In a monochromatic tone display apparatus according to the present invention, when the I bit is set at logic "0", eight color codes represented by the 3-bit R.multidot.G.multidot.B data are respectively assigned to eight tone levels. However, when the I bit is set at logic "1", the maximum tone level is assigned to the color code irrespective of the logic state of the 3-bit R.multidot.G.multidot.B data. 16 colors can be expressed by a total of 9 tone levels. Therefore, since the difference between each two adjacent tone levels can be increased, the difference can be easily identified. Even if the I bit is set at logic "1", the screen will not be darkened.
The present invention provides the following effects:
(1) Since the difference between each two adjacent tone levels is increased, the display contents can be easily recognized;
(2) Even if the I bit is set at logic "1", the screen will not be darkened; and
(3) Since the difference between the tone levels for the I bit of logic "1" and for the I bit of logic "0" is increased, the primary function (i.e., an emphasizing function) of the I bit can be properly performed.
Brief Description of the Drawings
Other objects and features of the present invention will be apparent from the following description taken in connection with the accompanying drawings, in which:
FIG. 1 is a diagrammatic representation showing the relationship between the color codes, the tone levels and the I, R, G and B bits in a conventional 16-tone system;
FIG. 2 is a diagrammatic representation showing the relationship between the color codes, the tone levels and the I, R, G and B bits in a 9-tone system according to the present invention; and
FIG. 3 is a block diagram of a monochromatic tone display apparatus according to an embodiment of the present invention.
Detailed Description of the Preferred Embodiment
FIG. 2 is a diagrammatic representation showing the relationship between the color codes, the tone levels and the I, R, G and B bits in a 9-tone system. In this embodiment, when an intensity (I) bit is set at logic "0", eight color codes represented by the 3-bit data of R.multidot.G.multidot.B are assigned to eight tone levels, respectively. However, when the I bit is set at logic "1", the maximum level is assigned to the color code irrespective of the 3-bit data of R.multidot.G.multidot.B. The color codes are assigned with a total of 9 tone levels. When the I bit is set at logic "1" and all the R, G and B bits are set at logic "0", the color code consisting of the 4-bit data of I.multidot.R.multidot.G.multidot.B is assigned to the minimum level in the same manner as the 4-bit data of all "0"s. As a comparison, the relationship between the color codes, the tone levels and the I, R, G and B bits in the 16-tone system is diagrammatically illustrated in FIG. 1.
FIG. 3 is a block diagram of a monochromatic tone display apparatus according to an embodiment of the present invention. A horizontal synchronizing signal (HSYNC) and a vertical synchronizing signal (VSYNC) generated from a display controller (not shown) are supplied to an inverted exclusive OR gate 11. The I bit (the intensity signal) is supplied to one input terminal of an AND gate 17. The R, G and B signals are supplied to an OR gate 18 and one input terminal of each of the OR gates 13, 14 and 15. An output signal from the OR gate 18 is supplied to the other input terminal of the AND gate 17 and a buffer 16. An output signal from the AND gate 17 is supplied to a buffer 12 and the other input terminal of each of the OR gates 13, 14 and 15. The buffer 12, the OR gates 13, 14 and 15, and the buffer 16 are commonly connected to an amplifier 19 through corresponding resistors R12, R13, R14, R15 and R16. An output terminal of the non-exclusive OR gate 11 is connected to output terminals of the gates 13 through 15 and the buffers 12 and 16. At the same time, the inverted exclusive OR gate 11 is also connected to a power source voltage VCC through the resistor R11, and grounded through resistor R17.
The buffers 12 and 16 are arranged to synchronize with propagation delay times of the gates 13 through 15. When one of the HSYNC and VSYNC signals is set at logic "1", the OR gate 11 generates a logic "0" signal. When one of the R, G or B signals is set at logic "1", the OR gate 18 generates an output signal of logic "1". This output signal is supplied to the other input terminal of the AND gate 17. When the I signal is set at logic "1", the AND gate 17 generates, through the buffer 12, a signal indicating that the tone is of the maximum level. The OR gate 13 generates a signal indicating, similarly, that the R signal is of the maximum level, the OR gate 14 generates a signal indicating that the G signal is of the maximum level, the OR gate 15 generates a signal indicating that the B signal is of the maximum level, and the buffer 16 generates a signal indicating that one of the R, G and B signals is present.
The resistor R11 constitutes a pull-up resistor; R12 through R16 constitute open collector resistors for the buffer 12, the OR gates 13 through 15, and the buffer 16; and R17 constitute a pull-down resistor. These resistors collectively act as an adder from which the total voltage from the active resistors is applied to the amplifier 19.
According to the experimental results of this application, the following resistances are preferable:
R11=220 ohms
R12=820 ohms
R13=220 ohms
R14=470 ohms
R15=910 ohms
R16=470 ohms
R17=240 ohms
The operation of the monochromatic tone display apparatus having the arrangement described above will be described in detail with reference to FIGS. 2 and 3. As shown in FIG. 2, assume all the I, R, G and B bits are set at logic "0". When the HSYNC or VSYNC signal supplied from the display controller (not shown) is set at logic "1", an output signal from the OR gate 11 is set at logic "0". An output potential at the amplifier 19 is the ground potential. As shown in FIG. 2, the tone level signal is of the minimum level.
When only the B signal is set at logic "1", the resistors R15 and R16 are active. A total voltage from the resistors R15 and R16 is applied to the amplifier 19. Furthermore, when only the G signal is set at logic "1", the resistors R14 and R16 are active. The total resistance of the resistors R14 and R16 is smaller than that of the resistors R15 and R16, so that the total voltage from the resistors R14 and R16 is higher than that of the resistors R15 and R16. Similarly, when the R, G and B signals are set at logic "1", the resistors R13, R14 and R15 are active. The total voltage from the resistors R13 through R16 is applied to the amplifier 19. As shown in FIG. 2, the tone level is increased in a stepwise manner.
When the I bit is set at logic "1" and all the R, G and B bits are set at logic "0", an output from the OR gate 18 is set at logic "0", and an output from the AND gate 17 is set at logic "0" accordingly. Therefore, since all the resistors R12 through R16 are inactive, the tone level is of the minimum level, as shown in FIG. 2.
When the I bit is set at logic "1" and one or all of the R, G and B bits are set at logic "1", an output signal from the AND gate 17 is, likewise, set at logic "1". Consequently the resistor R12 is active. The signal of logic "1" from the AND gate 17 is supplied to the OR gates 13, 14 and 15, and their outputs are set at logic "1" irrespective of the logic levels of the R, G and B signals. As a result, all the resistors R13 through R16 are active. The maximum total voltage from the resistors R12 through R16 is always applied to the amplifier 19 so that the tone level is kept at the maximum level, as shown in FIG. 2.