JPH0658628B2 - Program editing device - Google Patents
Program editing deviceInfo
- Publication number
- JPH0658628B2 JPH0658628B2 JP62129095A JP12909587A JPH0658628B2 JP H0658628 B2 JPH0658628 B2 JP H0658628B2 JP 62129095 A JP62129095 A JP 62129095A JP 12909587 A JP12909587 A JP 12909587A JP H0658628 B2 JPH0658628 B2 JP H0658628B2
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- program
- edited
- editing
- mark
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】 (発明の技術分野) 本発明は、主記憶装置の記憶容量よりも大きな被編集プ
ログラムを編集するプログラム編集装置に関する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a program editing device for editing a program to be edited having a storage capacity larger than that of a main storage device.
(技術的背景と解決すべき問題点) 不揮発性の補助記憶装置を有し、主記憶装置の記憶容量
よりも大きな被編集プログラムを編集修正する場合、補
助記憶装置内の被編集プログラムの一部(編集修正部)
を主記憶装置に転写し、編集修正後に補助記憶装置に戻
すようにしている。この補助記憶装置と主記憶装置との
間の被編集プログラムの一部のデータ転写及び戻しは、
主記憶装置の容量,被編集プログラムの修正個所により
自動的に行なわれ、オペレータは通常全く関知していな
い。つまりオペレータは、複数箇所有る修正済部のどこ
までが補助記憶装置内の被編集プログラムに戻されてい
るかを知ることができない。編集終了によって、全ての
修正済部が補助記憶装置内の被編集プログラムに自動的
に戻されるからである。(Technical background and problems to be solved) When an edit program having a non-volatile auxiliary storage device and having a larger storage capacity than the main storage device is edited and corrected, a part of the edit program in the auxiliary storage device (Editing and correction department)
Is transferred to the main storage device and is returned to the auxiliary storage device after editing and correction. Data transfer and return of a part of the edited program between the auxiliary storage device and the main storage device
This is done automatically depending on the capacity of the main memory and the modification point of the program to be edited, and the operator usually has no concern. In other words, the operator cannot know how much of the corrected portion in a plurality of places is returned to the edited program in the auxiliary storage device. This is because all the modified parts are automatically returned to the edited program in the auxiliary storage device when the editing is completed.
ここにおいて、編集中に外的要因によって電源断となっ
た場合、修正済部のどの個所が補助記憶装置内の被編集
プログラムに戻されており、どの個所が戻されていない
かを知るために、オペレータは補助記憶装置内の被編集
プログラムの全てを確認しなければならず非常に不便で
あり煩雑でもあった。In this case, if the power is cut off due to an external factor during editing, in order to know which part of the corrected part has been returned to the edited program in the auxiliary storage device and which part has not been returned. The operator has to check all the edited programs in the auxiliary storage device, which is very inconvenient and complicated.
(発明の目的) 本発明は上述のような事情よりなされたものであり、本
発明の目的は、主記憶装置の記憶容量よりも大きな被編
集プログラムの編集中に電源断となった場合にも、被編
集プログラム中に記録されているマークを探索すること
によって、編集中のプログラムのどの範囲が、被編集プ
ログラムへセーブされていない部分であるかを見出せる
ようにし、プログラムの再編集を短時間で行なうことが
できるプログラム編集装置を提供することにある。(Object of the Invention) The present invention has been made under the circumstances as described above, and an object of the present invention is to provide a method even when the power is cut off during the editing of a program to be edited which has a larger storage capacity than the main storage device. By searching for the mark recorded in the program to be edited, it is possible to find out what range of the program being edited is the part that is not saved in the program to be edited, and to re-edit the program in a short time. It is to provide a program editing device that can be performed in.
(問題点を解決するための手段) 本発明の上記目的は、不揮発性の補助記憶装置と、主記
憶装置と、編集制御部と、表示装置と、入力装置とを有
し、前記主記憶装置の記憶容量よりも大きな被編集プロ
グラムを編集修正する場合、前記被編集プログラムの編
集修正部を前記補助記憶装置から前記主記憶装置へ転写
し、編集修正後に前記補助記憶装置へ戻すようになって
いるプログラム編集装置において、前記編集修正部の前
記主記憶装置への転写時に前記編集修正部の先頭箇所を
示すマーク(スタートマーク)及び末尾箇所を示すマー
ク(エンドマーク)を前記補助記憶装置上の被編集プロ
グラムの該当部分にそれぞれ書込み、前記補助記憶装置
へ戻す時に前記マークを消去するマーク書込/消去装置
と、前記マークを探索するマーク探索装置とを設けるこ
とによって達成される。(Means for Solving Problems) The above object of the present invention has a non-volatile auxiliary storage device, a main storage device, an edit control unit, a display device, and an input device, and the main storage device When editing and modifying a program to be edited having a larger storage capacity, the editing and modifying section of the program to be edited is transferred from the auxiliary storage device to the main memory device and is returned to the auxiliary storage device after editing and modifying. In the program editing device, a mark (start mark) indicating the beginning portion and a mark (end mark) indicating the ending portion of the editing / modifying portion are transferred on the auxiliary storage device when the editing / modifying portion is transferred to the main storage device. A mark writing / erasing device for writing the corresponding portion of the program to be edited and erasing the mark when returning to the auxiliary storage device, and a mark searching device for searching the mark. It is achieved by providing a device.
(発明の作用) 補助記憶装置から主記憶装置に被編集プログラムのどの
部分が転写されているかを示すマークを補助記憶装置内
の被編集プログラム中に記録することで、編集中に外的
要因により電源断となった場合、オペレータにこのマー
クの位置より補助記憶装置内の被編集プログラムのどの
部分が未セーブ状態のままであるかを知らせることがで
きる。(Operation of the Invention) By recording in the edited program in the auxiliary storage device a mark indicating which part of the edited program is transferred from the auxiliary storage device to the main storage device, an external factor may be applied during editing. When the power is cut off, the operator can be informed of which part of the edited program in the auxiliary storage device remains in the unsaved state from the position of this mark.
(発明の実施例) 第1図は本発明のプログラム編集装置の構成例を示すブ
ロック図であり、編集開始時、編集制御部1は不揮発性
の補助記憶装置2より被編集プログラム3の一部(たと
えば領域3A)を、主記憶装置4へ斜線部4Aの如く転写
する。被編集プログラム3の容量は主記憶装置4の記憶
容量よりも大きく、被編集プログラム3の斜線領域3A
は、補助記憶装置2から編集修正のために、主記憶装置
4へ転写された部分を示していいる。主記憶装置4に転
写された被編集プログラム3の一部4Aの内容は、CRT等
の表示装置5に表示制御回路(図示せず)を介して表示
される。オペレータは、表示装置5の表示をみて修正個
所を確認し、キーボード,マウス等の入力装置6よりプ
ログラムの修正データを入力する。これと共に、編集制
御部1は入力装置6よりの修正個所探索信号により、補
助記憶装置2と主記憶装置4との間での被編集プログラ
ム3のデータの転写,戻しを実行する。そして、マーク
書込/消去装置7は主記憶装置4上に被編集プログラム
3のどの部分が転写されているかを自動的に確認し、補
助記憶装置2上の被編集プログラム3の該当部分にスタ
ートマーク8(“<”),エンドマーク9(“>”)の
書込及び消去を行なう。すなわち、第1図中のマーク8
“<”及びマーク9“>”により示される斜線領域3A
が、補助記憶装置2より主記憶装置4へ転写された編集
プログラム部分を示している。(Embodiment of the Invention) FIG. 1 is a block diagram showing a configuration example of a program editing apparatus of the present invention. At the start of editing, the editing control unit 1 stores a part of a program 3 to be edited from a non-volatile auxiliary storage device 2. (For example, the area 3A) is transferred to the main storage device 4 as indicated by the shaded area 4A. The capacity of the edited program 3 is larger than the storage capacity of the main storage device 4, and the shaded area 3A of the edited program 3
Indicates a portion transferred from the auxiliary storage device 2 to the main storage device 4 for editing and correction. The contents of the part 4A of the program to be edited 3 transferred to the main storage device 4 are displayed on the display device 5 such as a CRT via a display control circuit (not shown). The operator sees the display on the display device 5 to confirm the correction point and inputs the correction data of the program from the input device 6 such as a keyboard and a mouse. At the same time, the edit control unit 1 executes the transfer and the return of the data of the edited program 3 between the auxiliary storage device 2 and the main storage device 4 by the correction point search signal from the input device 6. Then, the mark writing / erasing device 7 automatically confirms which part of the edited program 3 is transferred onto the main storage device 4, and starts to the corresponding part of the edited program 3 on the auxiliary storage device 2. The mark 8 (“<”) and the end mark 9 (“>”) are written and erased. That is, the mark 8 in FIG.
Hatched area 3A indicated by "<" and mark 9 ">"
Shows the edit program portion transferred from the auxiliary storage device 2 to the main storage device 4.
以上のような構成で、被編集プログラム3の編集中に外
的要因にて電源断となった場合、電源再投入後、被編集
プログラム3内のマーク8,9をマーク探索装置10で
探索し、マーク8,9で示される範囲の修正確認を行う
だけで良く、大容量プログラム編集中における電源断後
においても、プログラムの再編集を短時間で行なうこと
ができる。With the above configuration, when the power is cut off due to an external factor while editing the program to be edited 3, the marks 8 and 9 in the program to be edited 3 are searched by the mark search device 10 after the power is turned on again. It is only necessary to confirm the correction in the range indicated by the marks 8 and 9, and it is possible to re-edit the program in a short time even after the power is turned off during the editing of the large capacity program.
以下第2図,第3図に示すフローチャートを参照して本
発明装置の動作を説明する。The operation of the device of the present invention will be described below with reference to the flow charts shown in FIGS.
第2図の編集の開始により、補助記憶装置2から主記憶
装置4へ被編集プログラム3の修正部3Aを転写する(ス
テップS1)。このプログラム転写は編集制御部1によっ
て行なわれ、転写された内容は表示装置5に表示され
る。主記憶装置4へ転写された被編集プログラム3の領
域はマーク書込/消去装置7によって確認され、マーク
書込/消去装置7は主記憶装置4へ転写された範囲3Aを
示すマーク8,9を被編集プログラム3へ書込む(ステ
ップS2)。続いて、オペレータは表示装置5の表示内容
を見ながら入力装置6によって被編集プログラム3の編
集修正を行ない(ステップS3)。この編集修正がOKで編
集終了の場合(ステップS4)。又は主記憶装置4上に転
写されている範囲4A以外の被編集プログラム3が必要な
場合(ステップS5)は、マーク8及び9はを被編集プロ
グラム3から消去するステップS6へ進み、マーク書込/
消去装置7によって補助記憶装置2の編集修正済の領域
3Aのマーク8及び9の消去を行なう。次に、編集制御部
1は主記憶装置4から補助記憶装置2へ被編集プログラ
ム3の修正完了部(4A)を戻し(ステップS7)、その後
に再度編集終了かを確認し(ステップS8)、編集終了で
ない時は、上記ステップS1にリターンして再び同様な編
集の修正処理を行なう。上記ステップS8において編集終
了の場合は編集完了となる。When the editing shown in FIG. 2 is started, the correction section 3A of the program to be edited 3 is transferred from the auxiliary storage device 2 to the main storage device 4 (step S1). This program transfer is performed by the edit control unit 1, and the transferred content is displayed on the display device 5. The area of the program to be edited 3 transferred to the main memory 4 is confirmed by the mark writing / erasing device 7, and the mark writing / erasing device 7 marks 8, 9 indicating the range 3A transferred to the main memory 4. Is written in the edited program 3 (step S2). Subsequently, the operator edits and corrects the program to be edited 3 by using the input device 6 while looking at the display contents of the display device 5 (step S3). If this editing correction is OK and editing is completed (step S4). Alternatively, if the edited program 3 other than the range 4A transferred to the main memory 4 is required (step S5), the marks 8 and 9 are erased from the edited program 3, and the process proceeds to step S6 to write the mark. /
Area that has been edited and corrected in the auxiliary storage device 2 by the erasing device 7.
The marks 8 and 9 of 3A are erased. Next, the edit control unit 1 returns the correction completion unit (4A) of the program to be edited 3 from the main storage device 4 to the auxiliary storage device 2 (step S7), and then confirms whether the editing is finished again (step S8), If the editing is not completed, the process returns to step S1 and the same editing correction process is performed again. When the editing is completed in step S8, the editing is completed.
以上の編集処理中のステップS3,ステップS4及びステッ
プS5の実行中に外的要因によって不意に電源断となった
場合、不揮発性の補助記憶装置2内のマーク8及び9
は、被編集プログラム3内に書込まれたままの状態とな
っている。そこで、第3図のフローのように電源再投入
後、マーク探索装置10にて被編集プログラム3に記録
されている前記マーク8“<”を探索し(ステップS1
0)、マーク9“>”が出現するまで被編集プログラム
3の編集修正を行ない(ステップS11,S12)、被編集プ
ログラム3の再編集完了となる。When the power is suddenly turned off by an external factor during the execution of steps S3, S4, and S5 during the above-described editing process, the marks 8 and 9 in the non-volatile auxiliary storage device 2
Is still written in the edited program 3. Then, as shown in the flow of FIG. 3, after the power is turned on again, the mark search device 10 searches for the mark 8 “<” recorded in the program 3 to be edited (step S1.
0), the edited program 3 is edited and corrected until the mark 9 “>” appears (steps S11 and S12), and the re-edited program 3 is completed.
なお、上述ではマークとして“>”,“<”を示した
が、マークの種類は任意のものを使用可能である。Although “>” and “<” are shown as marks in the above description, any kind of mark can be used.
(発明の効果) 以上のように本発明は、補助記憶装置2から主記憶装置
4に被編集プログラム3のどの部が転写されているかを
示すマーク8,9を補助記憶装置2内の被編集プログラ
ム3に記録するため、大容量プログラムの編集中に外的
要因によって不意に電源断が発生した場合にも、オペレ
ータはマーク8,9の示す範囲の主記憶装置4に残され
た部分のプログラムを確認し編集修正するだけでよく、
被編集プログラム3の再編集を短時間で行なうことがで
きる。(Effects of the Invention) As described above, according to the present invention, the marks 8 and 9 indicating which part of the edited program 3 is transferred from the auxiliary storage device 2 to the main storage device 4 are marked in the auxiliary storage device 2 with the marks 8 and 9. Since the data is recorded in the program 3, even if the power is suddenly cut off due to an external factor during the editing of the large-capacity program, the operator can program the part of the program left in the main memory 4 within the range indicated by the marks 8 and 9. Check, edit and correct,
It is possible to reedit the edited program 3 in a short time.
第1図は本発明のプログラム編集装置の構成例を示すブ
ロック図、第2図及び第3図は本発明装置の動作例を示
すフローチャートである。 1……編集制御部、2……補助記憶装置、3……被編集
プログラム、4……主記憶装置、5……表示装置、6…
…入力装置、7……マーク書込/消去装置、10……マ
ーク探索装置。FIG. 1 is a block diagram showing a configuration example of a program editing apparatus of the present invention, and FIGS. 2 and 3 are flowcharts showing an operation example of the apparatus of the present invention. 1 ... Edit control unit, 2 ... Auxiliary storage device, 3 ... Edited program, 4 ... Main storage device, 5 ... Display device, 6 ...
Input device, 7 mark writing / erasing device, 10 mark searching device.
Claims (1)
と、編集制御部と、表示装置と、入力装置とを有し、前
記主記憶装置の記憶容量よりも大きな被編集プログラム
を編集修正する場合、前記被編集プログラムの編集修正
部を前記補助記憶装置から前記主記憶装置へ転写し、編
集修正後に前記補助記憶装置へ戻すようになっているプ
ログラム編集装置において、前記編集修正部の前記主記
憶装置への転写時に前記編集修正部の先頭箇所を示すマ
ーク及び末尾箇所を示すマークを前記補助記憶装置上の
被編集プログラムの該当部分にそれぞれ書込み、前記補
助記憶装置へ戻す時に前記マークを消去するマーク書込
/消去装置と、前記マークを探索するマーク探索装置と
を設けたことを特徴とするプログラム編集装置。1. A non-volatile auxiliary storage device, a main storage device, an edit control unit, a display device, and an input device, and edits and modifies an edited program having a storage capacity larger than that of the main storage device. In this case, in the program editing device adapted to transfer the editing / modifying unit of the program to be edited from the auxiliary storage device to the main storage device and return it to the auxiliary storage device after editing / correcting, At the time of transfer to the main storage device, a mark indicating the beginning portion and a mark indicating the end portion of the editing / correcting unit are respectively written in corresponding portions of the program to be edited on the auxiliary storage device, and the mark is returned when returning to the auxiliary storage device. A program editing device comprising a mark writing / erasing device for erasing and a mark searching device for searching for the mark.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62129095A JPH0658628B2 (en) | 1987-05-26 | 1987-05-26 | Program editing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62129095A JPH0658628B2 (en) | 1987-05-26 | 1987-05-26 | Program editing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63292328A JPS63292328A (en) | 1988-11-29 |
| JPH0658628B2 true JPH0658628B2 (en) | 1994-08-03 |
Family
ID=15000950
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62129095A Expired - Lifetime JPH0658628B2 (en) | 1987-05-26 | 1987-05-26 | Program editing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0658628B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5714961A (en) * | 1980-06-30 | 1982-01-26 | Nec Corp | File control system |
| JPS5830604B2 (en) * | 1980-09-30 | 1983-06-30 | 富士通株式会社 | External storage control method for document creation device |
| JPS58195959A (en) * | 1982-05-11 | 1983-11-15 | Fujitsu Ltd | Editing method |
| JPS59226928A (en) * | 1983-06-07 | 1984-12-20 | Photo Composing Mach Mfg Co Ltd | External storage control system of documentation device |
-
1987
- 1987-05-26 JP JP62129095A patent/JPH0658628B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63292328A (en) | 1988-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2995030B2 (en) | Computer system and program and data correction method in computer system | |
| JPH0658628B2 (en) | Program editing device | |
| JPH08137837A (en) | Document processing method and apparatus | |
| EP1434227B1 (en) | Data storage and reproduction apparatus storing and reproducing multimedia data | |
| EP0432759A1 (en) | Data recording method, end search method and connection recording method | |
| JP2878579B2 (en) | Magnetic recording / reproducing device | |
| KR0186214B1 (en) | Program editing control device and method | |
| JPH05298196A (en) | Memory data editing method | |
| KR0135866B1 (en) | Image signal deletion and editing device and method | |
| JPH0373009B2 (en) | ||
| KR830002640B1 (en) | How to Rewrite Data in Nonvolatile Memory | |
| JPH05189223A (en) | Automatic collection system for program editing information | |
| EP0554043A2 (en) | Editing system | |
| JP3476851B2 (en) | Audio information editing device | |
| JPH02103626A (en) | Multiple file displaying editor | |
| JPH0690864B2 (en) | Digital audio tape recorder | |
| JPH06243182A (en) | CAD system drawing editing management device | |
| JPH0265225U (en) | ||
| JPH0334178A (en) | Time series data editing system | |
| JPS63195702A (en) | How to edit industrial robot programs | |
| JPS5849898B2 (en) | Sequence controller monitor device | |
| JPH0557667B2 (en) | ||
| JPH0422464Y2 (en) | ||
| KR940004622A (en) | VRT data management circuit | |
| JPH09204761A (en) | Editing device |