[go: up one dir, main page]

JPH01159693A - display control device - Google Patents

display control device

Info

Publication number
JPH01159693A
JPH01159693A JP62319616A JP31961687A JPH01159693A JP H01159693 A JPH01159693 A JP H01159693A JP 62319616 A JP62319616 A JP 62319616A JP 31961687 A JP31961687 A JP 31961687A JP H01159693 A JPH01159693 A JP H01159693A
Authority
JP
Japan
Prior art keywords
display
font data
return type
characters
display control
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.)
Granted
Application number
JP62319616A
Other languages
Japanese (ja)
Other versions
JPH0786748B2 (en
Inventor
Toshie Kanda
神田 敏恵
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 JP62319616A priority Critical patent/JPH0786748B2/en
Publication of JPH01159693A publication Critical patent/JPH01159693A/en
Publication of JPH0786748B2 publication Critical patent/JPH0786748B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE: To increase the drawing speed by providing a table memory and a display control processor and writing characters and figures one over the other. CONSTITUTION: This controller is equipped with the table memory 10 which stores whether or not necessary font data are held in a font data storage memory 8 and a display control processor 2 which indicates a complete return or incomplete return type character display command to a bit map control part 4 according to the contents of the table memory 10. Then when characters and figures are written one over the other, two kinds of character display commands of the complete return type and incomplete return type are issued; when font data on a character code specified for display are already stored in a ROM or a RAM as a cache area, the incomplete return type character display command making asynchronous response is issued and when a display of a character code for which a font fault process needs to be performed is specified, the complete return type character display command is issued. Consequently, the drawing speed can be improved.

Description

【発明の詳細な説明】 〔概要〕 ビットマツプデイスプレィ等に図形や文字を表示する図
形表示装置の文字表示制御方式に関し、文字と図形を重
ねて描画する場合の描画速度を向上させることを目的と
し、 所要のフォントデータがフォントデータ格納メモリ中に
保持されているか否かを記憶するテーブルメモリと、そ
のテーブルメモリの内容により、完了復帰型又は不完了
復帰型のいずれかの文字表示コマンドをビットマツプ制
御部に指示する表示制御プロセッサとを備え、文字と図
形の重ね書きを行うように構成する。
[Detailed Description of the Invention] [Summary] An object of the present invention is to improve the drawing speed when drawing characters and graphics in an overlapping manner, regarding a character display control method for a graphics display device that displays graphics and characters on a bit map display or the like. and a table memory that stores whether or not the required font data is held in the font data storage memory, and a character display command of either completion return type or incomplete return type depending on the contents of the table memory. The display control processor includes a display control processor that instructs the control unit, and is configured to overwrite characters and graphics.

〔産業上の利用分野〕[Industrial application field]

本発明は、ビットマツプデイスプレィ等に図形や文字を
表示する図形表示装置において、特に、文字の上に図形
を重ね合せて表示しようとする際の文字表示制御方式に
関する。
The present invention relates to a graphic display device for displaying graphics and characters on a bit map display or the like, and particularly to a character display control method when displaying graphics superimposed on characters.

〔従来の技術〕[Conventional technology]

ビットマツプデイスプレィ等に図形や文字を表示する機
能を持つ図形表示装置において、文字の上に図形を重ね
合せて表示しようとする際には、文字を先に書いて、そ
の上に図形を描画するようにしないと、図形が消された
ように表示される。
In a graphics display device that has the function of displaying graphics and characters on a bitmap display, etc., when trying to display graphics superimposed on the characters, write the characters first and then draw the graphics on top of them. If you do not do this, the shape will appear as if it has been erased.

例えば、第3図に示すように、赤の背景色31に黒色の
線分32で図形を描きたい場合に、後から“山”という
文字をキャラクタとして書込むと、′“山゛°を形成す
る線33と前記線分32との交点(○甲部分)34は不
確定な変色をして、線分が途切れたように見える。その
ため、文字と図形を連続してビットマツプデイスプレィ
上に表示しようとする場合に、従来は、同期レスポンス
が返答されるのを確認したのち文字表示コマンドを発行
する完了復帰型のコマンド方式を用い、文字表示が完全
に終わるのを待って図形を描画するようにしていた。
For example, as shown in Figure 3, if you want to draw a figure with black line segments 32 on a red background 31, if you later write the word "mountain" as a character, it will form a ``mountain゛°''. The intersection point (circle part) 34 between the line 33 and the line segment 32 has an indeterminate color change, making it appear as if the line segment has been interrupted.Therefore, the characters and figures cannot be displayed consecutively on the bitmap display. When attempting to display, conventionally, a completion return type command method is used in which a character display command is issued after confirming that a synchronous response is returned, and the figure is drawn after waiting for the character display to completely finish. That's what I was doing.

〔発明が解決しようとする問題点] しかし、文字のフォントデータ量は膨大であるので、文
字種(JIS第1水準漢字、JIS第2水準漢字、半角
文字、上付き・下付き文字等)やフォント種(明朝体、
ゴシック体等)のすべてを表示制御部のメモリに格納し
ておくわけには行かず、−i的には、限られたフォント
データのみをROM (又はRAM)に保持し、その他
はディスク等の外部記憶装置に保存しておいて、フォン
トフォルトの発生時に、必要に応じてキャッシュ用RA
Mにフォントデータを格納するようにしている。そのた
め、フォントフォルトが発生した場合にフォントフォル
ト処理にかかる時間が大きく、また文字と図形を連続し
て表示する際の文字表示コマンドは完了復帰型でなけれ
ばならないため、文字のフォントフォルト処理にかかる
時間が常に大で、全体に描画速度が遅くなっていた。
[Problems to be solved by the invention] However, since the amount of character font data is enormous, character types (JIS level 1 kanji, JIS level 2 kanji, half-width characters, superscript/subscript characters, etc.) and fonts are Seeds (Mincho typeface,
It is not possible to store all the font data (Gothic fonts, etc.) in the memory of the display control unit, so in -i, only a limited amount of font data is stored in ROM (or RAM), and the rest is stored on disk, etc. It can be saved in an external storage device, and when a font fault occurs, the RA for cache can be used as needed.
The font data is stored in M. Therefore, when a font fault occurs, it takes a long time to process the font fault, and since the character display command when displaying characters and figures consecutively must be a return-to-completion type, it takes a long time to process the font fault for characters. The time was always large and the overall drawing speed was slow.

本発明は、このような問題点に鑑みて創案されたもので
、文字と図形を重ねて描画する場合の描画速度を向上さ
せる図形表示装置の文字表示制御方式を提供することを
目的とする。
The present invention was devised in view of these problems, and an object of the present invention is to provide a character display control method for a graphic display device that improves the drawing speed when characters and graphics are drawn in an overlapping manner.

〔問題点を解決するための手段〕[Means for solving problems]

本発明において上記の問題点を解決するための手段は、
図形及び文字の表示を行うビットマツプ制御部と、その
表示の前処理を行い、ビットマツプ制御部を制御する表
示制御プロセッサと、表示制御プロセッサが直接にアク
セス可能なフォントデータ格納メモリとを備えた図形表
示装置の文字表示制御方式において、所要のフォントデ
ータがフォントデータ格納メモリ中に保持されているか
否かを記憶するテーブルメモリと、そのテーブルメモリ
の内容により、完了復帰型又は不完了復帰型のいずれか
の文字表示コマンドをビットマツプ制御部に指示する表
示制御プロセッサとを備え、文字と図形の重ね書きを行
う図形表示装置の文字表示制御方式によるものとする。
Means for solving the above problems in the present invention are as follows:
A graphic display that includes a bitmap control unit that displays figures and characters, a display control processor that preprocesses the display and controls the bitmap control unit, and a font data storage memory that can be directly accessed by the display control processor. In the character display control method of the device, there is a table memory that stores whether or not the required font data is held in the font data storage memory, and either a completion return type or an incomplete return type depending on the contents of the table memory. and a display control processor that instructs a bitmap control unit to display character display commands, and is based on a character display control method for a graphic display device that overwrites characters and graphics.

〔作用〕[Effect]

本発明では、文字と図形を重ねて描画するときに、完了
復帰型及び不完了復帰型の2種類の文字表示コマンドを
発行するものとし、表示を行うべく指定された文字コー
ドのフォントデータが既にROM又はキャッシュ領域の
RAMに格納されているものである場合には非同期レス
ポンスの不完了復帰型にして文字表示コマンドを発行し
、フォントフォルト処理を行う必要がある文字コードの
表示を指定された場合には完了復帰型にして文字表示コ
マンドを発行するようにする。
In the present invention, when drawing characters and figures in an overlapping manner, two types of character display commands are issued: a completion return type and an incomplete return type, and the font data of the character code specified to be displayed is already If it is stored in the ROM or cache area RAM, issue a character display command with an asynchronous response incomplete return type, and if a character code display that requires font fault processing is specified. In this case, issue a character display command using a completion return type.

〔実施例〕〔Example〕

以下、図面を参照して、本発明の実施例を詳細に説明す
る。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

同図において、1はシステムプロセッサでCPU及び内
蔵メモリ等で構成され、オペレーティングシステム(O
8)や利用者プログラムを搭載している。2は表示制御
プロセッサで、前記システムプロセッサ1からのコマン
ドにより論理画面を生成し、メモリ3に論理バッファと
して展開する。
In the figure, 1 is a system processor, which is composed of a CPU, built-in memory, etc., and has an operating system (O
8) and user programs. 2 is a display control processor which generates a logical screen according to commands from the system processor 1 and develops it in the memory 3 as a logical buffer.

4はビットマツプ制御部で、表示制御プロセッサ2の指
示に基づいて論理画面の一部をウィンドウ領域にクリッ
ピングして、フレームメモリ5上に展開する。6は該フ
レームメモリ5に展開された画面をビットマツプデイス
プレィ7に物理画面として表示するデイスプレィ制御部
である。また、lN:!itl記表示制御プロセッサ2
のバスに内部記憶装置として接続されたフォントデータ
格納メモリで、9は外部記憶装置としてシステムプロセ
ッサ1のバスに接続されたフォントデータ格納ディスク
である。
A bitmap control unit 4 clips a part of the logical screen to a window area based on instructions from the display control processor 2 and develops it on the frame memory 5. Reference numeral 6 denotes a display control unit that displays the screen developed in the frame memory 5 on the bitmap display 7 as a physical screen. Also, lN:! itl display control processor 2
9 is a font data storage memory connected to the bus of the system processor 1 as an internal storage device, and 9 is a font data storage disk connected to the bus of the system processor 1 as an external storage device.

フォントデータ格納ディスク9には、フォントデータ及
びその管理テーブルが記憶されていて、システムプロセ
ッサ1は、立上がり時の初期動作として、管理テーブル
に従ってフォントデータ中の所要の一部を前記フォント
データ格納メモリ8へ書き込むと共に、管理テーブル自
体もテーブルメモリ10へ書き込む。これは、表示動作
の都度ディスクから読み出すのでは、ディスクユニット
のメカニカルな操作時間が処理を遅くしてしまうからで
ある。初期設定で読み出されなかったデータでも、表示
動作中に必要になって読み出されたデータはそのままフ
ォントデータ格納メモリ8内のキャッシュ領域RAMに
格納されて、テーブルメモリlOにフラグがたてられる
。尚、テーブルメモリ10はシステムプロセッサ1の内
蔵メモリでもよく、システムプロセッサlはそのテーブ
ルメモリ10にたてられたフラグを参照して、完了復帰
型か不完了復帰型かを決定する。
The font data storage disk 9 stores font data and its management table, and as an initial operation at startup, the system processor 1 stores a required part of the font data in the font data storage memory 8 according to the management table. At the same time, the management table itself is also written to the table memory 10. This is because if data is read from the disk each time a display operation is performed, the mechanical operation time of the disk unit slows down the processing. Even if the data is not read out in the initial settings, the data read out as required during the display operation is stored as is in the cache area RAM in the font data storage memory 8, and a flag is set in the table memory IO. . Note that the table memory 10 may be a built-in memory of the system processor 1, and the system processor 1 refers to the flag set in the table memory 10 to determine whether it is a completion return type or an incomplete return type.

第2図は、上記実施例の動作手順の一例を示すフローチ
ャー1・である。以下、第1図及び第2図を対照しつつ
、実施例の動作を説明する。
FIG. 2 is a flowchart 1 showing an example of the operation procedure of the above embodiment. Hereinafter, the operation of the embodiment will be explained while comparing FIGS. 1 and 2.

第2図のフローの第0段でシステムが立上がると、シス
テムプロセッサ1は、まず初期設定として、フォントデ
ータ格納ディスク9からフォントデータ格納メモリ8へ
フォントデータを書込み、その管理テーブルを同じくテ
ーブルメモリ10へ書込む。
When the system starts up in stage 0 of the flow shown in FIG. Write to 10.

さて、フローの第■段に示す如(、ビットマツプデイス
プレィ7に図形と文字を重ねて表示しようとする場合、
表示制御プロセッサ2は、フローの第0段でテーブルメ
モリ10を検索し、所要のフォントデータがフォントデ
ータ格納メモリ8に格納されているか否かをフローの第
0段で判断する。
Now, as shown in step ① of the flow (when trying to display figures and characters overlappingly on bitmap display 7,
The display control processor 2 searches the table memory 10 at the 0th stage of the flow, and determines whether or not the required font data is stored in the font data storage memory 8 at the 0th stage of the flow.

所要な文字コードがフォントデータ格納メモリ8に格納
されていれば、フォントフォルトが発生することはない
ので、フローの第0段で不完了復帰型の文字表示コマン
ドをビットマツプ制御部4に発行する。その直後にフロ
ー第0段の図形描画コマンドが発行されても、フロー第
■第へのジャンプで文字は既に出力されているので、フ
ローの第0段で文字と図形が正しく重ね合わされて描画
される。
If the required character code is stored in the font data storage memory 8, a font fault will not occur, so an incomplete return type character display command is issued to the bitmap control unit 4 at the 0th stage of the flow. Even if the figure drawing command in the 0th stage of the flow is issued immediately after that, the characters have already been output by jumping to the 0th stage of the flow, so the characters and figures will be correctly overlapped and drawn in the 0th stage of the flow. Ru.

文字コードが前記フォントデータ格納メモリ8に格納さ
れていない場合には、フォントフォルトが発生し、フォ
ントデータをフォントデータ格納ディスク9からフォン
トデータ格納メモリ8内のキャッシュ領域RAMにロー
ディングするので、文字表示はそれだけ時間がかかる。
If the character code is not stored in the font data storage memory 8, a font fault occurs and the font data is loaded from the font data storage disk 9 to the cache area RAM in the font data storage memory 8, so that the character is not displayed. takes that much time.

従って、文字表示コマンドの後に図形描画コマンドを発
行しても、先に図形が描画される可能性があり、文字が
表示された時点で既に描画された図形が消える恐れがあ
るため、フローの第0段では完了復帰型の文字表示コマ
ンドをビットマツプ制御部4に発行し、フローの第0段
でディスク9からの読み出し処理を行い、フロー第0段
の文字表示が終った後に図形描画コマンドを発行するも
のとする。
Therefore, even if a figure drawing command is issued after a character display command, the figure may be drawn first, and the already drawn figure may disappear when the text is displayed. At the 0th stage, a completion return type character display command is issued to the bitmap control unit 4, and at the 0th stage of the flow, reading processing from the disk 9 is performed, and after the character display in the 0th stage of the flow is finished, a graphic drawing command is issued. It shall be.

このように、本実施例によれば、文字コードがフォント
データ格納メモリ8に格納されていない場合には従来と
さして変わらないが、メモリ8に格納されている場合に
は、処理時間が大幅に短縮し、全体としては描画速度を
大きく向上させる。
As described above, according to this embodiment, if the character code is not stored in the font data storage memory 8, there is no difference from the conventional method, but if the character code is stored in the memory 8, the processing time is significantly increased. This greatly improves the overall drawing speed.

〔発明の効果〕〔Effect of the invention〕

以上、説明したとおり、本発明によれば、文字と図形を
連続して表示する場合の描画速度を大きく向上させた図
形表示装置の文字表示制御方式を提供することができる
As described above, according to the present invention, it is possible to provide a character display control method for a graphic display device that greatly improves the drawing speed when displaying characters and graphics consecutively.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の構成図、 第2図は実施例の動作手順のフローチャート、第3図は
文字と図形の重複表示の見本図である。 1;システムプロセッサ、 2;表示制御プロセッサ、 3;メモリ、 4;ビットマ・ンプ制御部、 5;フレームメモリ、 6;デイスプレィ制御部、 7;ビットマツプデイスプレィ、 8;フォントデータ格納メモリ、 9;フォントデータ格納ディスク、 10;テーブルメモリ。 第1図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart of the operating procedure of the embodiment, and FIG. 3 is a sample diagram of overlapping display of characters and figures. 1; System processor; 2; Display control processor; 3; Memory; 4; Bitmap control unit; 5; Frame memory; 6; Display control unit; 7; Bitmap display; 8; Font data storage memory; 9; Font data storage disk, 10; table memory. Figure 1

Claims (1)

【特許請求の範囲】 図形及び文字の表示を行うビットマップ制御部(4)と
、 その表示の前処理を行い、ビットマップ制御部(4)を
制御する表示制御プロセッサ(2)と、表示制御プロセ
ッサ(2)が直接にアクセス可能なフォントデータ格納
メモリ(8)とを備えた図形表示装置の文字表示制御方
式において、所要のフォントデータがフォントデータ格
納メモリ(8)中に保持されているか否かを記憶するテ
ーブルメモリ(10)と、 そのテーブルメモリ(10)の内容により、完了復帰型
又は不完了復帰型のいずれかの文字表示コマンドをビッ
トマップ制御部(4)に指示する表示制御プロセッサ(
2)とを備え、 文字と図形の重ね書きを行うことを特徴とする図形表示
装置の文字表示制御方式。
[Scope of Claims] A bitmap control unit (4) that displays figures and characters; a display control processor (2) that performs preprocessing of the display and controls the bitmap control unit (4); In a character display control method of a graphics display device having a font data storage memory (8) that can be directly accessed by a processor (2), whether or not required font data is held in the font data storage memory (8). and a display control processor that instructs the bitmap control unit (4) to perform either a completion return type or an incomplete return type character display command depending on the contents of the table memory (10). (
2) A character display control method for a graphic display device, characterized in that characters and graphics are overwritten.
JP62319616A 1987-12-16 1987-12-16 Display controller Expired - Fee Related JPH0786748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62319616A JPH0786748B2 (en) 1987-12-16 1987-12-16 Display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62319616A JPH0786748B2 (en) 1987-12-16 1987-12-16 Display controller

Publications (2)

Publication Number Publication Date
JPH01159693A true JPH01159693A (en) 1989-06-22
JPH0786748B2 JPH0786748B2 (en) 1995-09-20

Family

ID=18112270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62319616A Expired - Fee Related JPH0786748B2 (en) 1987-12-16 1987-12-16 Display controller

Country Status (1)

Country Link
JP (1) JPH0786748B2 (en)

Also Published As

Publication number Publication date
JPH0786748B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
JPH01159693A (en) display control device
JP2542392B2 (en) Character drawing device
JPS6126686B2 (en)
JP2671365B2 (en) Character / graphic editing device
JPH01230093A (en) Method for displaying character
JP2851840B2 (en) Document processing device
JPS5915287A (en) Display unit
JPS59226930A (en) Access system of dictionary
JPH05242255A (en) Graphic display device
JPH083699B2 (en) Full graph display screen display method
JPS6132887A (en) Image display system
JPH04195673A (en) Character processor
JPS61271568A (en) Text editing method
JPS6347793A (en) Image display device buffer management method
JPH05101044A (en) Document processor
JPS62138970A (en) Data processor
JPH08153099A (en) Kana (japanese syllabary)/kanji (chinese character) converter
JPS62229316A (en) Character processor
JPS63263564A (en) Character processor
JPS61138340A (en) Editing device of picture
JPH0594165A (en) Screen redisplaying system
JPS60222890A (en) Multiwindow control system for bit map display
JPH01255556A (en) Character graphic editing device
JPH02297208A (en) input device
JPH0571111B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees