JPS62107353A - Write protecting system for floppy disk - Google Patents

Write protecting system for floppy disk

Info

Publication number
JPS62107353A
JPS62107353A JP60247512A JP24751285A JPS62107353A JP S62107353 A JPS62107353 A JP S62107353A JP 60247512 A JP60247512 A JP 60247512A JP 24751285 A JP24751285 A JP 24751285A JP S62107353 A JPS62107353 A JP S62107353A
Authority
JP
Japan
Prior art keywords
write protection
floppy disk
disk
protection
data
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
JP60247512A
Other languages
Japanese (ja)
Inventor
Tatsuya Hashimoto
達哉 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP60247512A priority Critical patent/JPS62107353A/en
Publication of JPS62107353A publication Critical patent/JPS62107353A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To prevent a data from being written erroneously, by displaying a message of 'write protection set', and 'write protection release', when setting alternately a source disk (SD), and a destination disk (DD) by using a single disk drive. CONSTITUTION:In a document generating device having an FD having a mechanism which can set a write protection, a floppy disk drive (FDD) 47 for driving the FD, 37 for displaying a data, and a RAM 20, it is detected that an SD is set to the FDD, whether the write protection is set or not is decided, and in case the protection is not set yet, a message of 'protection set' is displayed. Only in case the protection set is detected, the data is stored in the RAM 20 from the SD. When a DD is set to the FDD, in case the protection set exists, 'protection release' is displayed,and the data is written.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明はフロッピーディスクの書込み保護方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a write protection system for floppy disks.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来日本語ワードプロセッサ等の文書作成装置等の中に
は外部記憶装置として単一のフロッピィディスク装置を
有したものがある。
Some conventional document creation devices such as Japanese word processors have a single floppy disk device as an external storage device.

このような装置において、ソースディスクからデスティ
ネーションディスクへコピーを行う場合、ソースディス
クに対しては、書込み保護い。しかしながら、従来は、
ソースディスクに対して書込み保護がセットされている
かどうかをチェックしていなかりたため、ンースf、イ
スクに書かれた内容をこわしてしまうという欠点がちう
た。
In such a device, when copying from a source disk to a destination disk, the source disk must be write-protected. However, conventionally,
The problem is that it doesn't check whether the source disk is write-protected or not, so it destroys the contents written on the disk.

〔発明の目的〕[Purpose of the invention]

この発明は上記欠点を除去し、単一のディスクドライブ
を用いて、ソースディスクとデスティネーションディス
クを交互にセットしても、常に最適の書込保護を行うこ
とのできるフロッピーディスクの書込み保護方式を提供
することを目的とする。
This invention eliminates the above-mentioned drawbacks and provides a floppy disk write protection method that can always provide optimal write protection even when a source disk and a destination disk are set alternately using a single disk drive. The purpose is to provide.

〔発明の概要〕[Summary of the invention]

この発明のフロッピーディスクの書込み保護方式によれ
ば、ソースディスクがフロッピーディスクドライブにセ
ットされたときに、書込み保護がセラ)−ilrれてい
なければ“書込み保護をセットして下さい。′というメ
ツセージを表示し、書込み保護がセットてれたデスティ
ネーシ・リンディスクがフロッピーディスクドライブに
セットされたときは、6書込み保護をはずして下さい。
According to the floppy disk write protection method of the present invention, when a source disk is set in a floppy disk drive, if write protection is not enabled, a message "Please set write protection." 6. When a destination link disk with write protection set is inserted into the floppy disk drive, remove the write protection.

′というメツセージを表示することにより、ソースディ
スクにデータを書込んだり、デスティネーションディス
クからf−夕を読むような誤シな回避することができる
By displaying the message ', it is possible to avoid mistakes such as writing data to the source disk or reading data from the destination disk.

〔発明の実施例〕[Embodiments of the invention]

第1図は、この発明の一実施例に係る文書作成装置、例
えば日本語ワードプロセッサのブロック構成を示す。1
0は装置全体の制御を司る中央処理装置(CPU)であ
る。12はROMであシ、装置全体を制御するプログラ
ム、外字作成・修正のためのプログラム等が格納されて
いるプログラム領域14を有する。ROM 12は、更
に、装置で扱う漢字を含む文字コードに対応した文字パ
ターンが登録された文字・ぐターン領域16、および“
仮名#あるいは“ローマ字”で入力された読みを漢字に
変換するための名種辞書が登録された辞書領域18を有
する。
FIG. 1 shows a block configuration of a document creation device, such as a Japanese word processor, according to an embodiment of the present invention. 1
0 is a central processing unit (CPU) that controls the entire device. Reference numeral 12 is a ROM, and has a program area 14 in which programs for controlling the entire device, programs for creating and modifying external characters, etc. are stored. The ROM 12 further includes a character/gutern area 16 in which character patterns corresponding to character codes including kanji handled by the device are registered, and "
It has a dictionary area 18 in which a dictionary of names for converting the reading input in kana # or "Romaji" into kanji is registered.

20はRAMであり、入力された文書の文字コード列を
記憶する文書領域や外字ツクターンを登録する外字パタ
ーン領域を有している。
Reference numeral 20 denotes a RAM, which has a document area for storing character code strings of input documents and a non-standard character pattern area for registering non-standard characters.

31はキーデートインタフェース(KB−IF)、33
Fiキーデート(KB)である。35は表示コントロー
ラ(表示CNT )、37は表示器である。表示器37
は例えば32(縦)X240(横)ドツト構成の液晶表
示器である。
31 is a key date interface (KB-IF), 33
Fi key date (KB). 35 is a display controller (display CNT), and 37 is a display device. Display 37
is, for example, a liquid crystal display with a 32 (vertical) x 240 (horizontal) dot configuration.

41はプリンタインタフェース(PRT−IF)、43
はCPU 10の制御のもとて漢字等の印字を行うプリ
ンタ(PRT)である。プリンタ43は例えば24ドツ
トの印字ヘッドを有する熱転写プリンタである。47は
例えば3.5φフロツピーデイスクドライブ、および4
5はフロッピーディスクドライジインタフエース(FD
D−IP)でるる。
41 is a printer interface (PRT-IF), 43
is a printer (PRT) that prints characters such as Chinese characters under the control of the CPU 10. The printer 43 is, for example, a thermal transfer printer having a 24-dot print head. 47 is, for example, a 3.5φ floppy disk drive, and 4
5 is the floppy disk drive interface (FD)
D-IP) Deruru.

第2図は、第1図に示したフロッピーディスクドライブ
におけるディスクコピーの制御ルーチンである。ステッ
プ51において、CPU l Oはステータスをチェッ
クし、ディスク(この場合ソースディスク)がセットて
れたことを確認する。次に、ステップ55においてディ
スク(ソースディスク)に書込み保護がセラ14れてい
るかどうかをチェックする。もし書込み保護がセットさ
れていなければ、ステップ53において、“書込み保護
をセットして下きい。′というメツセージを表示器、?
7に表示する。オイレータはこの表示に従い、3.5φ
70ッヒ−ディスクに設けられている書込み保設用のつ
めを操作する。この結果、ソースディスクに間違ってデ
ータが書込まれる恐れはない。ステップ55において書
込み保護がセットてれている場合、ステップ57にお込
てソースディスクからデータを読み、RAM 20に格
納する。次にステップ59において、デスティネーショ
ンディスクがセットでれたことをMi認する。嘔らに、
ステップ63において、デスティネーションディスクに
書込み保護がセットされているかどうかチェックする。
FIG. 2 shows a control routine for disk copying in the floppy disk drive shown in FIG. In step 51, the CPU lO checks the status and confirms that the disk (in this case the source disk) has been set. Next, in step 55, it is checked whether the disk (source disk) is write protected. If write protection has not been set, in step 53, the message ``Please set write protection.'' is displayed on the display.
Display on 7. The oilator is 3.5φ according to this indication.
70 - Operate the write retention tab provided on the disk. As a result, there is no risk of data being written to the source disk by mistake. If write protection is set in step 55, data is read from the source disk and stored in RAM 20 in step 57. Next, in step 59, Mi recognizes that the destination disc has been set. In disgust,
In step 63, it is checked whether write protection is set on the destination disk.

書込み保護がセットされている場合には、ステラf61
において″′薔込みNfiをはずして工場い。′という
メツセージを表示器37に表示する。オRレータはこの
メツセージに従って、デスティネーションディスクに設
けられている書込み保護用のつめを操作し、書込み保護
をリセットし、FDD 47に再セットする。この結果
、デスティネーションディスクは書込み可能になる。次
にステラf65においてデスティネーションディスクに
、前記RAM 20に格納されたソースディスクの内容
を曹込む。
If write protection is set, Stella f61
At this point, the message ``Remove the Nfi and go to factory.'' is displayed on the display 37.The operator operates the write-protection pawl provided on the destination disk in accordance with this message, and removes the write-protection. is reset to the FDD 47. As a result, the destination disk becomes writable.Next, the Stella f65 stores the contents of the source disk stored in the RAM 20 on the destination disk.

