KR950005229B1 - Address generator - Google Patents
Address generator Download PDFInfo
- Publication number
- KR950005229B1 KR950005229B1 KR1019920026912A KR920026912A KR950005229B1 KR 950005229 B1 KR950005229 B1 KR 950005229B1 KR 1019920026912 A KR1019920026912 A KR 1019920026912A KR 920026912 A KR920026912 A KR 920026912A KR 950005229 B1 KR950005229 B1 KR 950005229B1
- Authority
- KR
- South Korea
- Prior art keywords
- register
- page
- bit
- mode
- signal
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
제1도는 본 발명에 따른 블럭 구성도.1 is a block diagram according to the present invention.
제2도는 어드레스 발생회로도.2 is an address generation circuit diagram.
제3도는 페이지 크기 레지스터의 내부 구성도.3 is an internal configuration diagram of a page size register.
제4도는 시작 어드레스부의 상세 블럭도.4 is a detailed block diagram of a start address unit.
제5도는 디스플레이 메모리 액세스 어드레스 발생기의 구성도.5 is a configuration diagram of a display memory access address generator.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 페이지 레지스터 2 : 어드레스 발생기1: page register 2: address generator
3,4 : X포지션 레지스터 5,6 : Y포지선 레지스터3,4: X position register 5,6: Y position register
7,12 : 가산기 8 : 승산기7, 12: adder 8: multiplier
9 : 모드별 열 분해 레지스터 10,11,13 : 래치9: Mode Decomposition Register 10,11,13: Latch
14 : 디스플레이 메모리 액세스 어드레스 발생기 15 : 클럭 발생기14: display memory access address generator 15: clock generator
본 발명은 고성능 그래픽 콘트롤러에 적용되는 실제 어드레스 발생기에 관한 것이다.The present invention relates to a real address generator applied to a high performance graphics controller.
기존의 AGA 칩을 이용한 그래픽 모드의 동작은 비디오 기본 입출력시스템(이하, BIOS라 함)을 통하여 실제 픽셀 어드레스를 만들고, 동작 환경을 위한 VGA 해당 레지스터를 세트한 후 픽셀 컬러를 VGA의 그래픽 표시 제어기(이하, GDC라 함)을 통하여 디스플레이 메모리를 액세스하고 있다. 이는 비디오 BIOS 펑션 픽셀 라이트(이하, OCH라 함), 비디오 BIOS 펑션 픽셀 리드(이하, ODH라 함) 등이다.The graphics mode operation using the existing AGA chip creates a real pixel address through the video basic input / output system (hereinafter referred to as BIOS), sets the corresponding VGA register for the operating environment, and then converts the pixel color to the graphic display controller of the VGA. The display memory is accessed via GDC). This is the video BIOS function pixel light (hereinafter referred to as OCH), the video BIOS function pixel read (hereinafter referred to as ODH).
또한 액티브 커서인 경우 실제 커서 포지션을 BIOS에서 계산하여 CRTC Indexed E, F 레지스터를 업데이트하여 커서를 콘트롤하고 있는데, 실제 픽셀 포지션을 만드는 루틴과, 실제 특성 포지션을 만드는 루틴은 많은 경우(디스플레이 메모리 액세스마다 행하고 있다) 사용되므로 CPU 로드가 많은 부분이며, 따라서 VGA 칩 성능이 저하되는 문제점이 있다.In the case of an active cursor, the actual cursor position is calculated by the BIOS and the CRTC Indexed E and F registers are updated to control the cursor. There are many routines for creating a real pixel position and a routine for creating a real characteristic position (per display memory access). As a result, the CPU load is a large part, and there is a problem that the VGA chip performance is degraded.
상기 문제점을 해결하기 위하여 안출된 본 발명은, 실제특성 포지션 루틴, 실제 픽셀 포지션 루틴, 액티브 커서 포지션을 만든 후 CRTC 레지스터와 액세스하는 루틴 등과 같은 소프트웨어 푸틴을 하드웨어적으로 구현할 피지컬 어드레스 발생기를 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention provides a physical address generator that hardware implements a software putin such as an actual characteristic position routine, an actual pixel position routine, a routine for accessing a CRTC register after creating an active cursor position, and the like. There is a purpose.
상기 목적을 달성하기 위하여 본 발명은, 8비트 레지스터로 BIOS에서 해당 페이지 값, 즉 특성을 디스플레이 메모리에 액세스할 페이지를 라이트하는 페이지 레지스터 수단, 상기 페이지 레지스터 수단에 연결되고 외부로부터 그래픽 표시 제어 레지스터 신호를 인가받아 모드별 페이지 시작 어드레스 신호를 출력하는 어드레스 발생수단, 그래픽 인에이블 신호를 인가받아 커서나 픽셀의 X포지션을 위한 16비트 레지스터로서 BIOS에서 라이트하는 제1 및 제2X포지션 레지스터 수단, 그래픽 인에이블 신호를 인가받아 커서나 픽셀의 Y포지션을 위한 16비트 레지스터인 제1 및 제2Y포지션 레지스터 수단, 상기 어드레스 발생수단으로부터의 20비트 신호와 상기 제1 및 제2X포지션 레지스터 수단으로부터의 16비트 신호를 인가받아 가산한 후 20비트 출력을 내는 제1가산수단, 상기 제1 및 제2Y포지션 레지스터 수단으로부터의 16비트 신호를 인가받아 20비트 출력신호를 내는 승산수단, 모드별 열 분해 값을 비디오 BIOS에서 라이트하여 상기 승산기로 인가하는 모드별 열 분해 레지스터 수단, 상기 제1가산수단과 상기 승상수단으로부터의 출력신호를 인가받고 인가되는 클럭에 의해 래치되는 제1 및 제2래치, 상기 제1 및 제2래치로부터의 출력신호를 인가하여 가산하는 제2가산수단, 그래픽 가속을 위한 실제 X, Y포지션 어드레스를 가지면 커서 콘트롤에 이용하는 제3래치, 및 디스플레이 메모리 사용 형태에 따라 발생시키는 디스플레이 메모리 액세스 어드레스 발생수단을 구비하고 있다.In order to achieve the above object, the present invention provides a page register means for writing a page to access a display memory in the BIOS with an 8-bit register, a page register means for connecting the page register means and a graphic display control register signal externally. Address generation means for outputting a page start address signal for each mode by receiving a signal, and first and second X position register means for writing in a BIOS as a 16-bit register for an X position of a cursor or pixel upon receiving a graphic enable signal, and graphic in First and second Y position register means, 16 bit registers for Y position of cursor or pixel, 20 bit signal from the address generating means and 16 bit signal from the first and second X position register means First outputting a 20-bit output after receiving and adding Multiplication means for receiving a 16-bit signal from the adding means, the first and second Y-position register means, and outputting a 20-bit output signal, and a mode-specific thermal decomposition register that writes a thermal decomposition value for each mode in the video BIOS and applies it to the multiplier. Means, the first and second latches latched by an applied clock after receiving the output signal from the first adding means and the ascending means, and a second applying and adding the output signals from the first and second latches. Addition means, a third latch used for cursor control when having actual X and Y position addresses for graphic acceleration, and display memory access address generating means for generating according to the display memory usage type.
이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.
제1도는 본 발명에 따른 블럭 구성도로서, 도면에서 1은 페이지 레지스터, 2는 어드레스 발생기, 3, 4는 X포지션 레지스터, 5, 6은 Y포지션 레지스터, 7, 12는 가산기, 8은 승산기, 9는 모드별 열 분해 레지스터, 10, 11, 13은 래치, 14는 디스플레이 메모리 액세스 어드레스 발생기, 15는 클럭 발생기를 각각 나타낸다.1 is a block diagram according to the present invention, in which 1 is a page register, 2 is an address generator, 3 and 4 are X position registers, 5 and 6 are Y position registers, 7, 12 is an adder, 8 is a multiplier, 9 represents mode-specific thermal decomposition registers, 10, 11, and 13 latches, 14 represents a display memory access address generator, and 15 represents a clock generator.
도면에 도시한 바와 같이, 페이지 레지스터(1)는 8비트 레지스터로 BIOS에서 해당 페이지 값, 즉 특성을 디스플레이 메모리에 액세스할 페이지를 라이트한다.As shown in the figure, the page register 1 is an 8-bit register that writes the page value, i.e., the page in the BIOS, to access the display memory.
어드레스 발생기(2)는 상기 페이지 레지스터(1)에 연결되고 외부로부터 그래픽 표시 제어 레지스터 신호를 인가받아 모드별 페이지 시작 어드레스 신호를 출력한다.The address generator 2 is connected to the page register 1 and receives a graphic display control register signal from the outside to output a page start address signal for each mode.
X포지션 레지스터(3, 4)는 그래픽 인에이블 신호를 인가받아 커서나 픽셀의 X포지션을 위한 16비트 레지스터로서 BIOS에서 라이트한다. 픽셀 포지션은 16비트 인에이블이고 캐릭터 포지션이나 커서 포지션은 8비트 인에이블 비트를 만들기 위한 로직으로 구현하였다.The X position registers 3 and 4 receive a graphics enable signal and write to the BIOS as a 16 bit register for the X position of a cursor or pixel. The pixel position is 16-bit enabled and the character position or cursor position is implemented with logic to make the 8-bit enable bit.
Y포지션 레지스터(5, 6)는 그래픽 인에이블 신호를 인가받아 커서나 픽셀의 Y포지션을 위한 16비트 레지스터이다.The Y position registers 5 and 6 are 16-bit registers for the Y position of a cursor or pixel by receiving the graphic enable signal.
가산기(7)는 상기 어드레스 발생기(2)로부터의 20비트 신호와 상기 X포지션 레지스터(3, 4)로부터의 16비트 신호를 인가받아 가산한 후 20비트 출력을 낸다.The adder 7 receives and adds a 20-bit signal from the address generator 2 and a 16-bit signal from the X position registers 3 and 4, and outputs a 20-bit output.
승산기(8)는 상기 Y포지션 레지스터(5, 6)로부터의 16비트 신호를 인가받아 20비트 출력신호를 낸다.Multiplier 8 receives a 16-bit signal from the Y-position registers 5 and 6 to produce a 20-bit output signal.
모드별 열 분해 레지스터(9)는 모드별 열 분해 값을 비디오 BIOS에서 라이트하여 상기 승산기(8)로 인가한다.The mode specific thermal decomposition register 9 writes the mode specific thermal decomposition value in the video BIOS and applies it to the multiplier 8.
래치(10, 11)는 상기 가산기(7)와 상기 승산기(8)로부터의 출력신호를 인가받고 인가되는 클럭에 의해 래치된다.The latches 10 and 11 are latched by a clock that is applied with an output signal from the adder 7 and the multiplier 8.
가산기(12)는 상기 래치(10, 11)으로부터의 출력신호를 인가하여 가산한다.The adder 12 applies the output signals from the latches 10 and 11 and adds them.
래치(13)는 그래픽 가속을 위한 실제 X, Y포지션 어드레스를 가지면 커서 콘트롤에 이용한다.The latch 13 is used for cursor control if it has an actual X and Y position address for graphic acceleration.
디스플레이 메모리 액세스 어드레스 발생기(14)는 디스플레이 메모리 사용 형태에 따라 발생시킨다.The display memory access address generator 14 is generated according to the display memory usage form.
클럭 발생기(15)는 VGA 칩의 타임 시퀀스에서 만드는 CPU 셀과 클럭을 이용하여 사용가능한 CPU 어드레스 래치 인에이블 신호를 생성하여 상기 래치(10, 11, 13)로 인가하여 클럭신호로 이용되도록 한다.The clock generator 15 generates a usable CPU address latch enable signal by using a CPU cell and a clock generated in a time sequence of the VGA chip, and applies it to the latches 10, 11, 13 to be used as a clock signal.
제2도는 어드레스 발생기의 상세 블럭도로서, 도면에서 2-1은 페이지 크기 레지스터, 2-2는 승산기, 2-3은 가산기, 2-4는 모드별 페이지 시작 어드레스부를 각각 나타낸다.2 is a detailed block diagram of an address generator, in which 2-1 is a page size register, 2-2 is a multiplier, 2-3 is an adder, and 2-4 shows a page start address unit for each mode.
도면에 도시한 바와 같이, 페이지 크기 레지스터(2-1)은 택스트 모드에서 사용되고 모드별 페이지의 크기에 따라 변화하며, 상기 페이지 레지스터(1)로부터 인가되는 페이지 값과 페이지 크기 레지스터(2-1)로부터의 출력을 인가받는 승산기(2-2), 모드별 페이지 시작 어드레스부(2-4)는 아래 표 1, 2와 같이 VGA 그래픽 인에이블 신호[3:2]에 의해 디스플레이 메모리 영역을 사용한다.As shown in the figure, the page size register 2-1 is used in the text mode and varies depending on the size of the page for each mode, and the page value and page size register 2-1 applied from the page register 1 are used. The multiplier 2-2 and the mode-based page start address section 2-4 receiving the output from the display memory area use the display memory area by the VGA graphic enable signal [3: 2] as shown in Tables 1 and 2 below. .
[표 1]TABLE 1
[표2][Table 2]
가산기(2-3)은 상기 승산기(2-2)와 상기 모드별 페이지 시작 어드레스부(2-4)로부터의 출력을 인가받아 가산한 후 상기 가산기(7)로 전송한다.The adder 2-3 receives the outputs from the multiplier 2-2 and the mode-based page start address unit 2-4, adds them, and transmits them to the adder 7.
즉, 페이지 크기 레지스터(2-1)은 비디오 BIOS에서 비디오 모드를 셋트할 때 셋트하여 업 데이트 된 값을 가지고 있으며, 상기 페이지 레지스터(1)의 값이 인에이블되면 상기 승산기(2-2)를 통하여 더해지고 상기 시작 어드레스부(2-4)는 GR6의 셋트에 의해 인에이블 데이타를 갖고 있다.That is, the page size register 2-1 has an updated value when the video mode is set in the video BIOS. When the value of the page register 1 is enabled, the multiplier 2-2 is turned on. The start address section 2-4 has the enable data by the set of GR6.
제3도는 페이지 크기 레지스터의 내부 구성도로서, 31은 배타적 OR게이트를 나타낸다.3 is an internal configuration diagram of a page size register, in which 31 represents an exclusive OR gate.
도면에 도시한 바와 같이, 시스템 데이타버스[7:0]로부터의 8비트 데이타를 일입력으로 하고 타입력단으로는 로우 신호를 인가받아 8비트 출력신호를 내는 배타적 OR게이트(31)로 구현한다.As shown in the figure, an 8-bit data from the system data bus [7: 0] is used as an input, and an exclusive OR gate 31 that outputs an 8-bit output signal by applying a low signal to the type power stage is implemented.
이는 모드별 페이지 크기가 다르고 45×25택스트 모드인 경우, 상위 6비트가 로우이어야 하고 80×25택스트 모드인 경우 상위 5비트가 로우가 되어야 하기 때문이다. 즉, 필요에 따라 BIOS에서 모드를 셋트할 때 이 두 레지스터도 모드를 고려하여 해당값을 라이트한다.This is because the page size for each mode is different and the upper 6 bits should be low in the 45x25 text mode and the upper 5 bits should be low in the 80x25 text mode. In other words, when setting the mode in the BIOS as necessary, these two registers also write the corresponding values in consideration of the mode.
제4도는 표 1, 2에 따른 시작 어드레스부의 상세 블럭도로서, 도면에서 41, 42는 앤드 게이트이다.4 is a detailed block diagram of the start address unit shown in Tables 1 and 2, in which 41 and 42 are end gates.
도면에 도시한 바와 같이, 상기 가산기(2-3)에 인가되는 20비트 신호는 시작 어드레스부(2-4)의 로우[14:0]를 인가하고, 하이신호를 일입력으로 하고 2입력으로는 GR6[3]을 인가받으며 3입력으로는 GR6[2]를 인가받아 16번째 비트[15]를 인가하는 앤드 게이트(41), 하이 신호를 일입력으로 인가하고 타입력으로는 GR6[3]을 인가하여 17번째 비트[16]를 인가하는 앤드 게이트(42)를 구비하고 있으며, 기타 하이 신호로 18번째 비트[17]를 인가하고, 로우인 19번째 비트[18]를 인가하며, 하이로 20번째 비트[19]인가 한다.As shown in the figure, the 20-bit signal applied to the adder 2-3 applies a low [14: 0] of the start address section 2-4, the high signal as one input, and two inputs. Is inputted with GR6 [3], AND3 is inputted with GR6 [2], AND gate 41 for applying the 16th bit [15], and high signal is applied as one input. And gate 42 for applying the 17th bit [16] by applying the signal, and applying the 18th bit [17] as the other high signal, applying the 19th bit [18] which is low, Bit 20 of the bit [19].
제5도는 디스플레이 메모리 액세스 어드레스 발생기의 구성도로서, 도면에서 51 내지 53은 멀티플렉서, 54, 55는 NOR게이트, 56은 인버터를 각각 나타낸다.5 is a configuration diagram of a display memory access address generator, in which 51 to 53 are multiplexers, 54 and 55 are NOR gates, and 56 are inverters, respectively.
본 발명은 VGA 칩 및 고 성능 그래픽 콘트롤러에 적용하여 커서 콘트롤러 비트 블럭 변환, 윈도우 콘트롤러 등 그래픽 가속의 구현을 위해 사용할 수 있다.The present invention can be applied to a VGA chip and a high performance graphics controller to implement graphics acceleration such as cursor controller bit block conversion and window controller.
따라서, 본 발명은 VGA 칩을 이용하여 그래픽 모드나 택스트 모드를 수행할 때 픽셀 포지션의 모드별 디스플레이 메모리 어드레스 제너레이션, 커서 포지션에 대한 커서 포지션 오프셋 계산 등이 CPU타임(로드)의 많이 차지하게 되므로 CPU는 이를 비디오 BIOS를 통하여 소프트웨어적으로 처리하는데 기존의 VGA 칩 내부에 하드웨어로 구현함으로써 CPU의 부담을 줄이고 VGA 칩의 성능을 증가시키는 효과가 있다.Therefore, in the present invention, when performing a graphics mode or a text mode using a VGA chip, the display memory address generation for each pixel position and the cursor position offset calculation for the cursor position take up a lot of CPU time (load). This is done by software through the video BIOS, and by implementing the hardware inside the existing VGA chip, it reduces the CPU burden and increases the performance of the VGA chip.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920026912A KR950005229B1 (en) | 1992-12-30 | 1992-12-30 | Address generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920026912A KR950005229B1 (en) | 1992-12-30 | 1992-12-30 | Address generator |
Publications (2)
Publication Number | Publication Date |
---|---|
KR940015802A KR940015802A (en) | 1994-07-21 |
KR950005229B1 true KR950005229B1 (en) | 1995-05-22 |
Family
ID=19348063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019920026912A KR950005229B1 (en) | 1992-12-30 | 1992-12-30 | Address generator |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950005229B1 (en) |
-
1992
- 1992-12-30 KR KR1019920026912A patent/KR950005229B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR940015802A (en) | 1994-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4104624A (en) | Microprocessor controlled CRT display system | |
JPS61159686A (en) | Image display unit | |
KR920003858B1 (en) | Logic operation circuit | |
KR950005229B1 (en) | Address generator | |
KR100259293B1 (en) | On-screen display apparatus of digital tv | |
JPH0378633B2 (en) | ||
JPS61190389A (en) | Character display unit | |
JPS6353590A (en) | Access circuit for character generator | |
JPH02207297A (en) | Display memory address device | |
JPH03144492A (en) | Flicker prevention device for display screen | |
KR920005294B1 (en) | Chip enable signal control circuit of dual port memory device | |
JPH0340072A (en) | Memory device having address control function | |
KR890003230Y1 (en) | Crt display control device | |
KR900003231B1 (en) | Crt control circuit | |
KR950006177Y1 (en) | Video memory access control circuit | |
JPS62219083A (en) | Picture memory controller | |
JPH0443596B2 (en) | ||
JPS61193189A (en) | Character/graphic display unit | |
JPS61140992A (en) | Display control system | |
JPS6141186A (en) | Simultaneous color data writing apparatus | |
JPS60230687A (en) | Crt display unit allowed to display half-quads character | |
JPS6198385A (en) | Display controller | |
JPH0224748A (en) | Address switching circuit | |
JPS59111686A (en) | Crt color display unit | |
JPS61286880A (en) | Display unit |
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: 20110421 Year of fee payment: 17 |
|
LAPS | Lapse due to unpaid annual fee |