JPS6058509B2 - electronic typewriter - Google Patents

electronic typewriter

Info

Publication number
JPS6058509B2
JPS6058509B2 JP52044707A JP4470777A JPS6058509B2 JP S6058509 B2 JPS6058509 B2 JP S6058509B2 JP 52044707 A JP52044707 A JP 52044707A JP 4470777 A JP4470777 A JP 4470777A JP S6058509 B2 JPS6058509 B2 JP S6058509B2
Authority
JP
Japan
Prior art keywords
data
address
code
flip
margin
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.)
Expired
Application number
JP52044707A
Other languages
Japanese (ja)
Other versions
JPS53129542A (en
Inventor
友行 芳賀沼
新太郎 阿部
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 JP52044707A priority Critical patent/JPS6058509B2/en
Priority to GB664/78A priority patent/GB1596254A/en
Priority to DE2801749A priority patent/DE2801749C2/en
Priority to FR7801038A priority patent/FR2377279B1/en
Publication of JPS53129542A publication Critical patent/JPS53129542A/en
Publication of JPS6058509B2 publication Critical patent/JPS6058509B2/en
Priority to US07/205,614 priority patent/US4904099A/en
Priority to US07/485,241 priority patent/US5033879A/en
Expired legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明は、ディスプレイ装置を具備した電子タイプライ
タにおいて、ハイフネーシヨン時のオペレータの処置に
巾を持たせて良好な又末揃えを得ることを可能にしたマ
ージン制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a margin control method that allows the operator to take appropriate action when hyphenating and obtain good alignment in an electronic typewriter equipped with a display device. It is.

周知のように、タイプライタとしてミスインプットの迅
速な回復、編集の柔軟性を目的とした高性能文書編集機
能を備えた高級電子タイプライタ装置がある。
As is well known, there are high-end electronic typewriter devices that are equipped with high-performance document editing functions for the purpose of rapid recovery from input errors and flexibility in editing.

通常、この種の電子タイプライタにはCRT等のディス
プレイ装置が具備されており、オペレータはその表示面
を見ながら文書の修−正、編集を行つてプリントアウト
している。従来、このような電子タイプライタにおいて
、プリントアウトする文書の文末を揃える方式として種
々の方法が提案されている。
Usually, this type of electronic typewriter is equipped with a display device such as a CRT, and an operator corrects or edits a document while printing it out while looking at the display screen. Conventionally, in such electronic typewriters, various methods have been proposed for aligning the endings of printed documents.

そのうち、代表的な方式は、いわゆるホットゾーンを利
用することで、この方法によれば、オペレータの手をほ
とんどわずられすことなしに良好な文末揃えを得ること
ができる。簡単にその方式を説明すると、オペレータは
ます許容できる不揃いの範囲をホットゾーンの大きさを
指定することによつて決定する。キャリッジリターンを
オペレータが入力しない場合、ライトハンドマージンを
こえてスペース、ハイフォンが入力されると、ライトハ
ンドマージンに最も近にホットゾーン内のスペースの位
置でキャリッジリターンする。ホットゾーンにスペース
がない場合は、例えばライトハンドマージンに最も近い
スペースを強制的にホットゾーンにもつてくるようにし
ている。この方法では、オペレータの介入の必要がない
利点を持つが、多少不自然な文末揃えになることはまぬ
がれない。又、別な方式としては、このような場合、ハ
イフネーシヨンの警告を行い、オペレータがカーソルを
移動して適当な箇所でハイフォンを挿入すると、そのハ
イフォンでキャリッジリターンするものもある。しかし
ながら、このようにハイフォン挿入モードを持つ方式で
も、例えばハイフネーシヨンにかかつたワードの残りを
、その行にライトハンドマージンをこえてプリントアウ
トすることはできない。本発明は叙上の事情に鑑みなさ
れたもので、マージンリリース機能を持ち、ライトハン
ドマージンやレフトハンドマージンをこえてデータを入
力することを可能にするととももに、マージンをこえた
最初の例えばスペース又はハイフォンなどの特定コード
で自動的にキャリッジリターンさせるようにしたマージ
ン制御方式を提供することにある。以下、図面を参照し
て本発明の内容を詳述することにする。
Among these methods, a typical method is to use a so-called hot zone, and according to this method, it is possible to obtain good end-of-sentence alignment with almost no intervention by the operator. Briefly, the operator determines the range of acceptable irregularities by specifying the size of the hot zone. If the operator does not input a carriage return, if a space or a hyphen is input beyond the right hand margin, the carriage return is performed at the position of the space within the hot zone closest to the right hand margin. If there is no space in the hot zone, for example, the space closest to the right hand margin is forced to be in the hot zone. Although this method has the advantage of not requiring operator intervention, it is inevitable that the end of the sentence will be somewhat unnaturally aligned. Another method is to issue a hyphenation warning in such a case, and when the operator moves the cursor and inserts a hyphen at an appropriate location, a carriage return is performed at the hyphen. However, even with such a system having a hyphen insertion mode, it is not possible to print out, for example, the remainder of a word that has been hyphenated beyond the right hand margin on that line. The present invention has been developed in view of the above circumstances, and has a margin release function, which enables data to be input beyond the right hand margin or left hand margin, and also allows data to be entered beyond the margin, such as when the first space Alternatively, it is an object of the present invention to provide a margin control method that automatically causes a carriage return with a specific code such as a haiphon. Hereinafter, the content of the present invention will be explained in detail with reference to the drawings.

第1図は本発明で対象とする電子タイプライタのシステ
ム全体の概略構成を示す。
FIG. 1 shows a schematic configuration of the entire system of an electronic typewriter to which the present invention is applied.

図において、10は文字●数字キー、ファンクションキ
ー等が配列されているキーボードであり、該キーボード
10からのキー入力情報はキーボード・インタフェース
及びバッファ部20を通してコントロール部30に取り
込まれる。コントロール部30は上記キー入力情報(コ
ード)を解読し、それがファンクションであれば、それ
に対応する制御を行い、データである場合は該当データ
をメモリ40に書き込む。メモリ40は例えばプリント
1頁分の記憶内量を有している。勿論、これは単なる一
例であり、メモリ40の容量はプリント数行分であつて
もよい。このキー入力動作と並行して、コントロール部
30はメモリ40から1行分のデータを読み出し、これ
をCRT駆動及びインタフェース部50を通してディス
プレイ装置60に与え、表示を行う。又、コントロール
部30はメモリ40から読み出されるデータの種類、及
びディスプレイ装置60のデータ表示位置を監視してお
り、読出しデータとしてキャリッジ・リターン(CR)
、ラインフィード(LT)等のコードを検出したり、又
、データ表示位置がライトハンドマー.ジン(RHM)
に入つたりすると、当該1行分のデータをプリンタ・イ
ンタフェース部70を通してプリンタ80に出力し、同
時にプリント開始信号を発し、自動的に1行分のデータ
の印字を行う。メモリ40はフ罎ンピイデイスク●イン
タフ.エース90を通してフロツピイデイスク装置10
0に接続されており、その記憶内容で決まる例えば数行
〜1頁分の作業が終了するど、メモリ40の内容がフロ
ツピイデイスク装置100に転送される。又、キーボー
ド10にはマージンリリース・キーが用意されており、
ディスプレイ装置60の表示面のカーソル(次の入力デ
ータの表示位置を示すマーク)がRHM上にある時、上
記マージンリリースキーを押すとマージンが解除されて
(すなわち、表示面のRHMマークがマスクされる)、
RHMを越えてデータを入力できるようになつている。
本発明では、このマージンリリース機能がセットされ、
RHMを越えてデータが入力された場合、その後の最初
のスペース又はハイフォンで自動的にキヤリソジリター
ンが行われ、プリント動作が開始される。第1図のコン
トロール部30の一実施例を第2図に示す。
In the figure, reference numeral 10 denotes a keyboard on which alphanumeric keys, function keys, etc. are arranged. Key input information from the keyboard 10 is taken into the control section 30 through the keyboard interface and the buffer section 20. The control unit 30 decodes the key input information (code), and if it is a function, performs corresponding control, and if it is data, writes the corresponding data into the memory 40. The memory 40 has a storage capacity for, for example, one page of prints. Of course, this is just an example, and the capacity of the memory 40 may be sufficient for several lines to be printed. In parallel with this key input operation, the control section 30 reads out one line of data from the memory 40 and supplies it to the display device 60 through the CRT drive and interface section 50 for display. The control unit 30 also monitors the type of data read from the memory 40 and the data display position of the display device 60, and monitors the carriage return (CR) as read data.
, line feed (LT), etc., and the data display position is right hander. Jin (RHM)
When the data for one line is entered, the data for one line is outputted to the printer 80 through the printer interface section 70, and at the same time, a print start signal is issued, and the data for one line is automatically printed. Memory 40 is a flexible disk interface. Floppy disk device 10 through Ace 90
0, and the contents of the memory 40 are transferred to the floppy disk device 100 when the work for several lines to one page is completed, depending on the stored contents. Additionally, the keyboard 10 is equipped with a margin release key.
When the cursor (mark indicating the display position of the next input data) on the display surface of the display device 60 is on the RHM, pressing the margin release key cancels the margin (that is, the RHM mark on the display surface is masked). ),
It is now possible to input data beyond the RHM.
In the present invention, this margin release function is set,
If data is input beyond the RHM, a cartridge return is automatically performed at the first space or hyphen after the RHM, and the print operation is started. An embodiment of the control section 30 shown in FIG. 1 is shown in FIG.

以下、実施例として1行ディスプレイ・装置付電子タイ
プライタの全体の動作説明に関連づけて本発明の内容を
説明することにする。第2図において、40は第1図で
説明した数行もしくは1頁分程度の記憶容量を有するメ
モリで、斜線の部分にデータが入つていることを示して
いる。メモリ40に印されたH点はディスプレイ装置6
0に表示する行の先頭データが格納されているメモリア
ドレス、P点は次のキー入力データが格納されるメモリ
アドレス、Q点はエンドコードが格納されているメモリ
アドレスをそれぞれ示している。301はメモリ40の
P点アドレスを示すアドレスレジスタ、302はQ点ア
ドレスを示すアドレスレジスタ、303はH点アドレス
を示すアドレスレジスタ、304はデータ転送時のワー
キング用アドレスレジスタである。
Hereinafter, the content of the present invention will be explained in connection with an explanation of the overall operation of an electronic typewriter with a one-line display and device as an example. In FIG. 2, reference numeral 40 denotes a memory having a storage capacity of several lines or one page as explained in FIG. 1, and data is stored in the shaded area. The H point marked on the memory 40 is the display device 6
Point P indicates the memory address where the first data of the line displayed at 0 is stored, point P indicates the memory address where the next key input data is stored, and point Q indicates the memory address where the end code is stored. 301 is an address register indicating the P point address of the memory 40, 302 is an address register indicating the Q point address, 303 is an address register indicating the H point address, and 304 is a working address register during data transfer.

305はプリンタ80に出力する1行分のデータを格納
するプリントバッファ、306はディスプレイ装置60
で表示される1行分のデータを格納するディスプレイバ
ッファである。
305 is a print buffer that stores one line of data to be output to the printer 80; 306 is a display device 60;
This is a display buffer that stores one line of data to be displayed.

307はレフト及びライトハンドマージン位置、タブの
セット位置、ホットゾーン、点滅データの表示位置(こ
こでは不使用)、カーソル位置、マージンマスク位置、
ラインテール位置等を指定するフォーマットレジスタ群
で、各レジスタのビット位置はディスプレイバッファ3
06のキャラクタ位置に1対1に対応している。
307 is the left and right hand margin position, tab set position, hot zone, blinking data display position (not used here), cursor position, margin mask position,
A group of format registers that specify the line tail position, etc., and the bit position of each register is the display buffer 3.
There is a one-to-one correspondence with the character position of 06.

このフォーマットレジスタ群307において、上記各位
置は対応するビットを論理゜“1゛にすることで指定す
る。308はディスプレイバッファ306及びフォーマ
ットレジスタ群307のワーキングアドレスを示すアド
レスポインタである。
In the format register group 307, each of the above positions is designated by setting the corresponding bit to logic "1". 308 is an address pointer indicating the working address of the display buffer 306 and the format register group 307.

309はレフトハンドマージン(LHM)のアドレスを
格納するLHMアドレスレジスタ、310はディスプレ
イ装置60へのデータ転送時に、ホットゾーン内に入つ
たスペース●コード(SP)のメモリ40上のアドレス
を格納するSPアドレスレジスタである。
309 is an LHM address register that stores the address of the left hand margin (LHM), and 310 is an SP address that stores the address on the memory 40 of the space code (SP) that has entered the hot zone during data transfer to the display device 60. It is a register.

311はライトハンドマージン(RHM)のアドレスを
格納するRHMアドレスレジスタを示す。
Reference numeral 311 indicates an RHM address register that stores the address of the right hand margin (RHM).

312はメモリ40からディスプレイバッファ306に
転送されるデータの種類を判別し、各種の制御信号を出
力するデータ判別・制御理論回路てある。
312 is a data discrimination/control theory circuit that discriminates the type of data transferred from the memory 40 to the display buffer 306 and outputs various control signals.

313〜316はデータ判別・制御理論回路312の出
力制御信号でセットされる状態フリップフロップであり
、フリップフロップ313はホットゾーン内のスペース
(SP)、フリップフロップ314はホットゾーン内の
ハイフォン(−)、315はキャリッジリターン(CR
)、316はラインフィード(LF)の有無をそれぞれ
示している。
313 to 316 are state flip-flops set by the output control signal of the data discrimination/control logic circuit 312, the flip-flop 313 is the space (SP) in the hot zone, and the flip-flop 314 is the hyphen (-) in the hot zone. , 315 is a carriage return (CR
) and 316 respectively indicate the presence or absence of line feed (LF).

317はカーソルがRI(Mにあるか否かを示す状態フ
リップフロップ、318はディスプレイバッファ306
への転送データがメモリ40に残つているか否かを示す
状態フリップフロップである。
317 is a status flip-flop indicating whether the cursor is at RI (M); 318 is a display buffer 306;
This is a status flip-flop indicating whether data to be transferred to the memory 40 remains in the memory 40 or not.

319はアドレスレジスタ301の内容を士する演算器
、320はアドレスレジスタ304の内容を+1する演
算器、321はアドレスレジスタ301と304の内容
を比較する比較回路、322はワーキング用アドレスレ
ジスタ304とスペースアドレスレジスタ310の内容
を比較する比較回路、323はアドレスポインタ308
とRHMアドレスレジスタ311の内容を比較する比較
回路である。
319 is an arithmetic unit that calculates the contents of the address register 301, 320 is an arithmetic unit that increases the contents of the address register 304 by 1, 321 is a comparison circuit that compares the contents of the address registers 301 and 304, and 322 is a working address register 304 and a space. A comparison circuit that compares the contents of the address register 310, 323 is an address pointer 308
This is a comparison circuit that compares the contents of the RHM address register 311 and the RHM address register 311.

324はプリントバッファ305への転送データ中のハ
イフォンコードを検出するハイフォン検出回路、325
はメモリ40からのデータ又は外部からのCRコードを
切換えて出力するマルチプレクサである。
324 is a Haiphong detection circuit that detects a Haiphong code in data transferred to the print buffer 305; 325;
is a multiplexer that switches and outputs data from the memory 40 or a CR code from the outside.

326はマルチプレクサ325の出力データ中からCR
コード、LFコードを検出し、プリント開始信号を発す
るプリント開始指示回路、同様に、327はプリントバ
ッファ305の出力データ中からCRコード、LFコー
ドを検出し、プリント終了信号を発するプリント終了指
示回路である。
326 is a CR from among the output data of the multiplexer 325.
Similarly, 327 is a print end instruction circuit that detects the CR code and LF code from the output data of the print buffer 305 and issues a print end signal. be.

328はプリント開始信号、プリント終了信号の指示に
よリプリントバッファ305とプリンタ80との間のデ
ータ転送を制御するプリンタ出力制御回路を示す。
Reference numeral 328 denotes a printer output control circuit that controls data transfer between the reprint buffer 305 and the printer 80 according to instructions from a print start signal and a print end signal.

329はキー入力コードを判定してデータとファンクシ
ョンコードに分け、データはメモリ40に転送し、ファ
ンクションコードは制御信号として装置の所望箇所に出
力する入力コード判定制御回路である。
329 is an input code determination control circuit that determines the key input code and divides it into data and function code, transfers the data to the memory 40, and outputs the function code to a desired location of the device as a control signal.

第3図に第2図の動作を説明するためのフローチャート
を示す。
FIG. 3 shows a flowchart for explaining the operation of FIG. 2.

今、初期状態としてメモリ40には斜線部分にデータが
入つているものとする。前に説明したように、アドレス
レジスタ301にはメモリ40のP点アドレスが格納さ
れ、同様に、アドレスレジスタ302にはQ点アドレス
が、アドレスレジスタ303にはH点アドレスがそれぞ
れ格納されている。この時、ディスプレイバッファ30
6にはメモリ40のH点アドレス以降の内容が格納され
、それがフォーマットレジスタ群307の各情報ととも
にディスプレイ装置60に取り込まれ、その表示面に表
示されている。第7図Aはフォーマット表示の一例を示
したもので、4はレフトハンドマージン、@はライトハ
ンドマージン、(ハ)はタブのセット位置、○はホット
ゾーンの範囲、(ホ)はカーソルを表わしている。さて
、あらたにキーボード10より入力がなされ、そのキー
入力コードが入力コード判定制御回路329によりデー
タと判定されると、該データはアドレスレジスタ301
で指定されるメモリ40のP点アドレスに書き込まれる
。その後、アドレスレジスタ301は演算器319によ
り+1される。このキー入力動作にともない、ディスプ
レイバッファ306の書き替えが行われる。
Now, assume that the memory 40 contains data in the shaded area as an initial state. As previously explained, the address register 301 stores the P point address of the memory 40, similarly, the address register 302 stores the Q point address, and the address register 303 stores the H point address. At this time, display buffer 30
6 stores the contents of the memory 40 after the H point address, which are taken into the display device 60 together with each piece of information in the format register group 307 and displayed on its display screen. Figure 7A shows an example of a format display, where 4 represents the left hand margin, @ represents the right hand margin, (c) represents the tab set position, ○ represents the range of the hot zone, and (e) represents the cursor. There is. Now, when a new input is made from the keyboard 10 and the key input code is determined to be data by the input code determination control circuit 329, the data is stored in the address register 301.
It is written to the P point address of the memory 40 specified by . Thereafter, the address register 301 is incremented by 1 by the arithmetic unit 319. Along with this key input operation, the display buffer 306 is rewritten.

この場合、まず次のようにしてデータ転送の準備処理が
実行される。すなわち、アドレスレジスタ303のH点
アドレスがワーキング用アドレスレジスタ304へ移さ
れ、ディスプレイバッファ306の内容がクリアされる
。同時に、LHMアドレスレジスタ309の内容がアド
レスポインタ308にセットされる。その後、LF表示
フリップフロップ316の状態が調べられ、それがリセ
ットされている場合は、フォーマットレジスタ群307
のレジスタ4〜7がクリアされ、フリップフロップ31
3〜318がリセットされる。一方、LF表示フリップ
フロップ316がセットされている場合は、データ判別
・制御論理回路312の制御のもとにレジスタ群307
のラインデールレジスタ7”に゛1゛を検出するまでア
ドレスポインタ308が歩進されて、ラインフィードに
よるアドレスポインタ308の位置合せが行われ、その
後、LF表示フリップフロップ316がリセットされて
いる場合と同様に、フォーマットレジスタ群307のレ
ジスタ4〜7のクリア、フリップフロップ313〜31
8のリセットが行われる。これでデータ転送の準備処理
が終了し、上記ワーキング用アドレスレジスタ304で
指定されたメモリ40のアドレスの内容(すなわち、H
点アドレスの内容)が読み出され、アドレスポインタ3
08で指定されるディスプレイバッファ306のアドレ
スに書き込まれる。このメモリ40からディスプレイバ
ッファ306へのデータ転送と並行して、該転送データ
はデータ判別・制御論理回路312により判別され、そ
の種類によつて次のような処理が行われる。
In this case, first, data transfer preparation processing is executed as follows. That is, the H point address of address register 303 is moved to working address register 304, and the contents of display buffer 306 are cleared. At the same time, the contents of LHM address register 309 are set in address pointer 308. Thereafter, the state of the LF display flip-flop 316 is checked, and if it has been reset, the format register group 307
registers 4 to 7 are cleared, and the flip-flop 31
3 to 318 are reset. On the other hand, when the LF display flip-flop 316 is set, the register group 307 is controlled by the data discrimination/control logic circuit 312.
The address pointer 308 is incremented until it detects "1" in the Linedale register 7", the address pointer 308 is aligned by line feed, and then the LF display flip-flop 316 is reset. Similarly, registers 4 to 7 of the format register group 307 are cleared, and flip-flops 313 to 31 are cleared.
8 reset is performed. This completes the data transfer preparation process, and the contents of the address in the memory 40 specified by the working address register 304 (i.e., H
The contents of the point address) are read out and the address pointer 3
The data is written to the display buffer 306 address specified by 08. In parallel with this data transfer from memory 40 to display buffer 306, the transferred data is discriminated by data discrimination/control logic circuit 312, and the following processing is performed depending on the type.

すなわち、それが文字・数字及びシンボル・データの場
合はアドレスポインタ308を+1し、次のデータ転送
に備える。スペースコードの場合は、ホットゾーンに入
つた時のみ状態フリップフロップ313をセットすると
ともに、その時のワーキング用アドレスレジスタ304
の内容をスペースアドレスレジスタ310へ転送する。
アドレスポインタ308はホットゾーン内外に関係なく
+1される。ハイフォンコードの場合は、ホットゾーン
に入つた時のみ状態フリップフロップ314をセットす
る。アドレスポインタ308はスペースコードの場合と
同様にホットゾーン内外に関係なく+1される。キャリ
ッジリターンコードの場合はホットゾーン内外に関係な
く状態フリップフロップ315をセットする。又、この
場合、アドレスポインタ308の歩進は行わない。ライ
ンフィードコードの場合は、状態フリップフロップ31
6をセットするとともに、その時のアドレスポインタ3
08で指定されるフォーマットレジスタ群307中のレ
ジスタ7のビットに4′r1をたて、アドレスポインタ
308の歩進は行わない。その他のコードについても、
同様にして所定の処理が行われる。状態フリップフロッ
プ317は、マージンリリースキーが押されていない場
合、アドレスポインタ308とRHMアドレスレジスタ
311の内容を比較回路323で比較し、両者が一致す
るとセットされる。一方、マージンリリースキーが押さ
れると、この状態フリップフロップ317のセット動作
は禁止され、その後、ハイフォンコード、スペースコー
ドが検出されて初めてセットされる。第4図及び第5図
は、これらの処理を表にまとめて示したものである。な
お、先のホットゾーン領域の検出は、フォーマットレジ
スタ群307中のホットゾーン指定レジスタ3をアドレ
スポインタ308でアクセスし、指定されたビットに4
6r゛がたつているか否かをみればよい。
That is, if the data is character, numeric, or symbol data, the address pointer 308 is incremented by 1 to prepare for the next data transfer. In the case of a space code, the state flip-flop 313 is set only when entering the hot zone, and the working address register 304 at that time is set.
The contents of are transferred to the space address register 310.
The address pointer 308 is incremented by 1 regardless of whether it is inside or outside the hot zone. In the case of the Haiphong code, the status flip-flop 314 is set only when the hot zone is entered. The address pointer 308 is incremented by 1 regardless of whether it is inside or outside the hot zone, as in the case of the space code. In the case of a carriage return code, the status flip-flop 315 is set regardless of whether it is inside or outside the hot zone. Further, in this case, the address pointer 308 is not incremented. For line feed code, state flip-flop 31
6 and set the address pointer 3 at that time.
4'r1 is set to the bit of register 7 in the format register group 307 specified by 08, and the address pointer 308 is not incremented. Regarding other codes,
Predetermined processing is performed in the same manner. When the margin release key is not pressed, the status flip-flop 317 compares the contents of the address pointer 308 and the RHM address register 311 with the comparison circuit 323, and is set when the two match. On the other hand, when the margin release key is pressed, the setting operation of this state flip-flop 317 is prohibited, and is then set only after the haiphon code and space code are detected. FIGS. 4 and 5 show these processes in a table. Note that in order to detect the hot zone area, access the hot zone designation register 3 in the format register group 307 using the address pointer 308, and set 4 to the designated bit.
All you have to do is check whether 6r゛ has passed or not.

このホットゾーン指定レジスタからの読出し信号が、デ
ータ判別・制御論理回路312の判別信号と個別にアン
ドがとられ、それぞれ状態フリップフロップ313,3
14のセット入力、及びスペースアドレスレジスタ31
0のデータラッチ信号となる。以上のようにして、メモ
リ40からディスプレイバッファ306へ1つのデータ
が転送され、そのデータがエンドコードでない場合、ワ
ーキング用アドレスレジスタ304が演算器320によ
り+1される。
The read signal from the hot zone designation register is individually ANDed with the discrimination signal of the data discrimination/control logic circuit 312, and the state flip-flops 313 and 3 are respectively ANDed.
14 set inputs, and space address register 31
It becomes a data latch signal of 0. As described above, one piece of data is transferred from the memory 40 to the display buffer 306, and if the data is not an end code, the working address register 304 is incremented by 1 by the arithmetic unit 320.

この時、フリップフロップ313〜317が全てリセッ
ト状態のままであると、該アドレスレジスタ304で指
定されるメモリ40の次のアドレスの内容が読み出され
、これがアドレスポインタ308(該ポインタは第5図
の態様ですでに更新済みである)で指定されるディスプ
レイバッファ306のアドレスに書き込まれる。状態フ
リップフロップ314〜317がリセットの間、このデ
ータ転送が繰り返され、ディスプレイバッファ306の
書き替えが行われる。この間、比較回路321はアドレ
スレジスタ301と304を比較し、両者の内容が一致
すると一致信号を送出する。この一致信号により状態フ
リップフロップ318がセットされる。つまり、これは
ライトハンドマージンに達する前にメモリ40からディ
スプレイバッファ306へのデータ転送が全て終了し、
しかも、転送データ中にはキャリッジリターン、ライン
フィード等のコードが含まれておらず、又、ハイフォン
コードが含まれている場合でも、それはホットゾーン外
であることを意味している。上記状態フリップフロップ
318がセットされると、アドレスレジスタ302のQ
点アドレスがワーキング用アドレスレジスタ304に移
され、メモリ40からエンドコードが読み出される。
At this time, if all the flip-flops 313 to 317 remain in the reset state, the contents of the next address in the memory 40 specified by the address register 304 are read out, and this is transferred to the address pointer 308 (the pointer is shown in FIG. is written to the address of the display buffer 306 specified by (which has already been updated in the manner shown in FIG. While the state flip-flops 314 to 317 are being reset, this data transfer is repeated and the display buffer 306 is rewritten. During this time, the comparison circuit 321 compares the address registers 301 and 304, and if the contents of the two match, it sends out a match signal. This match signal sets state flip-flop 318. In other words, this means that all data transfer from the memory 40 to the display buffer 306 is completed before the right hand margin is reached.
Moreover, the transferred data does not include codes such as carriage return and line feed, and even if it includes a Haiphong code, it means that it is outside the hot zone. When the state flip-flop 318 is set, the Q of the address register 302 is set.
The point address is moved to the working address register 304, and the end code is read from the memory 40.

このエンドコードをデータ判別・制御論理回路312が
検出すると、次のキー入力が行われるまでメモリ40か
らディスプレイバッファ306へのデータの転送動作は
実行されない。この間、ディスプレイバッファ306の
内容はディスプレイ装置60により表示し続けることに
なる。これはメモ1J40にエンドコードを予め格納し
ておく場合であるが、エンドコードを使用しない場合は
、フリップフロップ318がセットされたことによりメ
モリ40からディスプレイバッファ306へのデータ転
送動作をやめ、次のキー入力にそなえるようにすればよ
い。一方、比較回路321の一致信号はフォーマットレ
ジスタ群307のカーソルレジスタ5にも与えられ、そ
の時のアドレスポインタ308で指定されるビットに゜
゜1゛がたてられる。つまり、これが次のキー入力デー
タの表示位置を示している。このようにして次のキー入
力が行われ、それがデータであると、該データはアドレ
スレジスタ301で指定されるメモリ40のアドレスに
格納され、同時に、前と同様にしてディスプレイバッフ
ァ306の書き替えが再び実行され、該書き替えられた
データがディスプレイ装置60に転送されて表示される
。第7図Bはその表示例を示したものである。キーボー
ド10からのデータ入力、及びこれにもとづ゛くディス
プレイバッファ306内のデータの書き替え動作が進み
、フリップフロップ313〜316がリセット状態のま
までライトハンドマージンの位置まで来たとする。
When the data discrimination/control logic circuit 312 detects this end code, the operation of transferring data from the memory 40 to the display buffer 306 is not executed until the next key input is performed. During this time, the contents of display buffer 306 will continue to be displayed by display device 60. This is the case where the end code is stored in the memo 1J40 in advance, but if the end code is not used, the data transfer operation from the memory 40 to the display buffer 306 is stopped due to the setting of the flip-flop 318, and the next All you have to do is make it compatible with key inputs. On the other hand, the match signal from the comparison circuit 321 is also applied to the cursor register 5 of the format register group 307, and the bit specified by the address pointer 308 at that time is set to ゜゜1゛. In other words, this indicates the display position of the next key input data. In this way, when the next key input is performed and it is data, the data is stored at the address in the memory 40 specified by the address register 301, and at the same time, the display buffer 306 is rewritten in the same manner as before. is executed again, and the rewritten data is transferred to the display device 60 and displayed. FIG. 7B shows an example of the display. Assume that the data input from the keyboard 10 and the rewriting operation of the data in the display buffer 306 based on the data input proceed, and the flip-flops 313 to 316 reach the right hand margin position while remaining in the reset state.

すなわち、これはホットゾーン内にスペースが一つもな
い状態でライトハンドマージンまで来たことを意味する
。この場合、アドレスポインタ308とRHMアドレス
レジスタ311の内容が一致し、比較回路323から一
致信号が出力線11に検出される。この時、マージンリ
リースがセットされていないと、アンドゲードGl2、
オアゲートGl4を通してRHMフリップフロップ31
7がセットされ、オペレータにハイフネーシヨンを警報
して、あらためてキー入力が行われるまで装置を停止状
態にする。一方、カーソルがライトハンドマージン位置
にある時、キーボード10上のマージンリリースキーを
押したとする。この場合、前と同様にしてマージンリリ
ース・コードがメモリ40に格納され、これがディスプ
レイバッファ306に転送されるが、この時、データ判
別・制御論理回路312により転送データがマージンリ
リース●コードである旨判別され、フォーマットレジス
タ群307におけるマージンマスクレジスタ6のアドレ
スポインタ308(RHM位置を示している)で示され
るビットに“6r′が立てられる。この結果、インバー
タゲートGllによりアンドゲートGlOの付勢が禁止
され、ディスプレイ装置60の表示面のマージン・マー
クが消される。同時に、インバータゲートGllにより
アンドゲートGl2の付勢も禁止され、RHMフリップ
フロップ317はリセットされたままである。従つて、
キーボード10よりデータの入力が引き続き可能となる
。第8図A−Cはマージンリリースキーが押された場合
の表示例を示したものでJφョはマージンリリース表示
、RzJはマージンリリースキーが押された後の入力デ
ータを示す。上記ライトハンドマージンをこえてデータ
の入力が行われ、アドレスポインタ308の内容がRH
Mアドレスレジスタ311のそれより大になると、比較
回路322は出力線12に“゜1゛信号を送出するよう
になる。
In other words, this means that you have reached the right hand margin with no spaces in the hot zone. In this case, the contents of the address pointer 308 and the RHM address register 311 match, and a match signal is detected from the comparison circuit 323 on the output line 11. At this time, if margin release is not set, andGade Gl2,
RHM flip-flop 31 through or gate Gl4
7 is set, alerting the operator to hyphenation and stopping the device until another key entry is made. On the other hand, assume that the margin release key on the keyboard 10 is pressed when the cursor is at the right hand margin position. In this case, the margin release code is stored in the memory 40 as before and transferred to the display buffer 306, but at this time, the data discrimination/control logic circuit 312 indicates that the transferred data is a margin release code. "6r' is set in the bit indicated by the address pointer 308 (indicating the RHM position) of the margin mask register 6 in the format register group 307. As a result, the AND gate GlO is activated by the inverter gate Gll. is inhibited, and the margin mark on the display surface of the display device 60 is erased.At the same time, the activation of the AND gate Gl2 is also inhibited by the inverter gate Gll, and the RHM flip-flop 317 remains reset.
Data can still be input using the keyboard 10. FIGS. 8A to 8C show display examples when the margin release key is pressed, where J.phi.Y shows the margin release display and RzJ shows the input data after the margin release key is pressed. Data is input beyond the above-mentioned right hand margin, and the contents of address pointer 308 are set to RH.
When it becomes larger than that of the M address register 311, the comparator circuit 322 sends out a “゜1゛” signal to the output line 12.

従つて、その後スペースキーが押されると、アンドゲー
トGl3が付勢され、ここで初めてRHMフリップフロ
ップ317がセットされるとともに、オアゲートGl5
によりフリップフロップ318がセットされる。同様に
、ハイフォンキーが押されると、RHMフリップフロッ
プ317と状態フリップフロップ314がセットされる
。このフリップフロップ313又は314がセットされ
ると、それまでディスプレイバッファ306に格納され
たデータ分がメモリ40からプリントバッファ305に
転送されプリントアウトされることになるが、その詳細
は次のプリント動作の説明にゆすることにする。なお、
RHM・フリップフロップ317のリセットは、1行分
のプリントアウトが実行され、次の行のデータがメモリ
40からディスプレイバッファ306へ転送される時、
その動作に先立つてフリップフロップ313〜316の
リセットと一緒に行われる。次に、プリント動作につい
て説明する。これはフリップフロップ314〜317の
いずれか一つがセットされると、装置がプリントモード
に切り替り自動的に行われる。まず、ハイフォン表示フ
リップフロップ314ノがセットされた場合を説明する
Therefore, when the space key is pressed thereafter, the AND gate Gl3 is activated, the RHM flip-flop 317 is set for the first time, and the OR gate Gl5 is activated.
The flip-flop 318 is set. Similarly, when the haiphon key is pressed, RHM flip-flop 317 and status flip-flop 314 are set. When this flip-flop 313 or 314 is set, the data stored in the display buffer 306 up to that point will be transferred from the memory 40 to the print buffer 305 and printed out, but the details will be explained in the next print operation. I'll leave it to you to explain. In addition,
The RHM flip-flop 317 is reset when one line of printout is executed and the next line of data is transferred from the memory 40 to the display buffer 306.
Prior to this operation, flip-flops 313 to 316 are reset together. Next, the printing operation will be explained. This is done automatically when any one of the flip-flops 314 to 317 is set, and the apparatus switches to print mode. First, the case where the high-phone display flip-flop 314 is set will be explained.

第4図から該フリップフロップ314がセットされるの
は、1行のキー入力がホットゾーンまで進み行改のため
にハイフォンが付された場合、あるいはマージンリリー
スがかかつてRHMをこえてデータが入力され、その後
はじめて行改のためにハイフォンが付された場合である
。この場合、その行の内容がただちにプリントアウトさ
れ、ディスプレイ装置60には次の行のキー入力データ
が表示される。その動作は次の通りである。フリップフ
ロップ314のセット状態が検出されると、再びアドレ
スレジスタ303のH点アドレスがワーキング用アドレ
スレジスタ304に移され、該アドレスレジスタ304
で示されるメモリ40のアドレスの内容がマルチプレク
サ324を通リプリントバッファ305に転送される。
このプリントバッファ305への書込みは入力ストロー
ブのタイミングで行われる。なお、このプリントモード
時はディスプレイバッファ306へのデータ転送は禁止
される。その後、ワーキング用アドレスレジスタ304
は演算器320により+1される。このワーキング用ア
ドレスレジスタ304の内容は、比較回路321により
アドレスレジスタ301の内容と比較され、両者が一致
するまで、プリントバッファ305へのデータ転送が繰
り返される。アドレスレジスタ301と304が一致し
、メモリ40からプリントバッファ305へのデータ転
送が終了した時点で、ハイフォン検出回路324はハイ
フォン・コードを検出している。
As shown in FIG. 4, the flip-flop 314 is set when one line of key input reaches the hot zone and a hyphen is added for a line break, or when the margin release is too long and data is input beyond RHM. This is the case when a hyphen is added for the first time to break a line. In this case, the contents of that line are immediately printed out, and the display device 60 displays the key input data of the next line. Its operation is as follows. When the set state of the flip-flop 314 is detected, the H point address of the address register 303 is transferred to the working address register 304 again.
The contents of the memory 40 address indicated by are transferred to the reprint buffer 305 through the multiplexer 324.
This writing to the print buffer 305 is performed at the timing of the input strobe. Note that data transfer to the display buffer 306 is prohibited in this print mode. After that, the working address register 304
is incremented by 1 by the arithmetic unit 320. The contents of the working address register 304 are compared with the contents of the address register 301 by a comparison circuit 321, and data transfer to the print buffer 305 is repeated until the two match. When the address registers 301 and 304 match and the data transfer from the memory 40 to the print buffer 305 is completed, the haiphon detection circuit 324 detects the haiphon code.

又、この時フリップフロップ314はセット状態にある
。従つて、マルチプレクサ325には切替え信号Dが印
加される。この結果、マルチプレクサ325は予め設定
されたキャリッジリターンコード(CRコード)を選択
してプリントバッファ305へ転送する。つまり、プリ
ントバッファ305には、メモリ40のH点からP点(
P点は新しいキー入力が与えられるごとに移動する点で
ある)までの1行分のデータに、更にCRコードが付加
されて格納される。その後、その時のワーキング用アド
レスレジスタ304の内容がアドレスレジスータ303
に移される。すなわち、新しいH点アドレスが登録され
る。一方、上記マルチプレクサ325で選択されプリン
トバッファ305に転送されるCRコードはプリント開
始指示回路326で検出され、その結−果、該指示回路
326からプリント開始信号がプリント出力制御回路3
28に与えられる。
Also, at this time, the flip-flop 314 is in a set state. Therefore, the switching signal D is applied to the multiplexer 325. As a result, multiplexer 325 selects a preset carriage return code (CR code) and transfers it to print buffer 305. In other words, the print buffer 305 stores data from point H to point P (
A CR code is added to one line of data up to point P, which is a point that moves each time a new key input is given, and is stored. After that, the contents of the working address register 304 at that time are transferred to the address register 303.
will be moved to That is, a new H point address is registered. On the other hand, the CR code selected by the multiplexer 325 and transferred to the print buffer 305 is detected by the print start instruction circuit 326, and as a result, a print start signal is sent from the instruction circuit 326 to the print output control circuit 305.
28.

プリンタ出力制御回路328はプリント開始信号を受け
取ると出力ストローブ信号をプリントバッファ305に
発し、プリンタ80のレディ信号を見ながらプリントバ
ッファ305に格納されたデータを順次読み出し、プリ
ンタ80に出力する。このようにして、プリントバッフ
ァ305から最後のデータつまりCRコードが読み出さ
れると、該CRコードはプリンタ80に出力されると同
時にプリント終了指示回路327で検出され、その結果
、該指示回路327からプリント終了信号がプリンタ出
力制御回路328に与えられる。このプリント”終了信
号を受け取ると、プリンタ出力制御回路328はプリン
トバッファ305への出力ストローブを停止し、これに
よリプリントバッファ305のデータ読出しが終了する
。この間、プリンタ80はプリント出力制御回路328
を通して与えられるデータを順次プリントアウトし、C
Rコードを検出するとキャリッジリターンの動作を行い
、次の印字行に備えるのである。すなわち、メモリ40
から1行分のデータがプリントバッファ305に転送さ
れると、その後は、プリント出力制御回路328の制御
のもとに、ディスプレイ表示動作とは独立に1行分のプ
リント動作が行われるのである。これは以後の全てのプ
リント動作に共通である。次に、状態フリップフロップ
315又は316がセットされた場合を説明する。
When the printer output control circuit 328 receives the print start signal, it issues an output strobe signal to the print buffer 305, reads the data stored in the print buffer 305 sequentially while checking the ready signal of the printer 80, and outputs the data to the printer 80. In this way, when the last data, that is, the CR code is read out from the print buffer 305, the CR code is output to the printer 80 and simultaneously detected by the print end instruction circuit 327, and as a result, the instruction circuit 327 prints the A termination signal is provided to printer output control circuit 328. Upon receiving this "print end signal," the printer output control circuit 328 stops output strobe to the print buffer 305, thereby completing data reading from the reprint buffer 305.During this time, the printer 80
Print out the data given through C
When the R code is detected, a carriage return operation is performed to prepare for the next printing line. That is, the memory 40
When data for one line is transferred to the print buffer 305, the print operation for one line is thereafter performed under the control of the print output control circuit 328, independently of the display operation. This is common to all subsequent print operations. Next, the case where the state flip-flop 315 or 316 is set will be explained.

この場合も、アドレスレジスタ303の内容がワーキン
グ用アドレスレジスタ304に移され、該アドレスレジ
スタ304で示されるメモリ40のアドレスの内容がプ
リントバッファ305に転送される。その後、アドレス
レジスタ304が+1され、アドレスレジスタ301と
304が一致するまでメモリ40からプリントバッファ
305への転送が入力ストローブに同期して繰り返され
、一致すると、その時のレジスタ304の内容がアドレ
スレジスタ303に移される。これらの動作は状態フリ
ップフロップ314がセットされた場合と同じである。
プリント動作は、メモリ40から読み出されたCRコー
ド又はLFコードがそのままマルチプレクサ325を通
り、これがプリント開始指示回路326で検出され、プ
リント開始信号がプリンタ出力制御回路328に発せら
れることて開始される。次に、状態フリップフロップ3
17がセットされ、この時フリップフロップ313もセ
ットされている場合を説明する。
In this case as well, the contents of the address register 303 are transferred to the working address register 304, and the contents of the address in the memory 40 indicated by the address register 304 are transferred to the print buffer 305. After that, the address register 304 is incremented by 1, and the transfer from the memory 40 to the print buffer 305 is repeated in synchronization with the input strobe until the address registers 301 and 304 match, and when they match, the contents of the register 304 at that time are transferred to the address register 303. will be moved to These operations are the same as when state flip-flop 314 is set.
The print operation is started when the CR code or LF code read from the memory 40 passes through the multiplexer 325 as it is, is detected by the print start instruction circuit 326, and a print start signal is issued to the printer output control circuit 328. . Next, state flip-flop 3
17 is set and the flip-flop 313 is also set at this time.

この時の表示例を第7図Cに示す。すなわち、これはマ
ージンリリースキーが押されていない場合で、この場合
はライトハンドマージン(RHM)に最も近いスペース
までのデータをプリントアウトするとともに、それ以降
のデータが新たにディスプレイ装置に表示されることに
なる。その動作は次の通りである。状態フリップフロッ
プ313と317のセット状態が検出されると、前と同
様に、アドレスレジスタ303の内容がワーキング用ア
ドレスレジスタ304に移され、該アドレスレジスタ3
04で示されるメモリ40のアドレスの内容がプリント
バッファ305に転送される。その後、ワーキング用ア
ドレスレジスタ304が+1される。この時、第4図か
ら明らかなように、スペースアドレスレジスタ310に
はRHMに最も近いスペースのメモリ40上でのアドレ
スが格納されている。ワーキング用アドレスレジスタ3
04が+1されると、その内容は比較回路322により
スペースアドレスレジスタ310の内容と比較され、両
者が一致するまでメモリ40からプリントバッファ30
5へのデータ転送が繰り返される。アドレスレジスタ3
04と310が一致すると比較回路322から一致信号
が出力されて、RHMに最も近いスペースまでのデータ
転送が終了するが、この時、一致信号Eによりマルチプ
レクサ325が切り替えられ、先のフリップフロップ3
14がセットされた場合と同様にCRコードの追加が行
われる。そして、このCRコードがプリント開始回路3
26で検出されることによリプリント動作が開始するの
である。一方、ワーキング用アドレスレジスタ304は
演算器で+1され、その内容がアドレスレジスタ303
に新しく登録される。従つて、その後のディスプレイバ
ッファ306に対するデータ転送では、RHMに最も近
いスペースの次のデータから読み出され、ディスプレイ
バッファ306の書き替えが行われることになる。マー
ジンリリースキーが押されてRHMをこえてデータが入
力され、その後、スペースコードによりフリップフロッ
プ313,317がセットされた場合も同様である。第
6図はデータ判別・制御論理回路312の具体的構成例
を示したものである。
An example of the display at this time is shown in FIG. 7C. In other words, this is the case when the margin release key is not pressed, and in this case, the data up to the space closest to the right hand margin (RHM) is printed out, and the data after that is newly displayed on the display device. It turns out. Its operation is as follows. When the set state of state flip-flops 313 and 317 is detected, the contents of address register 303 are transferred to working address register 304, as before;
The contents of the memory 40 address indicated by 04 are transferred to the print buffer 305. After that, the working address register 304 is incremented by 1. At this time, as is clear from FIG. 4, the space address register 310 stores the address on the memory 40 of the space closest to the RHM. Working address register 3
When 04 is incremented by 1, its contents are compared with the contents of the space address register 310 by a comparison circuit 322, and the contents are transferred from the memory 40 to the print buffer 30 until they match.
Data transfer to 5 is repeated. address register 3
When 04 and 310 match, a match signal is output from the comparison circuit 322, and the data transfer to the space closest to the RHM is completed. At this time, the match signal E switches the multiplexer 325, and the previous flip-flop 3
The CR code is added in the same way as when 14 is set. And this CR code is print start circuit 3
The reprint operation is started upon detection at 26. On the other hand, the working address register 304 is incremented by 1 by the arithmetic unit, and its contents are added to the address register 303.
will be newly registered. Therefore, in subsequent data transfer to the display buffer 306, the next data in the space closest to the RHM is read out, and the display buffer 306 is rewritten. The same is true when the margin release key is pressed and data is input beyond the RHM, and then the flip-flops 313 and 317 are set by a space code. FIG. 6 shows a specific example of the configuration of the data discrimination/control logic circuit 312.

既述したように、データ判別・制御論理回路312はメ
モリ40から読み出されたデータをそのままディスプレ
イバッファ306に転送する機能、転送データの判別を
行う機能、判別結果にもとづいてアドレスポインタ30
8を歩進せしめる機能を有している。ブロック601は
メモリ40からの入力データをそのままディスプレイバ
ッファ306へ出力すると同時に、該データを判別する
部分で、いわゆるデコーダ●マトリクスよりなる。この
デコーダ・マトリクス601で検出されたスペース(S
P)、ハイフォン(−)、キャリッジリターン(CR)
、ラインフィード(LF)の各判別出力は、それぞれ第
2図の状態フリップフロップ313〜316のセット入
力となり、又、マージンリリース判別出力はマージンマ
スクレジスタ6の入力となる。602はフリップフロッ
プ、603はクロックパルス発生器、604は±1回路
である。±1回路604は第2図のアドレスポインタ3
08に接続されており、デコーダ・マトリクス601で
文字、数字及びシンボルが検出されるとアドレスポイン
タ308を+1し、バックスペース(BSP)が検出さ
れると−1する。なお、ストローブ信号は1つのデータ
転送が行われる毎に発せられ、該ストローブ信号の発生
タイミングで上記の+1又は−1が実行される。デコー
ダ・マトリクス601でタブが検出されると、フリップ
フロップ602がセットされる。これによりクロックパ
ルス発生器603のクロック出力力壮1回路に印加され
、この間、アドレスポインタ308の歩進が続けられる
。アドレスポインタ308の歩進が進み、フォーマット
レジスタ群307のタブレジスタ2から“1゛が送出さ
れるとフリップフロップ602はリセットされ、これに
よりクロックパルスの送出、すなわちアドレスポインタ
308の歩進が停止する。この時、アドレスポインタ3
08は目的のタブ位置を指していることになる。同様に
、状態フリップフロップ316がセットされていると、
フォーマットレジスタ群307のラインテールレジスタ
7から゜“1゛が送出されるまで、クロックパルス発生
器603、±1回路604によりアドレスポインタ30
8の歩進が行われ、“1゛が送出されると歩進が停止す
る。すなわち、これが前に説明したラインフィードによ
るアドレスポインタ308の位置合せの処理である。デ
コーダ●マトリクス601でキヤリツジリターン(CR
)、ラインフィード(LF)、ハーフラインフィード(
HLF′)ハーフリバースラインフィード(HRLF)
マージンリリース、エンドコードが検出された場合は±
1回路604の動作を禁止する。これは第5図の表から
容易に理解されることである。第2図及び第6図は実際
には例えばマイクロコンピュータの一部を構成しており
、これまで説明してきた各部の動作シーケンスはプログ
ラムにより制御されるものであることは云うまでもない
。第3図はその動作フローをまとめて表わしたものであ
る。以上の通り、本発明によれば、マージンをこえてデ
ータを入力することができ、オペレータは文末揃えを効
果的に行うことが可能になる。
As described above, the data discrimination/control logic circuit 312 has the function of directly transferring the data read from the memory 40 to the display buffer 306, the function of discriminating the transfer data, and the function of determining the address pointer 30 based on the discrimination result.
It has the function of advancing 8. Block 601 is a section that outputs input data from memory 40 as is to display buffer 306 and at the same time discriminates the data, and is comprised of a so-called decoder matrix. The space (S
P), Haiphong (-), Carriage Return (CR)
, line feed (LF) are set inputs to the state flip-flops 313 to 316 in FIG. 2, and the margin release determination output is input to the margin mask register 6. 602 is a flip-flop, 603 is a clock pulse generator, and 604 is a ±1 circuit. The ±1 circuit 604 is the address pointer 3 in FIG.
08, when a character, number, or symbol is detected in the decoder matrix 601, the address pointer 308 is incremented by +1, and when a backspace (BSP) is detected, it is incremented by -1. Note that the strobe signal is issued every time one data transfer is performed, and the above-mentioned +1 or -1 is executed at the timing of generation of the strobe signal. When a tab is detected in decoder matrix 601, flip-flop 602 is set. This applies the clock output signal to the clock pulse generator 603, and during this period, the address pointer 308 continues to advance. When the address pointer 308 advances and "1" is sent from the tab register 2 of the format register group 307, the flip-flop 602 is reset, thereby stopping the sending of the clock pulse, that is, the advancing of the address pointer 308. .At this time, address pointer 3
08 indicates the target tab position. Similarly, if state flip-flop 316 is set,
The address pointer 30 is controlled by the clock pulse generator 603 and the ±1 circuit 604 until "1" is sent from the line tail register 7 of the format register group 307.
8 is incremented, and when "1" is sent out, the increment stops. In other words, this is the process of positioning the address pointer 308 by line feed as explained earlier. Return (CR
), line feed (LF), half line feed (
HLF') Half Reverse Line Feed (HRLF)
Margin release, ± if end code detected
1 circuit 604 is prohibited from operating. This is easily understood from the table in FIG. 2 and 6 actually constitute a part of a microcomputer, for example, and it goes without saying that the operation sequences of the various parts described so far are controlled by a program. FIG. 3 summarizes the operation flow. As described above, according to the present invention, data can be input beyond the margin, and the operator can effectively align the ends of sentences.

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

第1図は本発明て対象とする電子タイプライタの全体構
成を示す図、第2図は第1図のコントロール部の一実施
例を示す図、第3図は第2図の動作を説明するためのフ
ローチャート、第4図及び第5図は第2図のデータ判別
・制御論理回路の機能説明図、第6図はデータ判別・制
御論理回路の具体的構成例、第7図及び第8図はディス
プレイ装置の表示例を示す図である。 10・・・・・・キーボード、30・・・・・・コント
ロール部、40・・・・・メモリ、60・ ・・ディス
プレイ装置、80・・・・・・プリンタ、100・・・
・・・フロツピイデイスク、301〜304・・・・・
・メモリアドレスレジスタ、305・・・・・・プリン
トバッファ、306・・ディスプレイバッファ、307
・・・・フォーマット・レジスタ群、308・・・・ア
ドレスポインタ、309・・・・・アドレスレジスタ、
310・・・・・・スペースアドレスレジスタ、311
・・・・・RHMアドレスレジスタ、312・・・・・
・データ判別・制御論理回路、313〜318・・・・
・・状態フリップフロップ、319〜320・・・・演
算器、321〜323・・・・・・比較回路、324・
・・・・・ハイフォン検出回路、325・・マルチプレ
クサ、326・・・・・・プリント開始指示回路、32
7・・・・・・プリント終了指示回路、328・・・・
・プリンタ出力制御回路、329・・・・・・入力コー
ド判定制御回路。
Fig. 1 is a diagram showing the overall configuration of an electronic typewriter to which the present invention is applied, Fig. 2 is a diagram showing an embodiment of the control section of Fig. 1, and Fig. 3 explains the operation of Fig. 2. FIG. 4 and FIG. 5 are functional explanatory diagrams of the data discrimination/control logic circuit in FIG. 2. FIG. 6 is a specific configuration example of the data discrimination/control logic circuit, and FIGS. 7 and 8 FIG. 2 is a diagram showing an example of a display on a display device. 10...keyboard, 30...control unit, 40...memory, 60...display device, 80...printer, 100...
...Flotspie disc, 301-304...
・Memory address register, 305...Print buffer, 306...Display buffer, 307
...Format register group, 308...Address pointer, 309...Address register,
310...Space address register, 311
...RHM address register, 312...
・Data discrimination/control logic circuit, 313 to 318...
... State flip-flop, 319-320... Arithmetic unit, 321-323... Comparison circuit, 324.
... Haiphone detection circuit, 325 ... Multiplexer, 326 ... Print start instruction circuit, 32
7...Print end instruction circuit, 328...
-Printer output control circuit, 329... Input code determination control circuit.

Claims (1)

【特許請求の範囲】 1 データを入力するキーボードと、入力されたデータ
を印字するスプリンタとオペレータにより操作されるマ
ージンリリース手段と、前記マージンリリース手段によ
りマージンの解除が指示されると、マージンを解除して
、該マージンをこえて前記キーボードからのデータ入力
を許可し、その後、入力データ中い特定コードを検出す
ると、自動的にキャリッジリターン信号を発生する制御
回路とを具備してなる電子タイプライタ。 2 前記特定コードはスペースコード又はハイフォンコ
ードであることを特徴とする特許請求の範囲第1項記載
の電子タイプライタ。
[Claims] 1. A keyboard for inputting data, a splinter for printing input data, a margin release means operated by an operator, and a margin release means for releasing the margin when the margin release means is instructed to release the margin. and a control circuit that automatically generates a carriage return signal when a specific code is detected in the input data. lighter. 2. The electronic typewriter according to claim 1, wherein the specific code is a space code or a Haiphong code.
JP52044707A 1977-01-14 1977-04-19 electronic typewriter Expired JPS6058509B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP52044707A JPS6058509B2 (en) 1977-04-19 1977-04-19 electronic typewriter
GB664/78A GB1596254A (en) 1977-01-14 1978-01-09 Word processing apparatus
DE2801749A DE2801749C2 (en) 1977-01-14 1978-01-16 Word processing system
FR7801038A FR2377279B1 (en) 1977-01-14 1978-01-16 WORD PROCESSING APPARATUS AND ITS APPLICATIONS
US07/205,614 US4904099A (en) 1977-01-14 1988-06-06 Electronic typewriter
US07/485,241 US5033879A (en) 1977-01-14 1990-02-26 Electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52044707A JPS6058509B2 (en) 1977-04-19 1977-04-19 electronic typewriter

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP61241776A Division JPS62143127A (en) 1986-10-11 1986-10-11 Right and margin control system for word processor

Publications (2)

Publication Number Publication Date
JPS53129542A JPS53129542A (en) 1978-11-11
JPS6058509B2 true JPS6058509B2 (en) 1985-12-20

Family

ID=12698879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52044707A Expired JPS6058509B2 (en) 1977-01-14 1977-04-19 electronic typewriter

Country Status (1)

Country Link
JP (1) JPS6058509B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60149475A (en) * 1984-01-14 1985-08-06 Brother Ind Ltd Data printing device

Also Published As

Publication number Publication date
JPS53129542A (en) 1978-11-11

Similar Documents

Publication Publication Date Title
US4223393A (en) Word processor
US4195353A (en) Word processor comprising improved editing means
US4244031A (en) Word processor
JPS628833B2 (en)
JPS6058509B2 (en) electronic typewriter
JPS586957B2 (en) word processor
JPS627593B2 (en)
JPS627594B2 (en)
JPS5946037B2 (en) word processing system
JPS6058511B2 (en) electronic typewriter
US5290109A (en) Electronic typewriter for printing of documents having a fixed format
JPH0145111B2 (en)
JPS5843034A (en) Sentence edit processor
JPS5850374B2 (en) word processor
JPS6058510B2 (en) electronic typewriter
JPH0442997B2 (en)
JPS6314372B2 (en)
JPS6339951B2 (en)
JPS586958B2 (en) word processor
JPS6367211B2 (en)
US5215388A (en) Control of spell checking device
US5013167A (en) Bounded word replace function for an electronic typewriter erasing a zone bounded by erroneous characters
US4955734A (en) Information processing apparatus
JPS6314371B2 (en)
US5112148A (en) Electronic typewriter with override of spelling-checking function