次にステラ7667において、コピー動作が終了したか
どうかを判断する。コピー動作が終了してなければ、ス
テップ51に戻り、上述の動作を繰返す。他方コピー動
作が終了した場合には、ステラf69においてRAMの
初期化を行い、コピールーチンの実行を終了する。
Next, in Stella 7667, it is determined whether the copy operation is completed. If the copy operation has not been completed, the process returns to step 51 and the above-described operation is repeated. On the other hand, when the copy operation is completed, the RAM is initialized in Stella f69, and the execution of the copy routine is completed.

〔発明の効果〕〔Effect of the invention〕

上述したように、この発明によれば、書込み保護を設定
できる機構を有したフロッピーディスクと、このフロッ
ピーディスクを駆動するフロッピーディスクドライブと
、データを表示する表示装置と、データを格納するメモ
リとを有した文書作成装置において、前記ソースディス
クが前記フロッピーディスクドライブにセットされたこ
とを検知し、書込み保護が設定嘔れているかどうかを判
断する第1判断手段と、前記第1判断手段により書込み
保護が設定されていないと判断された場合、書込み保護
を設定する旨のメツセージを前記表示装置に表示する手
段と、前記判断手段によシ書込み保護が設定されている
ことを検知した場合にのみ、前記ソースディスクからデ
ータを読み、前記メモリに格納する手段と、前記デステ
ィネーションディスクを前記フロッピーディスクドライ
ブにセットする旨のメツセージを前記表示装置に表示す
る手段と、前記デスティネーションディスクが前記フロ
ッピーディスクドライブにセット嘔れたことを検知し、
書込み保護が設定てれているかどうかを判断する第2判
断手段と、前記第2判断手段により書込み保幽が設定て
れていると判断てれたとき、書込み保護の設定を解除す
るメツセージを前記表示装置に表示する手段と、前記第
2判断手段により前記書込み保護の設定が旌除嘔れたこ
とを検知した場合にのみ、前記メモリに格納ちれたデー
タを前記デスティネーションディスクに書込む手段とを
備えた構成としたので、ソースディスクにデータを書込
んだシ、デスティネーションディスクからデータを読む
ような誤りを回避することができる。
As described above, according to the present invention, a floppy disk having a mechanism for setting write protection, a floppy disk drive for driving the floppy disk, a display device for displaying data, and a memory for storing data are provided. a document creation device having a first determination means for detecting that the source disk is set in the floppy disk drive and determining whether write protection is set; means for displaying a message to the effect that write protection is to be set on the display device if it is determined that write protection is not set; and only when the determination means detects that write protection is set; means for reading data from the source disk and storing it in the memory; means for displaying a message on the display device indicating that the destination disk is set in the floppy disk drive; and the destination disk is in the floppy disk drive. Set to detect vomiting,
a second determining means for determining whether write protection is set; and when the second determining means determines that write protection is set, a message for canceling the write protection setting is sent to the user. means for displaying on a display device; and means for writing the data stored in the memory onto the destination disk only when the second determining means detects that the write protection setting has been changed. With this configuration, it is possible to avoid errors such as writing data to the source disk and reading data from the destination disk.

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

第1図は本発明の一実施例を示すブロック図、第2図は
、第1図に示したフロッピーディスクドライブにおける
ディスクコピーの制御ルーチンを示すフローチャートで
ある。 10・・・CPU、J、?・・・ROM、20・・・R
AM、37・・・表示器、47・・・フロッピーディス
クドライブ。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart showing a control routine for disk copying in the floppy disk drive shown in FIG. 10...CPU, J,? ...ROM, 20...R
AM, 37... Display unit, 47... Floppy disk drive.

Claims (1)

