KR920009779B1 - Floppy disk operating device and operating method - Google Patents

Floppy disk operating device and operating method Download PDF

Info

Publication number
KR920009779B1
KR920009779B1 KR1019900018462A KR900018462A KR920009779B1 KR 920009779 B1 KR920009779 B1 KR 920009779B1 KR 1019900018462 A KR1019900018462 A KR 1019900018462A KR 900018462 A KR900018462 A KR 900018462A KR 920009779 B1 KR920009779 B1 KR 920009779B1
Authority
KR
South Korea
Prior art keywords
floppy disk
data
control means
accessing
operating
Prior art date
Application number
KR1019900018462A
Other languages
Korean (ko)
Other versions
KR920010584A (en
Inventor
한만학
손석철
Original Assignee
현대전자산업 주식회사
정몽현
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 현대전자산업 주식회사, 정몽현 filed Critical 현대전자산업 주식회사
Priority to KR1019900018462A priority Critical patent/KR920009779B1/en
Publication of KR920010584A publication Critical patent/KR920010584A/en
Application granted granted Critical
Publication of KR920009779B1 publication Critical patent/KR920009779B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

The apparatus for preventing access erros performs access or repeated access of floppy disk inserted to a personal computer according to time data memorized in memory means. The apparatus comprises froppy disk operating means (1) for rotating the disk and performing access to data memorized in the disk; control means (2) for controlling the floppy disk operation and receiving signals from the means (1); main control means (4) for reading data in memory means (6), and for supplying disk operating signal from interrupt means (8) via interrupt control means (7) to the control means (2); timer means (3) for supplying pulse signal to the means (4); time-data generating means for memorizing the data in the memory means (6).

Description

플로피 디스크 구동장치 및 그 구동방법Floppy Disk Drive and Driving Method

제1도는 본 발명에 따른 플로피 디스크 구동장치의 블럭도.1 is a block diagram of a floppy disk drive device according to the present invention.

제2도는 제1도의 작동설명을 위한 플로우 챠트도.2 is a flow chart for explaining the operation of FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

1 : 플로피 디스크 작동수단 2 : 플로피 디스크 작동제어수단1: floppy disk operation means 2: floppy disk operation control means

3 : 타이머수단 4 : 주제어수단3: timer means 4: main control means

5 : 시간 데이타 저장수단 6 : 메모리 수단5: time data storage means 6: memory means

7 : 인터럽트 제어수단 8 : 인터럽트 수단7: interrupt control means 8: interrupt means

본 발명은 퍼스날 컴퓨터의 플로피 디스크 구동장치 및 그 구동방법에 관한 것으로, 특히 퍼스날 컴퓨터에 삽입되는 플로피 디스크의 엑세스 또는 플로피 디스크의 제억세스를 메모리 수단에 저장된 시간데이타에 따라 억세스되도록한 플로피 디스크 구동장치 및 그 구동방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a floppy disk drive of a personal computer and a driving method thereof, and more particularly to a floppy disk drive for accessing a floppy disk inserted into a personal computer or accessing a floppy disk according to time data stored in a memory means. And a driving method thereof.

일반적으로, 퍼스날 컴퓨터에는 2개의 플로피 디스크 드라이브, 즉 5.25인치 및 3.5인치 드라이브가 구성된다. 최초 5.25인치 드라이버에 플로피 디스크를 삽입하여 억세스시킨 후 다시 3.5인치 플로피 디스크를 억세스시키는 경우 드라이버는 3.5인치 플로피 디스크를 억세스해야 하는데, 드라이버는 최초에 삽입된 5.25인치 플로피 디스크를 억세스하는 경우가 빈번히 발생하였고, 또한 3.5인치 플로피 디스크에서 5.25인치 플로피 디스크로 변경하는 경우도 상기와 동일한 억세스 에러(error)가 발생하였다.Typically, a personal computer consists of two floppy disk drives, 5.25 inch and 3.5 inch drives. If you access the 3.5-inch floppy disk after inserting the floppy disk into the first 5.25-inch driver and then accessing the 3.5-inch floppy disk, the driver must access the 3.5-inch floppy disk, but the driver frequently accesses the first inserted 5.25-inch floppy disk. In addition, the same access error occurred when changing from a 3.5-inch floppy disk to a 5.25-inch floppy disk.

따라서 본 발명은 플로피 디스크의 재억세스를 메모리 수단에 저장된 시간 데이타에 따라 억세스되도록 하여 상기한 단점을 해소시킬 수 있는 플로피 디스크 구동장치 및 그 구동방법을 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a floppy disk drive device and a method for driving the same, which can solve the above-mentioned disadvantages by allowing the re-access of the floppy disk to be accessed according to time data stored in the memory means.

본 발명의 플로피 디스크 구동장치는 플로피 디스크를 회전작동시키며 플로피 디스크 내의 저장 데이타를 억세스하는 플로피 작동수단(1)으로부터의 신호를 플로피 디스크의 작동을 제어하기 위한 플로피 디스크 작동 제어수단(2)을 경유하여 공급받고, 상기 플로피 디스크 작동수단(1)으로부터의 신호에 따른 인터럽트 수단(8)의 인터럽트 번지내의 명령 데이타를 인터럽트 제어수단(7)을 경유해 공급받아 해독하여 상기 플로피 디스크를 작동하기 위한 신호를 상기 플로피 디스크 작동제어 수단(2)에 공급하며, 메모리 수단(6)에 저장된 데이타를 공급받아 그 데이타 값을 판독하도록 구성되는 주제어수단(4)과, 상기 주제어수단(4)에 일정주기의 펄스신호를 공급하도록 구성되는 타이머수단(3)과, 상기 메모리수단(6)에 일정한 시간데이타를 저장하도록 구성되는 시간 데이타 발생수단(5)으로 구성되는 것을 특징으로 한다.The floppy disk drive device of the present invention rotates the floppy disk and transmits a signal from the floppy disk operating means (1) for accessing the stored data in the floppy disk via the floppy disk operating control means (2) for controlling the operation of the floppy disk. And the command data in the interrupt address of the interrupt means 8 according to the signal from the floppy disk actuating means 1 are supplied via the interrupt control means 7 to decrypt the command data to operate the floppy disk. Is supplied to the floppy disk operation control means (2), the main control means (4) configured to receive data stored in the memory means (6) and to read the data value; A timer means (3) configured to supply a pulse signal and to store constant time data in the memory means (6). Is characterized by consisting of a time data generating means (5).

본 발명의 플로피 디스크 구동방법은 시작신호로부터 메로미 수단에 선결되어 저장된 시간데이타를 저장하는 단계와, 상기 메모리 수단에 저장된 데이타를 타이머 수단의 펄스신호 출력에 따라 1씩 감소시키고 플로피 디스크를 작동시키는 단계와, 상기 단계로부터 플로피 디스크를 억세스한후 플로피 디스크를 교체하여 억세스하거나 최초의 플로피 디스크를 재억세스할 경우 상기 메모리 수단에 저장된 데이타를 판독하는 단계와, 상기 단계에서 판독할 데이타값이 “0”인지를 판독하여 플로피 디스크를 재억세스한 다음 상기 메모리 수단에 다시 선결된 시간데이타를 저장하고, 억세스를 저장하고, 억세스한 데이타를 처리하는 단계와, 판독한 데이타값이 “0”인지의 판단에 따라 최초 플로피 디스크를 억세스한 데이타를 처리하고 선결된 시간데이타를 저장하는 단계로 복귀하는 단계로 구성되는 것을 특징으로 한다.The floppy disk driving method of the present invention comprises the steps of: storing time data stored in advance by the start signal from the memory signal; decreasing the data stored in the memory means by 1 according to the pulse signal output of the timer means and operating the floppy disk. And accessing the floppy disk after accessing the floppy disk from the step, reading the data stored in the memory means when accessing the floppy disk or accessing the original floppy disk again, and the data value to be read in the step “0”. Re-access the floppy disk by reading whether the data is read and storing the pre-determined time data in the memory means, storing the access and processing the accessed data, and determining whether the read data value is "0". According to the first time the floppy disk is accessed and processed data And returning to the step of storing the image.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

제1도는 본 발명에 따른 플로피 디스크 구동장치의 블럭도로서, 플로피 디스크를 회전작동시키며 플로피 디스크내의 저장 데이타를 억세스(access)하는 플로피 작동수단(1)은 플로피 디스크의 작동을 제어하기 위한 플로피 디스크 작동 제어수단(2)을 경유하여 주제어 수단(4)에 플로피 디스크를 작동하기 위한 인터럽트 신호를 요청하며, 시간데이타 발생수단(5)으로부터의 예를들어 2초에 해당하는 데이타가 메모리 수단(6)에 저장됨과 동시에 상기 주제어 수단(4)은 인터럽트(interrupt) 제어수단(7)을 통해 인터럽트 수단(8)의 플로피 디스크를 구동시킬 수 있는 명령데이터가 저장된 인터럽트 번지 예를들어 인터럽트 13h와 연결되어, 이 인터럽트 번지의 명령어 신호를 해독한다.1 is a block diagram of a floppy disk drive apparatus according to the present invention, wherein the floppy operating means 1 for rotating the floppy disk and accessing stored data in the floppy disk is a floppy disk for controlling the operation of the floppy disk. The main control means 4 requests an interrupt signal for operating the floppy disk via the operation control means 2, and data corresponding to, for example, two seconds from the time data generating means 5 is stored in the memory means 6; The main control means 4 is connected to an interrupt address, for example interrupt 13h, which stores command data for driving the floppy disk of the interrupt means 8 through an interrupt control means 7. The command signal of this interrupt address is decoded.

상기 주제어 수단(4)에 해독된 명령어 신호는 상기 플로피 디스크 작동제어수단(2)에 공급되고, 상기 플로피 디스크 작동제어수단(2)에 의해 상기 플로피 디스크 작동수단(1)이 동작하여 플로피 디스크를 억세스하는데, 이때 타이머 수단(3)에서는 예를들어 1초에 18.2번씩 주기가 변화되는 펄스신호가 발생되는 상기 주제어 수단(4)에 공급된다.The command signal decoded by the main control means 4 is supplied to the floppy disk operation control means 2, and the floppy disk operation means 1 operates by the floppy disk operation control means 2 to operate the floppy disk. In this case, the timer means (3) is supplied to the main control means (4), for example, in which a pulse signal whose cycle is changed 18.2 times per second is generated.

상기 주제어 수단(4)에는 상기 타이머 수단(3)에서 한주기의 펄스신호가 공급될때마다 상기 메모리 수단(6)에 저장된 시간데이타를 1씩 감소시킨다. 즉, 상기 주제어 수단(4)에서는 플로피 디스크 작동제어수단(2)을 경유한 플로피 디스크 작동수단(1)으로부터의 플로피 디스크를 작동하기 위한 인터럽트 신호요청시 상기 메모리 수단(6)의 시간데이타를 판독하여 “0”이면 상기 인터럽트 수단(8)에 의해 플로피 디스크를 작동시켜 억세스하고, 그렇지 않으면 (“0”이 아니면)이전에 억세스한 데이타를 그대로 유지시켜 준다.The main control means 4 decrements the time data stored in the memory means 6 by one each time a pulse signal of one cycle is supplied from the timer means 3. That is, the main control means (4) reads the time data of the memory means (6) upon request of an interrupt signal for operating the floppy disk from the floppy disk operation means (1) via the floppy disk operation control means (2). If the value is "0", the floppy disk is operated by the interrupt means 8 to access the data. Otherwise, the data previously accessed (if not "0") is retained.

제2도는 제1도의 작동설명을 위한 플로우 챠트도로서, 시작 신호로부터 메모리 수단(6)에 시간데이타 발생수단(5)으로부터의 시간데이타 예를들어 2초에 해당하는 36.4라는 데이타를 저장하고 단계(102)로 진행된다.FIG. 2 is a flowchart for explaining the operation of FIG. 1, in which the time data from the time data generating means 5 is stored in the memory means 6 from the start signal, for example, 36.4 corresponding to 2 seconds. Proceed to 102.

상기 단계(102)에서는 상기 메모리 수단(6)에 저장된 시간데이타 예를들어 36.4를 상기 타이머 수단(3)에서 출력되는 펄스신호에 따라 1씩 감소시키고 단계(103)로 진행되고, 이단계(103)에서 플로피 디스크를 작동시키고 단계(104)로 진행하여 작동하는 디스크를 억세스한다.In step 102, the time data stored in the memory means 6, for example, 36.4 is reduced by one according to the pulse signal output from the timer means 3, and the procedure proceeds to step 103. The floppy disk is operated on and the process proceeds to step 104 to access the working disk.

상기 단계(104)에서 억세스한 데이타를 처리하다가 플로피 디스크를 교환하거나 다시 억세스를 요청할 경우 단계(105)로 진행되어 이단계에서 상기 메모리의 수단(6)에 저장된 시간데이타를 판독한 다음 단계(106)로 진행된다.If the floppy disk is exchanged or the access request is requested again while processing the data accessed in step 104, the process proceeds to step 105, in which the time data stored in the means 6 of the memory is read and then step 106 Proceeds to).

상기 단계(106)에서는 상기 단계(105)에서 판독한 값이 “0”인가의 여부에 따라 “아니오”이면 단계(107)로 진행되어 이단계(107)에서 플로피 디스크를 다시 작동시켜 억세스한 다음 단계(109)로 진행된다.In step 106, if the value read in step 105 is "0" or not, the process proceeds to step 107, in which the floppy disk is operated again and accessed in this step 107. Proceed to step 109.

상기 단계(106)의 판단이 “예”이면 단계(108)로 진행되어 상기 (104)단계에서 억세한 데이타를 그대로 유지한채 처리하고 상기 단계(101)를 복귀된다.If the judgment of step 106 is YES, the process proceeds to step 108 where the data retained in step 104 is maintained while being processed and the step 101 is returned.

상기 단계(109)에서는 상기 메모리 수단(6)에 다시 시간데이타를 저장하고 단계(108)로 진행된다.In step 109 the time data is again stored in the memory means 6 and the flow proceeds to step 108.

즉, 최초 플로피 디스크를 억세스한 후 플로피 디스크를 교환하여 억세스를 할 경우라도 미리 설정된 특정시간의 데이타 값에 따라 현재의 플로피 디스크내의 데이타를 정확히 억세스할 수 있게 한다.That is, even when the floppy disk is exchanged for access after the first floppy disk is accessed, the data in the current floppy disk can be accurately accessed according to the data value of a predetermined time.

상술한 바와 같이 본 발명에 의하면 최초 플로피 디스크를 변경하여 억세스하거나, 사용중의 플로피 디스크를 재억세스할시 발생하던 억세스 에러를 방지할 수 있는 탁월한 효과가 있다.As described above, according to the present invention, there is an excellent effect of preventing an access error that occurs when the first floppy disk is changed to access or when the floppy disk is being accessed again.

Claims (2)

플로피 디스크 구동장치에 있어서, 플로피 디스크를 회전작동시키며 플로피 디스크내의 저장 데이타를 억세스하는 플로피 작동수단(1)으로부터의 신호를 플로피 디스크의 작동을 제어하기 위한 플로피 디스크 작동 제어수단(2)을 경유하고 공급받고, 사기 플로피 디스크 작동수단(1)으로부터의 신호에 따라 인터럽트 수단(8)의 인터럽트 번지내의 명령데이타를 인터럽트 제어수단(7)을 경유해 공급받아 해독하여 상기 플로피 디스크를 작동하기 위한 신호를 상기 플로피 디스크 작동제어 수단(2)에 공급하며, 메모리 수단(6)에 저장된 데이타를 공급받아 그 데이타를 판독하도록 구성하는 주제어수단(4)과, 상기 주제어수단(4)에 일정주기의 펄스신호를 공급하도록 구성되는 타이머 수단(3)과, 상기 메모리 수단(6)에 일정한 시간데이타를 저장하도록 구성되는 시간데이타 발생수단(5)으로 구성되는 것을 특징으로 하는 플로피 디스크 구동장치.In the floppy disk drive apparatus, a signal from the floppy operating means (1) for rotating the floppy disk and accessing stored data in the floppy disk is passed through the floppy disk operating control means (2) for controlling the operation of the floppy disk. Received, decoded via the interrupt control means 7 the command data in the interrupt address of the interrupt means 8 according to the signal from the fraud floppy disk actuating means 1, and decodes the signal for operating the floppy disk. A main control means 4 which is supplied to the floppy disk operation control means 2 and configured to receive data stored in the memory means 6 and read the data, and a pulse signal of a predetermined period to the main control means 4; A timer means (3), configured to supply a; and to store constant time data in the memory means (6). A floppy disk drive device, characterized in that consisting of a time data generating means (5). 플로피 디스크 구동방법에 있어서, 시작신호로부터 메모리 수단에 선결되어 저장된 시간데이타를 저장하는 단계와, 상기 메모리 수단에 저장된 데이타를 타이머 수단의 펄스신호 출력에 따라 1씩 감소시키고 플로피 디스크를 작동시키는 단계와, 상기 단계로부터 플로피 디스크를 억세스한후, 플로피 디스크를 교체하여 억세스하거나 최초의 디스크를 재억세스 할 경우 상기 메모리 수단에 저장된 데이타를 판독하는 단계와, 상기 단계에서 판독한 데이타 값이 “0”인지의 판단하여 플로피 디스크를 재억세스한 다음 상기 메모리 수단에 다시 선결된 시간데이타 저장하고, 억세스한 데이타를 처리하는 단계와, 판독한 데이타값이 “0”인지의 판단에 따라 최로 플로피 디스크를 억세스한 데이타를 처리하고 상기 선결된 시간데이타를 저장하는 단계로 복귀하는 단계로 구성되는 것을 특징으로 하는 플로피 디스크 구동방법.A method of driving a floppy disk, the method comprising: storing time data stored in advance from a start signal to a memory means, decreasing data stored in the memory means by one according to a pulse signal output of a timer means, and operating a floppy disk; After accessing the floppy disk from the step, accessing the floppy disk by accessing it or re-accessing the first disk, reading the data stored in the memory means, and whether the data value read in the step is "0". Re-access the floppy disk in accordance with the determination, and store the pre-determined time data in the memory means, process the accessed data, and access the floppy disk according to the determination of whether the read data value is "0". Processing the data and storing the predetermined time data. Floppy disk driving method comprising the step of returning.
KR1019900018462A 1990-11-15 1990-11-15 Floppy disk operating device and operating method KR920009779B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900018462A KR920009779B1 (en) 1990-11-15 1990-11-15 Floppy disk operating device and operating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900018462A KR920009779B1 (en) 1990-11-15 1990-11-15 Floppy disk operating device and operating method

Publications (2)

Publication Number Publication Date
KR920010584A KR920010584A (en) 1992-06-26
KR920009779B1 true KR920009779B1 (en) 1992-10-22

Family

ID=19306052

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900018462A KR920009779B1 (en) 1990-11-15 1990-11-15 Floppy disk operating device and operating method

Country Status (1)

Country Link
KR (1) KR920009779B1 (en)

Also Published As

Publication number Publication date
KR920010584A (en) 1992-06-26

Similar Documents

Publication Publication Date Title
KR960032452A (en) Decoder / encoder and playback device
KR860008534A (en) Information writing control method on the rotating information recording medium
KR960029941A (en) Reproducing apparatus and control method of the apparatus
KR920009779B1 (en) Floppy disk operating device and operating method
KR890001058A (en) Track access control system for magnetic disk device
US6098026A (en) Method of testing performance of spindle motor in CD-ROM drive
KR20010069857A (en) Portable player be possible to formware upgrade and method for formware upgrading of the portable player
KR940011087A (en) Trimming and forming device and press mold embedded in it
JP2675650B2 (en) Information processing device
JPH0542071B2 (en)
JP2001101076A (en) Disk controller
JP2904077B2 (en) Magnetic disk drive
KR910006841A (en) Data processing unit based on microprogram control
JPS5927303A (en) Program correcting device
KR970056628A (en) Memory control device and method
JPH05204745A (en) Information processor
JPH0830934A (en) Control method of cleaning drive device
JPH06348581A (en) Memory access controller
JPH05204720A (en) Method for recording working condition of microcomputer and device for possessing working condition
JPH02214060A (en) Information processor
JPH103738A (en) Start controller of disk device
KR970066867A (en) Method and circuit for generating interrupt when replacing floppy diskette
JPH05119923A (en) Disk controller
JPS6213694B2 (en)
JPS5946023B2 (en) Microprogram tracing device

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20020918

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee