JPH01231089A - Document producing device - Google Patents

Document producing device

Info

Publication number
JPH01231089A
JPH01231089A JP63057712A JP5771288A JPH01231089A JP H01231089 A JPH01231089 A JP H01231089A JP 63057712 A JP63057712 A JP 63057712A JP 5771288 A JP5771288 A JP 5771288A JP H01231089 A JPH01231089 A JP H01231089A
Authority
JP
Japan
Prior art keywords
character
display
digit
bit
displayed
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
JP63057712A
Other languages
Japanese (ja)
Inventor
Hidekata Adachi
足立 秀鋼
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63057712A priority Critical patent/JPH01231089A/en
Publication of JPH01231089A publication Critical patent/JPH01231089A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To display a character without performing a bit shifting operation by preparing two pieces of bit patterns for odd digit and even digit previously constituted by bit shifting to one character and judging whether the displaying position of a character to be displayed is an odd digit or even digit. CONSTITUTION:A display 18 which displays a character pattern in a prescribed bit size and a storing means 14 for storing two pieces of character patterns for odd digit and even digit previously constituted by bit shifting so that the pattern can have bit size which is integer times as large as the bit number accessible by a microprocessor 10 by one time are provided. In addition, the judging means 10 which judges whether the displaying position of a character to be displayed is an odd digit or even digit and a display controlling means 19 which causes the display 18 to selectively display two pieces of character patterns in accordance with the judged result of the judging means 10 are also provided. Since either one of the two character patterns can be displayed selectively depending upon the digit, whether an odd digit or even digit, of the displaying position of a character, the character can be displayed without shifting the character patterns at the time of display.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は入力データに応じた文字をマイクロプロセッ
サによる制御によって画面に表示する文字表示機能を備
えた文書作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a document creation device having a character display function that displays characters on a screen according to input data under the control of a microprocessor.

(従来の技術) 一般に、文字表示機能を有する文書作成装置においては
、オペレータによるキー人力操作によって文字コードが
人力される。そして、その文字コードに対応する文字パ
ターンが記憶部から読出されて表示部の画面に表示され
るように構成されている。この場合、表示部で表示され
る文字パターンのビットサイズとマイクロプロセッサか
1回でアクセスできるビット数とが異なる場合には、文
字パターンを表示する際に文字パターンのビットシフト
を行なうことが必要になる。
(Prior Art) Generally, in a document creation device having a character display function, a character code is manually input by an operator's key operation. Then, the character pattern corresponding to the character code is read out from the storage section and displayed on the screen of the display section. In this case, if the bit size of the character pattern displayed on the display differs from the number of bits that can be accessed by the microprocessor at one time, it is necessary to perform a bit shift of the character pattern when displaying the character pattern. Become.

例えば、表示部で表示される文字パターンのサイズが1
2ビツト、すなわち12X12ドツトで文字が表示され
る場合に、マイクロプロセッサが8ビットであると、4
ビット分だけ文字パターンをビットシフトする処理が必
要になる。このビットシフト処理は、文字パターンが表
示部の奇数桁に表示されるか偶数桁に表示されるかによ
ってそのシフト方向が異なるため、文字パターンを表示
する度に行なう必要かある。
For example, if the size of the character pattern displayed on the display is 1
If a character is displayed in 2 bits, or 12x12 dots, and the microprocessor is 8 bits, then 4
It is necessary to bit-shift the character pattern by the number of bits. This bit shift processing needs to be performed every time a character pattern is displayed, since the direction of the shift differs depending on whether the character pattern is displayed in odd-numbered digits or even-numbered digits of the display section.

(発明が解決しようとする課題) この発明は前述の事情に鑑みなされたもので、従来では
文字表示を行なう際にその表示位置の違いにより文字パ
ターンをビットシフトしなければならずその処理が複雑
であった点を改善し、ビットシフトを行なうことなく文
字を表示できるようにして簡単な処理で文字表示を行な
える文書作成装置を提供することを目的とする。
(Problems to be Solved by the Invention) This invention was made in view of the above-mentioned circumstances. Conventionally, when displaying characters, character patterns had to be bit-shifted due to differences in display position, which made the process complicated. It is an object of the present invention to provide a document creation device capable of improving the above points, displaying characters without bit shifting, and displaying characters with simple processing.

[発明の構成] (課題を解決するための手段) この発明は、入力データに応じた文字をマイクロプロセ
ッサによる制御によって画面に表示する文字表示機能を
有する文書作成装置において、所定のビットサイズで文
字パターンを表示する表示器と、前記マイクロプロセッ
サが1回にアクセスできるビット数の整数倍のビットサ
イズを有するように予めビットシフトされて構成されて
いる文字パターンを1文字に対して奇数桁用と偶数桁用
の2個記憶している記憶手段と、表示すべき文字の表示
位置が奇数桁か偶数桁かを判断する判断手段と、巳の判
断手段の判断結果に応じて前記2個の文字パターンを選
択的に前記表示器に表示せさる表示制御手段とを具備す
ることを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a document creation device that has a character display function that displays characters according to input data on a screen under the control of a microprocessor. a display device for displaying a pattern; and a character pattern for odd-numbered digits for one character, which is configured by being bit-shifted in advance so as to have a bit size that is an integral multiple of the number of bits that the microprocessor can access at one time. A storage means for storing two values for even number digits, a determination means for determining whether the display position of the character to be displayed is an odd number digit or an even number digit, and a determination means for storing two characters for the two characters according to the determination result of the snake determination means. The apparatus is characterized by comprising display control means for selectively displaying a pattern on the display.

(作用) 前記構成の文書作成装置にあっては、予めビットシフト
されて構成されている文字パターンを1文字に対して奇
数桁用と偶数桁用の2個用意されていると共に、文字の
表示位置が奇数桁か偶数桁かによってその2個の文字パ
ターンのいずれかを選択して表示できるので、表示時に
文字パターンをシフトさせることなく表示することが可
能になる。
(Function) In the document creation device having the above configuration, two character patterns are prepared for one character, one for odd number digits and one for even number digits, which are configured by bit shifting in advance, and the display of the character is Since either of the two character patterns can be selected and displayed depending on whether the position is an odd number digit or an even number digit, it is possible to display the character pattern without shifting it at the time of display.

(実施例) 以下、図面を参照してこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図はこの発明の一実施例に係る文書作成装置の基本
的な構成を示すブロック図である。第1図に於いて、1
0はマイクロプロセッサ(CPU)、11は同マイクロ
プロセッサIOによりアクセスされるRA〜1.12は
同ROMである。
FIG. 1 is a block diagram showing the basic configuration of a document creation device according to an embodiment of the present invention. In Figure 1, 1
0 is a microprocessor (CPU), 11 is RA to 1.12 is a ROM accessed by the microprocessor IO.

マイクロプロセッサ(以下CPUと称す)10は装置全
体の制御を行なうもので上記RA M 11及びROM
12をアクセスして、人力指示に従うプログラムの起動
で、文書作成処理、外字作成処理、更には第2図に示す
ような表示制御処理等を実行する。RAMIIは、文書
領域、行イメージ領域(印字バッファ)、外字登録領域
、語句登録領域を始め、文書表示画面上のカーソル位置
を記憶するカーソル位置レジスタなどの各制御情報を記
憶する領域からなる。ROM12は、CPUl0の動作
を決定するプログラムや第2図に示すような制御ルーチ
ンを含む入力処理プログラム等を格納したプログラム領
域13をはじめ、1文字に対して偶数桁用と奇数桁用の
2個の文字パターンを記憶している文字パターン領域1
4、仮名あるいはローマ字で入力された読みを漢字に変
換するための各種辞書が登録された辞書領域15等を有
している。
A microprocessor (hereinafter referred to as CPU) 10 controls the entire device, and controls the RAM 11 and ROM described above.
12 and starts a program according to manual instructions to execute document creation processing, external character creation processing, display control processing as shown in FIG. 2, and the like. RAM II consists of areas for storing various control information such as a document area, a line image area (print buffer), a non-character registration area, a word/phrase registration area, and a cursor position register for storing the cursor position on the document display screen. The ROM 12 includes a program area 13 that stores a program that determines the operation of the CPU10 and an input processing program including a control routine as shown in FIG. Character pattern area 1 that stores the character pattern of
4. It has a dictionary area 15 in which various dictionaries for converting readings input in kana or Roman characters into kanji are registered.

又、16はキーボード(KB)、18は表示器、2iは
フロッピィディスク装置(FDD)、23はプリンタ(
PRT)である。キーボード(KB)1Bは、文書作成
等に必要な入力情報をキーボードインターフェイス(K
B−IF)17を介してCP U toへ入力する。こ
のキーボード16には、文字キー、カーソルキー等に加
えて、カーソル範囲を全角から半角に切換える半角指定
キー、及びカーソル範囲の半角から全角への切換えを伴
う、「ひらがな」シフトキー、「カタカナ」シフトキー
、「漢字」シフトキニ等を含む各種のファンクションキ
ーが設けられる。表示器18は、例えば10行表示の液
晶デイスプレィ装置からなる。表示コントローラ(表示
−CNT)19は、CPUl0の制御の下に表示用ドツ
トメモリ20を用い表示器18の表示制御を行なう。フ
ロッピィディスク装置21は、ディスクインターフェイ
ス(FDD−I F)22を介してCPUl0の制御の
下に、作成された文書を保存したり、外字および第2水
準文字等を記憶する。プリンタ23は、プリンタインタ
ーフェイス(PRT−IF)24を介してCPUl0の
制御の下に、作成された文書あるいは上記フロッピィデ
ィスク装置21から本体内に読み込んだ文字情報を印字
する。
Also, 16 is a keyboard (KB), 18 is a display, 2i is a floppy disk device (FDD), and 23 is a printer (
PRT). The keyboard (KB) 1B uses a keyboard interface (KB) to input information necessary for document creation, etc.
B-IF) 17 to the CPU to. In addition to character keys, cursor keys, etc., this keyboard 16 includes a half-width specification key that switches the cursor range from full-width to half-width, and a "hiragana" shift key and a "katakana" shift key that switch the cursor range from half-width to full-width. , "Kanji" shift key, etc. are provided. The display 18 is comprised of, for example, a 10-line liquid crystal display device. The display controller (display-CNT) 19 controls the display of the display 18 using the display dot memory 20 under the control of the CPU10. The floppy disk device 21 stores created documents and stores external characters, second level characters, etc. under the control of the CPU 10 via a disk interface (FDD-IF) 22. The printer 23 prints a created document or character information read into the main body from the floppy disk device 21 through a printer interface (PRT-IF) 24 under the control of the CPU 10.

この発明は文字パターンのシフト動作を行なわずに表示
器18に文字を表示できるようにしたものであり、第2
図および第3図を参照して以下にその表示制御の詳細を
説明する。
This invention enables characters to be displayed on the display 18 without performing a character pattern shift operation, and the second
The details of the display control will be explained below with reference to the figures and FIG.

第2図は文字表示の制御を説明するフローチャートであ
って、文字を表示する際にはまずその文字の表示位置が
奇数桁であるか否かがCPUl0によって判断される(
ステップAI)。表示位置が偶数桁である場合には、R
OM12の文字パターン領域14に記憶されている例え
ば第3図(a)に示すような偶数桁用の文字パターンが
選択され、そのパターンがCPUl0による表示コント
ローラ19の制御の下で表示用RAM20に書込まれる
(ステップA2)。また、表示位置が奇数桁である場合
には、ROM12の文字パターン領域14に記憶されて
いる第3図(b)に示すような偶数桁用の文字パターン
が選択され、そのパターンがCPUl0による表示コン
トローラ19の制御の下で表示用ドツトメモリ20に書
込まれる(ステップA3)。この場合、これらの文字パ
ターンはそれぞれ文字パターンを合成して重ね書きする
オアライト(OR−RITE)表示で画面表示される。
FIG. 2 is a flowchart illustrating the control of character display. When displaying a character, the CPU 10 first determines whether the display position of the character is an odd number digit (
Step AI). If the display position is an even number digit, R
For example, a character pattern for even number digits as shown in FIG. (Step A2). Furthermore, when the display position is an odd number digit, a character pattern for even number digits as shown in FIG. It is written into the display dot memory 20 under the control of the controller 19 (step A3). In this case, these character patterns are displayed on the screen in an OR-RITE display in which the character patterns are combined and overwritten.

第3図(a)に示されているパターンは偶数桁に対応す
る網かけパターンであり、また第3図(b)には奇数桁
に対応する網かけパターンが示されている。これらのパ
ターンは、CPUl0が1回にアクセスできるビット数
が8ビツトで、表示される文字パターンのサイズが12
X12ドツトの12ビツトである場合の例である。
The pattern shown in FIG. 3(a) is a hatching pattern corresponding to even numbered digits, and FIG. 3(b) shows a hatching pattern corresponding to odd numbered digits. For these patterns, the number of bits that CPU10 can access at one time is 8 bits, and the size of the displayed character pattern is 12 bits.
This is an example of 12 bits of X12 dots.

第3図(a)、(b)から分るように、偶数桁用のパタ
ーンは、12X12ドツトの本来の文字パターンを右づ
めした状態の12X16ドツトで16ビツトのパターン
サイズになっている。同様に、奇数桁用のパターンは、
12X12ドツトの本来の文字パターンを左づめした状
態の12×16ドツトで16ビツトのパターンサイズに
なっている。この16ビツトのパターンサイズは、CP
Ul0が1回でアクセスできるビット数すなわち8ビツ
トの2倍の大きさである。
As can be seen from FIGS. 3(a) and 3(b), the pattern for even number digits has a pattern size of 12×16 dots, which is the original character pattern of 12×12 dots shifted to the right, and 16 bits. Similarly, the pattern for odd digits is
The original character pattern of 12x12 dots is left-aligned to 12x16 dots, resulting in a 16-bit pattern size. This 16-bit pattern size is CP
This is twice the number of bits that can be accessed by Ul0 at one time, ie, 8 bits.

例えば、表示器18の1桁目にひらがな「あ」が表示さ
れ、2桁目に「い」が表示されている状態で、これら2
つの文字に対して網かけ表示を実行する場合には、「あ
」が表示されている奇数桁に第3図(b)のパターンが
用いられ、「い」が表示されている偶数桁に第3図(a
)のパターンが用いられる。このようにして、網かけ表
示を実行した場合の表示状態が第3図(c)に示されて
いる。
For example, when the first digit of the display unit 18 displays the hiragana "a" and the second digit "i", these two
When performing shading display for one character, the pattern shown in Figure 3(b) is used for the odd numbered digits where "A" is displayed, and the pattern shown in Figure 3(b) is used for the even numbered digits where "I" is displayed. Figure 3 (a
) pattern is used. The display state when hatching is performed in this manner is shown in FIG. 3(c).

このようにこの発明においては、CPUが1回でアクセ
スできるビット数と、表示される文字パターンのサイズ
が異なっていても、パターンのシフト処理を行なうこと
なく文字表示を実行することができる。
As described above, in the present invention, even if the number of bits that can be accessed by the CPU at one time and the size of the displayed character pattern are different, character display can be performed without performing pattern shift processing.

尚、ここでは網かけ表示を例にとって用意する文字パタ
ーンを説明したが、通常の文字に対しても奇数桁用と偶
数桁用の2個の文字パターンを用意することによりシフ
ト処理の要らない文字表示を実行できる。
In addition, here we have explained the character patterns to be prepared using hatching display as an example, but by preparing two character patterns for ordinary characters, one for odd number digits and one for even number digits, it is possible to create characters that do not require shift processing. Display can be performed.

[発明の効果] 以上のようにこの発明によれば、ビットシフトを行なう
ことなく文字を表示できるようになり、簡単な処理で文
字表示を行なうことが可能になる。
[Effects of the Invention] As described above, according to the present invention, characters can be displayed without bit shifting, and characters can be displayed with simple processing.

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

第1図は本発明の一実施例に係る文書作成装置の構成を
示すブロック図、第2図はこの文書作成装置の表示制御
委説明するフローチャート、第3図はこの文書作成装置
に予め用意される文字パターンを説明するための図であ
る。 10・・・マイクロプロセッサ(CPU)、11・・・
RAM、12・・・ROM、13・・・プログラム領域
、14・・・文字パターン領域、■5・・・辞書領域、
16・・・キーボード(KB)、17・・・キーボード
インターフェイス(KB−I F) 、1g・・・表示
器、19・・・表示コントローラ(表示−CNT)、2
0・・・表示用ドツトメモリ、21・・フロッピィディ
スク装置(FDD)、22・・・ディスクインターフェ
イス(FDD−IF)、23・・・プリンタ(PRT)
、24・・・プリンタインターフェイス(PRT−IF
)。 出願人代理人 弁理士 鈴江武彦 第1図 第2図 (Q)      (b) 第3図 第3図
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention, FIG. 2 is a flowchart illustrating the display control system of this document creation device, and FIG. FIG. 3 is a diagram for explaining character patterns. 10...Microprocessor (CPU), 11...
RAM, 12... ROM, 13... Program area, 14... Character pattern area, ■5... Dictionary area,
16... Keyboard (KB), 17... Keyboard interface (KB-IF), 1g... Display device, 19... Display controller (display-CNT), 2
0... Display dot memory, 21... Floppy disk device (FDD), 22... Disk interface (FDD-IF), 23... Printer (PRT)
, 24...Printer interface (PRT-IF
). Applicant's agent Patent attorney Takehiko Suzue Figure 1 Figure 2 (Q) (b) Figure 3 Figure 3

Claims (1)

【特許請求の範囲】 入力データに応じた文字をマイクロプロセッサによる制
御によって画面に表示する文字表示機能を有する文書作
成装置において、 所定のビットサイズで文字パターンを表示する表示器と
、前記マイクロプロセッサが1回にアクセスできるビッ
ト数の整数倍のビットサイズを有するように予めビット
シフトされて構成されている文字パターンを1文字に対
して奇数桁用と偶数桁用の2個記憶している記憶手段と
、表示すべき文字の表示位置が奇数桁か偶数桁かを判断
する判断手段と、この判断手段の判断結果に応じて前記
2個の文字パターンを選択的に前記表示器に表示せさる
表示制御手段とを具備することを特徴とする文書作成装
置。
[Claims] A document creation device having a character display function that displays characters according to input data on a screen under the control of a microprocessor, comprising: a display that displays a character pattern in a predetermined bit size; Storage means that stores two character patterns for one character, one for odd-numbered digits and one for even-numbered digits, which are configured by bit-shifting in advance so that the bit size is an integral multiple of the number of bits that can be accessed at one time. a determining means for determining whether the display position of the character to be displayed is an odd number digit or an even number digit; and a display for selectively displaying the two character patterns on the display according to the determination result of the determining means. A document creation device comprising a control means.
JP63057712A 1988-03-11 1988-03-11 Document producing device Pending JPH01231089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63057712A JPH01231089A (en) 1988-03-11 1988-03-11 Document producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63057712A JPH01231089A (en) 1988-03-11 1988-03-11 Document producing device

Publications (1)

Publication Number Publication Date
JPH01231089A true JPH01231089A (en) 1989-09-14

Family

ID=13063560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63057712A Pending JPH01231089A (en) 1988-03-11 1988-03-11 Document producing device

Country Status (1)

Country Link
JP (1) JPH01231089A (en)

Similar Documents

Publication Publication Date Title
JPH01231089A (en) Document producing device
JPH0448397B2 (en)
JPH03156668A (en) Document preparing device
JPS61250768A (en) Device for updating conversion dictionary
JPH03282881A (en) Document preparation device
JPH01217516A (en) Document preparing device
JPH01231165A (en) Document generating device
JPH01247187A (en) Printing control device
JP3236039B2 (en) Character processing apparatus and method
JP2755589B2 (en) Document creation device
JP2609614B2 (en) Character pattern display control method
JPH0280270A (en) Document preparation device
JPH01216463A (en) Document preparing device
JP2635602B2 (en) Document creation device
JP2564779B2 (en) Character output device
JPH01231088A (en) Calligraphic style selecting picture displaying system
JPH02159669A (en) Document preparing device
JP2543501B2 (en) Word processor
JP2837497B2 (en) Output control device and output control method
JPH01215568A (en) Word processor
JPH0264853A (en) Document generating device
JPH0248768A (en) Document generating device
JPS62149459A (en) Character processor
JPH0410105B2 (en)
JPH02300922A (en) Document preparing device