【特許請求の範囲】 書込み保護を設定できる機構を有したソースディスク又
はデスティネーションディスクとしてのフロッピーディ
スクと、このフロッピーディスクを駆動するフロッピー
ディスクドライブと、データを表示する表示装置と、デ
ータを格納するメモリとを有した文書作成装置において
、前記ソースディスクが前記フロッピーディスクドライ
ブにセットされたことを検知し、書込み保護が設定され
ているかどうかを判断する第1判断手段と、前記第1判
断手段により、書込み保護が設定されていないと判断さ
れた場合、書込み保護を設定する旨のメッセージを前記
表示装置に表示する手段と、前記第1判断手段により書
込み保護が設定されていることを検知した場合にのみ、
前記ソースディスクからデータを読み、前記メモリに格
納する手段と、前記デスティネーションディスクを前記
フロッピーディスクドライブにセットする旨のメッセー
ジを前記表示装置に表示する手段と、前記デスティネー
ションディスクが前記フロッピーディスクドライブにセ
ットされたことを検知し、書込み保護が設定されている
かどうか判断する第2判断手段と、前記第2判断手段に
より書込み保護が設定されていると判断されたとき、書
込保護の設定を解除するメッセージを前記表示装置に表
示する手段と、前記第2判断手段により前記書込み保護
の設定が解除されたことを検知した場合にのみ、前記メ
モリに格納されたデータを前記デスティネーションディ
スクに書込む手段とを備えたことを特徴とするフロッピ
ーディスクの書込み保護方式。 2、前記ソースフロッピーディスクからデスティネーシ
ョンフロッピーディスクへのコピーは一台のフロッピー
ディスクドライブを用いて行われることを特徴とする特
許請求の範囲第1項記載のフロッピーディスクの書込み
保護方式。
[Claims] A floppy disk as a source disk or a destination disk having a mechanism for setting write protection, a floppy disk drive for driving the floppy disk, a display device for displaying data, and a display device for storing data. a document creation device having a memory, a first determining means for detecting that the source disk is set in the floppy disk drive and determining whether write protection is set; , means for displaying a message to the effect that write protection is to be set on the display device when it is determined that write protection is not set; and when the first determination means detects that write protection is set; only,
means for reading data from the source disk and storing it in the memory; means for displaying a message on the display device indicating that the destination disk is to be set in the floppy disk drive; and when the destination disk is the floppy disk drive. a second determining means for detecting that write protection is set and determining whether write protection is set; and a second determining means for determining whether write protection is set by the second determining means; means for displaying a cancellation message on the display device; and writing the data stored in the memory to the destination disk only when the second determination means detects that the write protection setting has been canceled. A write protection method for a floppy disk, characterized in that it is provided with a means for writing data into a floppy disk. 2. The floppy disk write protection system according to claim 1, wherein copying from the source floppy disk to the destination floppy disk is performed using one floppy disk drive.
JP60247512A 1985-11-05 1985-11-05 Write protecting system for floppy disk Pending JPS62107353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60247512A JPS62107353A (en) 1985-11-05 1985-11-05 Write protecting system for floppy disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60247512A JPS62107353A (en) 1985-11-05 1985-11-05 Write protecting system for floppy disk

Publications (1)

Publication Number Publication Date
JPS62107353A true JPS62107353A (en) 1987-05-18

Family

ID=17164579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60247512A Pending JPS62107353A (en) 1985-11-05 1985-11-05 Write protecting system for floppy disk

Country Status (1)

Country Link
JP (1) JPS62107353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01106166A (en) * 1987-10-19 1989-04-24 Canon Inc Character processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01106166A (en) * 1987-10-19 1989-04-24 Canon Inc Character processor

Similar Documents

Publication Publication Date Title
US5108206A (en) Document outputting apparatus including means to randomly alter fonts
JPS62107353A (en) Write protecting system for floppy disk
US5408589A (en) Print device capable of controlling initialization of a data storage device
US4894798A (en) Automatic stop code insertion feature for a word processing apparatus
JP3871004B2 (en) Printing device
JP2713707B2 (en) Character output device
JPS62107329A (en) Document generating device
JP2779157B2 (en) Document information processing device
JPH02110626A (en) Error display control device for printing device
JP3012708U (en) Card printer
JP3001618B2 (en) How to copy characters on paper and how to recognize symbols
JPH0211357A (en) Printing apparatus
JP2849088B2 (en) Character processor
JPH01139267A (en) Color recording apparatus
JPH07137354A (en) Printer with bar code reader
JPS61231661A (en) Information processor
JPS6273975A (en) Apparatus for processing character
JPS5843491A (en) Character code memory
JPH0976577A (en) Recording medium label printing method and apparatus and printing position determining jig
JPS5953567B2 (en) Printing control method for homophones in kana-kanji conversion
JPH03278122A (en) Method and device for printing slip
JPS6282423A (en) Character processor
JPH05314310A (en) Form preparing device
JPS62203223A (en) Document processor
JPH03280155A (en) Character processor