KR19980073519A - Computer with IDE port selection switch function - Google Patents

Computer with IDE port selection switch function Download PDF

Info

Publication number
KR19980073519A
KR19980073519A KR1019970008835A KR19970008835A KR19980073519A KR 19980073519 A KR19980073519 A KR 19980073519A KR 1019970008835 A KR1019970008835 A KR 1019970008835A KR 19970008835 A KR19970008835 A KR 19970008835A KR 19980073519 A KR19980073519 A KR 19980073519A
Authority
KR
South Korea
Prior art keywords
port
decoder
computer
control signal
input
Prior art date
Application number
KR1019970008835A
Other languages
Korean (ko)
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 KR1019970008835A priority Critical patent/KR19980073519A/en
Publication of KR19980073519A publication Critical patent/KR19980073519A/en

Links

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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

본 발명은 IDE포트 선택전환기능을 갖는 컴퓨터에 관한 것으로, 입력부는 사용자로 부터의 데이터를 입력시키고, 보조기억장치컨트롤러는 소정의 제어신호에 기초하여 복수의 보조기억장치의 접속포트를 선택적으로 스와핑시키도록 제어하고, BIOS는 주변기기의 기본입출력기능을 제어하는 프로그램을 기억시키고, 메모리부는 컴퓨터의 동작프로그램 또는 처리데이타를 기억시키고, CPU는 중앙제어를 수행하도록 구성되어, 복수의 보조기억장치를 접속할 수 있고, 접속된 보조기억장치의 포트접속레벨을 서로 변경시키도록 설정할 수 있으며, 설정된 접속레벨에 기초하여 보조기억장치를 구동시키도록 제어할 수 있다.The present invention relates to a computer having an IDE port selection switching function, wherein an input unit inputs data from a user, and the auxiliary storage controller selectively swaps the connection ports of the plurality of auxiliary storage devices based on a predetermined control signal. And a BIOS to store a program for controlling the basic input / output function of the peripheral device, a memory unit to store an operation program or processing data of a computer, and the CPU to be configured to perform central control, to connect a plurality of auxiliary storage devices. It is possible to set to change the port connection level of the connected auxiliary storage device to each other, and control to drive the auxiliary storage device based on the set connection level.

Description

IDE포트 선택전환기능을 갖는 컴퓨터Computer with IDE port selection switch function

본 발명은 복수의 보조기억장치를 접속시킬 수 있는 컴퓨터에 관한 것으로, 좀 더 구체적으로는 접속된 보조기억장치의 접속레벨을 선택적으로 변경시킬 수 있는 IDE포트 선택전환기능을 갖는 컴퓨터에 관한 것이다.The present invention relates to a computer to which a plurality of auxiliary storage devices can be connected, and more particularly, to a computer having an IDE port selection switching function for selectively changing the connection level of a connected auxiliary storage device.

컴퓨터장치의 보조기억장치로는 플로피디스크드라이브와 하드디스크드라이브 및 CD_ROM드라이브등이 있는 바, 이러한 보조기억장치는 저장하고자 하는 데이터의 증가로 인해 대 용량의 하드디스크가 필요하게 되었다. 이러한 하드디스크를 구동하는 방식으로는 하드디스크제어프로그램을 저장한 ROM을 하드디스크컨트롤러에 내장한 MFM( Modified Frequency Modulation )방식과, 하드디스크제어프로그램을 저장한 ROM을 하드디스크에 내장한 IDE(Integrated Drive Electronics)방식, IDE방식으로 부터 개선된 EIDE(Enhanced IDE) 및, 워크스테이션에서 많이 사용되는 SCSI(Small Computer System Interface)방식 등이 있다.Auxiliary storage devices for computer devices include a floppy disk drive, a hard disk drive, and a CD_ROM drive. Such an auxiliary memory device requires a large capacity hard disk due to the increase of data to be stored. As a method of driving such a hard disk, a Modified Frequency Modulation (MFM) method in which a ROM storing a hard disk control program is embedded in a hard disk controller, and an IDE (Integrated) in which a ROM storing a hard disk control program is embedded in a hard disk Drive Electronics (IDE) method, Enhanced IDE (EIDE) from IDE method, and Small Computer System Interface (SCSI) method commonly used in workstations.

상기 MFM방식은 소용량의 하드디스크를 구동하는데 사용되었고, IDE방식은 대용량의 하드디스크를 구동할 수 있으나 1개의 드라이브에 접속시킬 수 있는 하드디스크가 2대로 한정되어 있다.The MFM method is used to drive a small capacity hard disk, and the IDE method can drive a large capacity hard disk, but two hard disks that can be connected to one drive are limited.

한편, EIDE방식은 대용량의 하드디스크뿐만 아니라 CD_ROM드라이브 및 테이프구동장치 등을 4대까지 접속시킬 수 있다.On the other hand, the EIDE method can connect not only a large capacity hard disk but also four CD-ROM drives and tape drives.

따라서, 현재의 컴퓨터장치는 멀티미디어기능 등을 지원하면서 기술적으로 구현이 용이한 EIDE방식의 컨트롤러를 많이 지원하고 있다.Therefore, current computer devices support many EIDE type controllers that are technically easy to implement while supporting multimedia functions.

도 1은 종래의 실시예에 따른 EIDE컨트롤러와 보조기억장치의 접속관계를 도시한 도면으로, 부호 160은 보조기억장치컨트롤러, 140은 제1보조기억장치, 150은 제2보조기억장치를 각각 나타낸다.1 is a diagram illustrating a connection relationship between an EIDE controller and an auxiliary memory device according to a conventional embodiment, where reference numeral 160 denotes an auxiliary memory controller, 140 denotes a first auxiliary memory device, and 150 denotes a second auxiliary memory device. .

상기 제1보조기억장치(140)는 컴퓨터의 주보조기억장치로서 예컨대 하드디스크드라이브를 사용한다. 일반적으로 제1보조기억장치에는 컴퓨터의 부팅시에 필요한 시스템프로그램(OS: 예컨대, DOS, WINDOWS)등이 기억된다. 따라서 하드디스크에 의한 컴퓨터의 부팅을 원하는 경우에는 보조기억장치컨트롤러(160)의 1차(PRIMARY)측 포트에는 반드시 시스템프로그램이 기억된 보조기억장치(예컨대, 하드디스크드라이브)를 접속시켜야 한다. 이때, 접속되는 하드디스크는 예컨대 점퍼에 의해 마스터로 설정시켜야 한다.The first auxiliary storage device 140 uses, for example, a hard disk drive as the main auxiliary storage device of the computer. In general, the first auxiliary storage device stores system programs (OS: DOS, WINDOWS, etc.) necessary for booting a computer. Therefore, when a computer is to be booted by a hard disk, a secondary storage device (for example, a hard disk drive) in which a system program is stored must be connected to a primary port of the secondary storage controller 160. At this time, the connected hard disk should be set as a master by a jumper, for example.

한편, 2차(SECONDARY)측 포트에는 확장시키고자 하는 하드디스크를 접속시키거나 CD_ROM드라이브를 접속시켜 사용한다.On the other hand, connect the hard disk to be expanded or the CD_ROM drive to the secondary port.

그러나, 종래의 EIDE컨트롤러에 접속시키는 보조기억장치는 소정의 목적에 따라 보조기억장치의 예컨대 점퍼를 설정한 다음, 해당되는 케이블의 커넥터에 보조기억장치를 접속시켜야 한다.However, in the conventional auxiliary memory device to be connected to the EIDE controller, the auxiliary memory device should be connected to the connector of the corresponding cable after setting a jumper of the auxiliary memory device according to a predetermined purpose.

또한, 접속된 임의의 보조기억장치를 부팅용으로 사용하고자 하는 경우에는 기존에 부팅용으로 사용하던 보조기억장치의 점퍼를 조정하여 설정하고, 새로이 사용하고자하는 보조기억장치의 점퍼도 조정한 다음 케이블의 커넥터를 바꾸어 접속시켜야 하는 불편한 점이 있다.In addition, if you want to use any attached auxiliary memory for booting, adjust and set the jumper of the auxiliary memory previously used for booting, and also adjust the jumper of the new auxiliary memory to be used. It is inconvenient to change the connector to connect.

더욱이 예컨대 노트북컴퓨터와 같은 휴대용 컴퓨터는 제조시점부터 보조기억장치를 용도에 맞추어 고정시켜 사용하도록 하기 때문에 사용자는 변경시킬 수가 없다.Furthermore, a portable computer such as a notebook computer, for example, cannot be changed by the user since the auxiliary memory device is fixed to the intended use from the time of manufacture.

따라서, 본 발명은 상술한 제반 문제점을 해결하기 위해 제안된 것으로서, 복수의 보조기억장치를 접속할 수 있고, 접속된 보조기억장치의 포트접속레벨을 서로 변경시키도록 설정할 수 있으며, 설정된 접속레벨에 기초하여 보조기억장치를 구동시키도록 제어하는 IDE포트 선택전환기능을 갖는 컴퓨터를 제공함에 그 목적이 있다.Accordingly, the present invention has been proposed to solve the above-mentioned problems, and it is possible to connect a plurality of auxiliary storage devices, set the port connection levels of the connected auxiliary storage devices to change each other, and based on the set connection level. The purpose of the present invention is to provide a computer having an IDE port selection switching function for controlling the auxiliary memory device to be driven.

도 1은 종래의 실시예에 따른 복수의 보조기억장치가 접속된 컴퓨터의 접속관계를 도시한 블럭도;1 is a block diagram showing a connection relationship of a computer to which a plurality of auxiliary storage devices are connected according to a conventional embodiment;

도 2는 본 발명의 일실시예에 IDE포트 선택전환기능을 갖는 컴퓨터의 외관을 도시한 도면;2 is a view showing the appearance of a computer having an IDE port selection switching function in an embodiment of the present invention;

도 3은 본 발명의 일실시예에 따른 IDE포트 선택전환기능을 갖는 컴퓨터의 구성을 도시한 블록도;3 is a block diagram showing the configuration of a computer having an IDE port selection switching function according to an embodiment of the present invention;

도 4는 도 3에서 보조기억장치컨트롤러의 구성을 상세히 도시한 블록도;4 is a block diagram showing in detail the configuration of the auxiliary memory controller in FIG.

도 5는 도 4에 도시된 보조기억장치컨트롤러에서 포트제어부를 상세히 도시한 도면;FIG. 5 is a detailed view of a port controller in the auxiliary memory controller shown in FIG. 4; FIG.

도 6은 본 발명의 실시예에 따른 IDE포트 선택전환기능을 갖는 컴퓨터의 포트전환기능을 나타낸 플로우챠트;6 is a flowchart illustrating a port switching function of a computer having an IDE port selection switching function according to an embodiment of the present invention;

도 7은 도 6에서 디코더디폴트포트설정루틴을 상세히 도시한 플로우챠트;FIG. 7 is a flowchart showing details of a decoder default port setting routine in FIG. 6; FIG.

도 8은 도 6에서 디코더포트교체루틴을 상세히 도시한 플로우챠트.FIG. 8 is a flowchart illustrating a decoder port replacement routine in detail in FIG. 6; FIG.

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

110: 컴퓨터본체120: 키보드110: computer main body 120: keyboard

130: 디스플레이장치140: 제1보조기억장치130: display device 140: first auxiliary memory device

150: 제N보조기억장치160: 보조기억장치컨트롤러150: N-th auxiliary memory device 160: auxiliary memory controller

111: CPU112: BIOS111: CPU112: BIOS

113: OS114: 주기억장치113: OS114: main memory

161: 포트제어부162: 제1디코더161: port controller 162: first decoder

163: 제2디코더164: 제1포트163: second decoder 164: first port

165: 제2포트166: D플립플롭165: 2nd port 166: D flip-flop

상술한 목적을 달성하기 위해 제안된 본 발명의 특징에 의하면, IDE포트 선택전환기능을 갖는 컴퓨터는 사용자로 부터의 데이터를 입력시키는 입력부와; 소정의 제어신호에 기초하여 복수의 보조기억장치의 접속포트를 선택적으로 스와핑시키도록 제어하는 보조기억장치컨트롤러와; 주변기기의 기본입출력기능을 제어하는 프로그램을 기억시키는 BIOS와; 컴퓨터의 동작프로그램 또는 처리데이타를 기억시키는 메모리부와; 중앙제어를 수행하는 CPU를 포함한다.According to a feature of the present invention proposed to achieve the above object, a computer having an IDE port selection switching function includes an input unit for inputting data from a user; An auxiliary storage controller for controlling to selectively swap the connection ports of the plurality of auxiliary storage devices based on a predetermined control signal; A BIOS for storing a program for controlling basic input / output functions of the peripheral device; A memory unit for storing operation programs or processing data of the computer; It includes a CPU that performs central control.

이 특징의 바람직한 실시예에 있어서, 상기 보조기억장치컨트롤러는 제1디코더와 임의의 보조기억장치를 접속시키는 제1포트와; 제2디코더와 임의의 보조기억장치를 접속시키는 제2포트와; CPU로 부터의 명령에 기초하여 제1 또는 제2포트에 접속된 보조기억장치의 접속포트의 레벨을 교체시키도록 소정의 포트제어신호를 출력시키는 포트제어부와; 상기 포트제어부로 부터 포트제어신호입력단으로 입력되는 포트제어신호에 기초하여 접속레벨을 변경하여 접속시키도록 제어하는 제1디코더와; 상기 포트제어부로 부터 포트제어신호입력단으로 입력되는 포트제어신호에 기초하여 접속레벨을 변경하여 접속시키도록 제어하는 제2디코더를 포함한다.In a preferred embodiment of this aspect, the auxiliary storage controller comprises: a first port for connecting the first decoder and any auxiliary storage device; A second port connecting the second decoder and any auxiliary memory device; A port control unit for outputting a predetermined port control signal to replace the level of the connection port of the auxiliary storage device connected to the first or second port based on a command from the CPU; A first decoder for controlling to connect by changing a connection level based on a port control signal input from the port control unit to a port control signal input terminal; And a second decoder configured to control the connection level by changing the connection level based on the port control signal input from the port control unit to the port control signal input terminal.

이 특징의 바람직한 실시예에 있어서, 상기 포트제어부는 소정의 인터럽트신호에 기초한 포트전환어드레스신호와 소정의 입출력제어신호를 논리합시켜 클럭제어신호로서 출력시키는 OR게이트와; 상기 OR게이트로부터 클럭입력단으로 입력되는 클럭제어신호와, 컴퓨터의 CPU로부터 데이터입력단을 통해 입력되는 소정의 포트제어선택신호와, 컴퓨터의 CPU로부터 프리셋단으로 입력되는 리셋드라이브신호에 기초하여 출력단을 통해 소정의 포트제어신호를 각각 출력시키는 D플립플롭을 포함한다.In a preferred embodiment of this aspect, the port control unit comprises: an OR gate which logically combines a port switching address signal based on a predetermined interrupt signal with a predetermined input / output control signal and outputs it as a clock control signal; A clock control signal input from the OR gate to the clock input terminal, a predetermined port control selection signal input from the computer CPU through the data input terminal, and a reset drive signal input from the computer CPU to the preset terminal through the output terminal; And a D flip-flop for outputting a predetermined port control signal, respectively.

이 특징의 바람직한 실시예에 있어서, 상기 CPU는 보조기억장치의 입출력포트를 기본포트레벨로 설정시키는 디코더디폴트포트설정루틴과; 보조기억장치의 입출력포트를 교체시킬 것인지를 나타내는 포트교체기능이 설정되었는지를 판별하는 포트SWAP기능판별단계와; 상기 포트SWAP기능판별단계가 성립된 경우에 기본포트레벨을 서로 교체시켜 접속시키도록 상기 보조기억장치컨트롤러를 제어하는 디코더포트교체루틴과; 컴퓨터와 접속된 소정의 주변기기에 대해 자가진단을 수행하는 POST수행단계를 포함하여 처리하는 기능을 포함한다.In a preferred embodiment of this aspect, the CPU comprises: a decoder default port setting routine for setting an input / output port of the auxiliary storage device to a basic port level; A port SWAP function discrimination step of determining whether a port replacement function indicating whether to replace an input / output port of the auxiliary storage device is set; A decoder port replacement routine for controlling the auxiliary memory controller so that the basic port levels are exchanged with each other when the port SWAP function discrimination step is established; It includes a processing function including a POST performing step of performing self-diagnosis on a predetermined peripheral device connected to a computer.

이 특징의 바람직한 실시예에 있어서, 상기 디코더디폴트포트설정루틴은 제1디코더를 차측 포트로 설정시키는 제1디코더PRIMARY설정단계와; 제2디코더를 2차측 포트로 설정시키는 제2디코더SECONDARY설정단계를 처리하는 기능을 포함한다.In a preferred embodiment of this aspect, the decoder default port setting routine comprises: a first decoder PRIIMARY setting step of setting the first decoder as a secondary port; And a function of processing a second decoder SECONDARY setting step of setting the second decoder to the secondary port.

이 특징의 바람직한 실시예에 있어서, 상기 디코더포트교체루틴은 제1디코더를 2차측 포트로 설정시키는 제1디코더SECONDARY설정단계와; 제2디코더를 1차측 포트로 설정시키는 제2디코더PRIMARY설정단계를 처리하는 기능을 포함한다.In a preferred embodiment of this aspect, the decoder port replacement routine comprises a first decoder SECONDARY setting step of setting a first decoder as a secondary side port; And a function of processing a second decoder PRIMARY setting step of setting the second decoder to the primary port.

본 발명은 IDE포트 선택전환기능을 갖는 컴퓨터에 관한 것으로, 입력부는 사용자로 부터의 데이터를 입력시키고, 보조기억장치컨트롤러는 소정의 제어신호에 기초하여 복수의 보조기억장치의 접속포트를 선택적으로 스와핑시키도록 제어하고, BIOS는 주변기기의 기본입출력기능을 제어하는 프로그램을 기억시키고, 메모리부는 컴퓨터의 동작프로그램 또는 처리데이타를 기억시키고, CPU는 중앙제어를 수행하도록 구성되어, 복수의 보조기억장치를 접속할 수 있고, 접속된 보조기억장치의 포트접속레벨을 서로 변경시키도록 설정할 수 있으며, 설정된 접속레벨에 기초하여 보조기억장치를 구동시키도록 제어할 수 있다.The present invention relates to a computer having an IDE port selection switching function, wherein an input unit inputs data from a user, and the auxiliary storage controller selectively swaps the connection ports of the plurality of auxiliary storage devices based on a predetermined control signal. And a BIOS to store a program for controlling the basic input / output function of the peripheral device, a memory unit to store an operation program or processing data of a computer, and the CPU to be configured to perform central control, to connect a plurality of auxiliary storage devices. It is possible to set to change the port connection level of the connected auxiliary storage device to each other, and control to drive the auxiliary storage device based on the set connection level.

이하, 도 2 내지 도 8을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 2 to 8.

도 3을 참조하면, 본 발명의 신규한 CPU(111)와, BIOS(112), OS(113), 주기억장치(114), 키보드(120), 디스플레이장치(130), 제1 내지 제N보조기억장치(140∼150)및, 보조기억장치컨트롤러(160)를 구비하여, 복수의 보조기억장치를 접속할 수 있고, 접속된 보조기억장치의 포트접속레벨을 서로 변경시키도록 설정할 수 있으며, 설정된 접속레벨에 기초하여 보조기억장치를 구동시키도록 제어할 수 있다.Referring to FIG. 3, the novel CPU 111, the BIOS 112, the OS 113, the main memory 114, the keyboard 120, the display device 130, and the first to Nth subsidiary devices of the present invention. The storage device 140 to 150 and the auxiliary memory controller 160 can be connected to a plurality of auxiliary memory devices, and can be set to change the port connection level of the connected auxiliary memory device to each other. It can be controlled to drive the auxiliary memory based on the level.

도 4는 도 3에서 보조기억장치컨트롤러의 구성을 상세히 도시한 블록도이다.4 is a block diagram illustrating in detail the configuration of the auxiliary memory controller in FIG. 3.

도면에 도시된 바와 같이, 제1 및 제2포트(164,165)는 임의의 보조기억장치가 각각 접속된다.As shown in the figure, the first and second ports 164 and 165 are connected to arbitrary auxiliary storage devices, respectively.

여기서 상기 제1포트(164)는 소정의 하드디스크드라이브가 접속되고, 제2포트(165)는 CD_ROM드라이브가 각각 접속되어 있다고 가정한다.In this case, it is assumed that a predetermined hard disk drive is connected to the first port 164 and a CD_ROM drive is connected to the second port 165, respectively.

그리고 제1 및 제2디코더(162,163)는 예컨대 PAL(Programmable Logic Array)로 구성되어 컴퓨터의 시스템버스를 통해 전송된 CPU(111)의 명령에 기초하여, 보조기억장치와 컴퓨터간의 포트레벨을 제어하여 접속시킨다.The first and second decoders 162 and 163 may be configured as, for example, PALs (Programmable Logic Arrays) to control the port level between the auxiliary storage device and the computer based on a command of the CPU 111 transmitted through the system bus of the computer. Connect.

예컨대 PAL로 구성된 상기 제1 및 제2디코더(162,163)는 컴퓨터의 시스템버스를 통해 전송된 CPU(111)의 명령에 기초하여, 보조기억장치와 컴퓨터간에 데이터전송이 이루어지도록 프로그램된다.For example, the first and second decoders 162 and 163 configured as PALs are programmed to perform data transfer between the auxiliary memory device and the computer based on a command of the CPU 111 transmitted through the computer system bus.

먼저, 컴퓨터에 전원이 공급되면 소정의 바이오스(BIOS)프로그램에 의해 컴퓨터와 접속된 각종 주변기기에 대해 소정의 POST(POWER-ON SELF TEST)단계를 처리하게 된다. 이와 같이 POST를 진행하는 중에 소정의 EIDE컨트롤러에 접속된 보조기억장치에 대해 테스트를 수행하는 단계에서 도 4에 도시된 제1 및 제2디코더(162,163)를 각각 디폴트포트로 설정시키게 된다(S110).First, when power is supplied to a computer, a predetermined POST (POWER-ON SELF TEST) step is processed for various peripheral devices connected to the computer by a predetermined BIOS program. As described above, in the step of performing a test on the auxiliary memory device connected to the predetermined EIDE controller during the POST, the first and second decoders 162 and 163 shown in FIG. 4 are set as default ports (S110). .

즉, 컴퓨터의 CPU(111)로부터 D플립플롭(166)의 프리셋신호입력단(PRESET)으로 소정의 리셋드라이브신호(RSTDRV#)가 인가되면, D플립플롭(166)의 데이타출력단(Q)은 하이레벨을 출력시키고, 반전출력단(NQ)은 로우레벨을 출력시킨다.That is, when a predetermined reset drive signal RSTDRV # is applied from the CPU 111 of the computer to the preset signal input terminal PRESET of the D flip-flop 166, the data output terminal Q of the D flip-flop 166 is high. The level is output, and the inverting output terminal NQ outputs a low level.

따라서, 도 4에 도시된 보조기억장치컨트롤러(160)의 제1디코더(162, 예컨대 PAL)는 컴퓨터의 CPU(111)로부터 소정의 어드레스신호(예컨대, SA[0]∼SA[9])와 상기 D플립플롭(166)의 데이타출력단(Q)으로 부터 제어신호입력단(C1)으로 입력되는 하이레벨신호에 기초하여 1차측(PRIMARY) 포트로 제어되도록 프로그램된다.Therefore, the first decoder 162 (e.g., PAL) of the auxiliary memory controller 160 shown in Fig. 4 is connected to a predetermined address signal (e.g., SA [0] to SA [9]) from the CPU 111 of the computer. It is programmed to be controlled to the primary port based on the high level signal input from the data output terminal Q of the D flip-flop 166 to the control signal input terminal C1.

그러므로 제1포트(164)와 접속된 예컨대 하드디스크드라이브는 컴퓨터의 CPU(111)와 부팅가능 포트로서 접속제어되게 된다(S112).Therefore, for example, the hard disk drive connected to the first port 164 is controlled to be connected to the CPU 111 of the computer as a bootable port (S112).

한편, 도 4에 도시된 보조기억장치컨트롤러(160)의 제2디코더(163, 예컨대 PAL)는 컴퓨터의 CPU(111)로부터 소정의 어드레스신호(예컨대, SA[0]∼SA[9])와 상기 D플립플롭(166)의 반전출력단(NQ)으로부터 제어신호입력단(C2)으로 입력되는 로우레벨신호에 기초하여 2차측(SECONDARY) 포트로 제어되도록 프로그램된다.On the other hand, the second decoder 163 (e.g., PAL) of the auxiliary memory controller 160 shown in Fig. 4 is connected to a predetermined address signal (e.g., SA [0] to SA [9]) from the CPU 111 of the computer. It is programmed to be controlled by the secondary port based on the low level signal input from the inverted output terminal NQ of the D flip-flop 166 to the control signal input terminal C2.

그러므로 제2포트(165)와 접속된 예컨대 CD_ROM드라이브는 컴퓨터의 CPU(111)와 데이터입출력가능포트로서 접속제어되게 된다.Therefore, for example, the CD_ROM drive connected to the second port 165 is controlled to be connected to the CPU 111 of the computer as a data input / output enabled port.

계속해서, 상기 제2포트(165)에 접속된 CD_ROM드라이브를 1차측(PRIMARY)으로 하고, 제1포트(164)에 접속된 하드디스크를 2차측(SECONDARY)으로 사용하고자 포트교체(PORT SWAP) 기능이 설정되어 있는 경우를 예로 들어 설명한다.Subsequently, the CD_ROM drive connected to the second port 165 is used as the primary side (PRIMARY), and the port replacement (PORT SWAP) is used to use the hard disk connected to the first port 164 as the secondary side (SECONDARY). The case where a function is set is demonstrated as an example.

즉, 상기 제2포트(165)는 소정의 CD_ROM드라이브가 접속되고, 제1포트(164)는 하드디스크드라이브가 각각 접속되게 된다.In other words, a predetermined CD_ROM drive is connected to the second port 165, and a hard disk drive is connected to the first port 164, respectively.

상기 제2포트(165)에 접속된 CD_ROM드라이브를 1차측(PRIMARY)으로 구동시키기 위해서는 포트제어부(161)의 D플립플롭의 반전출력단(NQ)을 하이레벨을 출력시키고, 데이타출력단(Q)은 로우레벨을 출력시키도록 제어하게 된다.In order to drive the CD_ROM drive connected to the second port 165 to the primary side (PRIMARY), the inverted output terminal NQ of the D flip-flop of the port control unit 161 outputs a high level, and the data output terminal Q Control to output low level.

먼저, 시스템버스의 예컨대 0번 어드레스신호(SD[0])를 통해 컴퓨터의 CPU(111)로부터 D플립플롭(166)의 데이터입력단으로 로우레벨이 입력되도록 제어한다.First, the low level is controlled to be input from the CPU 111 of the computer to the data input terminal of the D flip-flop 166 through, for example, the address signal SD [0] of the system bus.

그리고 소정의 입출력제어신호(IOW#)와, 소정의 인터럽트신호로 구동되는 포트교체제어신호(PORTSWAP#)를 하이레벨로 출력시킨다.The predetermined input / output control signal IOW # and the port replacement control signal PORTSWAP # driven by the predetermined interrupt signal are output at a high level.

그러면, 포트제어부(161)의 OR게이트(167)의 각입력단으로 입력되는 상기 입출력제어신호(IOW#) 또는 포트교체제어신호(PORTSWAP#)가 하이레벨로 입력되는 순간 D플립플롭(166)의 클럭신호입력단(CLK)으로 하이레벨의 클럭신호가 인가된다.Then, when the input / output control signal IOW # or the port replacement control signal PORTSWAP # is input to each input terminal of the OR gate 167 of the port control unit 161 at the high level, the D flip-flop 166 A high level clock signal is applied to the clock signal input terminal CLK.

이때, D플립플롭(166)은 상기 하이레벨의 클럭이 인가되는 순간 데이터입력단(D)에 입력된 로우레벨의 데이터신호를 출력단을 통해 출력시킨다.At this time, the D flip-flop 166 outputs the low level data signal input to the data input terminal D through the output terminal at the moment when the high level clock is applied.

즉, D플립플롭(166)의 데이타출력단(Q)으로는 로우레벨, 반전출력단(NQ)으로는 하이레벨의 제어신호가 각각 출력된다.That is, a low level control signal is output to the data output terminal Q of the D flip-flop 166 and a high level to the inverting output terminal NQ.

따라서, 도 4에 도시된 바와 같이, 보조기억장치컨트롤러(160)의 제1디코더(162)의 제어신호입력단(C1)으로 로우레벨의 포트제어신호가 입력되고, 제2디코더(163)의 제어신호입력단(C2)으로 하이레벨의 포트제어신호가 입력된다.Accordingly, as shown in FIG. 4, a low level port control signal is input to the control signal input terminal C1 of the first decoder 162 of the auxiliary memory controller 160, and the second decoder 163 is controlled. A high level port control signal is input to the signal input terminal C2.

그러면, 제1디코더(162)는 상기 제어신호입력단(C1)으로 입력된 로우레벨의 포트제어신호에 기초하여 2차측(SECONDARY) 포트로 제어되도록 PAL을 재프로그램시킨다(S132).Then, the first decoder 162 reprograms the PAL to be controlled by the secondary port based on the low level port control signal input to the control signal input terminal C1 (S132).

이와 마찬가지로 제2디코더(163)는 상기 제어신호입력단(C2)으로 입력된 하이레벨의 포트제어신호에 기초하여 1차측(PRIMARY) 포트로 제어되도록 PAL을 재프로그램시킨다(S133).Similarly, the second decoder 163 reprograms the PAL to be controlled by the PRIMARY port based on the high level port control signal input to the control signal input terminal C2 (S133).

따라서, 제2포트(165)에 접속된 CD_ROM드라이브는 1차측(PRIMARY)으로 접속되어 제어되고, 제1포트(164)에 접속된 하드디스크드라이브는 2차측(SECONDARY)으로 접속되어 제어된다.Therefore, the CD_ROM drive connected to the second port 165 is connected and controlled by the primary side (PRIMARY), and the hard disk drive connected to the first port 164 is connected and controlled by the secondary side (SECONDARY).

본 발명은 종래의 EIDE컨트롤러에 접속시키는 보조기억장치는 소정의 목적에 따라 보조기억장치의 예컨대 점퍼를 설정한 다음, 해당되는 케이블의 커넥터에 보조기억장치를 접속시켜야 하고, 접속된 임의의 보조기억장치를 부팅용으로 사용하고자 하는 경우에는 기존에 부팅용으로 사용하던 보조기억장치의 점퍼를 조정하여 설정하고, 새로이 사용하고자하는 보조기억장치의 점퍼도 조정한 다음 케이블의 커넥터를 바꾸어 접속시켜야 하는 불편한 점과, 예컨대 노트북컴퓨터와 같은 휴대용 컴퓨터는 제조시점부터 보조기억장치를 용도에 맞추어 고정시켜 사용하도록 하기 때문에 사용자는 변경시킬 수가 없는 문제점을 해결한 것으로, 복수의 보조기억장치를 접속할 수 있고, 접속된 보조기억장치의 포트접속레벨을 서로 변경시키도록 설정할 수 있으며, 설정된 접속레벨에 기초하여 보조기억장치를 구동시키도록 제어할 수 있다.According to the present invention, the auxiliary memory device to be connected to the conventional EIDE controller has to set the auxiliary memory device according to a predetermined purpose, for example, a jumper, and then connect the auxiliary memory device to the connector of the corresponding cable. If you want to use the device for booting, you need to adjust the jumper of the auxiliary storage device that was previously used for booting, adjust the jumper of the new storage device that you want to use, and then change the connector of the cable to connect it. In this regard, a portable computer such as a notebook computer has a problem that a user cannot change since the auxiliary memory device is fixed to the intended use from the time of manufacture, and a plurality of auxiliary memory devices can be connected and connected. The port access level of the auxiliary storage device can be set to change with each other. It said, may be based on the set access levels to control to drive the auxiliary storage device.

Claims (6)

사용자로 부터의 데이터를 입력시키는 입력부(120)와;An input unit 120 for inputting data from a user; 소정의 제어신호에 기초하여 복수의 보조기억장치(140,150)의 접속포트를 선택적으로 스와핑시키도록 제어하는 보조기억장치컨트롤러(160)와;An auxiliary memory controller 160 which controls to selectively swap the connection ports of the plurality of auxiliary storage devices 140 and 150 based on a predetermined control signal; 주변기기의 기본입출력기능을 제어하는 프로그램을 기억시키는 BIOS(112)와;A BIOS 112 for storing a program for controlling a basic input / output function of the peripheral device; 컴퓨터의 동작프로그램 또는 처리데이타를 기억시키는 메모리부(114)와;A memory unit 114 for storing operation programs or processing data of the computer; 중앙제어를 수행하는 CPU(111)를 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.Computer having an IDE port selection switching function, characterized in that the CPU 111 is configured to perform a central control. 제 1 항에 있어서,The method of claim 1, 상기 보조기억장치컨트롤러(160)는 제1디코더(162)와 임의의 보조기억장치를 접속시키는 제1포트(164)와;The auxiliary memory controller 160 includes: a first port 164 connecting the first decoder 162 and an optional auxiliary memory device; 제2디코더(163)와 임의의 보조기억장치를 접속시키는 제2포트(165)와;A second port 165 connecting the second decoder 163 and any auxiliary memory device; CPU(111)로 부터의 명령에 기초하여 제1 또는 제2포트(164,165)에 접속된 보조기억장치(140,150)의 접속포트의 레벨을 교체시키도록 소정의 포트제어신호를 출력시키는 포트제어부(161)와;The port control unit 161 outputs a predetermined port control signal to replace the level of the connection port of the auxiliary storage device 140, 150 connected to the first or second port 164, 165 based on the command from the CPU 111. )Wow; 상기 포트제어부(161)로 부터 포트제어신호입력단(C1)으로 입력되는 포트제어신호에 기초하여 접속레벨을 변경하여 접속시키도록 제어하는 제1디코더(162)와;A first decoder (162) for controlling connection by changing a connection level based on a port control signal input from the port control unit (161) to a port control signal input terminal (C1); 상기 포트제어부(161)로 부터 포트제어신호입력단(C2)으로 입력되는 포트제어신호에 기초하여 접속레벨을 변경하여 접속시키도록 제어하는 제2디코더(163)를 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.IDE port characterized in that it is provided with a second decoder 163 for controlling to change the connection level based on the port control signal input from the port control unit 161 to the port control signal input terminal (C2). Computer with selective switching function. 제 2 항에 있어서,The method of claim 2, 상기 포트제어부(161)는 소정의 인터럽트신호(IRQ#)에 기초한 포트전환어드레스신호(PORTSWAP#)와 소정의 입출력제어신호(IOW#)를 논리합시켜 클럭제어신호로서 출력시키는 OR게이트(167)와;The port control unit 161 may OR the gate switching address signal PORTSWAP # based on a predetermined interrupt signal IRQ # and an OR gate 167 for logically combining the predetermined input / output control signal IOW # and outputting the result as a clock control signal. ; 상기 OR게이트(167)로부터 클럭입력단(CLK)으로 입력되는 클럭제어신호와, 컴퓨터의 CPU(10)로부터 데이터입력단(D)을 통해 입력되는 소정의 포트제어선택신호(SD[0])와, 컴퓨터의 CPU(10)로부터 프리셋단(PRESET)으로 입력되는 리셋드라이브신호(RSTDRV#)에 기초하여 출력단(Q,NQ)을 통해 소정의 포트제어신호를 각각 출력시키는 D플립플롭(166)을 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.A clock control signal input from the OR gate 167 to the clock input terminal CLK, a predetermined port control selection signal SD [0] input from the CPU 10 of the computer through the data input terminal D, And a D flip-flop 166 for outputting predetermined port control signals through the output terminals Q and NQ, respectively, based on the reset drive signal RSTDRV # input from the CPU 10 of the computer to the preset stage PRESET. Computer with IDE port selection switching function, characterized in that configured. 제 1 항에 있어서,The method of claim 1, 상기 CPU(111)는 보조기억장치의 입출력포트를 기본포트레벨로 설정시키는 디코더디폴트포트설정루틴(S110)과;The CPU 111 includes a decoder default port setting routine (S110) for setting an input / output port of the auxiliary memory device to a basic port level; 보조기억장치의 입출력포트를 교체시킬 것인지를 나타내는 포트교체기능이 설정되었는지를 판별하는 포트SWAP기능판별단계(S120)와;A port SWAP function discrimination step (S120) for determining whether a port replacement function indicating whether to replace an input / output port of the auxiliary storage device is set; 상기 포트SWAP기능판별단계(S120)가 성립된 경우에 기본포트레벨을 서로 교체(SWAP)시켜 접속시키도록 상기 보조기억장치컨트롤러를 제어하는 디코더포트교체루틴(130)과;A decoder port replacement routine (130) for controlling the auxiliary memory controller so that the basic port levels are interchanged (SWAP) and connected when the port SWAP function discrimination step (S120) is established; 컴퓨터와 접속된 소정의 주변기기에 대해 자가진단을 수행하는 POST수행단계(S140)를 포함하여 처리하는 기능을 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.Computer having an IDE port selection switching function, characterized in that it is configured with a processing function including a POST performing step (S140) for performing a self-diagnosis for a predetermined peripheral device connected to the computer. 제 4 항에 있어서,The method of claim 4, wherein 상기 디코더디폴트포트설정루틴(S110)은 제1디코더(162)를 차측(PRIMARY) 포트로 설정시키는 제1디코더PRIMARY설정단계(S112)와;The decoder default port setting routine (S110) comprises: a first decoder PRIMARY setting step (S112) of setting the first decoder 162 as a PRIMARY port; 제2디코더(163)를 2차측(SECONDARY) 포트로 설정시키는 제2디코더SECONDARY설정단계(S113)를 처리하는 기능을 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.And a second decoder (SE113) setting step (S113) for setting the second decoder (163) as a secondary port (SECONDARY) port. 제 4 항에 있어서,The method of claim 4, wherein 상기 디코더포트교체루틴(S130)은 제1디코더(162)를 2차측(SECONDARY) 포트로 설정시키는 제1디코더SECONDARY설정단계(S132)와;The decoder port replacement routine (S130) includes a first decoder SECONDARY setting step (S132) for setting the first decoder (162) as a secondary side (SECONDARY) port; 제2디코더(163)를 1차측(PRIMARY) 포트로 설정시키는 제2디코더PRIMARY설정단계(S133)를 처리하는 기능을 구비하여 구성된 것을 특징으로 하는 IDE포트 선택전환기능을 갖는 컴퓨터.And a function of processing a second decoder PRIMARY setting step (S133) of setting the second decoder (163) as a primary port (PRIMARY) port.
KR1019970008835A 1997-03-15 1997-03-15 Computer with IDE port selection switch function KR19980073519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970008835A KR19980073519A (en) 1997-03-15 1997-03-15 Computer with IDE port selection switch function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970008835A KR19980073519A (en) 1997-03-15 1997-03-15 Computer with IDE port selection switch function

Publications (1)

Publication Number Publication Date
KR19980073519A true KR19980073519A (en) 1998-11-05

Family

ID=65985349

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970008835A KR19980073519A (en) 1997-03-15 1997-03-15 Computer with IDE port selection switch function

Country Status (1)

Country Link
KR (1) KR19980073519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100361657B1 (en) * 1999-12-01 2002-11-21 삼성전자 주식회사 Hard disk device of IDE type and controlling method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100361657B1 (en) * 1999-12-01 2002-11-21 삼성전자 주식회사 Hard disk device of IDE type and controlling method thereof

Similar Documents

Publication Publication Date Title
US5974554A (en) Computer system with automatic configuration capability for industry standard architecture(ISA) cards
US6088794A (en) Computer system capable of selective booting from two hard disk drives
KR100319292B1 (en) Computer system and method for quickly booting
KR100480415B1 (en) How to check CD-ROM drive's operation status
US6073187A (en) Controls and indicators available to a user for a secondary operational mode of a portable computer which is open or closed state of the computer case
KR19980035435A (en) Computer system with automatic detection
JPH029367B2 (en)
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
US20060212550A1 (en) Information processing apparatus and activation method
US5537531A (en) Portable computer with a bank switch for switching between a ROM and a memory, both allocated to the same address space, by changing a port address of a keyboard controller
US5761519A (en) Portable computer having a removable medium drive and a resume setting function
JP2003196102A (en) Computer system
KR19980073519A (en) Computer with IDE port selection switch function
KR20010073673A (en) Apparatus and method for selectively executing each function in a portable computer
JP3544734B2 (en) Multi-panel parameter initialization setting device and initialization setting method
KR20000008628A (en) Booting music outputting method of computer system
KR920002750Y1 (en) Selection circuit for boot disk driver
KR20000015527U (en) Computer system with changing booting drive easily
JP3702928B2 (en) CD-ROM drive operation control method
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
KR100292155B1 (en) Digital computer having easy operation environment and using method thereof
JP2839631B2 (en) Personal computer system and configuration change method thereof
JP2002041437A (en) Hard disk drive switching system
JPH11326866A (en) Information processor, back light luminance and contrast control method, and storage medium
JPH0736154B2 (en) Data storage

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination