摘要 |
A method and apparatus for processing a line-graphic in a 2 bytes character mode of a display adapter unit, whereby a line-graphic code can be prevented from being misdiscriminated as a 2 bytes character code in the 2 bytes character mode and be thus processed as a line on a screen. The apparatus comprises a code discriminator for retrieving the most significant bit of each of character codes inputted therein to discriminate whether each of the character codes is a 1 byte character code or a 2 bytes character code and generating a 1 byte/2 bytes character code discriminate signal depending on each of the retrieved most significant bit values, a line-graphic discriminator for decoding each of the character codes inputted therein and generating a line-graphic code discriminate signal if line-graphic codes are inputted successively above a predetermined number of times in accordance with the decoded result, such that the line-graphic codes are processed as 1 byte character codes, and an AND gate for ANDing output signals from the code discriminator and the line-graphic discriminator and outputting the ANDed signal as the final 1 byte/2 bytes character code discriminate signal.
|