JPH0365988A - Word cache system - Google Patents

Word cache system

Info

Publication number
JPH0365988A
JPH0365988A JP1203169A JP20316989A JPH0365988A JP H0365988 A JPH0365988 A JP H0365988A JP 1203169 A JP1203169 A JP 1203169A JP 20316989 A JP20316989 A JP 20316989A JP H0365988 A JPH0365988 A JP H0365988A
Authority
JP
Japan
Prior art keywords
memory
character
font
word
character string
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.)
Pending
Application number
JP1203169A
Other languages
Japanese (ja)
Inventor
Shogo Oneda
章吾 大根田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1203169A priority Critical patent/JPH0365988A/en
Publication of JPH0365988A publication Critical patent/JPH0365988A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To speed up display speed by providing a cache memory stored temporarily with a character string read out of a font memory in word units and a page memory which inputs a character string from a word processing part and generates display screen data. CONSTITUTION:A CPU 3 is provided with the cache memory 2 which reads a character font out of the font memory 1 according to input code information and generates a character string. Further, the system is provided with a memory 4 which is used as the working area of the CPU 3 and the page memory 5 where the character string generated by the CPU 3 is written. Thus, when a character string corresponding to a work is registered in the cache memory 2, the CPU 3 reads the character string corresponding to the word out of the cache memory 2. Consequently, a processing time can be shortened greatly and the display speed is therefore made high speed.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、ワードプロセッサやコンピュータシステム等
において使用されるワードキャッシュシステムに関する
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a word cache system used in word processors, computer systems, and the like.

〈従来技術〉 ワードプロセッサやうンビュータシステム等において使
用される文字出力装置として、従来、第6図に示すフォ
ントキャッシュ方式の文字出力装置が知られている。
<Prior Art> As a character output device used in word processors, computer systems, etc., a font cache type character output device shown in FIG. 6 is conventionally known.

この図に示す文字出力装置は、多数の文字フォントが格
納されているフォントメモリ+01と、人力されたコー
ド情報に基づいて前記フォントメモリ+01から文字フ
ォントを読み出して文字ストリングを作成するCPU1
03と、このCPU103に設けられるキャッシュメモ
リ102と。
The character output device shown in this figure includes a font memory +01 in which a large number of character fonts are stored, and a CPU 1 that reads character fonts from the font memory +01 based on manually input code information and creates a character string.
03, and a cache memory 102 provided in this CPU 103.

前記CPU l 03の作業エリアとして使用されるメ
モリ104と、前記CP[J l 03によって作成さ
れた文字ストリングが書き込まれるページメモリ105
とを備えている。
a memory 104 used as a work area for the CPU l 03; and a page memory 105 into which the character string created by the CP[J l 03 is written.
It is equipped with

そして、コード情報が入力されたとき、このコード情報
に応じてキャッシュメモリ102やフォシトメモリ10
1をアクセスして文字ストリングを作成するとともに、
これをページメモリ+05に書き込んでCRT等の表示
器上に表示する。
When the code information is input, the cache memory 102 and the fosito memory 10 are
1 to create a character string, and
This is written into the page memory +05 and displayed on a display such as a CRT.

この場合、CPU103は次に述べる手順でキャッシュ
メモリ102やフォントメモリ101をアクセスして文
字ストリングを作成する。
In this case, the CPU 103 accesses the cache memory 102 and font memory 101 to create a character string in the following procedure.

まず、CPU 103は第7図に示す如く入力されたコ
ード情報から1文字分のコード情報を読込み(ステップ
5TIO+)、このコード情報に基づいて表示対象とな
る文字がキャッシュメモリ102に登録されているてい
るかどうかをチエツクしくステップ5TI02)、これ
が登録されていなければ、フォントメモリ101をアク
セスして表示対象となる文字の文字フォントを読み出す
(ステップ5T103)。
First, the CPU 103 reads code information for one character from the input code information as shown in FIG. 7 (step 5TIO+), and the character to be displayed is registered in the cache memory 102 based on this code information. If it is not registered, the font memory 101 is accessed and the character font of the character to be displayed is read out (step 5T103).

次いで、CPIJ 103は前記文字フォントをメモリ
104上に形成されたビットマツプ上に展開するととも
に(ステップ5TI04)、前記文字フォントをキャッ
シュメモリ102に登録する(ステップ5T105)。
Next, the CPIJ 103 develops the character font on a bitmap formed on the memory 104 (step 5TI04) and registers the character font in the cache memory 102 (step 5T105).

また、上述した処理において1表示対象となる文字の文
字フォントがキャッシュメモリ102に登録されていれ
ば、CPU103はこのキャッシュメモリ102から文
字フォントを直接取り出しこれを前記ビットマツプ上に
展開する。
Further, if the character font of the character to be displayed in the above process is registered in the cache memory 102, the CPU 103 directly takes out the character font from the cache memory 102 and develops it on the bitmap.

この後、CPU103は第8図に示すようにバイト境界
と文字境界とが一致しない文字に対して文字境界外のビ
ットをマスクする処理を行なうとともに、ページメモリ
+05上のアドレス計算を行なって文字フォントをペー
ジメモリ上に書き込む(ステップ5T103.5T10
7)。
After that, as shown in FIG. 8, the CPU 103 performs processing to mask the bits outside the character boundaries for characters whose byte boundaries and character boundaries do not match, and also calculates the address on the page memory +05 to set the character font. is written on the page memory (step 5T103.5T10
7).

この場合のアドレス計算は、第9図に示す如く表示画面
110のX方向にインクリメントして行き、■ライン書
き終わったらY方向にインクリメントする方法で行われ
る。
Address calculation in this case is performed by incrementing in the X direction of the display screen 110 as shown in FIG.

このようにこの文字出力装置においては、キャッシュメ
モリ102を利用してフォントメモリI01に対して行
なうアクセス処理、ピットマツプへの展開処理等を低減
させて処理速度を向上させている。
In this way, in this character output device, the processing speed is improved by using the cache memory 102 to reduce the processing to access the font memory I01, the processing to develop into a pit map, etc.

しかしながら、このようなフォントキャッシュ方式の文
字出力装置においては、1文字毎に文字フォントの読出
しや、バイト境界への適応処理、転送先アドレスの不連
続性によるアドレス計算処理等の各種処理を行なう必要
があるため、処理に時間がかかり過ぎるという問題があ
った。
However, in such a font cache type character output device, it is necessary to perform various processes such as reading the character font for each character, processing to adapt to byte boundaries, and address calculation processing due to discontinuity of transfer destination addresses. Therefore, there was a problem that the processing took too much time.

〈発明の目的〉 本発明は上記の事情に鑑み、処理時間を大幅に短縮する
ことができ、これによって表示速度を高速化することが
できるワードキャッシュシステムを提供することを目的
としている。
<Object of the Invention> In view of the above circumstances, an object of the present invention is to provide a word cache system that can significantly shorten processing time and thereby increase display speed.

〈発明の構成〉 上記の問題点を解決するため本発明によるワードキャッ
シュシステムにおいては1文字フォントが格納されてい
るフォントメモリと、このフォントメモリから読み出さ
れた文字ストリングを単語単位で一時記憶するキャッシ
ュメモリと、作成対象となる文字列が単語単位で前記キ
ャッシュメモリに記憶されているときには@紀キャッシ
ュメモリから単語単位で文字フォントを読出して文字ス
トリングを作成し、作成対象となる文字列が単語単位で
前記キャッシュメモリに記憶されていないときには前記
フォントメモリから文字単位で文字を読出し文字ストリ
ングを作成するワード処理部と、このワード処理部によ
って作成された文字ストリングを取り込んで表示画面デ
ータを作成するページメモリとを備えたことを特徴とし
ている。
<Structure of the Invention> In order to solve the above problems, the word cache system according to the present invention temporarily stores a font memory in which a single character font is stored and character strings read from this font memory in units of words. When the character string to be created is stored in the cache memory word by word, the character font is read from the cache memory word by word to create a character string, and the character string to be created is a word. a word processing section that reads characters from the font memory in units of characters and creates a character string when the characters are not stored in the cache memory in units; and a word processing section that takes in the character strings created by the word processing section to create display screen data. It is characterized by having a page memory.

以F、一実施例に基づいて本発明を具体的に説明する。Hereinafter, the present invention will be specifically explained based on one embodiment.

第1図は本発明によるワードキャッシュシステムの一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a word cache system according to the present invention.

この図に示すワードキャッシュシステムは多数の文字フ
ォントが格納されているフォントメモリ!と、人力され
たコード情報に基づいて前記フォントメモリlから文字
フォントを読み出して文字ストリングを作成するCPL
I3と、このCPU3に設けられるキャッシュメモリ2
と、前記CPU3の作業エリアとして使用されるメモリ
4と、前記CPU3によって作成された文字ストリング
が書き込まれるページメモリ5とを備えている。
The word cache system shown in this figure is a font memory that stores many character fonts! and a CPL that reads a character font from the font memory l based on manually input code information and creates a character string.
I3 and cache memory 2 provided in this CPU3
, a memory 4 used as a work area for the CPU 3, and a page memory 5 into which character strings created by the CPU 3 are written.

そして、コード情報が入力されたとき、このコード情報
に応じてキャッシュメモリ2やフォントメモリ1をアク
セスして文字ストリングを作成するとともに、これをペ
ージメモリ5に書き込んでCRT等の表示器上に表示す
る。
When code information is input, the cache memory 2 and font memory 1 are accessed according to this code information to create a character string, and this is written to the page memory 5 and displayed on a display such as a CRT. do.

この場合、CPU3は次に述べる手順でキャッシュメモ
リ2やフォントメモリ1をアクセスして文字ストリング
を作成する。
In this case, the CPU 3 accesses the cache memory 2 and font memory 1 to create a character string in the following procedure.

まず、第2図に示す如<CPU3はまず入力されたコー
ド情報から“    、”、スペース等の区切り記号を
抽出してコード情報をワード単位に区分するとともに、
■ワード分のコード情報を読込み(ステップ5TI)、
このコード情報に基づいて表示対象となるワードがキャ
ッシュメモリ2に登録されているているかどうかをチエ
ツクする(ステップ5T2)。
First, as shown in FIG. 2, the CPU 3 first extracts delimiters such as "," and spaces from the input code information and divides the code information into words.
■Read code information for words (Step 5TI),
Based on this code information, it is checked whether the word to be displayed is registered in the cache memory 2 (step 5T2).

この後、前記キャッシュメモリ2にワードが登録されて
いなければ、CPU3は前記キャッシュメモリ2を再度
アクセスして前記ワードを構成する各文字の文字フォン
トが登録されているているかどうかをチエツクする(ス
テップ5T2.5T4)。
After this, if the word is not registered in the cache memory 2, the CPU 3 accesses the cache memory 2 again and checks whether the character font of each character constituting the word is registered (step 5T2.5T4).

そして、これら各文字のうち先頭の文字が、キャッシュ
メモリ2に登録されていなければ、CPU3はフォント
メモリlをアクセスしてこの文字の文字フォントを読み
出すとともに(ステップ5T5)、メモリ4上に形成さ
れたビットマツプ上に前記文字フォントを展開する(ス
テップ5T6)。
If the first character among these characters is not registered in the cache memory 2, the CPU 3 accesses the font memory l and reads out the character font of this character (step 5T5), The character font is developed on the bitmap (step 5T6).

この後、CPU3はITiI記文字フォントをキャッシ
ュメモリ2に登録する(ステップ5T7)。
Thereafter, the CPU 3 registers the ITiI character font in the cache memory 2 (step 5T7).

また、上述した処理において(ステップ5T4)、前記
ワードを構成する最初の文字がキャッシュメモリ2に登
録されてれば、CPU3はキャッシュメモリ2からこの
文字フォントを直接読み出し、上述した文字フォントの
読出し展開処理、ビットマツプへの展開処理、キャッシ
ュメモリ2に対する登録処理をスキップする。
In addition, in the above-described process (step 5T4), if the first character constituting the word is registered in the cache memory 2, the CPU 3 directly reads this character font from the cache memory 2, and reads and expands the character font described above. The processing, expansion into a bitmap, and registration into the cache memory 2 are skipped.

次いで、CPU3はこの文字フォントの文字境界とバイ
ト境界とが一致しているかどうかをチエツクし、これら
が不一致であれば、文字境界外のビットをマスクする処
理を行なった後、ページメモリ5上のアドレス計算を行
なって前記文字フォントをページメモリ5上に書き込む
(ステップ5T2.5T9)。
Next, the CPU 3 checks whether the character boundaries and byte boundaries of this character font match. If they do not match, the CPU 3 performs processing to mask the bits outside the character boundaries, and then writes the characters in the page memory 5. The address calculation is performed and the character font is written onto the page memory 5 (steps 5T2 and 5T9).

以下、CPU3は前記ワードを構成する残りの各文字に
対して上述した処理を実行してこれらの各文字に対応す
る文字フォントをページメモリ5に書き込みCRT等の
表示器上に表示する。
Thereafter, the CPU 3 executes the above-described processing for each of the remaining characters constituting the word, writes the character font corresponding to each of these characters into the page memory 5, and displays it on a display such as a CRT.

そして、lワード分の処理が終了したとき、CPU3は
上述した処理によって得られた文字ストリングをワード
単位でキャッシュメモリ2に登録してこのワードに対す
る処理を終了する。
When the processing for one word is completed, the CPU 3 registers the character string obtained by the above-described processing in the cache memory 2 in word units, and ends the processing for this word.

また、上述した処理において、前記ワードに対応する文
字ストリングがキャッシュメモリ2に登録されていれば
、CPU3はキャッシュメモリ2からこのワードに対す
る文字ストリングを読み出す。
Further, in the above-described process, if a character string corresponding to the word is registered in the cache memory 2, the CPU 3 reads the character string corresponding to this word from the cache memory 2.

この後、CPU3はこの文字ストリングの文字境界とバ
イト境界とが一致するように文字境界外のビットをマス
クする処理を行なうとともに、ページメモリ5上のアド
レスを計算してこれをページメモリ上に書き込んでCR
T等の表示器上に表示し、このワードに対する処理を終
了する(ステップ5TIO,5TII)。
After this, the CPU 3 performs processing to mask bits outside the character boundaries so that the character boundaries and byte boundaries of this character string match, and also calculates the address on the page memory 5 and writes it to the page memory. CR at
The word is displayed on a display such as T, and the processing for this word is completed (steps 5TIO, 5TII).

このようにこの実施例においては、キャッシュメモリ2
にワード単位で文字ストリングを登録するようにしたの
で、第3図に示す如く“、”やスペースによって区切ら
れた1つのワード、例えば“the”というワードをフ
ォントメモリlから一度読み出せば、これが再度必要に
なったとき。
In this embodiment, the cache memory 2
Since character strings are registered in units of words, as shown in Figure 3, once a single word separated by "," or a space, such as the word "the", is read out from the font memory l, this when you need it again.

キャッシュメモリ2からこのワードに対応する文字スト
リングを一括して読出し、これを−回のバイト境界処理
、アドレス計算処理でページメモリ5上に書き込むこと
ができる。
The character string corresponding to this word can be read all at once from the cache memory 2, and written onto the page memory 5 by performing byte boundary processing and address calculation processing - times.

そしてこの場合、“the”というワードは第4図に示
す如く3つの文字によって構成されているので、従来の
フォントキャッシュ方式では、the−を構成する各文
字“t““h−e”毎に文字ストリングの読出しや、バ
イト境界への適応処理、転送先アドレスの不連続性によ
るアドレス計算等の処理を行なっていたのを、バイト境
界への適応処理、転送先アドレスの不連続性によるアド
レス計算処理を1回行なうだけで−the”という文字
ストリングをページメモリ5上に書き込むことができる
In this case, the word "the" is composed of three characters as shown in Figure 4, so in the conventional font cache method, each character "t" and "h-e" that make up the- is Processing such as reading character strings, adapting to byte boundaries, and calculating addresses due to discontinuity of transfer destination addresses has been replaced with processing of adapting to byte boundaries and address calculations due to discontinuity of transfer destination addresses. The character string "-the" can be written onto the page memory 5 by performing the process only once.

これによって、処理時間を大幅に短縮することができ1
表示速度を高速化することができる。
This can significantly reduce processing time.
Display speed can be increased.

また、上述した実施例においては、文字ストリングをワ
ード単位でキャッシュメモリ2に登録するようにしてい
るが、第5図に示す如く熟語単位で文字ストリングを登
録するようにしても上述した実施例と同様な効果を得る
ことができる。
Furthermore, in the embodiment described above, character strings are registered in the cache memory 2 in units of words, but even if character strings are registered in units of phrases as shown in FIG. A similar effect can be obtained.

く効果〉 以上説明したように本発明によれば、処理時間を大幅に
短縮することができ、これによって表示速度を高速化す
ることができる。
Effects> As explained above, according to the present invention, the processing time can be significantly shortened, and thereby the display speed can be increased.

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

第1図は本発明によるワードキャッシュシステムの一実
施例を示すブロック図、第2図は第1図に示すワードキ
ャッシュシステムのワード処理例を示すフローチャート
、第3図は第1図に示すワードキャッシュシステムの動
作例を説明するための模式図、第4図は第1図に示すワ
ードキャッシュシステムの動作例を説明するための模式
図、第5図は本発明によるワードキャッシュシステムの
他の実施例を説明するための模式図、第6図は従来から
知られている文字出力装置の一例を示すブロック図、第
7図は第6図に示す文字出力装置の文字処理例を示すフ
ローチャート、第8図は第6図に示す文字出力装置の動
作例を説明するための模式図、第9図は第6図に示す文
字出力装置の動作例を説明するための模式図である。 ■−フォントメモリ、2−キャッシュメモリ、3・−ワ
ード処理部(CPU)、5−・ページメモリ持許出願人
 株式会社 リコー 第4図 bit 第5図
FIG. 1 is a block diagram showing an embodiment of the word cache system according to the present invention, FIG. 2 is a flowchart showing an example of word processing in the word cache system shown in FIG. 1, and FIG. 3 is a word cache shown in FIG. 1. A schematic diagram for explaining an example of the operation of the system, FIG. 4 is a schematic diagram for explaining an example of the operation of the word cache system shown in FIG. 1, and FIG. 5 is another embodiment of the word cache system according to the present invention. FIG. 6 is a block diagram showing an example of a conventionally known character output device, FIG. 7 is a flowchart showing an example of character processing by the character output device shown in FIG. 6, and FIG. 9 is a schematic diagram for explaining an example of the operation of the character output device shown in FIG. 6, and FIG. 9 is a schematic diagram for explaining an example of the operation of the character output device shown in FIG. ■-Font memory, 2-Cache memory, 3--Word processing unit (CPU), 5--Page memory Applicant Ricoh Co., Ltd. Figure 4 bit Figure 5

Claims (1)

【特許請求の範囲】[Claims] (1)文字フォントが格納されているフォントメモリと
、このフォントメモリから読み出された文字ストリング
を単語単位で一時記憶するキャッシュメモリと、作成対
象となる文字列が単語単位で前記キャッシュメモリに記
憶されているときには前記キャッシュメモリから単語単
位で文字フォントを読出して文字ストリングを作成し、
作成対象となる文字列が単語単位で前記キャッシュメモ
リに記憶されていないときには前記フォントメモリから
文字単位で文字を読出し文字ストリングを作成するワー
ド処理部と、このワード処理部によって作成された文字
ストリングを取り込んで表示画面データを作成するペー
ジメモリとを備えたことを特徴とするワードキャッシュ
システム。
(1) A font memory that stores character fonts, a cache memory that temporarily stores character strings read from this font memory in units of words, and a character string to be created is stored in the cache memory in units of words. reads the character font in units of words from the cache memory to create a character string;
a word processing unit that reads characters from the font memory in units of characters and creates a character string when the character string to be created is not stored in the cache memory in units of words; A word cache system comprising a page memory for importing and creating display screen data.
JP1203169A 1989-08-04 1989-08-04 Word cache system Pending JPH0365988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1203169A JPH0365988A (en) 1989-08-04 1989-08-04 Word cache system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1203169A JPH0365988A (en) 1989-08-04 1989-08-04 Word cache system

Publications (1)

Publication Number Publication Date
JPH0365988A true JPH0365988A (en) 1991-03-20

Family

ID=16469596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1203169A Pending JPH0365988A (en) 1989-08-04 1989-08-04 Word cache system

Country Status (1)

Country Link
JP (1) JPH0365988A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07271339A (en) * 1993-12-30 1995-10-20 Internatl Business Mach Corp <Ibm> Data processing system and character display method
JP2008295748A (en) * 2007-05-31 2008-12-11 Minoura:Kk Strap for portable article

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07271339A (en) * 1993-12-30 1995-10-20 Internatl Business Mach Corp <Ibm> Data processing system and character display method
JP2008295748A (en) * 2007-05-31 2008-12-11 Minoura:Kk Strap for portable article

Similar Documents

Publication Publication Date Title
KR940009094B1 (en) Data processing system
KR100316572B1 (en) Character processing apparatus and method therefor
KR940015806A (en) Data Processing System Providing Extensible Registers and Method Thereof
JPH0365988A (en) Word cache system
JP3110367B2 (en) Source converter processing method and computer readable recording medium recording source converter processing program
JP2866153B2 (en) Character processing apparatus and method
JPS601655B2 (en) Data prefetch method
JPH0697393B2 (en) Bitmap processor
JPH0830506A (en) Method for controlling data transfer and data transfer circuit
JP3490703B2 (en) Character processing method based on outline font information and computer-readable recording medium storing computer program for causing a computer system to execute the method
JPH06274145A (en) Character processor
JPS63136084A (en) Character processor
JP2728534B2 (en) Byte position identification code setting processing method
JP2610028B2 (en) Voiced and semi-voiced sound conversion processor
KR100195199B1 (en) Graphic controller using meta align mode destination addressing circuit
JPS5961881A (en) Graphic generator
JP3616675B2 (en) Character drawing system
JPH02241267A (en) Picture information processor
JP3411350B2 (en) Outline character expansion device
JP3030862B2 (en) Display control device
JPS6410858B2 (en)
JPH06274589A (en) Document processor
JPH07172002A (en) Font cash device
KR960020878A (en) How to handle image data
JPH0477975A (en) Micro processor