JPS6320676A - Word processor - Google Patents

Word processor

Info

Publication number
JPS6320676A
JPS6320676A JP61167372A JP16737286A JPS6320676A JP S6320676 A JPS6320676 A JP S6320676A JP 61167372 A JP61167372 A JP 61167372A JP 16737286 A JP16737286 A JP 16737286A JP S6320676 A JPS6320676 A JP S6320676A
Authority
JP
Japan
Prior art keywords
data
document
range
document data
area
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
JP61167372A
Other languages
Japanese (ja)
Inventor
Satoru Maruyama
悟 丸山
Yasushi Kawakami
泰 川上
Fukue Obata
小幡 ふく江
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP61167372A priority Critical patent/JPS6320676A/en
Priority to GB8716617A priority patent/GB2192740B/en
Publication of JPS6320676A publication Critical patent/JPS6320676A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To effectively use a memory device by releasing a range designated data preservation region into a document region if the remaining capacity of the document area where document data is stored is smaller than a prescribed value. CONSTITUTION:The optional range of document data generated in the memory device can be designated, and the latest range designated document data is stored in a prescribed range designated data preservation region. For example, when the range of document data is designated and document data in this range is deleted, moved to another position, or copied, document data in the range as the operation object is preserved. Document data stored in the range designated data preservation area can be restored to the optional position of document data developed in the document area. Though the memory device is provided with the document region and the range designated data preservation region, the range designated data preservation region is released as the document region if the remaining capacity where document data can be generated in the document region is smaller.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、ワードプロセッサにおいて、内部記憶装置に
イ乍成され得る文書容量の拡大を図った装でに関する。
TECHNICAL FIELD The present invention relates to a word processor in which the capacity of documents that can be stored in an internal storage device is expanded.

【従来技術】[Prior art]

従来、日本語または欧文等を対象とするワードプロセッ
サといわれる文書作成装置は、キーボードからキーを打
鍵してそれに対応した文字記号コード、制御コードを入
力し、入力コードを基礎に、一定の規則にしたがって、
コード変換、スペルチェック等の処理をし、表示装置に
文書データを表示すると共に作成された文書データを記
憶装置に順次蓄積し、蓄積された文書データを印刷の為
の編集を行った後用紙に印刷するようにした装置である
。そして、係る装置は、主に、操作性、機能性、携帯性
、そして価格性の面から検討され、それぞれの特徴を有
した機種が数多く開発されてきている。
Conventionally, a document creation device called a word processor for Japanese or European languages, etc., inputs the corresponding character symbol code and control code by pressing keys on the keyboard, and then processes the documents according to certain rules based on the input code. ,
Processing such as code conversion and spell checking is performed, the document data is displayed on the display device, the created document data is sequentially stored in the storage device, and the stored document data is edited for printing and then printed on paper. This is a device designed for printing. Such devices have been studied mainly from the viewpoints of operability, functionality, portability, and price, and many models having each of these characteristics have been developed.

【発明が解決しようとする問題点】[Problems to be solved by the invention]

ところで、文書作成、更新等の処理中の文書データは、
処理速度を向上させるため、全文書データを中央処理装
置(以下rcpUJという。)が、直接アクセス出来る
ランダムアクセスメモリ(以下rRAMJという。)で
構成された内部記憶袋■に展開するのが一般的である。 したがって、作成し得る1文書の容量は、RA M容量
で決定される。作成し得る文書容量は、機能性から見れ
ば多い程望ましいのであるが、このRAM容量を多くす
れば、当然、装置全体の価格が高くなると共に、装置が
大型化し携帯性が悪くなるという問題がある。したがっ
て、価格性、携帯性の要請を満たすためには、RAM容
量は必要最少限に制限せざるを得ない状態にある。また
、一定容量のRAMについて言えば、他の多(の機能が
付加されるにつれて、RA Mはその機能を実現するた
めの一時記憶装置として使用されるので、文書データの
記憶領域が減少されることになる。文書データの記憶領
域が小さいと、−度に作成される文@ヱに二重層を生じ
、容量を越える文書に関しては、分割して作成しなけれ
ばならず、操作性、機能性上問題がある。 このような事情から、上記要請を満たすためには、RA
 Mの有効利用を図ることが重要である。
By the way, document data during document creation, update, etc.
In order to improve processing speed, it is common for the central processing unit (hereinafter referred to as rcpUJ) to expand all document data into an internal storage bag made up of directly accessible random access memory (hereinafter referred to as rRAMJ). . Therefore, the capacity of one document that can be created is determined by the RAM capacity. The larger the document capacity that can be created, the more desirable it is from the viewpoint of functionality, but if the RAM capacity is increased, the price of the entire device will naturally increase, and the device will become larger and less portable. be. Therefore, in order to meet the demands for affordability and portability, the RAM capacity must be limited to the minimum necessary. Also, regarding a fixed capacity RAM, as other functions are added, the RAM is used as a temporary storage device to implement those functions, so the storage area for document data is reduced. If the storage area for document data is small, a double layer will occur in the sentences created at one time, and documents that exceed the capacity will have to be created in separate parts, which will affect operability and functionality. Due to these circumstances, in order to meet the above request, it is necessary to
It is important to make effective use of M.

【発明の目的] 本発明は、上記の問題点を解決するために睨されたものであり、その目的とするところは、作成し得る文書の容量を増加させるために、ワードプロセッサの記憶装Wの有効な利用を図ることである。 【問題点を解決するための手段】[Purpose of the invention] The present invention was aimed at solving the above problems, and its purpose is to effectively utilize the memory W of a word processor in order to increase the capacity of documents that can be created. That's true. [Means to solve the problem]

上記問題点を解決するための発明の構成は、文字記号コ
ード、制御コードを入力するキーボードと、文字記号デ
ータを表示する表示面面と、入力された文字記号コード
を処理して文書データを作成し前記表示面面に表示する
処理装置と、前記処理装置により作成された文書データ
を記憶する文書領域を有する記憶装置とからなるワード
プロセッサにおいて、 前記記憶装置に、文書データの内最新の範囲指定された
文書データを保存する範囲指定データ保存領域を設け、 前記処理装置に、 前記文書領域に記憶され得る文書データの残容量を検出
する残容量検出部と 前記残容量検出部により検出された前記残容量が所定量
より少なくなった時は、前記範囲指定データ保存領域を
、前記文書領域として解放する記憶領域制御部と、を備
えたことである。
The structure of the invention to solve the above problems includes a keyboard for inputting character symbol codes and control codes, a display surface for displaying character symbol data, and creating document data by processing input character symbol codes. In a word processor comprising a processing device for displaying on the display screen and a storage device having a document area for storing document data created by the processing device, the storage device stores the latest range of document data. a range-designated data storage area for storing document data that can be stored in the document area; The present invention further includes a storage area control unit that releases the range specified data storage area as the document area when the capacity becomes less than a predetermined amount.

【作用】[Effect]

本ワードプロセッサにおいては、記憶装置に作成された
文書データにおいて、任意の範囲を指定することが出来
る。そして、係る最新に範囲指定された文書データは所
定の範囲指定データ保存領域に記憶される。例えば、文
書データの範囲を指定し、その範囲の文書データを削除
したり、他の位置に移動、複写等の操作が行われると、
その操作の対象となる範囲の文書データが保存される。 また、範囲指定データ保存領域に記憶されている文書デ
ータは、文書領域に展開された文書データの任意の位置
に復元することが出来る。このように、記憶装置には、
文書領域と範囲指定データ保存領域とがあるが、文書領
域に作成され得る文書データの残容量が少なくなると、
上記の範囲指定データ保存領域は、文書領域として解放
される。
In this word processor, any range can be specified in the document data created in the storage device. Then, the document data whose range has been specified most recently is stored in a predetermined range specification data storage area. For example, if you specify a range of document data and then delete that range of document data, move it to another position, copy it, etc.
The document data within the scope of the operation is saved. Further, the document data stored in the range specified data storage area can be restored to any position of the document data developed in the document area. In this way, the storage device has
There is a document area and a range specified data storage area, but when the remaining capacity of document data that can be created in the document area decreases,
The range specification data storage area described above is released as a document area.

【実施例】【Example】

以下、本発明を具体的な実施例に基づいて説明する。第
1図は、本発明の具体的な一実施例に係るワードプロセ
ッサのも°ζ戊を示したブロックダイヤグラムである。 処理装置として、CPU L、CPU2と、それらの処
理手順を指令するプログラムを記憶したR OM 1、
ROM2が設けられている。CPU 1には、データバ
ス、アドレスバス、制御バス(図中、−括して符号12
で示されている。)が接続されており、そのバス12に
は、インタフェース4が接続され、それには文字記号コ
ード、制御コードを出力するキーボード5が接続されて
いる。同様に、バス12には、文書を印刷するプリンタ
9がプリンタ駆動装置8を介して接続されており、また
文書データを外部記tα媒体であるフロッピィディスク
11に保存させるためのディスク駆励装=10が接続さ
れている。また、バス12には、作成された文書データ
を内部保存するバッテリバックアップされたR A M
 1が接続されている。 一方、CPU2には、バス13が接続されており、その
バス13には画面駆動装=6が接続され、それには入力
された文書データを表示するディスプレイ7が接続され
ている。また、バス13には、画面上で文書を編集する
ための文書データを一時記憶するための文書領域が形成
されたバッテリバックアップされたRAM 2が接続さ
れている。 上記CPU 1は、キー人力制御、ファイル管理、ディ
スク制御、印字制御等を行い、上記CPU2は、ディス
プレイ7の表示制御、文書の画面福集制御等を行ってい
る。そして、CPU 1の系統とCPU2の系統でデー
タの交換をする為に、入出力バッファ14が、それぞれ
のバス12.13に接続されおり、その入出力ハッファ
14は双方からアクセス可能になっている。 第2図、第3図は、本発明に関係する部分のCPU2の
処理手りlnを示したフローチャート、第4図は、RA
 F、(2の描戊を示した図であり、それらを参照して
本発明の詳細な説明する。装二本体の電源が投入される
と、CPU、2はステップ100から実行を開始する。 まず、初期設定として、範囲指定データ保存領域(以下
、単に「保存領域」という。)に範囲指定された文書デ
ータが破壊されることなく保存されているか否かを示す
状態、即ち、保存領域が設定されているか否かを示す状
態を記憶するフラグFLGが、未設定状態を示す0に設
定され、保存領域先頭アドレスDSは、記憶可能な最大
アドレスMXに設定される。また、範囲指定は電源投入
時の初期状態では設定されていないとして、tfi、囲
指定データ長HLは0に設定される。次に、作業項目を
選択するため、作業内容を表示したメニューがディスプ
レイ7に表示される(102)。次に扱作者は、表示さ
れたメニューを見て、必要な作業項目を選択するため、
所定のキーを打鍵する。キーが打鍵されるとキーボード
5からコードが出力され、そのコードはCPU1により
読み取られ、入出力バッファ14に出力される。したが
って、CPU2は人出力バッファ14のフル状態を検出
して、打鍵されたキーに対応したキー信号を受信する(
104)。次にキー信号が判別され<106)、新規文
書作成の場合には、ステップ108以下の文書データの
入力、編集等の処理が実行される。新規文書作成でない
場合には、人出カバッファ14を介して作成された文書
データが内部保存されているRAM 1から選択的に指
定された文書データがRAM 2の文書@域に転送され
(190)、後述するステップ120.122の処理を
経て、ステップ108以下の処理が実行される。ステッ
プ108では、次に打鍵されるキーに対応したキー信号
が受信され、ステップ110〜118のキー信号の判別
処理が実行される。 (1)文字記号等の文書データの入力の場合文字記号キ
ーに対応したキー信号を受信した場合には、ステップ1
18で、対応する文字記号等がディスプレイ7に表示さ
れると共に、文G領域の所定のアドレスにデータが記憶
される。そして、作成された文書データの最終アドレス
(以下「ETXアドレス」という。)ARと保存領域先
頭アドレスDSが比較され、ET、XアドレスARが保
存領域先頭アドレスDS以上となると、保存領域のデー
タは、作成された文書データにより破壊されたことにな
るため、そのデータはもはや使用出来ない状態となる。 したがって、係る状態を記憶するため、フラグFLGは
Oに設定される(122)。そして、ステップ108へ
移行して、次のキー信号が受信されて、文字記号キーの
場合には、上記した処理が行われ順次文書データが作成
される。文書データが多くなり、保存領域を越える場合
には、その保存領域は文@領域に解放され、最終的には
、文書データは最終アドレス\IXまで記憶されること
が可能となる。 (2)範囲指定の場合 ディスプレイ7の画面上で任意の範囲を指定することに
より、対応する文書データの範囲を指定する事が出来る
。以下、このことを範囲指定といい、範囲指定された文
書データを範囲指定データという。かかる範囲指定を行
うためのキーとしてBLOCKキーが設けられている。 BLOCKキー信号が受信されるとステップ110の判
定がYESとなり、範OIl指定モードの設定が行われ
(130)、キー信号の入力待ち状態となる(132)
。キーが入力されるとキー信号の判別がなされ(134
,140)、カーソル移動キー信号の場合には、そのキ
ーの押下時間に応じてカーソルを移動させると共に、カ
ーソルの移動範囲がリバース表示される(132〜13
8)。カーソル移動キーの入力が停止し、次にBLOC
Kキー信号が受信されると、ステップ134.140と
実行され、範囲指定データが解除され、範囲指定先頭ア
ドレスH3とそのデータ長HLが記憶される(142)
。そして、ステップ108へ復帰して次のキー信号の受
信待ち状態となる。また、範囲指定モード中は、カーソ
ルキーとBLOCKキー以外は無効とするため、ステッ
プ144にエラー処理を設けている。 このようにして範囲指定は完了される。 (3)文書データの削除 範囲指定データは文書領域から削除されるとともに、保
存領域に保存される。その処理を指令するためにDEL
ETEキーがキーボード5上に設けられている。DEL
ETEキー信号が受信されると、ステップ112の判断
がYESとなり、ステップ150以下が実行される。ま
ず、保存領域先頭アドレスDSが、範囲指定データ長H
Lと最終アドレスMXとから算出される(150)。次
に、削除する文書データのアドレスを指定するレジスタ
R1が範囲指定先頭アドレスH3に初期設定され、その
データを記憶すべき保存領域のアドレスを指定するレジ
スタR2が保存領域先頭アドレスDSに初期設定され、
削除し保存するデータ数を管理するレジスタR3が範囲
指定データ長HLに初期設定れる(152)。次に、レ
ジスタR1の示すアドレスに記憶されたデータがレジス
タR2の示すアドレスに転送され(152)、レジスタ
R1の示すアドレス以降の文書データが前方にシフトさ
れ文書データは整理される(156)。そして、転送デ
ータ数を管理するレジスタR3は1減算され(158)
、その値が0でなければ、レジスタR1、R2は共に1
だけ更新され、次のデータの転送元と転送先のアドレス
が設定される(162)。 かかる処理が範囲指定データ数HLだけ繰り返し行われ
ることにより、文書領域の文書データから範囲指定デー
タが削除されるとともに、範囲指定データは保存領域に
保存される。その後、保存領域にデータが設定されたこ
とを示すためフラグFLGが1に設定される。記憶装置
の占有率は、DBLETH処理の前後で変化することが
なく、如何なる長さの範囲指定であっても、上記の処理
を実行することができる。 (4)保存領域に保存されているデータの文書挿入上記
のDELETE処理、その他移動、複写等の処理時に、
範囲指定データは保存領域に保存されるのであるが、か
かるデータは同一文書または他の文書中に挿入すること
が出来る。その処理を指令するために、PASTEキー
が設けられている。PASTEキー信号が受信されると
、ステップ114の判断がYESとなり、ステップ17
0以下の処理が実行される。保存領域にデータが保存さ
れているかがフラグFLGにより判定され(170)、
保存されている場合には、そのデータは文書領域の指定
されたアドレスに挿入される。データを転送し挿入する
方法は、ステップ150〜162の処理と同様である。 かかるデータの挿入処理では、処理後は文書データが増
加するため、ステップ120へ移行し、増加されたデー
タのため保存領域のデータが破壊されたかが判定される
。即ち、データ挿入処理後のEXTアドレスARが保存
領域先頭アドレス以降以上となると、フラグFLGが0
に設定され、保存領域は文書領域に解放される。以後、
範囲指定データが新たに保存されるまで、RAM2は文
書領域としてのみ使用され、その残部が保存領域として
使用し得る状態となる。 (5)文書データの保存 RA M 2の文書領域に作成された文書データは、R
A S+ 1の所定の領域に転送されて内部保存される
。その処理を指令するキーとしてENDキーが設けられ
ている。ENDキー信号が受信されると、ステップ11
6の判定がYESとなり、ステップ180以下の処理が
実行される。まず、文書領域に作成された文書データは
、人出力バッファ14を介してRA M 1の所定の領
域に転送される(180)。次に、範囲指定が存在する
時、即ち範囲指定データ長HLが0でない時は、範囲指
定データが保存領域に保存され、保存領域先頭アドレス
DSが設定され保存領域が設定されたことを示すフラグ
FLGが1に設定される(184)。その後、ステップ
102へ移行して、メニュー表示が行われ、次の作業項
目が選択されることになる。 ここで、作成済の内部文書の較正処理が選択されると、
ステップ190で、該当する文書データがRAM 1か
らRA M 2の文書領域に転送される。 かかる転送処理により、既に設定されている保存領域の
データを破壊する恐れがあるため、その判話がステップ
120て行わ九る。保存・項;、メ先エアドレスDSが
転送された文書データのL T’ :<アドレスARよ
り大きいiyは、保存領域の破壊)は行われていないの
で、フラグFLGO位は1を保持した状態でステップ1
08以下の処理が実行されることになる。このため、新
たに文書領域に転送された文書データ中に保存領域中に
保存されているデータを挿入することが可能となる。即
ち、文書間の複写が可能となる。 以上述べたように、本実施例では、記憶装置の末端から
逆方向に保存すべき範囲指定データ長に応じ、かつ、範
囲指定データの保存時にのみ可変長の範囲指定データ保
存領域が設定され、文書領域の文書データ長が保存領域
より長くなると、その保存領域は文書領域さして騨放さ
れる。そして、文書領域の残部には、その時の残部に記
f、Δし得るデータ長以下の範囲指定データ保存領域を
新:たに設定することが出来る。この様にして、範囲擲
定データ保存の機能を可能な限り具備した状態で、作成
し得る文書データの長さをRA M 2の容量まで拡大
することが出来る。
The present invention will be described below based on specific examples. FIG. 1 is a block diagram showing the basic structure of a word processor according to a specific embodiment of the present invention. As processing devices, CPU L, CPU 2, and ROM 1 that stores programs for instructing their processing procedures,
A ROM2 is provided. The CPU 1 includes a data bus, an address bus, and a control bus (in the figure, the reference numeral 12 is
It is shown in ) is connected to the bus 12, and an interface 4 is connected to the bus 12, to which a keyboard 5 for outputting character symbol codes and control codes is connected. Similarly, a printer 9 for printing documents is connected to the bus 12 via a printer drive device 8, and a disk drive device for storing document data on a floppy disk 11, which is an external recording medium. 10 are connected. The bus 12 also has a battery-backed RAM for internally storing created document data.
1 is connected. On the other hand, a bus 13 is connected to the CPU 2, a screen driver 6 is connected to the bus 13, and a display 7 for displaying input document data is connected thereto. Further, connected to the bus 13 is a battery-backed RAM 2 in which a document area for temporarily storing document data for editing a document on the screen is formed. The CPU 1 performs key manual control, file management, disk control, printing control, etc., and the CPU 2 performs display control of the display 7, document screen collection control, etc. In order to exchange data between the CPU 1 system and the CPU 2 system, an input/output buffer 14 is connected to each bus 12.13, and the input/output buffer 14 can be accessed from both sides. . 2 and 3 are flowcharts showing the processing procedure ln of the CPU 2 related to the present invention, and FIG.
The present invention will be described in detail with reference to FIG. First, as an initial setting, there is a state indicating whether or not the specified range of document data is saved without being destroyed in the range specified data storage area (hereinafter simply referred to as the "save area"), that is, the storage area is A flag FLG that stores the state indicating whether or not it is set is set to 0 indicating an unset state, and the storage area start address DS is set to the maximum address MX that can be stored. Since they are not set in the initial state at the time of input, tfi and specified data length HL are set to 0.Next, in order to select a work item, a menu displaying the work contents is displayed on the display 7 ( 102) Next, the operator looks at the displayed menu and selects the necessary work item.
Press the specified key. When a key is pressed, a code is output from the keyboard 5, and the code is read by the CPU 1 and output to the input/output buffer 14. Therefore, the CPU 2 detects the full state of the human output buffer 14 and receives the key signal corresponding to the pressed key (
104). Next, a key signal is determined (<106), and in the case of creating a new document, processes such as inputting and editing document data from step 108 onwards are executed. If a new document is not being created, the document data selectively designated from RAM 1 where the created document data is internally stored via the traffic buffer 14 is transferred to the document@ area of RAM 2 (190). , through the processes of steps 120 and 122, which will be described later, the processes of step 108 and subsequent steps are executed. In step 108, a key signal corresponding to the next key to be pressed is received, and the key signal determination processing in steps 110 to 118 is executed. (1) When inputting document data such as character symbols, etc. If a key signal corresponding to the character symbol key is received, step 1
At 18, the corresponding characters and symbols are displayed on the display 7, and the data is stored at a predetermined address in the sentence G area. Then, the final address (hereinafter referred to as "ETX address") AR of the created document data is compared with the storage area start address DS, and if the ET,X address AR is greater than or equal to the storage area start address DS, the data in the storage area is , it has been destroyed by the created document data, so that data is no longer usable. Therefore, the flag FLG is set to O (122) to memorize such a state. The process then proceeds to step 108, where the next key signal is received, and if it is a character/symbol key, the above-described processing is performed and document data is created sequentially. When the amount of document data increases and exceeds the storage area, the storage area is released to the text@ area, and eventually the document data can be stored up to the final address \IX. (2) In the case of range specification By specifying an arbitrary range on the screen of the display 7, the corresponding range of document data can be specified. Hereinafter, this will be referred to as range specification, and the document data for which the range has been specified will be referred to as range specification data. A BLOCK key is provided as a key for specifying such a range. When the BLOCK key signal is received, the determination in step 110 becomes YES, the range OIl designation mode is set (130), and a key signal input waiting state is entered (132).
. When a key is input, the key signal is determined (134
, 140), in the case of a cursor movement key signal, the cursor is moved according to the pressing time of the key, and the movement range of the cursor is displayed in reverse (132 to 13).
8). Cursor movement key input stops, then BLOC
When the K key signal is received, steps 134 and 140 are executed, the range specification data is canceled, and the range specification start address H3 and its data length HL are stored (142).
. Then, the process returns to step 108 to wait for reception of the next key signal. Further, during the range specification mode, error processing is provided in step 144 so that keys other than the cursor key and the BLOCK key are disabled. In this way, range specification is completed. (3) The document data deletion range specification data is deleted from the document area and is also saved in the storage area. DEL to command the process.
An ETE key is provided on the keyboard 5. DEL
When the ETE key signal is received, the determination in step 112 becomes YES, and steps 150 and subsequent steps are executed. First, the storage area start address DS is the range specified data length H
It is calculated from L and the final address MX (150). Next, register R1, which specifies the address of the document data to be deleted, is initialized to the range specified start address H3, and register R2, which specifies the address of the storage area where the data is to be stored, is initialized to the storage area start address DS. ,
A register R3 that manages the number of data to be deleted and saved is initialized to the range specified data length HL (152). Next, the data stored at the address indicated by register R1 is transferred to the address indicated by register R2 (152), and the document data after the address indicated by register R1 is shifted forward and the document data is organized (156). Then, register R3 that manages the number of transferred data is subtracted by 1 (158).
, if the value is not 0, registers R1 and R2 are both 1
is updated, and the transfer source and transfer destination addresses of the next data are set (162). By repeating this process by the number HL of range designation data, the range designation data is deleted from the document data in the document area, and the range designation data is saved in the storage area. Thereafter, a flag FLG is set to 1 to indicate that data has been set in the storage area. The occupancy rate of the storage device does not change before and after the DBLETH process, and the above process can be executed no matter how long the range is specified. (4) Document insertion of data saved in the storage area During the above DELETE processing, other moving, copying, etc. processing,
Although range specification data is saved in a storage area, such data can be inserted into the same document or other documents. A PASTE key is provided to command the process. When the PASTE key signal is received, the determination in step 114 becomes YES, and step 17
0 or less processing is executed. It is determined by the flag FLG whether data is stored in the storage area (170);
If saved, the data is inserted into the document area at the specified address. The method of transferring and inserting data is similar to the processing of steps 150-162. In this data insertion process, since the document data increases after the process, the process moves to step 120, and it is determined whether the data in the storage area has been destroyed due to the increased data. That is, when the EXT address AR after data insertion processing is equal to or higher than the storage area start address, the flag FLG becomes 0.
, and the storage area is released to the document area. From then on,
Until new range specification data is saved, the RAM 2 is used only as a document area, and the rest of the RAM 2 can be used as a storage area. (5) Document data storage RAM The document data created in the document area of M2 is
The data is transferred to a predetermined area of AS+1 and stored internally. An END key is provided as a key for instructing this process. When the END key signal is received, step 11
The determination in step 6 is YES, and the processes from step 180 onwards are executed. First, the document data created in the document area is transferred to a predetermined area of RAM 1 via the human output buffer 14 (180). Next, when a range specification exists, that is, when the range specification data length HL is not 0, the range specification data is saved in the storage area, the storage area start address DS is set, and a flag indicating that the storage area is set is set. FLG is set to 1 (184). Thereafter, the process moves to step 102, a menu is displayed, and the next work item is selected. Here, if the calibration process for the internal document that has already been created is selected,
At step 190, the corresponding document data is transferred from RAM 1 to the document area of RAM 2. Since such transfer processing may destroy the data in the storage area that has already been set, this interpretation is carried out in step 120. The document data L T' to which the destination air address DS was transferred: <iy larger than the address AR means destruction of the storage area) has not been performed, so the flag FLGO remains at 1. Step 1
Processes from 08 onwards will be executed. Therefore, it is possible to insert data stored in the storage area into document data newly transferred to the document area. That is, it becomes possible to copy between documents. As described above, in this embodiment, a variable-length range specification data storage area is set according to the length of range specification data to be saved in the reverse direction from the end of the storage device, and only when saving range specification data. When the document data length of the document area is longer than the storage area, the storage area is anchored to the document area. Then, in the remaining part of the document area, it is possible to newly set a range specified data storage area having a data length that is less than or equal to the data length that can be written in the remaining part at that time. In this way, the length of document data that can be created can be expanded to the capacity of RAM 2, while providing as much of the range determination data storage function as possible.

【発明の効果】【Effect of the invention】

本発明は、文書データを記憶する文書領域の残容量が所
定量より少なくなると、範囲指定データ保存領域を文書
領域に解放することを特徴としている。 したがって、艷憶装置の有効利用が実現出来、記憶装置
全体の容量を増加させることなく、作成し得る文書量を
増大させることが可能となった。
The present invention is characterized in that when the remaining capacity of the document area for storing document data becomes less than a predetermined amount, the range specification data storage area is released to the document area. Therefore, the storage device can be used effectively, and the amount of documents that can be created can be increased without increasing the overall capacity of the storage device.

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

第1図は、本発明の実施例に係るワードプロセッサの構
成を示したブロックダイヤグラム、第2図、第3図は、
それぞれ、同実施例装置で使用されたCPUの処理手順
のうち本発明に関係する部分を示したフローチャート、
第4図は、同実施例装置に使用されたRAM2に形成さ
れた文書領域と保存領域との関係を示した説明図である
。 特許出願人   ブラザー工業株式会社代 理 人  
弁理士 藤谷 修 第1図 手続補正書く自発〉 昭和62年7月73日
FIG. 1 is a block diagram showing the configuration of a word processor according to an embodiment of the present invention, and FIGS. 2 and 3 are
Flowcharts showing parts related to the present invention among the processing procedures of the CPU used in the same embodiment device, respectively;
FIG. 4 is an explanatory diagram showing the relationship between the document area and the storage area formed in the RAM 2 used in the device of the embodiment. Patent applicant Agent: Brother Industries, Ltd.
Patent attorney Osamu Fujitani volunteered to write amendments to Figure 1 procedures> July 73, 1986

Claims (1)

【特許請求の範囲】 文字記号コード、制御コードを入力するキーボードと、
文字記号データを表示する表示画面と、入力された文字
記号コードを処理して文書データを作成し前記表示画面
に表示する処理装置と、前記処理装置により作成された
文書データを記憶する文書領域を有する記憶装置とから
なるワードプロセッサにおいて、 前記記憶装置に、文書データの内最新の範囲指定された
文書データを保存する範囲指定データ保存領域を設け、 前記処理装置に、 前記文書領域に記憶され得る文書データの残容量を検出
する残容量検出部と 前記残容量検出部により検出された前記残容量が所定量
より少なくなった時は、前記範囲指定データ保存領域を
、前記文書領域として解放する記憶領域制御部と、 を備えたことを特徴とするワードプロセッサ。
[Claims] A keyboard for inputting character symbol codes and control codes;
A display screen for displaying character symbol data, a processing device for processing input character symbol codes to create document data and displaying it on the display screen, and a document area for storing the document data created by the processing device. a word processor comprising: a storage device having: the storage device provided with a range specification data storage area for saving document data with the latest range specified among the document data; A remaining capacity detection unit that detects the remaining capacity of data, and when the remaining capacity detected by the remaining capacity detection unit becomes less than a predetermined amount, the range specified data storage area is released as the document area. A word processor comprising: a control unit;
JP61167372A 1986-07-15 1986-07-15 Word processor Pending JPS6320676A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61167372A JPS6320676A (en) 1986-07-15 1986-07-15 Word processor
GB8716617A GB2192740B (en) 1986-07-15 1987-07-15 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61167372A JPS6320676A (en) 1986-07-15 1986-07-15 Word processor

Publications (1)

Publication Number Publication Date
JPS6320676A true JPS6320676A (en) 1988-01-28

Family

ID=15848491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61167372A Pending JPS6320676A (en) 1986-07-15 1986-07-15 Word processor

Country Status (2)

Country Link
JP (1) JPS6320676A (en)
GB (1) GB2192740B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0377466B1 (en) * 1982-02-11 2000-03-08 Texas Instruments Incorporated Microcomputer system for digital signal processing
US4649471A (en) * 1983-03-01 1987-03-10 Thomson Components-Mostek Corporation Address-controlled automatic bus arbitration and address modification
US4545010A (en) * 1983-03-31 1985-10-01 Honeywell Information Systems Inc. Memory identification apparatus and method
US4722065A (en) * 1984-03-30 1988-01-26 Casio Computer Co., Ltd. Electronically programmable calculator with memory package
GB2174517B (en) * 1985-03-23 1990-01-10 Burr Brown Ltd Apparatus and method for utilizing an auxiliary data memory unit in a data processing system having separate program and data memory units

Also Published As

Publication number Publication date
GB2192740A (en) 1988-01-20
GB8716617D0 (en) 1987-08-19
GB2192740B (en) 1990-06-20

Similar Documents

Publication Publication Date Title
EP1168152B1 (en) Printer control system with copier type document handling
JPS6320676A (en) Word processor
JPH0117184B2 (en)
JPS6026235B2 (en) How to protect diagram data
JPH05224846A (en) Printing and recording device
JPH0572270B2 (en)
JP3009932B2 (en) Document processing apparatus and document processing method
JPH07152617A (en) Character processor
JPS6367215B2 (en)
JP3411350B2 (en) Outline character expansion device
JP2977256B2 (en) Document creation device
JPH08118739A (en) Print output device
JPS6048077A (en) Document information memory control system
JPH06236369A (en) Word processor and replacing method for page
JPH0831097B2 (en) Document input processor
JPH09245032A (en) Document preparation device and page replacing method
JPH04171574A (en) Document processor
JPH05274307A (en) Device and method for preparing document
JPH08305702A (en) Method and device for processing document
JPH0619652A (en) Memory controller for printing
JPH0512263A (en) Document generation device
JPH0680508B2 (en) Character processor
JPS60221865A (en) Document processor
JPH04282755A (en) Word processor
JPH07319745A (en) File length reduction processor