KR19990073881A - Non-MP data display method - Google Patents

Non-MP data display method Download PDF

Info

Publication number
KR19990073881A
KR19990073881A KR1019980007110A KR19980007110A KR19990073881A KR 19990073881 A KR19990073881 A KR 19990073881A KR 1019980007110 A KR1019980007110 A KR 1019980007110A KR 19980007110 A KR19980007110 A KR 19980007110A KR 19990073881 A KR19990073881 A KR 19990073881A
Authority
KR
South Korea
Prior art keywords
data
value
bmp
address
display
Prior art date
Application number
KR1019980007110A
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 KR1019980007110A priority Critical patent/KR19990073881A/en
Publication of KR19990073881A publication Critical patent/KR19990073881A/en

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

본 발명은 VDP IC를 이용하여 원하는 위치에 원하는 크기의 BMP파일을 용이하게 디스플레이할 수 있도록 한 비엠피 데이터 디스플레이 방법에 관한 것으로, 데이터 레지스터(D0-D5)중, D0와 D1에 각각 디스플레이할 Y좌표치와 X좌표치를 넣는 단계,D2와 D3에 각각 BMP영상의 (Y사이즈-1)값과 (X사이즈×2-4)값을 넣고 D4에 마스킹할 칼라 코드를 넣은 후, D5에 칼라 연산기능,디스플레이 시작 방향 결정을 위한 속성코드를 지정하는 단계,명령완료시 D6에 해당 명령의 OP_CODE를 입력시키고 어드레스 레지스터인 A0에 BMP데이터의 시작 어드레스를 넣으며 D3에 D3+4한 값을 넣고 다시 D3에 D3÷2한값을 넣은 후 D3를 D4에 지정하는 단계,묘화 FIFO액세스가 가능한 경우에 CPU에서 그래픽IC를 콘트롤할 수 있는 CMD에 A0가 가리키고 있는 번지의 데이터를 전송하고 어드레스를 2만큼 증가시킨 후 D3에서 1감소시킨 값을 D3로 지정하는 단계, D3=-1인가를 판단하여 D3가 -1이면 D4를 D3에 넣고, D2에서 1을 감한 값을 D2에 넣으며 D2=-1일 경우 종료하는 단계를 차례로 수행하여 이루어진다.The present invention relates to a non-MP data display method for easily displaying a BMP file of a desired size at a desired position by using a VDP IC. The present invention relates to a display of Y in the data registers D0-D5, respectively. Insert coordinate value and X coordinate value, put (Y size-1) and (X size × 2-4) values of BMP image into D2 and D3 respectively, put color code to mask on D4, and then color calculation function on D5. Specifying an attribute code for determining the display start direction.When the instruction is completed, input the OP_CODE of the instruction in D6, put the start address of the BMP data in the address register A0, put the value of D3 + 4 in D3, and put it back in D3. After inputting the value of D3 ÷ 2, assign D3 to D4.If drawing FIFO access is available, transfer the data of the address indicated by A0 to CMD that can control the graphic IC from the CPU and increase the address by 2. Assigning the value of D3 to D3 after determining whether D3 is equal to -1, if D3 is -1, insert D4 into D3, and subtract 1 from D2 into D2, and if D2 = -1 This is done by performing the steps to end in sequence.

Description

비엠피 데이터 디스플레이 방법Non-MP data display method

본 발명은 카오디오등에서 LCD(Liquid Crystal Display)를 이용하여 화면을표시하는 장치에 관한 것으로, 특히 VDP IC를 이용하여 원하는 위치에 원하는 크기의 비엠피(이하 BMP라 함)파일을 용이하게 디스플레이할 수 있도록 한 BMP 데이터 디스플레이 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for displaying a screen using LCD (Liquid Crystal Display) in car audio, and more particularly, to easily display a non-MPP (hereinafter referred to as BMP) file having a desired size at a desired position using a VDP IC. A method of displaying BMP data is provided.

일반적으로 차량의 카오디오나 복사기 또는 휴대폰이나 전화기등의 여러분야에 걸쳐 현재 기기의 상황을 사용자가 용이하게 알 수 있도록 나타내 주는 화면표시기능이 널리 사용되고 있으며 이러한 화면표시기능을 수행하기 위한 수단으로 LCD가 주로 사용된다.In general, the screen display function that displays the current status of the device to the user, such as car audio, photocopier, mobile phone or telephone of the vehicle is widely used, and LCD as a means to perform the display function Is mainly used.

종래의 OSD(On Screen Display)에 있어서는, 폰트(Font)크기가 12×18로 고정되어 있어 지정된 OSD 폰트 에디터(Editor)를 사용하여 폰트를 에디팅한다.In the conventional OSD (On Screen Display), the font size is fixed to 12 x 18, and the font is edited using a designated OSD font editor.

그러나 종래의 OSD에서는 BMP파일을 디스플레이할 수 없는 결점이 있었다.However, there is a drawback that a conventional OSD cannot display a BMP file.

본 발명은 이와같은 종래의 결점을 해결하기 위하여 안출한 것으로, CPU에서 VDP IC를 액세스하여 롬에 들어있는 BMP데이터를 읽어와 VDP IC에서 지원하는 WTCV(묘화명령어)를 실행시켜 원하는 위치에 원하는 크기의 BMP 파일을 디스플레이할 수 있는 BMP데이터 디스플레이 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned shortcomings, and accesses the VDP IC from the CPU, reads BMP data contained in the ROM, and executes a WTCV (drawing instruction command) supported by the VDP IC in a desired size. The present invention provides a method for displaying BMP data that can display a BMP file.

도 1은 본 발명 비엠피 데이터 디스플레이장치의 블록도1 is a block diagram of a non-MP data display device of the present invention;

도 2는 본 발명 비엠피 데이터 디스플레이방법을 나타낸 동작흐름도2 is a flowchart illustrating a non-MP data display method according to the present invention.

〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

1:메인 마이컴 2:CPU1: Main Microcomputer 2: CPU

3:DUART 4:PLD3: DUART 4: PLD

5:VDP IC 6:제1저장부5: VDP IC 6: first storage

7:제2저장부 8:제3저장부7: Second storage 8: Third storage

9:디스플레이부9: display

이와같은 목적을 달성하기 위한 본 발명은 CPU에서 VDP IC를 억세스(Access)하여 롬(ROM)에 들어있는 폰트 데이터를 읽어와 VDP IC에서 지원하는 폰트를 실행하여 BMP파일을 디스플레이할 수 있도록 구성함을 특징으로 한다.The present invention for achieving the above object is configured to display the BMP file by accessing the VDP IC from the CPU to read the font data contained in the ROM and executing the fonts supported by the VDP IC. It is characterized by.

이하, 본 발명의 실시예를 첨부된 도면을 참고로 하여 상세히 설명하면 다음과 같다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명을 수행하기 위한 하드웨어적인 문자 디스플레이장치의 블록도로, 듀얼 비동기 리시버/트랜스미터로서 메인 마이컴(1)과 CPU(2)사이에서 입출력을 제어하는 DUART(3)와, 각부를 제어하기 위한 제어부인 16비트 CPU(2)와,상기 CPU(2)의 어드레스,VPA,AS,R/*W,FC0-FC2,LDS,UDS를 입력받아 ROM CS, RAM CS, VDP CS, DUART CS신호를 출력시키는 PLD(4)와,상기 CPU(2)의 제어에 의해 R.G.B 색신호를 출력하여 비디오 디스플레이 프로세싱을 수행하는 그래픽 소자인 VDP IC(5)와, 상기 CPU(2)와 연결되어 데이터를 저장하는 다수의 에스램(SRAM)으로 된 제1저장부(6)와, 상기 CPU(2)와 연결되어 데이터를 저장하는 다수의 롬(ROM)으로 된 제2저장부(7)와,상기 VDP IC(5)의 그래픽 화면 및 비디오 화면의 데이터 저장 및 처리를 위한 브이램(VRAM)으로 된 제3저장부(8)와, 상기 VDP IC(5)로부터 출력되는 R.G.B신호 및 복합 비디오 신호를 입력받아 그래픽 화면 및 비디오화면을 디스플레이시키는 5.8″와이드 LCD인 디스플레이부(9)로 구성된다.1 is a block diagram of a hardware character display apparatus for carrying out the present invention, which is a dual asynchronous receiver / transmitter for controlling input and output between a main microcomputer 1 and a CPU 2 and a control unit. ROM CS, RAM CS, VDP CS, DUART CS signals that receive the 16-bit CPU 2, which is a control unit, and the address of the CPU 2, VPA, AS, R / * W, FC0-FC2, LDS, and UDS. A PLD (4) for outputting a signal, a VDP IC (5) which is a graphic element for outputting an RGB color signal under the control of the CPU (2), and performs video display processing, and stores data in connection with the CPU (2). A first storage unit 6 of a plurality of SRAMs, a second storage unit 7 of a plurality of ROMs connected to the CPU 2 to store data, and the VDP. A third storage section 8 made of a VRAM for storing and processing data of the graphic screen and the video screen of the IC 5 and outputted from the VDP IC 5; And a display unit 9, which is a 5.8 &quot; wide LCD for receiving a R.G.B signal and a composite video signal to display a graphic screen and a video screen.

이와같이 구성된 본 발명의 하드웨어적인 동작을 살펴보면, DUART(3)가 메인마이컴(1)과의 RC232C통신을 통하여 전달받은 데이터를 내부 수신 데이터 버퍼에 저장한다.Looking at the hardware operation of the present invention configured as described above, the DUART (3) stores the data received through the RC232C communication with the main microcomputer (1) in the internal receive data buffer.

그러면 CPU(2)에서는 DUART(3)의 수신 데이터 버퍼로부터 통신 데이터를 읽어와 이를 에스램(SRAM)인 제1저장부(6)에 저장한다.Then, the CPU 2 reads the communication data from the received data buffer of the DUART 3 and stores it in the first storage unit 6, which is an SRAM.

그리고 CPU(2)에서 제1저장부(6)에 저장된 데이터를 분석하고 분석된 데이터에 해당하는 BMP데이터를 OTP 롬(ROM)인 제2저장부(7)로부터 읽어온다.The CPU 2 analyzes the data stored in the first storage unit 6 and reads BMP data corresponding to the analyzed data from the second storage unit 7 which is an OTP ROM.

또한, CPU(2)에서는 제2저장부(7)로부터 읽어온 BMP데이터를 PLD(4)와 VDP IC(5)를 통하여 제3저장부(8)에 저장한다.In addition, the CPU 2 stores the BMP data read from the second storage unit 7 in the third storage unit 8 via the PLD 4 and the VDP IC 5.

그리고 VDP IC(5)에 저장된 BMP데이터를 R.G.B신호로 변환시켜 디스플레이부(9)를 통하여 디스플레이한다.The BMP data stored in the VDP IC 5 is converted into an R.G.B signal and displayed on the display unit 9.

이하, 본 발명에서 BMP파일을 VDP IC를 이용하여 디스플레이하는 과정을 도 2를 참고로하여 설명하면 다음과 같다.Hereinafter, a process of displaying a BMP file using the VDP IC in the present invention will be described with reference to FIG. 2.

즉, 데이터 레지스터(D0-D5)중, D0에는 디스플레이할 Y좌표치(0-1023)를 넣고, D1에는 디스플레이할 X좌표치(0-4095)를 넣는다.That is, in the data registers D0-D5, the Y coordinate value (0-1023) to be displayed is put in D0, and the X coordinate value (0-4095) to be displayed is put in D1.

그리고 D2에는 BMP 영상의 (Y사이즈-1)값을 넣고, D3에는 BMP영상의 (X사이즈×2-4)값을 넣는다.In D2, the (Y size-1) value of the BMP image is put, and in D3, the (X size x 2-4) value of the BMP image is put.

다음에 D4에는 마스킹(MASKING)할 칼라 코드(0-255)를 넣고, D5에는 칼라 연산기능,디스플레이 시작 방향 결정을 위한 속성코드를 지정한다.Next, in D4, a color code (0-255) to be masked is put, and in D5, an attribute code for color calculation function and display start direction determination is specified.

이와같이 데이터 레지스터(D0-D5)에 데이터를 넣은 상태에서 명령이 끝났는가를 판단하여 명령이 끝났으면 D6에 해당 명령의 OP_CODE를 입력시킨다.In this way, it is determined whether the instruction is finished in the state of inserting data into the data registers D0-D5. If the instruction is finished, the OP_CODE of the instruction is input to D6.

그리고 어드레스 레지스터인 A0에 BMP데이터의 시작 어드레스를 넣고, D3에 D3+4를 넣고 이어 D3÷2를 넣은 후 D4에 D3 를 넣는다.The start address of the BMP data is put in the address register A0, D3 + 4 is put in D3, and then D3 ÷ 2 is put in D4.

이후, 묘화 FIFO액세스가 가능한가를 판단하여 가능한 경우에 CPU()에서 그래픽IC를 콘트롤할 수 있는 입출력(I/O)포트인 CMD에 A0가 가리키고 있는 번지의 데이터를 전송하고 어드레스를 2만큼 증가시킨 후 D3에서 1감소시킨 값을 D3로 한다.Then, it is determined whether drawing FIFO access is possible, and if possible, transfers the data of the address indicated by A0 to CMD, an input / output (I / O) port where the CPU () can control the graphics IC, and increases the address by 2. The value reduced by 1 from D3 is then referred to as D3.

다음에 D3=-1인가를 판단하여 D3가 -1이면 D4를 D3에 넣고,이어 D2에서 1을 감한 값을 D2에 넣는다.Next, it is determined whether D3 = -1, and if D3 is -1, D4 is put into D3, and then the value obtained by subtracting 1 from D2 is put into D2.

다음에 D2=-1인가를 판단하여 D2=-1이 아니면 상기 묘화 FIFO액세스가 가능한 상태로 돌아가고, D2=-1이면 종료한다.Next, it is determined whether D2 = -1, and if it is not D2 = -1, the state returns to the state where the drawing FIFO access is possible, and if D2 = -1, it ends.

여기서, 상기 BMP파일은 그래픽 에디터로 만들며 이때 가로, 세로 픽셀수는 미리 알고 있어야 하며, WTCV(묘화명령)를 실행하여 BMP파일을 디스플레이할 수 있는 것이다.Here, the BMP file is made with a graphic editor, and the number of horizontal and vertical pixels must be known in advance, and the BMP file can be displayed by executing the WTCV (drawing command).

이상에서 설명한 바와같은 본 발명은 카오디오나 복사기 또는 휴대폰등에서LCD를 이용하여 현재상태를 표시하는 장치에 있어서, 종래에는 OSD에서 BMP파일을 디스플레이할 수 없었으나 본 발명에서는 CPU에서 VDP IC를 이용하여 롬에 들어있는 BMP데이터를 읽어와 VDP IC에서 지원하는 WTCV를 실행시킴으로써 원하는 위치에 원하는 크기의 BMP파일을 용이하게 디스플레이할 수 있는 효과가 있다.As described above, the present invention is a device for displaying a current state using an LCD in a car audio or a copy machine or a mobile phone. In the related art, the BMP file cannot be displayed in the OSD. By reading the BMP data contained in the ROM and executing the WTCV supported by the VDP IC, the BMP file of the desired size can be easily displayed at the desired position.

Claims (1)

데이터 레지스터(D0-D5)중, D0와 D1에 각각 디스플레이할 Y좌표치와 X좌표치를 넣는 제1단계와,A first step of inserting the Y coordinate value and the X coordinate value to be displayed in D0 and D1, respectively, of the data registers D0-D5; D2와 D3에 각각 BMP영상의 (Y사이즈-1)값과 (X사이즈×2-4)값을 넣고 D4에 마스킹할 칼라 코드를 넣은 후, D5에 칼라 연산기능,디스플레이 시작 방향 결정을 위한 속성코드를 지정하는 제2단계와,Insert (Y size-1) and (X size × 2-4) values of BMP images into D2 and D3, respectively, and insert the color code to be masked into D4, and then set the color calculation function and display start direction in D5. The second step of specifying the code, 명령완료시 D6에 해당 명령의 OP_CODE를 입력시키고 어드레스 레지스터인 A0에 BMP데이터의 시작 어드레스를 넣으며 D3에 D3+4한 값을 넣고 다시 D3에 D3÷2한값을 넣은 후 D3를 D4에 넣는 제3단계와,When the instruction is completed, input the OP_CODE of the instruction to D6, put the start address of BMP data into the address register A0, put the value of D3 + 4 into D3, put the value of D3 ÷ 2 into D3, and then put D3 into D4. Steps, 묘화 FIFO액세스가 가능한 경우에 CPU에서 그래픽IC를 콘트롤할 수 있는 CMD에 A0가 가리키고 있는 번지의 데이터를 전송하고 어드레스를 2만큼 증가시킨 후 D3에서 1감소시킨 값을 D3로 지정하는 제4단계와,When drawing FIFO access is enabled, transfer the data of the address pointed to by A0 to the CMD that can control the graphic IC from the CPU, increase the address by 2, and assign the value 1 decreased from D3 to D3. , D3 = -1인가를 판단하여 D3가 -1이면 D4를 D3에 넣고, D2에서 1을 감한 값을 D2에 넣으며 D2=-1일 경우 종료하는 제5단계로 이루어짐을 특징으로 하는 비엠피 데이터 디스플레이 방법.If D3 = -1, and if D3 is -1, the non-MP data display comprises a fifth step of inserting D4 into D3, subtracting 1 from D2 into D2, and ending if D2 = -1. Way.
KR1019980007110A 1998-03-04 1998-03-04 Non-MP data display method KR19990073881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980007110A KR19990073881A (en) 1998-03-04 1998-03-04 Non-MP data display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980007110A KR19990073881A (en) 1998-03-04 1998-03-04 Non-MP data display method

Publications (1)

Publication Number Publication Date
KR19990073881A true KR19990073881A (en) 1999-10-05

Family

ID=65908787

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980007110A KR19990073881A (en) 1998-03-04 1998-03-04 Non-MP data display method

Country Status (1)

Country Link
KR (1) KR19990073881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100540259B1 (en) * 1998-06-12 2006-03-20 주식회사 현대오토넷 Apparatus for emboding superimpose screens in car audio/video systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100540259B1 (en) * 1998-06-12 2006-03-20 주식회사 현대오토넷 Apparatus for emboding superimpose screens in car audio/video systems

Similar Documents

Publication Publication Date Title
US5300947A (en) Graphic pattern processing apparatus
US5499327A (en) Multi-window system which can overlay-display a dynamic image in a specific window
US20010017613A1 (en) Image processing system
US4959803A (en) Display control system
US4663619A (en) Memory access modes for a video display generator
US6134021A (en) Presentation graphics system for a color laser copier
US5437011A (en) Graphics computer system, a graphics system arrangement, a display system, a graphics processor and a method of processing graphic data
US5522082A (en) Graphics display processor, a graphics display system and a method of processing graphics data with control signals connected to a central processing unit and graphics circuits
US5333261A (en) Graphics processing apparatus having instruction which operates separately on X and Y coordinates of pixel location registers
US4849748A (en) Display control apparatus with improved attribute function
KR19990073881A (en) Non-MP data display method
JPH08202890A (en) Plotting device
US5699087A (en) Sequential access memories, systems and methods
US5416499A (en) Bit map display controlling apparatus
US6529205B2 (en) Image data display apparatus in which image data are displayed on terminal display unit and NTSC system display unit
JP2508544B2 (en) Graphic display device
KR19990073882A (en) Character display device and method
KR950004966A (en) OSD character data support system by external memory
KR100382956B1 (en) Image Processor and Image Display
KR100206264B1 (en) Computer display system for graphic and text
JPH06324669A (en) Device and method for composite display control
JPH10232661A (en) Display device and electronic equipment
JPS62113193A (en) Memory circuit
JPH05189581A (en) Graphic data write device
JPH03196189A (en) Image signal processor

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid