KR930000482Y1 - Selecting circuit of transmission port using keyboard - Google Patents

Selecting circuit of transmission port using keyboard Download PDF

Info

Publication number
KR930000482Y1
KR930000482Y1 KR2019900012771U KR900012771U KR930000482Y1 KR 930000482 Y1 KR930000482 Y1 KR 930000482Y1 KR 2019900012771 U KR2019900012771 U KR 2019900012771U KR 900012771 U KR900012771 U KR 900012771U KR 930000482 Y1 KR930000482 Y1 KR 930000482Y1
Authority
KR
South Korea
Prior art keywords
port
signal
interrupt
output
input
Prior art date
Application number
KR2019900012771U
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 KR2019900012771U priority Critical patent/KR930000482Y1/en
Application granted granted Critical
Publication of KR930000482Y1 publication Critical patent/KR930000482Y1/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

내용 없음.No content.

Description

키보드를 이용한 전송포트 선택회로Transmission port selection circuit using keyboard

제1도는 종래의 전송포트 선택회로도.1 is a conventional transmission port selection circuit diagram.

제2도는 본 고안의 전송포트 선택회로의 실시예를 보인 상세도.Figure 2 is a detailed view showing an embodiment of the transmission port selection circuit of the present invention.

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

1 : 입출력 디코더 2 : 입출력 콘트롤러1: input / output decoder 2: input / output controller

3 : 직렬포트 4 : 병렬포트3: Serial port 4: Parallel port

5 : 인터럽트신호 출력부5: Interrupt signal output section

SW1, SW2 : 직렬 및 병렬포트 인에이블 스위치SW1, SW2: Serial and Parallel Port Enable Switch

SW3, SW4 : 직렬 및 병렬포트 선택스위치SW3, SW4: Serial and parallel port selector switch

BF1-BF4 : 버퍼 EOR1, EOR2 : 익스클루시브 오아게이트BF1-BF4: Buffer EOR1, EOR2: Exclusive Oagate

: 어드레스 인에이블 신호 A9-A3 : 어드레스 신호 : Address enable signal A9-A3: Address signal

KS1, KS2 : 포트 선택신호: 제어신호KS1, KS2: Port Selection Signal : Control signal

INT3-INT5, INT7 : 인터럽트 신호INT3-INT5, INT7: Interrupt signal

본 고안은 IBM호환기종의 퍼스널 컴퓨터에 있어서, 키보드를 이용하여 전송포트를 선택할 수 있도록 하는 키보드를 이용한 전송포트 선택회로에 관한 것이다.The present invention relates to a transmission port selection circuit using a keyboard for selecting a transmission port using a keyboard in a personal computer of the IBM compatible type.

IBM호환기종의 퍼스널 컴퓨터는 내부의 중앙처리장치와 외부의 주변기기간에 데이타를 상호 전송하는 전송 포트가 다음의 표1에서와 같이 정의되어 있다.Personal computers of the IBM compatible type have a transmission port that transfers data to and from the internal central processing unit and the external peripheral period as shown in Table 1 below.

[표 1]TABLE 1

즉, 2개의 직렬포트와 2개의 병렬포트가 정의되어 있고, 이들 직렬포트 및 병렬포트는 각기 고유의 인터럽트 번호와 입출력 어드레스가 부여되어 있다.That is, two serial ports and two parallel ports are defined, and each serial port and the parallel port are assigned with their own interrupt numbers and input / output addresses.

이러한 전송포트 중에서 직렬포트 및 병렬포트를 각기 하나씩 구비하게 퍼스널 컴퓨터를 설계할 경우에 하나의 고정된 포트만이 사용 가능하고 다른 주변기기에 동일한 어드레스 및 인터럽트를 부여하여 확장할 경우에는 포트의 동작을 정지시켜야 되었다. 즉, 제1도는 직렬포트 및 병렬포트를 각기 하나씩 구비한 종래의 전송포트 선택 회로도이다.When designing a personal computer with one serial port and one parallel port among these transmission ports, only one fixed port can be used and the port operation must be stopped when expanding by giving the same address and interrupt to other peripherals. It became. That is, FIG. 1 is a conventional transmission port selection circuit diagram having one serial port and one parallel port.

여기서, 부호 1은 입출력 디코더이다. 이 입출력 디코더(1)에서, 동작전원(B+)에 직렬로 연결된 저항(R1) 및 직렬포트 인에이블 스위치(SW1)의 접속점과 저항(R2) 및 병렬포트 인에이블 스위치(SW2)의 접속점이 직렬포트 인에이블단자()와 병렬포트 인에이블단자()에 각기 접속되고, 중앙처리장치로부터 어드레스 인에이블신호() 및 어드레스신호(A9-A3)가 입력된다. 부호 2는 입출력 콘트롤러이다. 이 입출력 콘트롤러(2)에는 직렬포트(3)와 병렬포트(4)가 연결되고, 상기 입출력 디코더(1)에서 출력되어 제어단자(CSO)(CS1)에 인가되는 제어신호(SI0)(PIO)에 따라 직렬포트(3) 및 병렬포트(4)를 데이타 버스에 연결하여 중앙처리장치와 외부의 주변기기가 데이타(D7-D0)를 전송할 수 있게 되어있다.Here, reference numeral 1 denotes an input / output decoder. In this input / output decoder 1, the connection point of the resistor R1 and the serial port enable switch SW1 connected in series with the operating power source B + and the connection point of the resistor R2 and the parallel port enable switch SW2 are connected in series. Port Enable Terminal ( ) And parallel port enable terminal ( ) Are respectively connected to the address enable signal ( ) And address signals A9-A3 are input. 2 is an input / output controller. A serial port 3 and a parallel port 4 are connected to the input / output controller 2, and a control signal SI0 (PIO) output from the input / output decoder 1 and applied to the control terminal CSO CS1. The serial port 3 and the parallel port 4 are connected to a data bus so that the CPU and external peripherals can transmit data (D7-D0).

이와 같은 구성을 가지는 전송포트선택회로는 스위치(SW1)를 접속시켜 직렬포트 인에이블단자()에 저전위가 인가되고, 중앙처리장치로부터 저전위의 어드레스 인에이블신호()가 입력되는 상태에서 직렬포트(3)에 설정된 어드레스 신호(A9-A3)가 입력되면, 입출력 디코더(1)는 입출력 콘트롤러(2)의 제어단자()로 저전위의 제어신호()를 출력하게 된다. 그러면 입출력 콘트롤러(2)는 직렬포트(3)를 선택하고, 직렬포트(3)에 연결된 외부기기와 중앙처리장치가 상호간에 데이타를 전송하게 된다.The transmission port selection circuit having such a configuration connects the switch SW1 to the serial port enable terminal ( Low potential is applied to the low potential address enable signal ( When the address signals A9-A3 set in the serial port 3 are input while the input signal is input, the input / output decoder 1 is connected to the control terminal (2) of the input / output controller 2. Low-potential control signal ( ) Will be printed. Then, the input / output controller 2 selects the serial port 3, and the external device and the central processing unit connected to the serial port 3 transmit data to each other.

또한, 스위치(SW2)를 접속시켜 병렬포트 인에이블단자()에 저전위가 인가되고, 중앙처리장치로부터 저전위의 어드레스 인에이블신호()가 입력되는 상태에서 병렬포트(4)에 설정된 어드테스 신호(A9-A3)가 입력되면, 입출력 디코더(1)는 입출력 콘트롤러(2)의 제어단자()로 고전위의 제어신호()를 출력하게 된다. 그러면 입출력 콘트롤러(2)는 병렬포트(4)를 선택하고, 병렬포트(4)에 연결된 외부기기와 중앙처리 장치가 상호간에 데이타를 전송하게 된다.Also, by connecting the switch SW2, the parallel port enable terminal ( Low potential is applied to the low potential address enable signal ( When the input signal A9-A3 set to the parallel port 4 is input while the input signal is input, the input / output decoder 1 is connected to the control terminal (2) of the input / output controller 2. High control signal ( ) Will be printed. Then, the input / output controller 2 selects the parallel port 4, and the external device and the central processing unit connected to the parallel port 4 transmit data to each other.

그리고, 스위치(SW1)(SW2)를 모두 개방시켜 직렬포트 인에이블단자() 및 병렬포트 인에이블단자()에 고전위가 인가될 경우에는 어드레스 인에이블신호() 및 어드레스신호(A9-A3)에 관계없이 입출력 디코더(1)는 제어신호()()를 출력하지 않고, 입출력 콘트롤러(2)는 직렬포트(3) 및 병렬포트(4)를 모두 선택하지 않는 된다.Then, open all the switches SW1 and SW2 so that the serial port enable terminal ( ) And parallel port enable terminal ( When the high potential is applied to the address enable signal ( ) And the address signals A9-A3, the input / output decoder 1 receives the control signal ( ) ( ), The input / output controller 2 does not select both the serial port 3 and the parallel port 4.

그러나, 상기와 같은 종래의 전송포트 선택회로는 각기 하나씩 구비된 병렬포트(3) 및 병렬포트(4)를 고정된 상태로만 사용할 수 없고, 또한 다른 입출력장치에, 직렬포트(3) 및 병렬포트(4)에 부여된 어드레스 및 인터럽트와 동일한 어드레스 및 인터럽트를 부여하여 화장하고자 할 경우에는 스위치(SW1)(SW2)를 개방시켜 직렬포트(3) 및 병렬포트(4)의 동작을 디제이블(disable)시켜야 되는 문제점이 있었다.However, the conventional transmission port selection circuits as described above cannot use the parallel port 3 and the parallel port 4 provided only one in a fixed state, and also provide the serial port 3 and the parallel port to other input / output devices. (4) In case of applying the same address and interrupt as the address and interrupt given in (4), the switches SW1 and SW2 are opened to disable the operation of the serial port 3 and the parallel port 4. There was a problem to be done.

그러므론 본 고안의 목적은 가기 하나씩 구비하고 있는 직렬포트 및 병렬포트를 키보드의 조작에 따라 마치 2개씩 구비하고 있는 것과 같이 사용할 수 있도록 하는 전송포트 선택회로를 제공하는 데 있다.Therefore, it is an object of the present invention to provide a transmission port selection circuit that allows a serial port and a parallel port, which are provided one by one, to be used as if two are provided according to the operation of the keyboard.

이와같은 목적을 가지는 본 고안은 별도의 직렬포트 선택스위치 및 병렬포트 선택스위치를 구비하고, 키보드의 특정키를 누름에 따라 키보드 바이오스부가 포트 선택신호를 출력하게 한다. 그리고. 키보드 바이오스부가 출력하는 포트선택신호, 어드레스 인에이블신호 및 어드레스신호와, 직렬포트 선택스위치, 병렬포트 선택스위치, 직렬포트 인에이블 스위치 및 병렬포트 인에이블 스위치의 절환에 따라 입출력 디코더가 입출력 콘트롤러로 제어신호를 출력하여 입출력 콘트롤러가 전송포트를 선택하게 함과 아울러 인터럽트 신호를 출력하게 한다.The present invention having such a purpose is provided with a separate serial port selection switch and a parallel port selection switch, so that the keyboard BIOS unit outputs the port selection signal according to pressing a specific key of the keyboard. And. The I / O decoder is controlled by the I / O controller according to the switching of the port selection signal, address enable signal and address signal output from the keyboard BIOS unit, serial port selection switch, parallel port selection switch, serial port enable switch and parallel port enable switch. Outputs a signal to allow the input / output controller to select a transmission port and to output an interrupt signal.

또한 키보드 바이어스부에서 출력되는 포트선택신호와 인터럽트신호 출력부가 선택된 전송포트를 판별하고, 그 판별신호에 따라 선택된 전송포트의 인터럽트신호를 출력하게 한다.In addition, the port selection signal output from the keyboard bias unit and the interrupt signal output unit determine the selected transmission port, and outputs the interrupt signal of the selected transmission port according to the determination signal.

그러므로 본 고안에 의하면, 스위치의 절환, 어드레스 인에이블신호, 어드레스신호 및 포트선택신호에 따라 입출력 디코더가 입출력 콘트롤러를 제어하여 전송포트를 선택함과 아울러 선택된 전송포트에 따른 인터럽트 신호를 출력하고, 포트선택신호와 스위치의 절환상태에 따라 인터럽트신호 출력부가 입출력 콘트롤러에서 출력되는 인터럽트 신호를 분리출력하여 하나씩 구비하고 있는 직렬포트 및 병렬포트를 마치 2개씩 구비하고 있는 것과 같이 사용하게 된다.Therefore, according to the present invention, the input / output decoder controls the input / output controller according to the switch switching, the address enable signal, the address signal, and the port selection signal to select a transmission port, and output an interrupt signal according to the selected transmission port. The interrupt signal output unit separates the interrupt signal output from the I / O controller according to the switching state of the selection signal and the switch, and uses the serial port and the parallel port each having two serial ports.

이하, 본 고안의 바람직한 실시예를 보인 제2도의 도면을 참조하여 상세히 설명하겠으며, 여기서 종래와 동일한 부위에는 동일부호를 부여하였다.Hereinafter, with reference to the drawings of Figure 2 showing a preferred embodiment of the present invention will be described in detail, where the same parts as in the prior art.

제2도에 도시된 바와 같이, 스위치(SW1)(SW2)의 절환, 어드레스 인에이블신호() 및 어드레스신호(A9-A3)에 따라 입출력 디코더(1)가 출력하는 제어신호()()에 의해 입출력 콘트롤러(2)가 직렬포트(3) 및 병렬포트(4)를 선택함과 아울러 인터럽트단자(IT0)(IT1)로 인터럽트신호를 선택적으로 출력하게 한 전송포트 선택회로에 있어서, 키보드에 미리 설정한 키를 누름에 따라 키보드 바이오스부가 출력하는 포트 선택신호(KS1)(KS2)가 입출력 디코더(1)의 제1직렬포트 선택단자(SP1) 및 제1병렬포트 선택단자(PP1)에 각기 인가 되게 접속하고, 전원(B+)에 직렬로 접속된 저항(R3) 및 직렬포트 선택 스위치(SW3)의 접속점과 저항(R4) 및 병렬포트 선택스위치(SW4)의 접속점을 입출력 디코더(1)의 제2직렬포트 선택단자(SP2) 및 제2병렬포트 선택단자(PP2)에 각기 접속하였다.As shown in FIG. 2, the switching of the switches SW1 and SW2, the address enable signal ( ) And a control signal output by the input / output decoder 1 in accordance with the address signals A9-A3 ) ( In the transmission port selection circuit in which the input / output controller 2 selects the serial port 3 and the parallel port 4 and selectively outputs an interrupt signal to the interrupt terminals IT0 and IT1, The port selection signals KS1 and KS2 outputted by the keyboard BIOS unit are output to the first serial port selection terminal SP1 and the first parallel port selection terminal PP1 of the input / output decoder 1 in response to pressing a key set in advance. The connection points of the resistor R3 and the serial port selector switch SW3 and the connection point of the resistor R4 and the parallel port selector switch SW4 connected in series with each other and connected to the power supply B + are connected to the input / output decoder 1. Connected to the second serial port selection terminal SP2 and the second parallel port selection terminal PP2.

그리고, 입출력 콘트롤러(2)의 인터럽트단자(ITO)(IT1)를 버퍼(BF1, BF2)(BF3, BF4)의 입력단자에 접속하고, 저항(R3) 및 스위치 (SW3)의 접속점과 포트선택신호(KS1)를 익스클루시브 오아게이트(EOR1)를 통해 버퍼(BF1, BF2)의 제어단자에 접속하여 버퍼(BF1, BF2)의 출력단자에서 인터럽트신호(INT3, INT4)가 출력되게 함과 아울러 저항(R4) 및 스위치(SW4)의 접속점과 포트선택신호(KS2)를 익스클루시브 오아게이트(EOR2)를 통해 버퍼(BF3, BF4)의 제어단자에 접속하여 버퍼(BF1, BF2)의 출력단자에서 인터럽트신호(INT5, INT7)가 출력되도록 인터럽트신호 출력부(5)를 구성하였다.Then, the interrupt terminal ITO (IT1) of the input / output controller 2 is connected to the input terminals of the buffers BF1, BF2 (BF3, BF4), and the connection point and the port selection signal of the resistor R3 and the switch SW3. (KS1) is connected to the control terminals of the buffers BF1 and BF2 via the exclusive orifice EOR1 so that the interrupt signals INT3 and INT4 are output from the output terminals of the buffers BF1 and BF2 and the resistors The connection point of the switch R4 and the switch SW4 and the port selection signal KS2 are connected to the control terminals of the buffers BF3 and BF4 via an exclusive ore gate EOR2, and at the output terminals of the buffers BF1 and BF2. The interrupt signal output section 5 is configured to output interrupt signals INT5 and INT7.

상기에서 입출력 디코더(1)는 PAL(Programmable Array Logic)로서 다음의 논리식과 같이 제어신호()()를 출력하게 프로그래밍한다.The input / output decoder 1 is a PAL (Programmable Array Logic) and a control signal ( ) ( Program the output to.

= A9*A8*A7*A6*A5*A4*A3****;3F8-3FF,INT4 A9**A7*A6*A5*A4*A3**SP1**;2F8-2FF, INT3 A9**A7*A6*A5*A3***SP2*;2F8-2FF,INT3 A9*A8*A7*A6*A5*A4*A3**SP1*SP2*;3F8-3FF,INT4= A9*A8*A7*A6*A5*A4*A3****;378-37F, INT7 A9***A6*A5*A4*A3**PP1**;278-27F, INT5 A9**A7*A6*A5*A4*A3**PP1**;278-27F, INT7 A9*A8**A6*A5*A4*A3**PP1*PP2*;378-37F, INT7 = A9 * A8 * A7 * A6 * A5 * A4 * A3 * * * * ; 3F8-3FF, INT4 A9 * * A7 * A6 * A5 * A4 * A3 * * SP1 * * ; 2F8-2FF, INT3 A9 * * A7 * A6 * A5 * A3 * * * SP2 * ; 2F8-2FF, INT3 A9 * A8 * A7 * A6 * A5 * A4 * A3 * * SP1 * SP2 * ; 3F8-3FF, INT4 = A9 * A8 * A7 * A6 * A5 * A4 * A3 * * * * ; 378-37F, INT7 A9 * * * A6 * A5 * A4 * A3 * * PP1 * * ; 278-27F, INT5 A9 * * A7 * A6 * A5 * A4 * A3 * * PP1 * * ; 278-27F, INT7 A9 * A8 * * A6 * A5 * A4 * A3 * * PP1 * PP2 * ; 378-37F, INT7

이와 같이 구성된 본 고안의 작용을 스위치(SW1-SW4)의 절환상태FH 나누어 설명한다.The operation of the present invention configured as described above will be described by dividing the switching state FH of the switches SW1-SW4.

[1. 스위치(SW1,SW3)를 접속시켰을 경우.][One. When the switch (SW1, SW3) is connected.]

전원을 온하여 동작전원(B+)이 인가된 초기시간에 익스클루시브 오아에이트(EOR1)의 입력단자에는 모두 저전위가 인가되므로 익스클루시브 오아게이트(EOR1)는 저전위를 출력하여 버퍼(BF2)가 동작하게 된다.Since the low potential is applied to the input terminals of the exclusive ore (EOR1) at the initial time when the operating power (B +) is turned on, the exclusive oragate (EOR1) outputs the low potential to the buffer (BF2). ) Will work.

이때, 입출력 디코더(1)의 직렬포트 인에이블단자() 및 직렬포트 선택단자(SP1,SP2)에는 모두 저전위가 인가된다.At this time, the serial port enable terminal of the input / output decoder 1 ) And the serial port select terminals SP1 and SP2 are all low potential.

이와 같은 상태에서 중앙처리장치가 직렬포트(3)를 통해 데이타를 전송할 경우에 저전위의 어드레스 인에이블신호()와 3F8-3FF(Hex)의 어드레스신호(A9-A3)를 출력하게 되면, 입출력 디코더(1)는 A9*A8*A7*A6*A5*A4*A3****의 논리식 조건을 만족하므로 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.In this state, when the CPU transmits data through the serial port 3, a low potential address enable signal ( ) And 3F8-3FF (Hex) address signals (A9-A3) are outputted, the input / output decoder 1 outputs A9 * A8 * A7 * A6 * A5 * A4 * A3 * * * * The low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 직렬포트(3)를 선택함과 아울러 인터럽트단자(ITO)로 고전위의 인터럽트 신호를 출력하고, 그 인터럽트신호는 버퍼(BF2)를 통해 "직렬포트 1"의 인터럽트신호(INT4)로 출력된다.Therefore, the input / output controller 2 selects the serial port 3 and outputs a high potential interrupt signal to the interrupt terminal ITO. The interrupt signal is interrupt signal of the "serial port 1" through the buffer BF2. Output as (INT4).

그러면, 중앙처리장치는 인터럽트신호(INT4)에 따라 인터럽트 루틴을 수행하면서 직렬포트(3)를 통해 주변 기기와 데이타를 전송 즉, 마치 "직렬포트 1"을 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT4 and transmits data with the peripheral device through the serial port 3, that is, by transmitting data through the "serial port 1".

이와 같은 상태에서 전송 포트를 변경할 경우에 키보드의 키를 눌러 키보드 바이오스부에서 고전위의 포트 선택신호(KS1)가 출력되게 하면, 익스클루시브 오아게이트(EOR1)에서 고전위가 출력되어 버퍼(BF1)가 동작 상태로 된다.If the transmission port is changed in such a state, when the key of the keyboard is pressed to output the high potential port selection signal KS1 from the keyboard BIOS unit, the high potential is output from the exclusive oragate EOR1 and the buffer BF1 is output. ) Becomes the operating state.

그리고, 중앙처리장치가 저전위의 어드레스 인에이블신호(AEN)를 출력함과 아울러 2F8-2FF(Hex)의 어드레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9**A7*A6*A5*A4*A3*SP1**의 논리식 조건을 만족하므로 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.When the central processing unit outputs the low-potential address enable signal AEN and outputs the address signals A9-A3 of 2F8-2FF (Hex), the input / output decoder 1 outputs A9 *. * A7 * A6 * A5 * A4 * A3 * SP1 * * The low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 직렬포트(3)를 선택함과 아울러 인터럽트단자(ITO)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF1)를 통해 "직렬포트 2"의 인터럽트신호(INT3)로 출력된다.Therefore, the input / output controller 2 selects the serial port 3 and outputs a high potential interrupt signal to the interrupt terminal ITO. The interrupt signal is interrupt signal of the "serial port 2" through the buffer BF1. Output as (INT3).

그러면, 중앙처리장치는 인터럽트신호(INT3)에 따라 인터럽트 루틴을 수행하면서 직렬포트(3)를 통해 주변 기기와 데이타를 전송 즉, 마치 "직렬포트 2"를 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT3 and transmits data with the peripheral device through the serial port 3, that is, by transmitting data through the "serial port 2".

[2. 스위치 (SW1)는 접속시키고, 스위치(SW3)는 개방시켰을 경우.][2. When switch SW1 is connected and switch SW3 is open.]

전원을 온하여 동작전원(B+)이 인가된 초기시간에 익스클루시브 오아에이트(EOR1)의 입력단자에는 고전위 및 저전위가 인가되므로 익스클루시브 오아게이트(EOR1)는 고전위를 출력하여 버퍼(BFI)가 동작하게 된다.Since the high potential and low potential are applied to the input terminal of the exclusive ore (EOR1) at the initial time when the operating power (B +) is turned on, the exclusive oragate (EOR1) outputs the high potential and buffers the input voltage. (BFI) is activated.

이때, 입출력 디코더(1)의 직렬포트 인에이블단자() 및 직렬포트 선택단자(SP1,SP2)에는 모두 저전위가 인가되고, 직렬포트 선택단자(SP2)에는 고전위가 인가된다.At this time, the serial port enable terminal of the input / output decoder 1 ) And the serial port select terminals SP1 and SP2 are all supplied with low potentials, and the serial port select terminals SP2 are applied with high potentials.

이와 같은 상태에서 중앙처리장치가 직렬포트(3)를 통해 데이타를 전송할 경우에 저전위의 어드레스 인에이블신호()와 2F8-2FF(Hex)의 어드레스신호(A9-A3)를 출력하게 되면, 입출력 디코더(1)는 A9**A7*A6*A5*A4*A3***SP2*의 논리식 조건을 만족하므로 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.In this state, when the CPU transmits data through the serial port 3, a low potential address enable signal ( ) And 2F8-2FF (Hex) address signals A9-A3 are outputted, the input / output decoder 1 generates A9 *. * A7 * A6 * A5 * A4 * A3 * * * SP2 * The low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 직렬포트(3)를 선택함과 아울러 인터럽트단자(170)로 고전위의 인터럽트 신호를 출력하고, 그 인터럽트신호는 버퍼(BF1)를 통해 "직렬포트 2"의 인터럽트신호(INT3)로 출력된다.Therefore, the input / output controller 2 selects the serial port 3 and outputs a high potential interrupt signal to the interrupt terminal 170. The interrupt signal is interrupt signal of the "serial port 2" through the buffer BF1. Output as (INT3).

그러면, 중앙처리장치는 인터럽트신호(INT3)에 따라 인터럽트 루틴을 수행하면서 직렬포트(3)를 통해 주변 기기와 데이타를 전송 즉, 마치 "직렬포트 2"을 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT3 and transmits data with the peripheral device through the serial port 3, that is, by transmitting data through the "serial port 2".

이와 같은 상태에서 전송 포트를 변경할 경우에 키보드의 키를 눌러 키보드 바이오스부에서 고전위의 포트 선택신호(KS1)가 출력되게 하면 익스클루시브 오아게이트(EOR1)에서 고전위가 출력되어 버퍼(BF2)가 동작 상태로 된다.When changing the transmission port in such a state, when the key of the keyboard is pressed to output the high potential port selection signal KS1 from the keyboard BIOS unit, the high potential is output from the exclusive oragate EOR1 and the buffer BF2. Becomes the operating state.

그리고, 중앙처리장치가 저전위의 어드레스 인에이블신호()를 출력함과 아울러 3F8-3FF(Hex)의 어드 레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9*A8*A7*A6*A5*A4*A3**SP1*SP2*의 논리식 조건을 만족하므로 입출력 디코더(1)는 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.The central processing unit then performs a low potential address enable signal ( In addition to outputting the address signal A9-A3 of 3F8-3FF (Hex), the input / output decoder 1 outputs A9 * A8 * A7 * A6 * A5 * A4 * A3 *. * SP1 * SP2 * Since the logic condition of the input / output decoder 1 is satisfied, the low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 직렬포트(3)를 선택함과 아울러 인터럽트단자(IT0)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF2)를 통해 "직렬포트 1"의 인터럽트신호(INT4)로 출력된다.Therefore, the input / output controller 2 selects the serial port 3 and outputs a high potential interrupt signal to the interrupt terminal IT0. The interrupt signal is interrupt signal of the "serial port 1" through the buffer BF2. Output as (INT4).

그러면, 중앙처리장치는 인터럽트신호(INT4)에 따라 인터럽트 루틴을 수행하면서 직렬포트(3)를 통해 주변기기와 데이타를 전송 즉, 마치 "직렬포트 1"를 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT4 and transmits data with the peripheral device through the serial port 3, that is, by transmitting data through the "serial port 1".

[3. 스위치(SW2, SW4)를 접속시켰을 경우.][3. When the switch (SW2, SW4) is connected.]

전원을 온하여 동작전원(B+)이 인가된 초기시간에 익스클루시브 오아에이트(EOR2)의 입력단자에는 모두 저전위가 인가되므로 익스클루시브 오아게이트(EOR2)는 저전위를 출력하여 버퍼(BF4)가 동작하게 된다.Since the low potential is applied to all the input terminals of the exclusive ore (EOR2) at the initial time when the operating power (B +) is turned on, the exclusive oragate (EOR2) outputs the low potential to the buffer (BF4). ) Will work.

이때, 입출력 디코더(1)의 병렬포트 인에이블단자() 및 병렬포트 선택단자(PP1, PP2)에는 모두 저전위가 인가된다.At this time, the parallel port enable terminal of the input / output decoder 1 ) And the parallel port select terminals PP1 and PP2 are all low potential.

이와 같은 상태에서 중앙처리장치가 병렬포트(4)를 통해 데이타를 전송하기 위하여 저전위의 어드레스 인에이블신호()와 378-37F(Hex)의 어드레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9*A8**A6*A5*A4*A3****의 논리식 조건을 만족하므로 입출력 디코더(1)는 저전위의 제어 신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.In this state, the central processing unit transmits data through the parallel port 4 so as to enable a low potential address enable signal ( And the address signals A9-A3 of 378-37F (Hex) are outputted, the input / output decoder 1 generates A9 * A8 *. * A6 * A5 * A4 * A3 * * * * Since the logical condition of the input / output decoder 1 is satisfied, the low-potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 병렬포트(4)를 선택함과 아울러 인터럽트단자(171)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF4)를 통해 "병렬포트 1"의 인터럽트신호(INT7)로 출력된다.Therefore, the input / output controller 2 selects the parallel port 4 and outputs a high potential interrupt signal to the interrupt terminal 171. The interrupt signal is interrupt signal of the "parallel port 1" through the buffer BF4. Output as (INT7).

그러면, 중앙처리장치는 인터럽트신호(INT7)에 따라 인터럽트 루틴을 수행하면서 병렬포트(4)를 통해 주변 기기와 데이타를 전송 즉, 마치 "병렬포트 1"을 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT7 and transmits data with the peripheral device through the parallel port 4, that is, by transmitting data through the "parallel port 1".

이와 같은 상태에서 전송 포트를 변경할 경우에 키보드의 키를 눌러 키보드 바이오스부에서 고전위의 포트 선택신호(KS2)가 출력되게 하면, 익스클루시브 오아게이트(EOR2)가 고전위를 출력하여 버퍼(BF3)가 동작상태로 된다.When changing the transmission port in such a state, when the key of the keyboard is pressed to cause the high-potential port selection signal KS2 to be output from the keyboard BIOS unit, the exclusive OA gate EOR2 outputs the high potential and the buffer BF3. ) Becomes the operating state.

그리고, 중앙처리장치가 저전위의 어드레스 인에이블신호()를 출력함과 아울러 278-27F(Hex)의 어드레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9**A7*A6*A5*A4*A3***PP2*의 논리식 조건을 만족하므로 입출력 디코더(1)는 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.The central processing unit then performs a low potential address enable signal ( ) And the address signals A9-A3 of 278-27F (Hex) are outputted. * A7 * A6 * A5 * A4 * A3 * * * PP2 * Since the logic condition of the input / output decoder 1 is satisfied, the low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 병렬포트(4)를 선택함과 아울러 인터럽트단자(IT1)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF3)를 통해 "병렬포트 2"의 인터럽트신호(INT)로 출력된다.Therefore, the input / output controller 2 selects the parallel port 4 and outputs a high potential interrupt signal to the interrupt terminal IT1. The interrupt signal is interrupt signal of the "parallel port 2" through the buffer BF3. Output as (INT).

그러면, 중앙처리장치는 인터럽트신호(INT3)에 따라 인터럽트 루틴을 수행하면서 병렬포트(4)를 통해 주변 기기와 데이타를 전송 즉, 마치 "병렬포트 2"를 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT3 and transmits data with the peripheral device through the parallel port 4, that is, by transmitting data through the "parallel port 2".

[4. 스위치(SW2)는 접속시키고, 스위치(SW4)는 개방시켰을 경우.][4. When switch SW2 is connected and switch SW4 is opened.]

전원을 온하여 동작전원(B+)이 인가된 초기시간에 익스클루시브 오아에이트(EOR2)의 입력단자에는 고전위 및 저전위가 인가되므로 익스클루시브 오아게이트(EOR2)는 고전위를 출력하여 버퍼(BF3)가 동작하게 된다.Since the high potential and low potential are applied to the input terminal of the exclusive oar (EOR2) at the initial time when the operating power (B +) is turned on, the exclusive oragate (EOR2) outputs a high potential to buffer (BF3) is activated.

이때, 입출력 디코더(1)의 병렬포트 인에이블단자() 및 병렬포트 선택단자(PP1)에는 모두 저전위가 인가되고, 병렬포트 선택단자(PP2)에는 고전위가 인가된다.At this time, the parallel port enable terminal of the input / output decoder 1 ) And the parallel port select terminal PP1 are all applied with a low potential, and the parallel port select terminal PP2 is applied with a high potential.

이와 같은 상태에서 중앙처리장치가 병렬포트(4)를 통해 데이타를 전송하기 위하여 저전위의 어드레스 인에이블신호()와 278-27F(Hex)의 어드레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9**A7*A6*A5*A4*A3***의 논리식 조건을 만족하므로 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.In this state, the central processing unit transmits data through the parallel port 4 so as to enable a low potential address enable signal ( ) And 278-27F (Hex) address signals A9-A3 are outputted, the input / output decoder 1 outputs A9 *. * A7 * A6 * A5 * A4 * A3 * * * The low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 병렬포트(4)를 선택함과 아울러 인터럽트단자(IT1)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF3)를 통해 "병렬포트 2"의 인터럽트신호(INT5)로 출력된다.Therefore, the input / output controller 2 selects the parallel port 4 and outputs a high potential interrupt signal to the interrupt terminal IT1. The interrupt signal is interrupt signal of the "parallel port 2" through the buffer BF3. Outputted as (INT5).

그러면, 중앙처리장치는 인터럽트신호(INT5)에 따라 인터럽트 루틴을 수행하면서 병렬포트(4)를 통해 주변 기기와 데이타를 전송 즉, 마치 "병렬포트 2"을 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT5 and transmits data with the peripheral device through the parallel port 4, that is, by transmitting data through the "parallel port 2".

이와 같은 상태에서 전송 포트를 변경할 경우에 키보드의 키를 눌러 키보드 바이오스부에서 고전위의 포트 선택신호(KS2)가 출력되게 하면 익스클루시브 오아게이트(EOR2)가 고전위를 출력하여 버퍼(BF4)가 동작상태로 된다.When changing the transmission port in such a state, if the key of the keyboard is pressed to output the high potential port selection signal KS2 from the keyboard BIOS unit, the exclusive OA gate EOR2 outputs the high potential and the buffer BF4. Becomes the operating state.

그리고, 중앙처리장치가 저전위의 어드레스 인에이블신호()를 출력함과 아울러 378-37F(Hex)의 어드레스신호(A9-A3)를 출력하면, 입출력 디코더(1)는 A9*A8**A6*A5*A4*A3**PP1*PP2*의 논리식 조건을 만족하게 되므로 입출력 디코더(1)는 저전위의 제어신호()를 출력하여 입출력 콘트롤러(2)의 제어단자()에 인가된다.The central processing unit then performs a low potential address enable signal ( ) And the address signals A9-A3 of 378-37F (Hex) are outputted. * A6 * A5 * A4 * A3 * * PP1 * PP2 * Since the logic condition of the input / output decoder 1 is satisfied, the low potential control signal ( ) And the control terminal of the input / output controller 2 Is applied.

그러므로 입출력 콘트롤러(2)는 병렬포트(4)를 선택함과 아울러 인터럽트단자(IT1)로 고전위의 인터럽트신호를 출력하고, 그 인터럽트신호는 버퍼(BF4)를 통해 "병렬포트 1"의 인터럽트신호(INT7)로 출력된다.Therefore, the input / output controller 2 selects the parallel port 4 and outputs a high potential interrupt signal to the interrupt terminal IT1, and the interrupt signal is interrupt signal of the "parallel port 1" through the buffer BF4. Output as (INT7).

그러면, 중앙처리장치는 인터럽트신호(INT7)에 따라 인터럽트 루틴을 수행하면서 병렬포트(4)를 통해 주변 기기와 데이타를 전송 즉, 마치 "병렬포트 1"를 통해 데이타를 전송하는 것으로 동작하게 된다.Then, the CPU executes an interrupt routine according to the interrupt signal INT7 and transmits data with the peripheral device through the parallel port 4, that is, by transmitting data through the "parallel port 1".

[5. 스위치(SW1, SW2)를 모두 개방시켰을 경우.][5. When both switches SW1 and SW2 are opened.]

스위치 (SW1, SW2)을 모두 개방시켰을 경우에는 스위치(SW3, SW4)의 절환, 어드레스 인에이블신호() 및 어드레스 신호(A9-A3)에 관계없이 입출력 디코더(1)는 제어신호()()를 출력하지 않아 입출력 콘트롤러(2)가 전송포트를 선택하지 않고, 인터럽트신호도 출력하지 않으며, 데이타를 전송할 수 없게 된다.When both switches SW1 and SW2 are opened, the switch SW3 and SW4 are switched and the address enable signal ( ) And the address signals A9-A3, the input / output decoder 1 receives the control signal ( ) ( ), The I / O controller 2 does not select the transmission port, does not output the interrupt signal, and the data cannot be transmitted.

이상에서 상세히 설명한 바와 같이 본 고안은 키보드를 이용하여 하나씩 구비하고 있는 직렬포트 및 병렬포트를 마치 2개씩 구비하고 있는 것과 같이 사용하여 데이타를 전송할 수 있음은 물론 다른 주변기기에 동일한 어드레스 및 인터럽트를 부여하여 확장할 경우에 그 확장이 매우 용이하게 되는 등의 효과가 있다.As described in detail above, the present invention can transmit data using the serial port and the parallel port, which are provided one by one using a keyboard, as well as by providing two same ports and interrupts to other peripheral devices. In the case of expansion, the expansion becomes very easy.

Claims (2)

직렬포트(3) 및 병렬포트(4)의 인에이블을 각기 지정하는 직렬 및 병렬포트 인에이블 스위치(SW1)(SW2)와, 직렬 및 병렬포트 선택스위치(SW3)(SW4)와, 상기 스위치(SW1)(SW2)(SW3)(SW4)의 절환, 어드레스 인에이블신호(), 어드레스신호(A9-A3) 및 키보드의 조작에 따라 키보드 바이오스부에서 출력되는 포트선택신호(KS1)(KS2)를 디코딩하여 선택된 포트의 제어신호()()를 출력하는 입출력 디코더(1)와, 상기 제어신호()()에 따라 직렬포트(3) 및 병렬포트(4)를 선택하여 데이타 전송을 함과 아울러 인터럽트 단자(IT0)(IT1)로 인터럽트신호를 출력하는 입출력 콘트롤러(2)와, 상기 스위치(SW3)(SW4)의 절환 및 포트 선택신호(KS1)(KS2)로 선택된 포트를 판별하여 상기 인터럽트단자(IT0)와 (IT1)에서 각기 출력된 인터럽트신호를 "직렬포트 1" 및 "직렬포트 2"의 인터럽트신호(INT4)(INT3)와 "병렬포트 1" 및 "병렬포트 2"의 인터럽트 신호(INT7)(INTS)로 출력하는 인터럽트신호 출력부(5)로 구성함을 특징으로 하는 키보드를 이용한 전송포트 선택회로.Serial and parallel port enable switches SW1 and SW2, which designate the enable of the serial port 3 and the parallel port 4, respectively, serial and parallel port selector switches SW3 and SW4, and the switch ( SW1) (SW2) (SW3) (SW4) switching and address enable signal ( ), The control signal of the selected port by decoding the port selection signal KS1 (KS2) output from the keyboard BIOS unit according to the address signals A9-A3 and the keyboard operation. ) ( And an input / output decoder 1 for outputting the control signal ) ( I / O controller 2 for selecting the serial port 3 and the parallel port 4 to transmit data and outputting an interrupt signal to the interrupt terminals IT0 and IT1, and the switch SW3 ( SW4) and the port selection signal KS1 (KS2) are used to determine the selected port, and the interrupt signals output from the interrupt terminals IT0 and IT1, respectively, are interrupted by the "serial port 1" and "serial port 2". A transmission port using a keyboard comprising a signal INT4 (INT3) and an interrupt signal output section 5 for outputting an interrupt signal INT7 (INTS) of "parallel port 1" and "parallel port 2". Selection circuit. 제1항에 있어서, 인터럽트신호 출력부(5)는, 스위치(SW3)의 절환 및 포트선택신호(KS1)와, 스위치(SW4)의 절환 및 포트선택신호(KS2)로 각기 선택된 직렬포트와 병렬포트를 판별하는 익스클루시브 오아게이트(EOR1)(EOR2)와, 상기 익스클루시브 오아게이트(EOR1)의 출력신호에 따라 선택적으로 동작되면서 인터럽트단자(IT0)의 인터럽트신호를 각기 "직렬포트 1" 및 "직렬포트 2"의 인터럽트신호(INT4)(INT3)로 출력하는 버퍼(BF2)(BF1)와, 상기 익스클루시브 오아게이트(EOR2)의 출력신호에 따라 선택적으로 동작되면서 인터럽트단자(IT1)의 인터럽트신호를 각기 "병렬포트 1" 및 "병렬포트 2"의 인터럽트신호(INT7)(INT5)로 출력하는 버퍼(BF4)(BF3)로 구성함을 특징으로 하는 키보드를 이용한 전송포트 선택회로.2. The interrupt signal output section (5) according to claim 1, wherein the interrupt signal output section (5) is in parallel with a serial port respectively selected by the switching and port selection signal (KS1) of the switch (SW3) and the switching and port selection signal (KS2) of the switch (SW4). The OA gate EOR1 and EOR2 for determining a port and the output signal of the exclusive OOR1 EOR1 are selectively operated to generate an interrupt signal of the interrupt terminal IT0, respectively. And an interrupt terminal (IT1) while being selectively operated according to the buffer (BF2) (BF1) for outputting the interrupt signal (INT4) (INT3) of the "serial port 2" and the output signal of the exclusive oragate (EOR2). And a buffer (BF4) (BF3) for outputting the interrupt signals of the "parallel port 1" and the "parallel port 2" as interrupt signals (INT7) and (INT5), respectively.
KR2019900012771U 1990-08-24 1990-08-24 Selecting circuit of transmission port using keyboard KR930000482Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019900012771U KR930000482Y1 (en) 1990-08-24 1990-08-24 Selecting circuit of transmission port using keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019900012771U KR930000482Y1 (en) 1990-08-24 1990-08-24 Selecting circuit of transmission port using keyboard

Publications (1)

Publication Number Publication Date
KR930000482Y1 true KR930000482Y1 (en) 1993-02-05

Family

ID=19302488

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019900012771U KR930000482Y1 (en) 1990-08-24 1990-08-24 Selecting circuit of transmission port using keyboard

Country Status (1)

Country Link
KR (1) KR930000482Y1 (en)

Similar Documents

Publication Publication Date Title
US5101498A (en) Pin selectable multi-mode processor
US4497021A (en) Microcomputer system operating in multiple modes
US4697107A (en) Four-state I/O control circuit
JP2000242377A (en) Display device
KR930000482Y1 (en) Selecting circuit of transmission port using keyboard
US5274766A (en) Universal keyboard and keyboard/spatial input device controller
US5864694A (en) Emulation system
KR930010723A (en) Computer system
US5491825A (en) Microprocessor having a functionally multiplexed input and output terminal
EP0608515A1 (en) Programmable drive output buffer
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
KR890008835Y1 (en) Circuits for selecting synchronous communication port of computer system
KR100289806B1 (en) Programmable input/output apparatus
KR920002750Y1 (en) Selection circuit for boot disk driver
KR950000357Y1 (en) Keyboard controller reset circuit
JPS62200414A (en) Hand-held computer
KR920002107Y1 (en) Reset protection circuit in computer system
KR950007107B1 (en) Computer w/additional microprocessor
KR930006379B1 (en) Circuit for changing address in personal computer
JPH0629855A (en) D/a converter
KR950000439Y1 (en) Auto-setting apparatus of serial communicational port
JPH02207312A (en) Clock generating circuit
KR0119303Y1 (en) Infrared port and serial port shared device
KR930001739Y1 (en) Executing speed displaying circuit of computer
KR20000026553A (en) Method for adjusting velocity of cpu of computer system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20030129

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee