JPH05346774A - Method for reading character generator - Google Patents

Method for reading character generator

Info

Publication number
JPH05346774A
JPH05346774A JP4155497A JP15549792A JPH05346774A JP H05346774 A JPH05346774 A JP H05346774A JP 4155497 A JP4155497 A JP 4155497A JP 15549792 A JP15549792 A JP 15549792A JP H05346774 A JPH05346774 A JP H05346774A
Authority
JP
Japan
Prior art keywords
character
display
reading
character generator
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP4155497A
Other languages
Japanese (ja)
Inventor
Shinichiro Nakada
信一郎 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4155497A priority Critical patent/JPH05346774A/en
Publication of JPH05346774A publication Critical patent/JPH05346774A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To eliminate the flicker of a display picture at the time of reading a character font and comparison-inspecting and to prevent the lowering of processing speed in a reading method when by a central processing unit(CPU), the character font in a character generator(CG) is read and comparison-inspected while displaying the picture constituted of a character. CONSTITUTION:This method is a character display circuit in a personal computer and a word processor, etc., and in the character display circuit provided with a first display control part(CRTC1) 3 displaying a document, etc., made by the CPU 1, a display control mechanism consisting of a character code video memory(CVRAM) and the CG1 (7), and the display control mechanism consisting of the CG2 (8) reading the specific character font and processing it and writing and displaying a bit map image in a graphic video memory(GVRAM) 26 and a second display control part(CRTC2) 25, circuits 11, 12, (1), (2) switching the content of the display exclusive CG1 (7) and the content of the reading and processing CG2 (8) selectively and reading it, is provided, and this circuit is constituted so that by the CPU 1, the contentents of the CG1 (7) and the CG2 (8) are compared and inspected independent of the display of the document.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パソコン, ワープロ等
において、文書といった文字で構成された画面を表示し
ながら、中央処理装置(CPU) が、キャラクタジェネレー
タ(CG)にある文字フォントを読み出し、斜体文字, ゴシ
ック文字, 拡大, 縮小文字等に加工して、上記文書をグ
ラフィックビデオメモリ(GVRAM) にビットマップの形式
で書き込み、表示することが可能な装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a personal computer, a word processor, etc., a central processing unit (CPU) reads a character font in a character generator (CG) while displaying a screen composed of characters such as a document, The present invention relates to a device capable of being processed into italic characters, Gothic characters, enlarged characters, reduced characters, etc., and writing and displaying the above document in a graphic video memory (GVRAM) in a bitmap format.

【0002】近年、パソコン, ワープロ等の文書処理装
置に対して、高度なユーザインタフェース機能が要求さ
れ、高機能な文書処理装置が提供されているが、その機
能の一つとして既存の文字フォントを加工する機能が必
要である。これはキャラクタジェネレータ(CG) (文字発
生器、以下略) にある文字フォントを、中央処理装置(C
PU) が読み出し、加工することで実現できる。
In recent years, document processing devices such as personal computers and word processors have been required to have sophisticated user interface functions, and high-performance document processing devices have been provided. Existing character fonts are one of the functions. The function to process is necessary. This is a method for converting character fonts in a character generator (CG) (character generator, abbreviated below) to a central processing unit (C
It can be realized by reading and processing by (PU).

【0003】このとき、該表示中の文書がチラツクこと
があることから、該チラツキの起こらない文字表示制御
回路が必要とされる。勿論、最初から、各種の文字フォ
ントをキャラクタジェネレータ(CG)に用意しておいても
よいが、それでは、該キャラクタジェネレータ(CG)の容
量が膨大となることから、標準の文字フォントだけを用
意し、必要に応じて、中央処理装置(CPU) が加工し、表
示することが必要となる。
At this time, since the displayed document may flicker, a character display control circuit that does not cause the flicker is required. Of course, it is possible to prepare various character fonts in the character generator (CG) from the beginning, but with this, the capacity of the character generator (CG) becomes enormous, so only standard character fonts are prepared. If necessary, the central processing unit (CPU) must process and display.

【0004】[0004]

【従来の技術】図2,図3は、従来の文字表示回路を説
明する図であり、パソコン,ワープロ等の文書処理装置
において、作成された文書をCRTディスプレイに表示
する回路部分を示したものである。
2. Description of the Related Art FIGS. 2 and 3 are diagrams for explaining a conventional character display circuit, showing a circuit portion for displaying a created document on a CRT display in a document processing device such as a personal computer or a word processor. Is.

【0005】先ず、図2において、中央処理装置(CPU)
1 が、主記憶装置 2上において、文書を作成した後、キ
ャラクタコードビデオメモリ(CVRAM) 4 に書き込み、第
1の表示制御部(CRTC1) 3 を起動する。
First, in FIG. 2, a central processing unit (CPU)
After creating a document in the main storage device 2, 1 writes in the character code video memory (CVRAM) 4 and activates the first display control unit (CRTC1) 3.

【0006】該第1の表示制御部(CRTC1) 3 は、該キャ
ラクタコードビデオメモリ(CVRAM)4 をアクセスして、
順次、各文字のキャラクタコードを読み出し、該読み出
したキャラクタコードで、第1のキャラクタジェネレー
タ(CG1) 7 をアクセスして、該当の文字フォントに対す
るラスタアドレスを与えて、該当文字の1ラスタ分のド
ットデータを取り出し、シフトレジスタ 12 に並列/直
列変換を行ってビデオ信号を生成すると共に、水平,垂
直同期信号 24 を出力することにより、CRTディスプ
レイ(CRT) 13上に、該キャラクタコードビデオメモリ(C
VRAM) 4 に格納されている文書を表示する。
The first display control unit (CRTC1) 3 accesses the character code video memory (CVRAM) 4,
The character code of each character is read in sequence, the first character generator (CG1) 7 is accessed with the read character code, and the raster address for the corresponding character font is given to the dot for one raster of the corresponding character. By taking out the data, performing parallel / serial conversion to the shift register 12 to generate a video signal, and outputting the horizontal and vertical synchronizing signals 24, the character code video memory (CRT) 13 can be displayed on the CRT display (CRT) 13.
Display the documents stored in (VRAM) 4.

【0007】該第1の表示制御部(CRTC1) 3 が文書を表
示しているとき、中央処理装置(CPU) 1 が上記第1のキ
ャラクタジェネレータ(CG1) 7 をアクセスして、所定の
文字を読み出し、例えば、斜体文字, ゴシック文字等に
加工して、グラフィックビデオメモリ(GVRAM) 26に、ビ
ットマップの形式で書き込んだ後、上記第1の表示制御
部 3での表示制御を抑止して、第2の表示制御部(CRTC
2) 25を起動すると、該第2の表示制御部(CRTC2) 25
は、該グラフィックビデオメモリ(GVRAM) 26のビット情
報を読み出し、上記シフトレジスタ 12 に入力すること
により、上記文書が、該加工された文字に変換されて、
該CRTディスプレイ(CRT) 13上に表示される。
When the first display controller (CRTC1) 3 is displaying a document, the central processing unit (CPU) 1 accesses the first character generator (CG1) 7 to display a predetermined character. After reading, for example, processing into italic characters, Gothic characters, etc., and writing to the graphic video memory (GVRAM) 26 in the form of bitmap, the display control by the first display control section 3 is suppressed, Second display controller (CRTC
2) When 25 is started, the second display control unit (CRTC2) 25
Reads bit information of the graphic video memory (GVRAM) 26 and inputs the bit information to the shift register 12 to convert the document into the processed characters,
It is displayed on the CRT display (CRT) 13.

【0008】勿論、このとき、上記キャラクタコードビ
デオメモリ(CVRAM) 4 上の特定の文字のみを加工して、
該キャラクタコードビデオメモリ(CVRAM) 4 の表示内容
に対応した該グラフィックビデオメモリ(GVRAM) 26にビ
ットマップ形式で書き込み、上記キャラクタコードビデ
オメモリ(CVRAM) 4 の表示内容に重畳 (具体的には、上
書き) して表示するようにしてもよい。
Of course, at this time, only specific characters on the character code video memory (CVRAM) 4 are processed,
Write in a bitmap format to the graphic video memory (GVRAM) 26 corresponding to the display content of the character code video memory (CVRAM) 4 and superimpose on the display content of the character code video memory (CVRAM) 4 (specifically, It may be overwritten and displayed.

【0009】このような、従来の、文字で構成された画
面を表示しながら、中央処理装置(CPU) 1 が、上記第1
のキャラクタジェネレータ(CG1) 7 にある文字フォント
を読み出し加工することが可能な文字表示装置において
は、 1) 図2に示したように、該キャラクタジェネレータ(C
G)を1組しかもたず、第1の表示制御部(CRTC1) 3 が出
力する表示専用アドレス (キャラクタコード, ラスタア
ドレス) と, 中央処理装置(CPU) 1 が読み出し, 加工す
る為に出力する文字コードをアドレスデコーダ(ADEC) 6
でデコードして出力するキャラクタアドレス, ラスタア
ドレスとを、セレクタ(SEL1) 10,セレクタ(SEL2) 9で切
り換えて、上記第1のキャラクタジェネレータ(CG1) を
アクセスする方法。
While displaying such a conventional screen composed of characters, the central processing unit (CPU) 1
In the character display device capable of reading and processing the character font in the character generator (CG1) 7 of 1), 1) as shown in FIG.
G) has only one set, and the display-only address (character code, raster address) output from the first display control unit (CRTC1) 3 and the central processing unit (CPU) 1 read and output for processing. Character code address decoder (ADEC) 6
The method of accessing the first character generator (CG1) by switching the character address and raster address decoded and output by the selector (SEL1) 10 and selector (SEL2) 9.

【0010】2) 図3に示したように、第1の表示制御
部(CRTC1) 3 がアクセスする表示専用の第1のキャラク
タジェネレータ(CG1) 7 と、中央処理装置(CPU) 1 が上
記アドレスデコーダ(ADEC) 6を介して読み出し, 加工す
るための第2のキャラクタジェネレータ(CG2) 8 の2組
のキャラクタジェネレータを持ち、独立にアクセスでき
るようにする方法。
2) As shown in FIG. 3, the first display-dedicated first character generator (CG1) 7 accessed by the first display control unit (CRTC1) 3 and the central processing unit (CPU) 1 have the above address. A method that has two sets of character generators, a second character generator (CG2) 8 for reading and processing through a decoder (ADEC) 6 and making them independently accessible.

【0011】があった。There was

【0012】[0012]

【発明が解決しようとする課題】通常、中央処理装置(C
PU) 1 による読み出し, 加工の為のキャラクタジェネレ
ータアクセスは、第1の表示制御部(CRTC) 3による表示
専用アクセスとは非同期に行われる。
Generally, the central processing unit (C
The character generator access for reading and processing by (PU) 1 is performed asynchronously with the display-only access by the first display control unit (CRTC) 3.

【0013】従って、上記 1) の方法では、中央処理装
置(CPU) 1 からの読み出し, 加工の為のアクセスと, 上
記第1の表示制御部(CRTC1) 3 からのアクセスが重なっ
た場合、中央処理装置(CPU) 1 からのアクセスを優先さ
せると、該第1のキャラクタジェネレータ(CG1) 7 に対
するアクセスアドレスが切り替わる為、画面にちらつき
を生じる問題があった。
Therefore, in the above method 1), when the access for reading and processing from the central processing unit (CPU) 1 and the access from the first display control unit (CRTC1) 3 overlap, the central processing unit If the access from the processing unit (CPU) 1 is prioritized, the access address to the first character generator (CG1) 7 is switched, which causes a problem of flickering on the screen.

【0014】又、逆に、上記第1の表示制御部(CRTC) 3
からの表示の為のアクセスを優先させると、中央処理装
置(CPU) 1 にウエイトを発効しなければならず、中央処
理装置(CPU) 1 の処理速度の低下を招くという問題があ
った。
On the contrary, the first display control unit (CRTC) 3
If the priority is given to the access for display from, the weight must be applied to the central processing unit (CPU) 1, which causes a problem that the processing speed of the central processing unit (CPU) 1 is reduced.

【0015】一方、 2) の方法では、中央処理装置(CP
U) 1 と, 第1の表示制御部(CRTC) 3が独立に、それぞ
れ、別のキャラクタジェネレータ(CG1,CG2) 7,8 にアク
セスできるため、1)のような問題点は生じない。
On the other hand, in the method 2), the central processing unit (CP
Since U) 1 and the first display control unit (CRTC) 3 can independently access different character generators (CG1, CG2) 7, 8 respectively, the problem as in 1) does not occur.

【0016】然しながら、該キャラクタジェネレータ(C
G)を2組持つため、2組のキャラクタジェネレータ(CG
1,CG2) 7,8 の内容が一致しているか (製造時の障害,
インストール時の障害等) を検査しなければならない
が、上記第1の表示制御部(CRTC1) 3 がアクセスする第
1のキャラクタジェネレータ(CG1) 7 の文字フォントを
中央処理装置(CPU) 1 が読み取ることができない為、中
央処理装置(CPU) 1 により読み出したフォントデータど
うしを直接比較することはできず、CRTディスプレイ
13 の画面に表示されたフォントデータと、中央処理装
置(CPU) 1 が加工用に読み出して、上記グラフィックビ
デオメモリ(GVRAM) 15に書き込み、表示した文字フォン
トデータとを間接的に比較するしかなかった。
However, the character generator (C
Since there are 2 sets of G), 2 sets of character generator (CG
(1, CG2) 7,8 contents match (obstruction during manufacturing,
The CPU (CPU) 1 reads the character font of the first character generator (CG1) 7 accessed by the first display control unit (CRTC1) 3 above. Since it is not possible to directly compare the font data read by the central processing unit (CPU) 1, the CRT display
There is no choice but to indirectly compare the font data displayed on the screen of 13 with the character font data read by the central processing unit (CPU) 1 for processing and written in the graphic video memory (GVRAM) 15 above. It was

【0017】本発明は上記従来の欠点に鑑み、表示専用
と, 読み出し, 加工用に、キャラクタジェネレータ(CG)
を2組持つことで、該キャラクタジェネレータ(CG)の読
み出し時の画面のちらつき, 及び中央処理装置(CPU) の
処理速度の低下を防止すると同時に、該中央処理装置(C
PU) が2組のキャラクタジェネレータ(CG1,CG2) の内容
の比較, 検査を容易に行うことができる文字発生器の読
み出し方法を提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides a character generator (CG) for display only, reading, and processing.
By having two sets of the character generator (CG), flicker on the screen at the time of reading the character generator (CG) and a decrease in the processing speed of the central processing unit (CPU) are prevented, and at the same time, the central processing unit (C
It is an object of the present invention to provide a reading method of a character generator that allows a PU to easily compare and inspect the contents of two sets of character generators (CG1, CG2).

【0018】[0018]

【問題を解決するための手段】図1は、本発明の一実施
例を示した図である。上記の問題点は下記の如くに構成
した文字表示回路によって解決される。
FIG. 1 is a diagram showing an embodiment of the present invention. The above problems are solved by the character display circuit configured as follows.

【0019】パソコン, ワープロ等での文字表示回路で
あって、中央処理装置 1で作成した文書等を表示する為
の第1の表示制御部 3と,キャラクタコードビデオメモ
リ 4と, 第1のキャラクタジェネレータ 7からなる表示
制御機構と,該中央処理装置 1によって特定の文字フォ
ントを読み出し, 加工して、上記キャラクタコードビデ
オメモリ 4とは別のグラフィックビデオメモリ 26 にビ
ットマップ画像を書き込み、表示するための第2のキャ
ラクタジェネレータ 8と, 第2の表示制御部 25 とから
なる表示制御機構とを備えた文字表示回路に、該表示専
用の第1のキャラクタジェネレータ 7の内容と、上記読
み出し,加工用の第2のキャラクタジェネレータ 8の内
容とを、選択的に、切り換えて読み出す回路,22,,1
1 を備えて、上記文書の表示とは独立に、該読み出し回
路,22,,11 により、上記第1のキャラクタジェネレ
ータ 7の内容と, 上記第2のキャラクタジェネレータ 8
の内容を、選択的に、読み出すように構成する。
A character display circuit for a personal computer, a word processor, etc., which includes a first display control unit 3 for displaying a document etc. created by the central processing unit 1, a character code video memory 4, and a first character. To display and process a specific character font by the display control mechanism consisting of the generator 7 and the central processing unit 1 and write the bitmap image in the graphic video memory 26 different from the character code video memory 4 and display it. In the character display circuit having the display control mechanism including the second character generator 8 and the second display control unit 25, the contents of the first character generator 7 dedicated to the display and the above-mentioned reading and processing Circuit for selectively switching and reading the contents of the second character generator 8 of
1, the contents of the first character generator 7 and the second character generator 8 are provided independently of the display of the document by the reading circuit 22, 22, 11.
Is configured to be selectively read.

【0020】[0020]

【作用】本発明においては、中央処理装置(CPU) 1 で作
成した文書等を表示する為の第1の表示制御部(CRTC1)
3 と,キャラクタコードビデオメモリ(CVRAM) 4 と, 第
1のキャラクタジェネレータ(CG1) 7 からなる表示制御
機構と, 該中央処理装置(CPU) 1 によって特定の文字フ
ォントを読み出し, 加工して、上記キャラクタコードビ
デオメモリ(CVRAM) 4 とは別のグラフィックビデオメモ
リ(GVRAM) 26にビットマップ画像を書き込み、表示する
ための第2のキャラクタジェネレータ(CG2) 8 と, 第2
の表示制御部 25 とからなる表示制御機構とを備えた文
字表示回路に、該表示専用の第1のキャラクタジェネレ
ータ(CG1) 7 の内容と、上記読み出し,加工用の第2の
キャラクタジェネレータ(CG2) 8 の内容とを、選択的
に、切り換えて読み出す回路,22, ,11 を備えるよ
うに構成している。
In the present invention, the first display control unit (CRTC1) for displaying a document created by the central processing unit (CPU) 1
3, a character code video memory (CVRAM) 4, a display control mechanism composed of a first character generator (CG1) 7, and a central character processing unit (CPU) 1 for reading and processing a specific character font, The second character generator (CG2) 8 for writing and displaying the bit map image in the graphic video memory (GVRAM) 26 different from the character code video memory (CVRAM) 4 and the second
In the character display circuit provided with the display control mechanism including the display control unit 25 and the contents of the first character generator (CG1) 7 dedicated to the display, and the second character generator (CG2 8) and the contents of 8 are selectively switched and read out.

【0021】従って、通常、該第1の表示制御部(CRTC
1) 3 の制御の元に、キャラクタコードビデオメモリ(CV
RAM) 4 に蓄積されている文書の文字コードに基づい
て、第1のキャラクタジェネレータ(CG1) 7 をアクセス
して、該文書をCRTディスプレイ(CRT) 13に表示中で
は、中央処理装置(CPU) 1 は、第2のキャラクタジェネ
レータ(CG2) 8 をアクセスして、該文字フォントを読み
出し、加工して、上記キャラクタコードビデオメモリ(C
VRAM) 4 とは別のグラフィックビデオメモリ(GVRAM) 26
にビットマップ画像を書き込むことができるので、該第
2のキャラクタジェネレータ(CG2) 8 をアクセスして、
該文字フォントを読み出し、加工する時に、上記表示を
妨げることはない。
Therefore, normally, the first display control unit (CRTC
1) Under the control of 3, character code video memory (CV
RAM) 4 Based on the character code of the document stored in the document, the first character generator (CG1) 7 is accessed to display the document on the CRT display (CRT) 13, and the central processing unit (CPU) 1 accesses the second character generator (CG2) 8, reads the character font, processes it, and outputs the character code video memory (C
VRAM) 4 different graphics video memory (GVRAM) 26
Since a bitmap image can be written in, the second character generator (CG2) 8 is accessed,
The above display is not disturbed when the character font is read and processed.

【0022】そして、該第1のキャラクタジェネレータ
(CG1) 7 の内容と、該第2のキャラクタジェネレータ(C
G2) 8 の内容とを照合比較する場合には、例えば、初期
化時等ににおいて、先ず、読み出し, 加工用の第1のキ
ャラクタジェネレータ(CG2)7 の文字フォントを、メイ
ンメモリ(MM) 2に読み出しておき、次に、選択制御部(S
EL CTL) 5 から、選択信号 20 を送出して、中央処理装
置(CPU) 1 からアクセスされたアドレスデコーダ(ADEC)
6からのアドレス (キャラクタアドレス, ラスタアドレ
ス) を選択して、第1のキャラクタジェネレータ(CG
1) 7 からの文字フォントを選択して、セレクタ(SEL3)
11 を介して、上記メインメモリ(MM) 2に読み取ること
により、該表示を妨げることなく、該第1のキャラクタ
ジェネレータ(CG2) 7 の文字フォントと、第2のキャラ
クタジェネレータ(CG2) 8 の文字フォントとを比較する
ことができる。又、該第1の表示制御部(CRTC1) 3 の制
御の元に、キャラクタコードビデオメモリ(CVRAM) 4 中
の文書を表示中に、該選択制御部(SEL CTL) 5 から、選
択信号 20 を送出して、中央処理装置(CPU) 1 からアド
レスデコーダ(ADEC) 6からのアドレスを選択して、該第
1のキャラクタジェネレータ(CG1) 7 からの文字フォン
トを選択して照合すると、若干の表示画像の乱れを生じ
ることがあるが、そのような機会は稀にしか起こらない
ので、本発明を妨げる要因になることはない。
Then, the first character generator
(CG1) 7 contents and the second character generator (C
G2) When comparing and comparing with the contents of 8, for example, at the time of initialization, first, the character font of the first character generator (CG2) 7 for reading and processing is changed to the main memory (MM) 2 Read it out to the selection controller (S
Address decoder (ADEC) accessed by the central processing unit (CPU) 1 by sending the selection signal 20 from EL CTL) 5.
Select the address (character address, raster address) from 6 and select the first character generator (CG
1) Select the character font from 7 and select it (SEL3)
By reading to the main memory (MM) 2 via 11, the character font of the first character generator (CG2) 7 and the character font of the second character generator (CG2) 8 can be displayed without disturbing the display. You can compare with fonts. Further, under the control of the first display control unit (CRTC1) 3, while the document in the character code video memory (CVRAM) 4 is being displayed, the selection signal 20 is sent from the selection control unit (SEL CTL) 5. When sent, the address from the central processing unit (CPU) 1 to the address decoder (ADEC) 6 is selected, and the character font from the first character generator (CG1) 7 is selected and collated. Image distortion may occur, but since such an opportunity rarely occurs, it does not hinder the present invention.

【0023】従って、表示専用と,読み出し,加工用の
キャラクタジェネレータ(CG)を2組持ち、選択的に、切
り換えて読み出すようにすることで、該第1のキャラク
タジェネレータ(CG1) を読み出して、表示しているとき
の画面の、該キャラクタジェネレータ(CG)を読み出し,
加工するときのチラツキを解消すると共に、中央処理装
置(CPU) の処理速度の低下を抑止しながら、該2組のキ
ャラクタジェネレータ(CG)の内容の検査を行うことがで
きる効果がある。
Therefore, by having two sets of character generators (CG) for display, reading, and processing, and selectively switching and reading, the first character generator (CG1) is read, Read the character generator (CG) on the screen when it is displayed,
There is an effect that the flicker at the time of processing can be eliminated and the contents of the two character generators (CG) can be inspected while suppressing the decrease in the processing speed of the central processing unit (CPU).

【0024】[0024]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の一実施例を示した図であ
る。本発明においては、パソコン, ワープロ等での文字
表示回路であって、中央処理装置(CPU) 1 で作成した文
書等を表示する為の第1の表示制御部(CRTC1) 3 と,キ
ャラクタコードビデオメモリ(CVRAM) 4 と、第1のキャ
ラクタジェネレータ(CG1) 7 からなる表示制御機構と,
該中央処理装置(CPU) 1によって特定の文字フォントを
読み出し, 加工して、上記キャラクタコードビデオメモ
リ(CVRAM) 4 とは別のグラフィックビデオメモリ(GVRA
M) 26にビットマップ画像を書き込み表示するための第
2のキャラクタジェネレータ(CG2) 8 と, 第2の表示制
御部(CRTC2) 25とを備えた文字表示回路に、該表示専用
の第1のキャラクタジェネレータ(CG1) 7 の内容と、該
読み出し,加工用の第2のキャラクタジェネレータ(CG
2) 8 の内容とを、選択的に, 切り換えて読み出す回路
,22,,11 を備えて、上記文書の表示とは独立に、
該第1のキャラクタジェネレータ(CG1) 7 と, 第2のキ
ャラクタジェネレータ(CG2) 8 の内容とを、選択的に、
切り換えて読み出す手段が、本発明を実施するのに必要
な手段である。尚、全図を通して同じ符号は同じ対象物
を示している。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 described above is a diagram showing an embodiment of the present invention. In the present invention, a character display circuit for a personal computer, a word processor, etc., a first display control unit (CRTC1) 3 for displaying a document etc. created by a central processing unit (CPU) 1, and a character code video A display control mechanism consisting of a memory (CVRAM) 4 and a first character generator (CG1) 7,
A specific character font is read and processed by the central processing unit (CPU) 1, and a graphic video memory (GVRA) different from the character code video memory (CVRAM) 4 is processed.
M) A character display circuit provided with a second character generator (CG2) 8 for writing and displaying a bitmap image on the 26 and a second display control unit (CRTC2) 25, and Contents of the character generator (CG1) 7 and the second character generator (CG) for reading and processing.
2) A circuit for selectively reading the contents of 8 and 8 and 22, 11 are provided, independently of the display of the above document,
The contents of the first character generator (CG1) 7 and the second character generator (CG2) 8 are selectively
The means for switching and reading is the means necessary for carrying out the present invention. The same reference numerals denote the same objects throughout the drawings.

【0025】以下、図1を用いて、本発明の文字表示回
路の構成と動作を説明する。先ず、図1は、本発明の一
実施例を示した図である。図1において、1 は中央処理
装置(CPU)であり、キャラクタコードビデオメモリ
(CVRAM) 4 に、予め、作成して、メインメモリ(MM) 2に
記憶しておいた文書の文字コードを書き込んだり、第1
の表示制御部(CRTC1) 3 に命令を発したり、キャラクタ
ジェネレータ(CG1) 7,(CG2) 8 から文字フォントデータ
を読み出したりするもの、2 はメインメモリ(MM)であ
り、中央処理装置(CPU) 1 が実行するプログラムやデー
タを記憶させておくもの,3 は第1の表示制御部(CRTC
1) であり、同期信号 (水平同期信号, 垂直同期信号) 2
4を発生 (厳密な表現をすると、信号線 24 に同期信号
を載せることを意味する。以下、同じ) したり、上記キ
ャラクタコードビデオメモリ(CVRAM) 4 を走査するため
のアドレス 16,17を発生したり、その他、表示全体の制
御を行うもの、4 は前述のキャラクタコードビデオメモ
リ(CVRAM) であり,画面に表示される文書の文字のコー
ドを記憶しておくもの、5 は選択制御部(SEL CTL) であ
り、表示専用と、読み出し, 加工用とのキャラクタジェ
ネレータ(CG1)7,(CG2) 8 の切り換え全体をコントロー
ルするもので、内部に、図示していない切り換え指定用
レジスタを持ち、それに応じてセレクタ選択信号 20 を
発生したり、これも図示していない内部のゲート付きバ
ッファを介して、中央処理装置(CPU) 1 に、該キャラク
タジェネレータ(CG1) 7,(CG2) 8 の文字フォントデータ
を送出するもの,6 はアドレスデコーダ(ADEC)であり、
中央処理装置(CPU) 1 からの文字コードをデコードし
て、該キャラクタジェネレータ(CG1) 7,(CG2) 8 に対す
る前述のキャラクタアクセス, ラスタアドレス 19 を発
生するもの、7,8 はキャラクタジェネレータ(CG1),(CG
2) であり、文字コードに対応したビットマップフォン
トを発生するもの、9,10,11 はセレクタ(SEL1 〜SEL3)
であり、前述のセレクタ選択信号 20 に応じて、表示専
用と, 読み出し, 加工用のアドレスの切り換えを行うも
の、12はシフトレジスタであり、キャラクタジェネレー
タ(CG1) 7が発生したデータを並直変換してビデオ信号
23 を発生させるもの、13はCRTディスプレイであ
り,ビデオ信号 23 と同期信号 24 を用いて画面上に文
字を表示するラスタスキャンタイプのものである。
The configuration and operation of the character display circuit of the present invention will be described below with reference to FIG. First, FIG. 1 is a diagram showing an embodiment of the present invention. In FIG. 1, 1 is a central processing unit (CPU), which is a character code video memory
In (CVRAM) 4, write the character code of the document created in advance and stored in the main memory (MM) 2, or
To issue a command to the display control unit (CRTC1) 3 and read the character font data from the character generators (CG1) 7, (CG2) 8; 2 is the main memory (MM) and the central processing unit (CPU). ) 1 stores programs and data to be executed, 3 is the first display controller (CRTC)
1) and sync signal (horizontal sync signal, vertical sync signal) 2
4 is generated (in a strict expression, it means that a sync signal is placed on the signal line 24. The same applies hereinafter), and addresses 16 and 17 for scanning the above character code video memory (CVRAM) 4 are generated. In addition, 4 is the above-mentioned character code video memory (CVRAM) that stores the character code of the document displayed on the screen, and 5 is the selection control section ( SEL CTL), which controls the entire switching of the character generators (CG1) 7, (CG2) 8 for display only, reading, and processing, and has a switching specification register (not shown) inside. In response to this, the selector selection signal 20 is generated, or the character generator (CG1) 7, (CG2) 8 characters are sent to the central processing unit (CPU) 1 via an internal gated buffer (not shown). Font day Which sends, 6 is an address decoder (ADEC),
The character code from the central processing unit (CPU) 1 is decoded to generate the aforementioned character access to the character generator (CG1) 7, (CG2) 8 and raster address 19, 7 and 8 are the character generator (CG1 ), (CG
2), which generates a bitmap font corresponding to the character code, 9,10,11 are selectors (SEL1 to SEL3)
Is for switching the display-only, read-out, and processing addresses according to the selector selection signal 20 described above, and 12 is a shift register for converting the data generated by the character generator (CG1) 7 into parallel-to-serial conversion. Then the video signal
23 is a CRT display which is a raster scan type which displays characters on the screen by using a video signal 23 and a synchronizing signal 24.

【0026】通常の場合、選択制御部(SEL CTL) 5 は、
セレクタ(SEL2) 9,(SEL1) 10に表示専用アドレス (ラス
タアドレス, キャラクタアドレス) 17,18 を選択するよ
うに選択信号 20 を送り、セレクタ(SEL3) 11 には、第
2のキャラクタジェネレータ(CG2) 8 のデータ22を選択
するように選択信号 20 を送る。
In the normal case, the selection control unit (SEL CTL) 5 is
A selection signal 20 is sent to the selector (SEL2) 9, (SEL1) 10 to select the display-only address (raster address, character address) 17, 18, and the second character generator (CG2) is sent to the selector (SEL3) 11. ) Send the select signal 20 to select 8 data 22.

【0027】この状態では、当該文字表示回路は、図3
で説明した文字表示方法 2) と同じ働きをする。即ち、
文字を表示する場合には、第1の表示制御部(CRTC1) 3
が表示アドレス 16 を送出して、キャラクタコードビデ
オメモリ(CVRAM) 4 をスキャンし、それに応じて、該キ
ャラクタコードビデオメモリ(CVRAM) 4 が出力する文書
の各文字の文字コードをアドレスデコーダ(ADEC) 6でデ
コードしたキャラクタアドレス 18 と, ラスタアドレス
17 によって、第1のキャラクタジェネレータ(CG1) 7
が文字フォントをパラレルに出力し、シフトレジスタ 1
2 で並直変換されてCRTディスプレイ 13 に、該文書
が表示される。
In this state, the character display circuit shown in FIG.
It works the same as the character display method 2) explained in. That is,
When displaying characters, the first display controller (CRTC1) 3
Sends the display address 16 and scans the character code video memory (CVRAM) 4, and in response, the character code of each character of the document output by the character code video memory (CVRAM) 4 is addressed by the address decoder (ADEC). Character address 18 decoded in 6 and raster address
17 by the first character generator (CG1) 7
Outputs character fonts in parallel, shift register 1
The document is displayed on the CRT display 13 after being parallel-to-serial converted in 2.

【0028】中央処理装置(CPU) 1 が、第2のキャラク
タジェネレータ(CG2) 8 をアクセスする場合には、中央
処理装置(CPU) 1 がアクセスする文字のコード,ラスタ
に応じたアドレスを出力し、アドレスデコーダ(ADEC) 6
がそのアドレスをデコードし、該第2のキャラクタジェ
ネレータ(CG2) 8 に対するアクセス用のアドレス 19を
発生する。
When the central processing unit (CPU) 1 accesses the second character generator (CG2) 8, the character code accessed by the central processing unit (CPU) 1 and the address corresponding to the raster are output. , Address decoder (ADEC) 6
Decodes the address and generates an address 19 for access to the second character generator (CG2) 8.

【0029】このアドレスによって、該第2のキャラク
タジェネレータ(CG2) 8 が該当の文字フォントデータを
出力し、これが、選択制御部(SEL CTL) 5 を介して、中
央処理装置(CPU) 1 に読み込まれる。
With this address, the second character generator (CG2) 8 outputs the corresponding character font data, which is read into the central processing unit (CPU) 1 via the selection control unit (SEL CTL) 5. Be done.

【0030】この2つのアクセスは独立に行えるので、
アクセスが重なっても、表示画面をチラツカせるといっ
た問題を生じない。次に、上記第1のキャラクタジェネ
レータ(CG1) 7 と、第2のキャラクタジェネレータ(CG
2) 8 の内容を比較する時は、先ず、中央処理装置(CPU)
1 は、第2のキャラクタジェネレータ(CG2) 8 の内容
を上記の方法で読み出してメインメモリ(MM) 2に格納し
ておく。次に、選択制御部(SEL CTL) 5 は、セレクタ(S
EL2) 9, セレクタ(SEL1) 10 に、中央処理装置(CPU) か
らのアクセス用アドレス 19 のを選択するように選択
信号 20 を送り、セレクタ(SEL3) 11 には、第1のキャ
ラクタジェネレータ(CG1) 7 のデータを選択するよう
に選択信号 20 を送る。
Since these two accesses can be made independently,
Even if access is repeated, the problem of flickering the display screen does not occur. Next, the first character generator (CG1) 7 and the second character generator (CG1)
2) When comparing the contents of 8, first, the central processing unit (CPU)
For 1, the contents of the second character generator (CG2) 8 are read by the above method and stored in the main memory (MM) 2. Next, the selection control unit (SEL CTL) 5 operates the selector (S
EL2) 9, Selector (SEL1) 10 is sent a selection signal 20 to select address 19 for access from the central processing unit (CPU), and selector (SEL3) 11 is sent to the first character generator (CG1). ) Send the select signal 20 to select 7 data.

【0031】中央処理装置(CPU) 1 が、該第1のキャラ
クタジェネレータ(CG1) 7 をアクセスするには、中央処
理装置(CPU) 1 がアクセスする文字のコード,ラスタに
応じたアドレスを出力し、アドレスデコーダ(ADEC) 6が
そのアドレスをデコードし、該第1のキャラクタジェネ
レータ(CG1) アクセス用アドレスを発生する。このア
ドレスによって、該第1のキャラクタジェネレータ(CG
1) 7 が文字フォントデータを出力し、これが、該選択
制御部(SEL CTL) 5 を介して、中央処理装置(CPU) 1 に
読み込まれる。
To access the first character generator (CG1) 7, the central processing unit (CPU) 1 outputs the code of the character accessed by the central processing unit (CPU) 1 and the address corresponding to the raster. An address decoder (ADEC) 6 decodes the address and generates an address for accessing the first character generator (CG1). With this address, the first character generator (CG
1) 7 outputs character font data, which is read by the central processing unit (CPU) 1 via the selection control unit (SEL CTL) 5.

【0032】中央処理装置(CPU) 1 は、このデータとメ
インメモリ(MM) 2上の、上記第2のキャラクタジェネレ
ータ(CG2) 8 のデータとの比較を行う。この状態では、
当該文字表示回路は、図2で説明した方式 1) と同じ状
態なので、中央処理装置(CPU) 1 からのアクセスの最中
に、第1の表示制御部(CRTC1) 3 からの表示要求があっ
た場合は問題が生じる。この場合、上記選択制御部(SEL
CTL) 5 が、中央処理装置(CPU) 1 からのアクセスが終
わるまで、第1の表示制御部(CRTC1) 3 にアクセス権を
渡さないような調停を行うと画面がチラツクことになる
が、キャラクタジェネレータ(CG1,CG2) の比較は稀にし
か実施しないため問題ない。
The central processing unit (CPU) 1 compares this data with the data of the second character generator (CG2) 8 on the main memory (MM) 2. In this state,
Since the character display circuit is in the same state as in the method 1) described in FIG. 2, there is a display request from the first display control unit (CRTC1) 3 during access from the central processing unit (CPU) 1. If you do, there will be problems. In this case, the selection control unit (SEL
If the CTL) 5 performs arbitration such that the access right is not passed to the first display control unit (CRTC1) 3 until the access from the central processing unit (CPU) 1, the screen flickers. There is no problem because the generators (CG1, CG2) are rarely compared.

【0033】特に、該キャラクタジェネレータ(CG1,CG
2) の比較を、例えば、当該文字表示回路の初期化時に
行うようにすれば、更に、問題はない。このように、本
発明は、パソコン, ワープロ等での文字表示回路であっ
て、中央処理装置(CPU) 1 で作成した文書等を表示する
為の第1の表示制御部(CRTC1)3 と,キャラクタコード
ビデオメモリ(CVRAM) 4 と、第1のキャラクタジェネレ
ータ(CG1) 7 からなる表示制御機構と, 該中央処理装置
(CPU) 1 によって特定の文字フォントを読み出し, 加工
して、上記キャラクタコードビデオメモリ(CVRAM) 4 と
は別のグラフィックビデオメモリ(GVRAM) 26にビットマ
ップ画像を書き込み表示するための第2のキャラクタジ
ェネレータ(CG2) 8 と, 第2の表示制御部(CRTC2) 25と
を備えた文字表示回路に、該表示専用の第1のキャラク
タジェネレータ(CG1) 7 の内容と、該読み出し,加工用
の第2のキャラクタジェネレータ(CG2) 8 の内容とを、
選択的に、切り換えて読み出す回路,22,,11 を備え
て、上記文書の表示とは独立に、該第1のキャラクタジ
ェネレータ(CG1) 7 と, 第2のキャラクタジェネレータ
(CG2) 8 の内容とを、選択的に、切り換えて読み出し、
中央処理装置(CPU) で照合できるようにしたところに特
徴がある。
In particular, the character generator (CG1, CG
If the comparison of 2) is performed at the time of initialization of the character display circuit, there will be no further problem. As described above, the present invention is a character display circuit in a personal computer, a word processor, etc., and includes a first display control unit (CRTC1) 3 for displaying a document created by the central processing unit (CPU) 1, A display control mechanism including a character code video memory (CVRAM) 4 and a first character generator (CG1) 7, and the central processing unit
The second character for reading and displaying a specific character font by (CPU) 1, processing it, and writing and displaying a bitmap image in graphic video memory (GVRAM) 26 different from the above character code video memory (CVRAM) 4. In the character display circuit provided with the generator (CG2) 8 and the second display control unit (CRTC2) 25, the contents of the display-dedicated first character generator (CG1) 7 and the reading and processing first character The contents of 2 character generator (CG2) 8
The first character generator (CG1) 7 and the second character generator are provided independently of the above-mentioned document display by selectively switching and reading circuits, 22 and 11.
(CG2) 8 contents and are selectively switched and read,
The feature is that the central processing unit (CPU) can be used for collation.

【0034】[0034]

【発明の効果】以上説明した様に、本発明によれば、表
示専用と, 読み出し, 加工用のキャラクタジェネレータ
(CG)を2組持ち、それぞれの内容を、選択的に、切り換
えて読み出すことができるようにしたことで、該キャラ
クタジェネレータ(CG)の表示中に、該キャラクタジェネ
レータ(CG)から文字フォントを読み出し, 加工するとき
の、該表示画面のチラツキ, 及び, 中央処理装置(CPU)
の 処理速度の低下を防止すると同時に、該2組のキャ
ラクタジェネレータ(CG)の内容の検査を容易に行うこと
ができ、こうした文字表示機能を必要とするパソコン,
ワープロ等の性能向上に寄与するところが大きいとうい
効果がある。
As described above, according to the present invention, a character generator for display only, reading, and processing is provided.
By having two sets of (CG) and allowing the contents of each to be selectively switched and read, a character font can be read from the character generator (CG) while it is being displayed. Flickering of the display screen when reading and processing, and central processing unit (CPU)
It is possible to prevent the processing speed from decreasing and at the same time easily inspect the contents of the two sets of character generators (CG).
It has a great effect if it greatly contributes to the performance improvement of a word processor or the like.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示した図FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】従来の表示制御回路を説明する図(その1)FIG. 2 is a diagram (part 1) illustrating a conventional display control circuit.

【図3】従来の表示制御回路を説明する図(その2)FIG. 3 is a diagram (part 2) explaining a conventional display control circuit.

【符号の説明】[Explanation of symbols]

1 中央処理装置(CPU) 2 メインメモ
リ(MM) 3 第1の表示制御部(CRTC1) 4 キャラクタコードビデオメモリ(CVRAM) 5 選択制御部(SEL CTL) 6 アドレスデ
コーダ(ADEC) 7 第1のキャラクタジェネレータ(CG1) 8 第2のキャラクタジェネレータ(CG2) 9 セレクタ(SEL2) 10 セレクタ(S
EL1) 11 セレクタ(SEL3) 12 シフトレジ
スタ 13 CRTディスプレイ(CRT) 20 選択信号, 又は、セレクタ選択信号 21 第1のキャラクタジェネレータ(CG1) の読み出し
データ 23 ビデオ信号 24 同期信号 25 第2の表示制御部(CRTC2) 26 グラフィックビデオメモリ(GVRAM) 第1のキャラクタジェネレータ(CG1) に対するラ
スタアドレス 第1のキャラクタジェネレータ(CG1) の読み出し
データ
1 Central processing unit (CPU) 2 Main memory (MM) 3 First display control unit (CRTC1) 4 Character code video memory (CVRAM) 5 Selection control unit (SEL CTL) 6 Address decoder (ADEC) 7 First character Generator (CG1) 8 Second character generator (CG2) 9 Selector (SEL2) 10 Selector (S
EL1) 11 Selector (SEL3) 12 Shift register 13 CRT display (CRT) 20 Select signal, or selector select signal 21 First character generator (CG1) read data 23 Video signal 24 Sync signal 25 Second display control section (CRTC2) 26 Graphic video memory (GVRAM) Raster address for 1st character generator (CG1) Read data of 1st character generator (CG1)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パソコン, ワープロ等での文字表示回路で
あって、 中央処理装置(1) で作成した文書等を表示する為の第1
の表示制御部(3) と,キャラクタコードビデオメモリ
(4) と, 第1のキャラクタジェネレータ(7) からなる表
示制御機構と,該中央処理装置(1) によって特定の文字
フォントを読み出し, 加工して、上記キャラクタコード
ビデオメモリ(4) とは別のグラフィックビデオメモリ(2
6)にビットマップ画像を書き込み、表示するための第2
のキャラクタジェネレータ(8)と, 第2の表示制御部(2
5)とからなる表示制御機構とを備えた文字表示回路に、 該表示専用の第1のキャラクタジェネレータ(7) の内容
と、上記読み出し,加工用の第2のキャラクタジェネレ
ータ(8) の内容とを、選択的に、切り換えて読み出す回
路 (,22, ,11)を備えて、 上記文書の表示とは独立に、該読み出し回路 (,22,
,11)により、上記第1のキャラクタジェネレータ(7)
の内容と, 上記第2のキャラクタジェネレータ(8) の内
容を選択的に読み出すことを特徴とする文字発生器の読
み出し方法。
1. A character display circuit for a personal computer, a word processor or the like, which is a first for displaying a document or the like created by the central processing unit (1).
Display controller (3) and character code video memory
(4), a display control mechanism consisting of the first character generator (7), and a specific character font is read out by the central processing unit (1), processed, and separated from the character code video memory (4). Graphics video memory (2
The second for writing and displaying the bitmap image in 6)
Character generator (8) and the second display controller (2
In a character display circuit provided with a display control mechanism consisting of 5), the contents of the first character generator (7) dedicated to the display and the contents of the second character generator (8) for reading and processing are added. Is provided with a circuit (, 22 ,, 11) for selectively switching and reading, and the reading circuit (, 22 ,, 11) is provided independently of the display of the above document.
, 11), the first character generator (7)
And a content of the second character generator (8) are selectively read out.
JP4155497A 1992-06-16 1992-06-16 Method for reading character generator Withdrawn JPH05346774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4155497A JPH05346774A (en) 1992-06-16 1992-06-16 Method for reading character generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4155497A JPH05346774A (en) 1992-06-16 1992-06-16 Method for reading character generator

Publications (1)

Publication Number Publication Date
JPH05346774A true JPH05346774A (en) 1993-12-27

Family

ID=15607347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4155497A Withdrawn JPH05346774A (en) 1992-06-16 1992-06-16 Method for reading character generator

Country Status (1)

Country Link
JP (1) JPH05346774A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5478523A (en) * 1994-01-24 1995-12-26 The Timken Company Graphitic steel compositions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5478523A (en) * 1994-01-24 1995-12-26 The Timken Company Graphitic steel compositions

Similar Documents

Publication Publication Date Title
US4204206A (en) Video display system
CA2021831C (en) Display system
US5500654A (en) VGA hardware window control system
US5251298A (en) Method and apparatus for auxiliary pixel color management using monomap addresses which map to color pixel addresses
KR19980703654A (en) Hardware that rotates an image for display of longitudinal orientation
US4809215A (en) Information processing system having decode, write and read means
JPH07501164A (en) Video/graphics memory system
US4918429A (en) Display system with symbol font memory
CN100378793C (en) Liquid crystal display displaying method and system
EP0525986A2 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
US4937565A (en) Character generator-based graphics apparatus
US20060187239A1 (en) System and method for improving visual appearance of efficient rotation algorithm
US5910795A (en) Digital image signal processing
US4924432A (en) Display information processing apparatus
JPH08278778A (en) Method and apparatus for display control of image
JPH09138683A (en) Image display controller
JPH05346774A (en) Method for reading character generator
US6628291B1 (en) Method and apparatus for display refresh using multiple frame buffers in a data processing system
JPH07234773A (en) Display controller
JPH11167096A (en) Unit and method for dislay control
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPH0443594B2 (en)
JPS6362750B2 (en)
JPS61190624A (en) Hard-copy system of graphic display picture
KR950009769B1 (en) Graphic system having multiple layered screen buffer and control levels

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831