KR920002552B1 - A control method and an apparatus for computer peripherals - Google Patents

A control method and an apparatus for computer peripherals Download PDF

Info

Publication number
KR920002552B1
KR920002552B1 KR1019890020433A KR890020433A KR920002552B1 KR 920002552 B1 KR920002552 B1 KR 920002552B1 KR 1019890020433 A KR1019890020433 A KR 1019890020433A KR 890020433 A KR890020433 A KR 890020433A KR 920002552 B1 KR920002552 B1 KR 920002552B1
Authority
KR
South Korea
Prior art keywords
peripheral device
fdd
computer
cpu
code
Prior art date
Application number
KR1019890020433A
Other languages
Korean (ko)
Other versions
KR910012945A (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 KR1019890020433A priority Critical patent/KR920002552B1/en
Publication of KR910012945A publication Critical patent/KR910012945A/en
Application granted granted Critical
Publication of KR920002552B1 publication Critical patent/KR920002552B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Abstract

The method for controlling the peripheral devices connected to a computer by allocating a recognition code to each peripheral device comprises the steps of identifying the peripheral device by a CPU to discriminate an error generation, generating a request signal allocated to the peripheral device upon generating of error, recognizing the code of the peripheral device and reidentifying the peripheral device to drive it. The circuit for controlling the peripheral device includes a decoder (4) for transmitting a FDD control signal to a FDD and for receiving FDD input signals, a writing unit (2) and a reading unit (3).

Description

컴퓨터 주변장치의 제어장치 및 그 제어방법Control device of computer peripheral device and its control method

제1도는 종래 FDD 구성도.1 is a conventional FDD configuration diagram.

제2도는 이 발명의 FDD 구성도.2 is a schematic diagram of an FDD of the present invention.

제3도는 컴퓨터 주변장치인식 및 제어를 위한 흐름도이다.3 is a flow chart for computer peripheral recognition and control.

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

1 : 제어회로 2 : 쓰기회로1: control circuit 2: write circuit

3 : 읽기회로 4 : 디코더3: read circuit 4: decoder

이 발명은 컴퓨터에 부착되는 각각의 주변장치에 이를 인식하는 서로 다른 인식코드를 할당하여 이 코드로서 임의로 부착되는 주변장치를 자동으로 인식 제어하도록 하는 컴퓨터 주변장치의 제어장치 및 그 제어 방법에 관한 것이다.The present invention relates to a control device of a computer peripheral device and a method of controlling the same, which automatically assigns a different recognition code for recognizing this to each peripheral device attached to the computer so as to automatically recognize and control the peripheral device arbitrarily attached as the code. .

컴퓨터에는 본체 이외에 많은 종류의 주변장치를 부착 사용하며 각 주변장치의 사양이 다르므로 그 종류 또한 다양하다. 이러한 관계로 임의의 주변장치를 사용하고자 컴퓨터에 부착했을 때 컴퓨터와 부착된 주변 장치와의 상호연락이 가능하도록 사용자는 컴퓨터에 주변장치의 형태를 수동으로 알려주어야 할 필요가 있다.In addition to the main body, many kinds of peripheral devices are attached to the computer, and the specifications of each peripheral device are different. In this regard, the user needs to manually inform the computer of the type of peripheral device so that the computer and the attached peripheral device can be interconnected when attached to the computer to use any peripheral device.

즉, 컴퓨터에 주변장치의 형태를 파악한 후, 사용자는 컴퓨터내의 기억장치에 사용하고자하는 주변장치의 형태를 기억시켜 주어야 한다.In other words, after grasping the type of peripheral device in the computer, the user should memorize the type of peripheral device to be used for the storage device in the computer.

그렇지 않으면 컴퓨터는 정상 동작 대신 에러 메시지를 통보하게 된다.Otherwise, the computer will report an error message instead of normal operation.

특히 주변장치의 하나인 FDD(floppy disk drive)를 예를들어 설명한다. FDD의 개략적인 구성 및 신호관계는 제1도와 같이 표시된다. FDD는 도면에 보듯이 제어회로(1), 쓰기회로(2) 및 읽기회로(3)로 통상 구성된다. 먼저 CPU(중앙처리장치)의 지령을 받은 FDC(floppy disk controller)는 FDD 형태를 감지하여 만족한 경우 상기 제어회로(1)에 STEP, DIR, DS, ME, SIDE등의 신호를 출력하고 이 신호에 의해 FDD는 제어신호로서 TRKO, INDEX, READY 신호를 출력한다. 이 신호들은 컴퓨터의 FDC(floppy disk controller)에 연결되어 있어 CPU로 하여금 FDD를 제어할 수 있도록 한다.In particular, one example of a floppy disk drive (FDD) is described. A schematic configuration and signal relationship of the FDD is shown in FIG. The FDD is generally composed of a control circuit 1, a write circuit 2 and a read circuit 3 as shown in the figure. First, a floppy disk controller (FDC) commanded by a CPU (central processing unit) detects an FDD type and outputs a signal such as STEP, DIR, DS, ME, SIDE, etc. to the control circuit 1 when it is satisfied. FDD outputs TRKO, INDEX, and READY signals as control signals. These signals are connected to the computer's floppy disk controller (FDC), allowing the CPU to control the FDD.

그리고, FDD를 구성하는 쓰기회로(2)는 CPU에서 출력한 데이타를 FDC에서 FDD로 보내 상기 쓰기회로(2)에서 쓰기데이타를 발생시킨다. 이때 쓰기방지가 설정되어 있으면 도면과 같이 "WP"라는 신호를 발생시킨다.The write circuit 2 constituting the FDD sends data output from the CPU to the FDD from the FDC to generate write data in the write circuit 2. At this time, if write protection is set, the signal 'WP' is generated as shown in the drawing.

또한, 읽기회로(3)에서는 상기한 제어회로(1)의 신호를 이용하여 데이타를 읽은 후 CPU에 알려준다.In addition, the read circuit 3 reads data using the signal of the control circuit 1 and informs the CPU.

이와 같이 FDD는 CPU와 소정신호로써 상호 연락하도록 구성되어 있다.As such, the FDD is configured to communicate with the CPU as a predetermined signal.

그러나, FDD와 같은 주변장치를 처음 부착시키거나 교환시 BIOS(basic input output)내에 이미 셋업(set-up)된 사양과 FDD의 형태가 서로 상이할 때 컴퓨터는 에러 메시지를 통보하고 따라서 장착한 기종을 사용하려면 이미 지적한 바와 같이 그 형태를 컴퓨터에 새로이 입력시켜야 하는 문제점이 있다.However, when a peripheral device such as FDD is first attached or exchanged and the specifications already set up in the BIOS (basic input output) and the form of the FDD differ from each other, the computer will report an error message and accordingly As mentioned earlier, there is a problem in that a new form has to be entered into the computer.

따라서, 이 발명의 목적은 상기 제거된 문제점을 해결하고자, 다수 기종의 인식형태를 사전에 입력시켜 사용자가 임의의 기기를 부착시켰을 때 자동으로 동작이 가능하도록 한 컴퓨터 주변장치의 제어장치 및 그 제어방법을 제공하는 것이다.Accordingly, an object of the present invention is to solve the above-mentioned problem, the control device and the control of the computer peripheral device to enable the automatic operation when the user attaches any device by recognizing a plurality of models in advance To provide a way.

이 발명의 목적에 따라 구성된 블록도를 제2도에 도시하였다.A block diagram constructed in accordance with the purpose of this invention is shown in FIG.

제2도에 도시한 바와 같이 이 발명의 구성은 FDD 입력신호를 받는 디코더(4)와 이에 연결된 제어회로(1), 쓰기회로(2), 읽기회로(3)로 구성된다.As shown in FIG. 2, the configuration of the present invention includes a decoder 4 which receives an FDD input signal, a control circuit 1, a write circuit 2, and a read circuit 3 connected thereto.

이와 같이 구성된 이 발명의 동작을 제3도의 흐름도를 참조하여 기술한다.The operation of the present invention thus constructed will be described with reference to the flowchart of FIG.

제3도의 스텝 1에서 전원이 온되면 컴퓨터는 스텝 2와 같이 FDD를 검색하기 시작한다. 이때에 컴퓨터는 제2도에 도시된 바와 같은 신호 즉 STEP, DIR, DS, ME, SIDE 신호들은 디코더(4)에 출력한다.When the power is turned on in step 1 of FIG. 3, the computer starts to search for FDD as in step 2. At this time, the computer outputs the signals as shown in FIG. 2, that is, the STEP, DIR, DS, ME, and SIDE signals to the decoder 4.

이때 컴퓨터 내에는 다수의 기종의 형태를 고려하여 소정의 인식코드가 사전에 설정되어 있고 설정된 인식코드 예를들면, O1, O2, 03, 04... 또는 11, 12, 13... 각각은 용량이 360KB, 1.2MB, 720KB, 1.44KB의 FDD 또는 A 프린터, B 프린터, C 프린터 중 제1 또는 그외 인식코드로서 장착된 기종을 확인한다. 지금은 FDD를 예로 하여 설명하므로 장착된 FDD 형태가 상호 만족되면 정상동작 루틴으로 가고(스텝 3 및 스텝 4 참조) 그렇지 아니하면 스텝 5로 진행한다.In this case, a predetermined recognition code is set in advance in consideration of the type of a plurality of models in the computer. For example, O1, O2, 03, 04 ... or 11, 12, 13 ... Check whether the FDD or A printer, B printer, or C printer, which has a capacity of 360 KB, 1.2 MB, 720 KB, or 1.44 KB, is mounted as the first or other identification code. Now, the FDD is described as an example. If the attached FDD types are mutually satisfied, the routine goes to the normal operation routine (see step 3 and step 4).

스텝 5에서 CPU에서 FDD에 코드 요구신호를 발생하는 동작이 진행되는데 이때에는 제2도에 DS(드라이브 선낵신호)와 WD(쓰기 데이타)신호만이 출력된다. 이에 대하여 상세히 기술하면, 디코더(4)에서는 CPU로부터 출력된 DS와 WD 신호를 이용하여 인식코드 발생 제어신호를 생성한다(제2도 참조). 이 신호(4A)는 읽기회로(3)에 입력되어 이 신호에 의해 읽기회로는 FDD 고유의 인식코드를 읽기데이타(RD)신호에 내보낸다. 이 RD 신호는 FDC에서 CPU에 알려주게 되고 이 인식코드를 CPU가 받게 되면 CPU는 자신의 기억장치에 이 인식코드를 저장하고 이 코드에 대응하는 장치의 정상동작이 이루어지도록 장치를 제어한다(스텝 6, 8). 그러나, FDD를 재확인하여 이때 정상동작이 이루어지지 않으면 주변장치의 잘못이 있는 것으로 CPU에 의해 판단되고 이에 대응하는 에러 메시지를 통보한다(스텝 8).In step 5, an operation for generating a code request signal from the CPU to the FDD is performed. At this time, only the DS (drive signal) and WD (write data) signals are output to FIG. In detail, the decoder 4 generates a recognition code generation control signal using the DS and WD signals output from the CPU (see FIG. 2). This signal 4A is input to the read circuit 3, whereby the read circuit outputs the FDD-specific recognition code to the read data RD signal. The RD signal is notified to the CPU by the FDC. When the CPU receives this recognition code, the CPU stores the recognition code in its memory and controls the device to perform normal operation of the device corresponding to the code (step). 6, 8). However, if the FDD is reconfirmed and normal operation is not performed at this time, the CPU determines that there is a fault in the peripheral device and notifies the corresponding error message (step 8).

이와 같이 이 발명은 컴퓨터에 장착되는 다수 기기를 인식하여 동작 가능토록 하므로서 주변장치 기종의 구별없이 사용 가능하다.As described above, the present invention can recognize and operate a plurality of devices mounted on a computer, so that the present invention can be used without distinguishing a peripheral device.

물론 이 명세서에서는 FDD를 실시예로서 설명하였으나, 그외 주변장치의 경우에도 이 발명의 사상이 적용된다.Of course, in this specification, the FDD is described as an embodiment, but the idea of the present invention applies to other peripheral devices.

Claims (2)

컴퓨터와 이에 연결되는 주변장치의 제어방법에 있어서, 주변장치를 CPU에 의해 확인하고 에러여부를 판단하는 단계와, 에러가 발생시 주변장치에 할당된 요구신호를 발생하는 단계와, 주변장치의 코드를 인식하는 단계와, 주변장치를 재확인하여 주변장치를 구동하도록 하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 주변장치의 제어방법.A method of controlling a computer and a peripheral device connected thereto, the method comprising: checking a peripheral device by a CPU and determining whether there is an error, generating a request signal assigned to the peripheral device when an error occurs, and generating a code of the peripheral device. And recognizing the peripheral device to drive the peripheral device. 컴퓨터에 연결된 FDD에 대한 제어신호는 디코더(4)에 의해 FDD로 출력되고 그 일출력(4A)은 읽기로(3)에 연결되어 컴퓨터에 부착된 주변장치를 제어하는 컴퓨터 주변장치의 제어장치.The control signal for the FDD connected to the computer is output to the FDD by the decoder (4) and its one output (4A) is connected to the read furnace (3) to control the peripheral device attached to the computer.
KR1019890020433A 1989-12-30 1989-12-30 A control method and an apparatus for computer peripherals KR920002552B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890020433A KR920002552B1 (en) 1989-12-30 1989-12-30 A control method and an apparatus for computer peripherals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890020433A KR920002552B1 (en) 1989-12-30 1989-12-30 A control method and an apparatus for computer peripherals

Publications (2)

Publication Number Publication Date
KR910012945A KR910012945A (en) 1991-08-08
KR920002552B1 true KR920002552B1 (en) 1992-03-27

Family

ID=19294463

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890020433A KR920002552B1 (en) 1989-12-30 1989-12-30 A control method and an apparatus for computer peripherals

Country Status (1)

Country Link
KR (1) KR920002552B1 (en)

Also Published As

Publication number Publication date
KR910012945A (en) 1991-08-08

Similar Documents

Publication Publication Date Title
US5491804A (en) Method and apparatus for automatic initialization of pluggable option cards
CA1335843C (en) Programmable option select
KR900016842A (en) Programmable controller
KR890015137A (en) I / O control system
GB1589180A (en) Data processing apparatus
KR920002552B1 (en) A control method and an apparatus for computer peripherals
US4731748A (en) Pocket computer with means for checking the detachable memory module before and after power interruption
EP0059758A1 (en) Numerical control unit
KR880008172A (en) Data processing system with bus commands for another subsystem generated by one subsystem
KR900008396B1 (en) Printer
JPS63268085A (en) Portable memory medium reading and writing device
AU611919B2 (en) Apparatus and method for tracking and identifying printed circuit assemblies
KR100259585B1 (en) Dma controller
JP2861673B2 (en) ROM reading control device
JP2864861B2 (en) Response signal control circuit
KR910007400B1 (en) Interface circuit which combines dam controller
JP2580708B2 (en) Printer
JPH0296853A (en) System for checking holding main storage capacity
JPS61249772A (en) Apparatus for generating character pattern
JPH02207354A (en) Memory system
JPH0668016A (en) Mounting recognition system for extended input/output controller
JPS59109928A (en) Input and output control system
JPS63239574A (en) Portable electronic device
JPS62254249A (en) Reading system for card memory capacity
KR910006829A (en) CPU standby time control method and system to connect external I / O controller to computer

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: 20030227

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee