KR100334096B1 - DMA Double Buffering Apparatus and Method in Laser Printer - Google Patents

DMA Double Buffering Apparatus and Method in Laser Printer Download PDF

Info

Publication number
KR100334096B1
KR100334096B1 KR1019990022871A KR19990022871A KR100334096B1 KR 100334096 B1 KR100334096 B1 KR 100334096B1 KR 1019990022871 A KR1019990022871 A KR 1019990022871A KR 19990022871 A KR19990022871 A KR 19990022871A KR 100334096 B1 KR100334096 B1 KR 100334096B1
Authority
KR
South Korea
Prior art keywords
dma
band
buffering
data
control
Prior art date
Application number
KR1019990022871A
Other languages
Korean (ko)
Other versions
KR20010002850A (en
Inventor
이혁재
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990022871A priority Critical patent/KR100334096B1/en
Publication of KR20010002850A publication Critical patent/KR20010002850A/en
Application granted granted Critical
Publication of KR100334096B1 publication Critical patent/KR100334096B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32358Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • H04N1/32491Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter alternate storage in and retrieval from two parallel memories, e.g. using ping-pong buffers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1817Buffers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/435Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material
    • B41J2/447Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using arrays of radiation sources
    • B41J2/45Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using arrays of radiation sources using light-emitting diode [LED] or laser arrays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/12Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by photographic printing, e.g. by laser printers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

본 발명은 레이저 프린터(LBP: Laser Beam Printer)에 있어서, 비디오 메모리에 기록된 비트맵 데이터를 밴드 단위로 분할하여 밴드 데이터를 생성한 후, DMA 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서, 현시점을 기준할 시에 한 밴드 이후에 DMA 처리될 밴드 데이터의 DMA 워드 개수값과 DMA의 메모리 시작 주소값과 밴드 내의 DMA 메모리 증감 방향값 및 최종 밴드 지시값으로 구성된 DMA 제어 파라미터를 여러개로 분할된 밴드 데이터 중 하나의 밴드 데이터가 DMA 처리되는 동안 버퍼링한 다음에 출력하도록 하는 DMA 제어 버퍼를 적어도 두 개 이상 순차적으로 접속하여, 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행하는 현재 밴드의 DMA 처리를 수행함으로써 비디오 데이터 언더런 상태를 해결하는 레이저 프린터의 DMA 다중 버퍼링 장치에 관한 것이다.In a laser printer (LBP), a DMA buffering apparatus of a laser printer which performs printing by DMA processing after generating bit data by dividing bitmap data recorded in a video memory into band units. In the present invention, a plurality of DMA control parameters including a number of DMA words of band data to be DMA processed after one band, a memory start address value of a DMA, an DMA memory increase / decrease direction value in a band, and a final band indication value are used. DMA of the current band performing multi-buffering on the DMA control parameters by sequentially connecting at least two DMA control buffers to be output after buffering one band data of the divided band data during DMA processing. DMA Multiple Buffering in Laser Printers Addresses Video Data Underrun Conditions by Performing Processing It relates to the device.

본 발명에 따르면, DMA 설정 자체를 다중 버퍼링 해줌으로써 밴드 프린팅 기법을 이용할 시, 비디오 데이터 언더런(video data underrun)상태를 해결할 수 있는 이점이 있다.According to the present invention, when using the band printing technique by multi-buffering the DMA configuration itself, there is an advantage that can solve the video data underrun (video data underrun) state.

Description

레이저 프린터의 직접 메모리 접근 다중 버퍼링 장치{DMA Double Buffering Apparatus and Method in Laser Printer}DMA Double Buffering Apparatus and Method in Laser Printer

본 발명은 레이저 프린터의 DMA 다중 버퍼링 장치에 관한 것으로, 더욱 상세하게는 레이저 프린터에 있어서, 레이저 독취 유니트 비디오 제어부에서 비디오 메모리에 기록된 비트맵 데이터를 하나이상의 밴드 단위로 데이터를 분할하여 프린팅을 수행할 시에 발생하는 비디오 데이터 언더런(underrun)을 다중 버퍼링을 수행함으로써 방지할 수 있는 레이저 프린터의 DMA 다중 버퍼링 장치에 관한 것이다.The present invention relates to a DMA multiple buffering apparatus of a laser printer, and more particularly, to a laser printer, in which a printing operation is performed by dividing data into one or more bands of bitmap data recorded in a video memory in a laser reading unit video controller. The present invention relates to a DMA multiple buffering apparatus of a laser printer that can prevent video data underruns generated at the time of execution by performing multiple buffering.

최근 들어, 시시각각 변하는 사무 자동화에 편승하여 스캐너 및 팩스 등과 같은 사무 자동화 장치에 대한 수요가 급증하고 있음에 따라 각각의 사무 자동화 장치들은 각기 고유의 기능을 확장하기 위해 빠른 속도로 발전하고 있으며, 이와 더불어 프린터 역시 눈부신 발전을 하고 있다.Recently, with the ever-changing demand for office automation devices such as scanners and fax machines, the office automation devices are rapidly developing to expand their unique functions. Printers are also making great strides.

일반적으로, 레이저 프린터는 잉크젯 등의 프린터와는 달리 토너가 구비되어 속도가 빠르고 소음이 적으며 인자 품질이 미려한 장점을 가진다.In general, laser printers, unlike printers such as inkjets, are provided with toner and have advantages of high speed, low noise, and beautiful print quality.

본 발명은 이와 같이 구성된 레이저 프린터의 레이저 독취 유니트 비디오 제어부의 DMA 다중 버퍼링 방법과 직접적으로 관련된 바, 종래 기술에 의한 방법을 살펴보기로 한다.The present invention is directly related to the DMA multiple buffering method of the laser readout unit video control unit of the laser printer configured as described above.

상기와 같은 레이저 프린터는 종이를 급지하기 시작하여 프린트를 완료할 때까지 레이저 독취 유니트를 멈추지 않고 연속적으로 라인 독취(line scanning)를하는 페이지 프린팅 장치이므로 감광 드럼에 주사해야 할 비디오 데이터가 연속적으로 공급되어야 한다.Such laser printers are page printing devices that continuously line-scan without stopping the laser reading unit until paper is started and paper is printed, so that video data to be scanned is continuously supplied to the photosensitive drum. Should be.

통상, 이를 위해 한 페이지의 비트맵 데이터를 모두 보관할 수 있는 페이지 메모리를 두고 한 번의 DMA를 통해 프린팅을 수행하는 것이 일반적이다.In general, for this, printing is performed through one DMA with a page memory capable of storing all one page of bitmap data.

한편, 데이터를 페이지 단위로 프린팅할 시에는 상대적으로 많은 메모리 공간이 필요함에 따라 레이저 프린터의 메모리를 적게 하면서 복잡한 페이지를 출력하기 위해 일반적으로 페이지를 여러 개의 밴드로 나누어 프린팅하는 밴드 프린팅 기법이 공지되어 있다.On the other hand, when printing data in units of pages, a relatively large memory space is required, and thus, a band printing technique is generally known, in which a page is divided into several bands for printing a complicated page while reducing the memory of a laser printer. have.

그러나, 후자의 경우 DMA는 각 밴드마다 동작을 수행하고 종료하게 됨에 따라 DMA를 설정하는 인터럽트 서비스 루틴(interrupt service routine)에 시간이 걸리기 때문에 밴드와 밴드 사이에서 비디오 데이터 언더런(Video data underrun)상태가 자주 발생시키는 단점이 있다. 이는 데이터 프린팅 작업의 단절을 가져옴에 따라 제품을 이용하는 사용자의 만족도를 직접적으로 저하시키는 문제가 있다.However, in the latter case, since the DMA performs an operation for each band and terminates, the interrupt service routine for setting the DMA takes time, so that the video data underrun state between the bands and the bands occurs. There are disadvantages that occur frequently. This leads to a disconnection of data printing work, which directly degrades the user's satisfaction with the product.

따라서, 본 발명은 이와 같은 문제점을 해결하기 위해 안출된 것으로, 레이저 프린터의 DMA 제어를 수행할 시에 적어도 두 개 이상의 버퍼를 구비하여 DMA 세트업 작업을 수행하기 위한 DMA 제어 파라미터 자체를 대상으로 다중 버퍼링을 수행함으로써 밴드와 밴드 사이에서 비디오 데이터 언더런 상태가 발생하는 것을 최소화할 수 있는 레이저 프린터의 DMA 다중 버퍼링 장치를 제공함에 그 목적 있다.Accordingly, the present invention has been made to solve such a problem, and has multiple targets for a DMA control parameter itself for performing a DMA setup operation having at least two buffers when performing DMA control of a laser printer. It is an object of the present invention to provide a DMA multiple buffering device of a laser printer capable of minimizing occurrence of video data underrun conditions between bands by performing buffering.

도 1은 본 발명이 적용된 레이저 프린터의 레이저 독취 유니트 비디오 제어부를 개략적으로 나타낸 블럭도,1 is a block diagram schematically showing a laser reading unit video control unit of a laser printer to which the present invention is applied;

도 2는 본 발명에 의한 레이저 프린터의 DMA 제어부를 도시한 구성도,2 is a block diagram showing a DMA control unit of the laser printer according to the present invention;

도 3은 본 발명에 의한 레이저 프린터의 DMA 제어부를 제어하기 위한 동작 흐름도이다.3 is an operation flowchart for controlling the DMA control unit of the laser printer according to the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

100: DMA 제어 다중 버퍼링부 120: 제 2 DMA 제어 버퍼링부100: DMA control multiple buffering unit 120: second DMA control buffering unit

110: 제 1 DMA 제어 버퍼링부 121: 제 2 DMA 워드 개수 레지스터110: first DMA control buffering section 121: second DMA word number register

111: 제 1 DMA 워드 개수 레지스터 122: 제 2 DMA 시작 주소 레지스터111: first DMA word number register 122: second DMA start address register

112: 제 1 DMA 시작 주소 레지스터 123: 제 2 DMA 제어 레지스터112: first DMA start address register 123: second DMA control register

113: 제 1 DMA 제어 레지스터 200: DMA 제어부113: first DMA control register 200: DMA control unit

210: DMA 주소 카운터 220: DMA 워드 카운터210: DMA address counter 220: DMA word counter

230: DMA 상태 제어부 240: DMA 인터럽트 발생부230: DMA state control unit 240: DMA interrupt generation unit

이와 같은 목적을 달성하기 위해 레이저 프린터의 DMA 다중 버퍼링 장치는, 비디오 메모리에 기록된 비트맵 데이터를 밴드 단위로 분할하여 밴드 데이터를 생성한 후 DMA 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서, 현시점을 기준할 시에 하나의 밴드데이터가 DMA 처리되는 동안 다음 처리될 DMA 제어 파라메터를 버퍼링 하여 출력하는 제 1 DMA 제어 버퍼링부와, 현재 밴드데이터의 DMA 처리를 위한 DMA 제어 파라메터를 제공하는 제 2 DMA 제어 버퍼링부를 순차적으로 접속하여 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행하는 DMA 제어 다중 버퍼링부; 및상기 제 2 DMA 제어 버퍼링부로부터 DMA 제어 파라미터를 입력받아 현시점에서 인쇄되고 있는 현재 밴드 데이터의 DMA 처리를 수행하도록 제어하는 DMA 제어부를 포함하여 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행함으로써 비디오 데이터 언더런 상태를 해결할 수 있는 것이 특징이다.In order to achieve the above object, a DMA multiple buffering apparatus of a laser printer divides bitmap data recorded in a video memory into band units to generate band data, and then performs DMA buffering of the laser printer. A first DMA control buffering unit which buffers and outputs a DMA control parameter to be processed next while one band data is DMA processed at the present time, and provides a DMA control parameter for DMA processing of the current band data. A DMA controlled multiple buffering unit configured to sequentially connect the second DMA controlled buffering units to perform multiple buffering on the DMA control parameters; And a DMA controller configured to receive a DMA control parameter from the second DMA control buffering unit and perform DMA processing on current band data being printed at the present time, thereby performing multi-buffering on the DMA control parameter. The feature is that it can solve the condition.

이하, 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치의 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, a preferred embodiment of a DMA multiple buffering apparatus of a laser printer according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치의 바람직한 실시예를 나타낸 블럭도이다.1 is a block diagram showing a preferred embodiment of a DMA multiple buffering apparatus of a laser printer according to the present invention.

본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치의 바람직한 실시예는A preferred embodiment of the DMA multiple buffering device of a laser printer according to the present invention

비디오 메모리에 기록된 비트맵 데이터를 밴드 단위로 분할하여 밴드 데이터를 생성한 후, DMA 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서,In a DMA buffering apparatus of a laser printer, which generates bit data by dividing bitmap data recorded in a video memory into band units, and then performing printing by DMA processing.

현시점을 기준할 시에 하나의 밴드데이터가 DMA 처리되는 동안 다음 처리될 DMA 제어 파라메터를 버퍼링 하여 출력하는 제 1 DMA 제어 버퍼링부와, 현재 밴드데이터의 DMA 처리를 위한 DMA 제어 파라메터를 제공하는 제 2 DMA 제어 버퍼링부를 순차적으로 접속하여 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행하는 DMA 제어 다중 버퍼링부(100); 및A first DMA control buffering unit which buffers and outputs a DMA control parameter to be processed next while one band data is DMA processed at the present time, and a second DMA control parameter for DMA processing of the current band data. A DMA control multiple buffering unit 100 which sequentially connects a DMA control buffering unit and performs multi-buffering on the DMA control parameters; And

상기 제 2 DMA 제어 버퍼링부로부터 DMA 제어 파라미터를 입력받아 현시점에서 인쇄되고 있는 현재 밴드 데이터의 DMA 처리를 수행하도록 제어하는 DMA 제어부(200)로 구성된다.And a DMA control unit 200 which receives a DMA control parameter from the second DMA control buffering unit and controls to perform DMA processing on current band data currently being printed.

여기서, 상기 DMA 제어 다중 버퍼링부(100)는,Here, the DMA control multiple buffering unit 100,

상기 다음 밴드 데이터의 DMA 워드 개수값을 저장하는 제 1 DMA 워드 계수 레지스터(111)와; 상기 다음 밴드 데이터의 DMA 시작 주소값을 저장하는 제 1 DMA 시작 주소 레지스터(112)와; 상기 다음 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장하는 제 1 DMA 제어 레지스터(113)로 구성되어 상기 DMA 제어 파라미터를 하나의 밴드 데이터가 DMA 처리되는 동안 버퍼링한 다음에 출력하는 제 1 DMA 제어 버퍼링부(110); 및A first DMA word count register (111) for storing a DMA word count value of the next band data; A first DMA start address register (112) for storing a DMA start address value of the next band data; A first DMA control register 113 for storing a DMA memory increment direction and a final band indication value of the next band data so as to buffer the DMA control parameters during one DMA process and then output the buffer data; DMA control buffering unit 110; And

상기 현재 밴드 데이터의 DMA 워드 개수값을 저장하는 제 2 DMA 워드 계수 레지스터와(121); 상기 현재 밴드 데이터의 DMA 시작 주소값을 저장하는 제 2 DMA 시작 주소 레지스터(122); 및 상기 현재 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장하는 제 2 DMA 제어 레지스터(123)로 구성되어 상기 현재밴드 데이터의 DMA 처리를 위한 DMA 제어 파라미터로 제공하는 제 2 DMA 제어 버퍼링부(120)로 구성된다.A second DMA word count register (121) for storing a DMA word count value of the current band data; A second DMA start address register 122 for storing a DMA start address value of the current band data; And a second DMA control register 123 for storing a DMA memory increase / decrease direction and a final band indication value of the current band data and providing the DMA control parameter for DMA processing of the current band data. It consists of 120.

여기서, 상기 DMA 제어부(200)는Here, the DMA controller 200

상기 제 2 DMA 제어 버퍼링부로부터 상기 현재 밴드의 DMA 시작 주소를 입력받아 현재 밴드의 DMA 워드를 전송하기 위한 공유 버스 주소를 순차적으로 생성하는 DMA 주소 카운터(210)와;A DMA address counter 210 which sequentially receives a DMA start address of the current band from the second DMA control buffering unit and sequentially generates a shared bus address for transmitting a DMA word of the current band;

상기 현재 밴드의 DMA 워드가 전송될 때마다 감소하여 0이 되면 DMA를 종료시키는 DMA 워드 카운터(220)와;A DMA word counter (220) for decreasing DMA each time the DMA word of the current band is transmitted and terminating the DMA when it becomes 0;

상기 제 2 DMA 제어 버퍼링부(120)로부터 상기 현재 밴드의 DMA 메모리 증감 방향값과 최종 밴드 지시값을 입력받아 상기 공유 버스에서 현재 밴드 데이터를 전송할 수 있도록 제어하는 DMA 상태 제어부(230)와;A DMA state controller 230 which receives the DMA memory increase / decrease direction value and the final band indication value of the current band from the second DMA control buffering unit 120 and transmits the current band data on the shared bus;

상기 DMA 상태 제어부(230)의 제어를 받아 상기 현재 밴드의 DMA가 시작됐음을 알리기 위해 DMA 인터럽트를 발생시키는 DMA 인터럽트 발생부(240)로 구성된다.Under the control of the DMA state controller 230, a DMA interrupt generator 240 for generating a DMA interrupt to notify that the DMA of the current band has started.

이하, 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치의 바람직한 실시예의 작용을 첨부된 도면을 참조하여 상세하게 설명하기로 한다.Hereinafter, the operation of the preferred embodiment of the DMA multiple buffering apparatus of the laser printer according to the present invention will be described in detail with reference to the accompanying drawings.

우선, DMA 제어 다중 버퍼링부(100)는 현시점을 기준할 시에 한 밴드 이후에 DMA 처리될 다음 밴드 데이터의 DMA 워드 개수값과 DMA의 메모리 시작 주소값과 밴드 내의 DMA 메모리 증감 방향값 및 최종 밴드 지시값으로 구성된 DMA 제어 파라미터를 하나의 밴드 데이터가 DMA 처리되는 동안 버퍼링한 다음에 출력하도록 하는DMA 제어 버퍼를 적어도 두 개 이상 순차적으로 접속하여 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행한다.First, the DMA control multiple buffering unit 100, based on the current time, the number of DMA words of the next band data to be DMA processed after one band, the memory start address value of the DMA, the DMA memory increase / decrease direction value in the band and the final band Multiple buffering of the DMA control parameters is performed by sequentially connecting at least two DMA control buffers for buffering and outputting the DMA control parameters composed of the indication values during the DMA processing.

이를 좀 더 자세하게 살펴보면, 상기 DMA 제어 다중 버퍼링부(100)는 DMA 제어 파라미터를 하나의 밴드 데이터가 DMA 처리되는 동안 버퍼링한 다음에 출력하는 제 1 DMA 제어 버퍼링부(110)와, 현재 밴드 데이터의 DMA 처리를 위한 DMA 제어 파라미터로 제공하는 제 2 DMA 제어 버퍼링부(120)로 구성된다.In more detail, the DMA control multiple buffering unit 100 buffers the DMA control parameters during one DMA processing and outputs the first DMA control buffering unit 110 and then outputs the current band data. A second DMA control buffering unit 120 is provided as a DMA control parameter for DMA processing.

제 1 DMA 제어 버퍼링부(110)에 있어서, 제 1 DMA 워드 계수 레지스터(111)는 상기 다음 밴드 데이터의 DMA 워드 개수값을 저장하고, 상기 제 1 DMA 시작 주소 레지스터(112)는 다음 밴드 데이터의 DMA 시작 주소값을 저장하고, 상기 제 1 DMA 제어 레지스터(113)는 다음 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장한다.In the first DMA control buffering unit 110, the first DMA word count register 111 stores the DMA word count value of the next band data, and the first DMA start address register 112 stores the next band data. The DMA start address value is stored, and the first DMA control register 113 stores the DMA memory increment direction and the final band indication value of the next band data.

또한, 제 2 DMA 제어 버퍼링부(120)에 있어서, 상기 제 2 DMA 워드 계수 레지스터와(121)는 현재 밴드 데이터의 DMA 워드 개수값을 저장하고, 상기 제 2 DMA 시작 주소 레지스터(122)는 현재 밴드 데이터의 DMA 시작 주소값을 저장하고, 상기 제 2 DMA 제어 레지스터(123)는 현재 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장한다.Further, in the second DMA control buffering unit 120, the second DMA word count register 121 and the DMA word count value of the current band data are stored, and the second DMA start address register 122 is currently present. The DMA start address value of the band data is stored, and the second DMA control register 123 stores the DMA memory increment direction and the final band indication value of the current band data.

이후, 상기 DMA 제어부(200)는 DMA 제어 다중 버퍼링부에서 종단에 접속된 DMA 제어 버퍼로부터 DMA 제어 파라미터를 입력받아 현시점에서 인쇄되고 있는 현재 밴드 데이터의 DMA 처리를 수행하도록 제어한다.Thereafter, the DMA control unit 200 receives a DMA control parameter from a DMA control buffer connected to an end of the DMA control multiple buffering unit and controls to perform DMA processing of the current band data currently being printed.

상기 DMA 제어부(200)를 좀 더 상세히 살펴보면, 상기 DMA 주소 카운터(210)는 제 2 DMA 제어 버퍼링부로부터 상기 현재 밴드의 DMA 시작 주소를 입력받아 현재 밴드의 DMA 워드를 전송하기 위한 공유 버스 주소를 순차적으로 생성하고, 상기 DMA 워드 카운터(220) 현재 밴드의 DMA 워드가 전송될 때마다 감소하여 0이 되면 DMA를 종료시키고, 상기 DMA 상태 제어부(230)는 제 2 DMA 제어 버퍼링부(120)로부터 상기 현재 밴드의 DMA 메모리 증감 방향값과 최종 밴드 지시값을 입력받아 상기 공유 버스에서 현재 밴드 데이터를 전송할 수 있도록 제어하고, 상기 DMA 인터럽트 발생부(240)DMA 상태 제어부(230)의 제어를 받아 상기 현재 밴드의 DMA가 시작됐음을 알리기 위해 DMA 인터럽트를 발생시킨다.Looking at the DMA controller 200 in more detail, the DMA address counter 210 receives a DMA start address of the current band from a second DMA control buffering unit to determine a shared bus address for transmitting a DMA word of the current band. The DMA word counter 220 decreases each time a DMA word of the current band is transmitted and terminates DMA when the DMA word counter 220 is transmitted. The DMA state controller 230 receives the second DMA control buffering unit 120 from the second DMA control buffering unit 120. Receives the DMA memory increase and decrease direction value and the final band indication value of the current band to control the transmission of the current band data on the shared bus, under the control of the DMA interrupt generation unit 240 DMA state control unit 230 A DMA interrupt is generated to indicate that the DMA of the current band has started.

이하, 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 방법을 첨부한 도 3을 참조하여 설명하면 다음과 같다.Hereinafter, the DMA multiple buffering method of the laser printer according to the present invention will be described with reference to FIG. 3.

도 3은 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 방법을 나타낸 순서도이다.3 is a flowchart illustrating a DMA multiple buffering method of a laser printer according to the present invention.

본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 방법은 도 3에 도시한 바와 같이, 비디오 메모리에 기록된 비트맵 데이터를 여러개의 밴드 단위로 분할하여 밴드 데이터를 생성한 후, DMA 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서,In the DMA multiple buffering method of the laser printer according to the present invention, as shown in FIG. 3, the bitmap data recorded in the video memory is divided into bands to generate band data, and then printing is performed by DMA processing. In the DMA buffering device of a laser printer,

인쇄 명령에 의한 인쇄 시작시, 상기 메모리에 저장된 비트맵 데이터를 여러개의 밴드단위로 나누기 위해 분할을 시작하는 페이지 밴드 분할 시작 단계(S10)와;A page band dividing start step (S10) of starting dividing to divide the bitmap data stored in the memory into several band units at the start of printing by a print command;

상기 페이지 밴드 분할 시작 단계(S10)의 실행 결과, 상기 밴드 프린팅 기법적용시 요구되는 제 1 밴드 DMA 제어 파라미터를 세트업 하는 단계(S20)와;Setting up a first band DMA control parameter required for applying the band printing technique as a result of executing the page band division start step (S10) (S20);

상기 제 1 밴드 DMA 제어 파라미터 세트업 단계(S20)의 실행 결과; 상기 DMA가 인터럽트 발생을 시작하는지 여부를 판단하는 제 1 판단 단계(S30)와;An execution result of the first band DMA control parameter set-up step (S20); A first judging step (S30) for judging whether the DMA starts to generate an interrupt;

상기 제 1 판단 단계(S30)의 판단 결과, 상기 DMA가 인터럽트를 시작하면, 상기 그 다음 밴드(S40)로 이동할 수 있고 그렇지 않으면, 상기 제 1 판단 단계로 되돌아 간다.As a result of the determination of the first determination step S30, if the DMA starts an interrupt, it may move to the next band S40, otherwise it returns to the first determination step.

상기 DMA가 인터럽트를 발생하여 다음 밴드로 넘어온 상태에서, 상기 다중 버퍼링을 종료하기 위해 현재의 밴드가 최종 밴드인지 여부를 판단하는 제 2 판단 단계(S50)와;A second determination step (S50) of determining whether a current band is a final band to terminate the multiple buffering while the DMA generates an interrupt and transitions to the next band;

상기 제 2 판단 단계(S50)의 판단 결과, 상기 제 2 판단 단계(S50)의 밴드가 최종 밴드이면, 최종 밴드 DMA 제어 파라미터를 세트업하고 그렇지 않으면, 상기 제 1 밴드 DMA 제어 파라미터를 세트업 하는 단계(S20)와 마찬가지로 밴드를 세트업 하는 단계 및;As a result of the determination in the second determination step S50, if the band of the second determination step S50 is the final band, the final band DMA control parameter is set up; otherwise, the first band DMA control parameter is set up. Setting up the band as in step S20;

상기 페이지를 분할하여 DMA 세트업 자체를 다중 버퍼링 해 줌으로써 비디오 데이터 언더런 상태를 미연에 방지했으므로 페이지를 종료하는 단계(S60)로 구성된다.By dividing the page to multi-buffer the DMA set-up itself, the video data underrun condition is prevented in advance, thus ending the page (S60).

상기와 같이 구성된 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치의 수행 절차를 도 3을 참조하여 상세하게 설명하기로 한다.An operation procedure of the DMA multiple buffering apparatus of the laser printer according to the present invention configured as described above will be described in detail with reference to FIG. 3.

본 발명에 있어서, 사용자의 프린팅 명령이 입력되면, 장치는 밴드 프린팅 기법에 입각하여 프린팅을 시작시,In the present invention, when the user's printing command is input, the device starts printing based on the band printing technique,

우선, 페이지 밴드 분할 시작 단계(S10)에서는 외부로부터 페이지 프린팅 신호를 입력받으면 장치는 밴드 프린팅 기법에 입각하여, 메모리로부터 저장된 비트맵 데이터를 입력받아 입력받은 데이터를 하나 이상의 밴드 단위로 분할하기 시작한다.First, when the page band division start step (S10) receives a page printing signal from the outside, the device receives the bitmap data stored in the memory and starts dividing the received data into one or more band units based on the band printing technique. .

이후, 상기 밴드 분할 시작 단계(S10)의 실행 결과, 상기 제 1 밴드 DMA는 각 밴드마다 DMA 처리를 실행하고 종료한다. 그러기 위해서 DMA 제어 파라미터를 세트업 해주어야 한다.Subsequently, as a result of executing the band division start step S10, the first band DMA executes and terminates DMA processing for each band. To do this, the DMA control parameters must be set up.

상기 제 1 밴드 제어 파라미터 세트업 단계(S20)의 실행 결과, 상기 제 1 판단 단계에서는 상기 DMA 인터럽트 발생부에서 다음 밴드를 위해 DCB의 데이터를 읽을 수 있도록 DMA 인터럽트를 발생시키므로 DMA가 인터럽트를 시작했는지 여부를 판단하고, 판단 결과 DMA가 인터럽트를 시작했으면 다음 밴드로 넘어간다.As a result of executing the first band control parameter setting step S20, in the first judging step, the DMA interrupt generator generates a DMA interrupt so that the data of the DCB can be read for the next band. If the result of the determination is that the DMA has initiated an interrupt, it proceeds to the next band.

상기 단계(S40)에서는, 지금 현재 시점을 기준으로 현재의 밴드가 최종 밴드임을 확인 후 DMA 다중 버퍼링을 수행하기 위해 세트업을 한다.In the step S40, after confirming that the current band is the final band with respect to the current time point, the setup is performed to perform DMA multiple buffering.

본원에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로써 이는 당분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본원의 전반에 걸친 내용을 토대로 내려져야 할 것이다.Terminologies used herein are terms defined in consideration of functions in the present invention, which may vary according to the intention or customs of those skilled in the art, and the definitions should be based on the contents throughout the present application. will be.

또한, 본원에서는 본 발명의 바람직한 실시예를 통해 본 발명을 설명했으므로 본 발명의 기술적인 난이도 측면을 고려할 때, 당분야에 통상적인 기술을 가진 사람이면 용이하게 본 발명에 대한 또 다른 실시예와 다른 변형을 가할 수 있으므로, 상술한 설명에서 사상을 인용한 실시예와 변형은 모두 본 발명의 청구 범위에 모두 귀속됨은 명백하다.In addition, since the present invention has been described through the preferred embodiment of the present invention, in view of the technical difficulty aspects of the present invention, those having ordinary skill in the art can easily be different from another embodiment of the present invention. Since modifications may be made, it is obvious that both the embodiments and modifications cited in the above description belong to the claims of the present invention.

이상에서 상세하게 설명한 바와 같이, 레이저 프린터에 있어서, 비디오 메모리에 기록된 비트맵 데이터를 밴드 단위로 분할하여 밴드 데이터를 생성한 후, DMA 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서, 현 시점을 기준할 시에 한 밴드 이후에 DMA 처리될 밴드 데이터의 DMA 워드 개수값과 DMA의 메모리 시작 주소값과 밴드 내의 DMA 메모리 증감 방향값 및 최종 밴드 지시값으로 구성된 DMA 제어 파라미터를 여러개로 분할된 밴드 데이터 중 하나의 밴드 데이터가 DMA 처리되는 동안 버퍼링한 다음에 출력하도록 하는 DMA 제어 버퍼를 적어도 두 개 이상 순차적으로 접속하여, 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행하는 현재 밴드의 DMA 처리를 수행함으로써 비디오 데이터 언더런 상태를 해결하는 본 발명에 따르면, DMA 설정 자체를 다중 버퍼링 해줌으로써 비디오 데이터 언더런(video data underrun)상태를 해결할 수 있는 이점이 있다.As described in detail above, in a laser printer, in a DMA buffering apparatus of a laser printer, the bitmap data recorded in the video memory is divided into bands to generate band data, and then printing is performed by DMA processing. At the current time, a number of DMA control parameters consisting of the number of DMA words of the band data to be DMA processed after one band, the DMA memory start address value, the DMA memory increase / decrease direction value, and the final band indication value are included. DMA processing of the current band which performs multiple buffering on the DMA control parameters by sequentially connecting at least two DMA control buffers which are buffered and outputted after one of the divided band data is processed during DMA processing. According to the present invention, which solves the video data underrun condition by performing Multiple buffering of the information itself has the advantage of solving the video data underrun (video data underrun) state.

Claims (3)

비디오 메모리에 기록된 비트맵 데이터를 밴드 단위로 분할하여 밴드 데이터를 생성한 후, DMA(Direct Memory Access) 처리에 의해 인쇄를 수행하는 레이저 프린터의 DMA 버퍼링 장치에 있어서,In a DMA buffering apparatus of a laser printer, which generates band data by dividing bitmap data recorded in a video memory into band units, and then performing printing by DMA (Direct Memory Access) processing. 현시점을 기준할 시에 하나의 밴드데이터가 DMA 처리되는 동안 다음 처리될 DMA 제어 파라메터를 버퍼링 하여 출력하는 제 1 DMA 제어 버퍼링부와, 현재 밴드데이터의 DMA 처리를 위한 DMA 제어 파라메터를 제공하는 제 2 DMA 제어 버퍼링부를 순차적으로 접속하여 상기 DMA 제어 파라미터에 대한 다중 버퍼링을 수행하는 DMA 제어 다중 버퍼링부; 및A first DMA control buffering unit which buffers and outputs a DMA control parameter to be processed next while one band data is DMA processed at the present time, and a second DMA control parameter for DMA processing of the current band data. A DMA control multiple buffering unit configured to sequentially access a DMA control buffering unit and perform multi-buffering on the DMA control parameters; And 상기 제 2 DMA 제어 버퍼링부로부터 DMA 제어 파라미터를 입력받아 현시점에서 인쇄되고 있는 현재 밴드 데이터의 DMA 처리를 수행하도록 제어하는 DMA 제어부를 포함하는 것을 특징으로 하는 레이저 프린터의 DMA 다중 버퍼링 장치.And a DMA control unit which receives a DMA control parameter from the second DMA control buffering unit and controls to perform DMA processing of current band data being printed at the present time. 제 1 항에 있어서,The method of claim 1, 상기 제 1 DMA 제어 버퍼링부는,The first DMA control buffering unit, 상기 다음 밴드 데이터의 DMA 워드 개수값을 저장하는 제 1 DMA 워드 계수 레지스터와, 상기 다음 밴드 데이터의 DMA 시작 주소값을 저장하는 제 1 DMA 시작 주소 레지스터와, 상기 다음 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장하는 제 1 DMA 제어 레지스터로 구성되며;A first DMA word count register for storing a DMA word count value of the next band data, a first DMA start address register for storing a DMA start address value of the next band data, a DMA memory increment direction of the next band data, and A first DMA control register for storing the last band indication; 상기 제 2 DMA 제어 버퍼링부는,The second DMA control buffering unit, 상기 현재 밴드 데이터의 DMA 워드 개수값을 저장하는 제 2 DMA 워드 계수 레지스터와, 상기 현재 밴드 데이터의 DMA 시작 주소값을 저장하는 제 2 DMA 시작 주소 레지스터, 및 상기 현재 밴드 데이터의 DMA 메모리 증감 방향 및 최종 밴드 지시값을 저장하는 제 2 DMA 제어 레지스터로 구성되는 것을 특징으로 하는 레이저 프린터의 DMA 다중 버퍼링 장치.A second DMA word count register that stores the DMA word count value of the current band data, a second DMA start address register that stores the DMA start address value of the current band data, and a DMA memory increment direction of the current band data; and And a second DMA control register for storing a final band indication value. 제 1 항 또는 제2항에 있어서, 상기 DMA 제어부는The method of claim 1 or 2, wherein the DMA control unit 상기 제 2 DMA 제어 버퍼링부로부터 상기 현재 밴드의 DMA 시작 주소를 입력받아 현재 밴드의 DMA 워드를 전송하기 위한 공유 버스 주소를 순차적으로 생성하는 DMA 주소 카운터와;A DMA address counter which receives a DMA start address of the current band from the second DMA control buffering unit and sequentially generates a shared bus address for transmitting a DMA word of the current band; 상기 현재 밴드의 DMA 워드가 전송될 때마다 감소하여 0이 되면 DMA를 종료시키는 DMA 워드 카운터와;A DMA word counter which decreases each time a DMA word of the current band is transmitted and terminates DMA when it becomes 0; 상기 제 2 DMA 제어 버퍼링부로부터 상기 현재 밴드의 DMA 메모리 증감 방향값과 최종 밴드 지시값을 입력받아 상기 공유 버스에서 현재 밴드 데이터를 전송할 수 있도록 제어하는 DMA 상태 제어부; 및A DMA state control unit configured to receive the DMA memory increase / decrease direction value and the final band indication value of the current band from the second DMA control buffering unit so as to transmit current band data on the shared bus; And 상기 DMA 상태 제어부의 제어를 받아 상기 현재 밴드의 DMA가 시작됐음을 알리기 위해 DMA 인터럽트를 발생시키는 DMA 인터럽트 발생부로 구성되는 것을 특징으로 하는 본 발명에 따른 레이저 프린터의 DMA 다중 버퍼링 장치.And a DMA interrupt generator for generating a DMA interrupt to notify that the DMA of the current band has been started under the control of the DMA state controller.
KR1019990022871A 1999-06-18 1999-06-18 DMA Double Buffering Apparatus and Method in Laser Printer KR100334096B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990022871A KR100334096B1 (en) 1999-06-18 1999-06-18 DMA Double Buffering Apparatus and Method in Laser Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990022871A KR100334096B1 (en) 1999-06-18 1999-06-18 DMA Double Buffering Apparatus and Method in Laser Printer

Publications (2)

Publication Number Publication Date
KR20010002850A KR20010002850A (en) 2001-01-15
KR100334096B1 true KR100334096B1 (en) 2002-05-02

Family

ID=19593271

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990022871A KR100334096B1 (en) 1999-06-18 1999-06-18 DMA Double Buffering Apparatus and Method in Laser Printer

Country Status (1)

Country Link
KR (1) KR100334096B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101048386B1 (en) * 2005-03-24 2011-07-12 주식회사 히타치엘지 데이터 스토리지 코리아 How to print a label on an optical disc

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100513738B1 (en) * 2003-06-25 2005-09-09 삼성전자주식회사 a video data control unit and a loading/storing method of video data thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS631547A (en) * 1986-06-20 1988-01-06 Hitachi Ltd Print controller for laser beam printer
JPS63163657A (en) * 1986-12-26 1988-07-07 Yokogawa Electric Corp Dma transfer system
US4984182A (en) * 1989-07-12 1991-01-08 Ricoh Company, Ltd. Laser printer controller flexible frame buffer achitecture which allows software to initiate the loading of a frame buffer start address
KR930010741A (en) * 1991-11-12 1993-06-23 정몽헌 LBP Controller
JPH10275067A (en) * 1997-03-31 1998-10-13 Brother Ind Ltd Printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS631547A (en) * 1986-06-20 1988-01-06 Hitachi Ltd Print controller for laser beam printer
JPS63163657A (en) * 1986-12-26 1988-07-07 Yokogawa Electric Corp Dma transfer system
US4984182A (en) * 1989-07-12 1991-01-08 Ricoh Company, Ltd. Laser printer controller flexible frame buffer achitecture which allows software to initiate the loading of a frame buffer start address
KR930010741A (en) * 1991-11-12 1993-06-23 정몽헌 LBP Controller
JPH10275067A (en) * 1997-03-31 1998-10-13 Brother Ind Ltd Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101048386B1 (en) * 2005-03-24 2011-07-12 주식회사 히타치엘지 데이터 스토리지 코리아 How to print a label on an optical disc

Also Published As

Publication number Publication date
KR20010002850A (en) 2001-01-15

Similar Documents

Publication Publication Date Title
JPH05221030A (en) Apparatus for controlling printing
KR100334096B1 (en) DMA Double Buffering Apparatus and Method in Laser Printer
JPH0911553A (en) Printing controlling method for host base printer and the host base printer
US7969605B2 (en) Recording apparatus and method of controlling the recording apparatus
US4700234A (en) Image processing system
JP3641922B2 (en) ASIC control apparatus and method
JPH1084447A (en) Multi-function parallel processing type electronic unit
US20080235475A1 (en) Method and apparatus for intervaled dma transfer access
US7433071B2 (en) Printing method and apparatus of multi function product and computer-readable recording medium for storing computer program for controlling the product
JP5205317B2 (en) Image processing device
US6246795B1 (en) Image processing apparatus and method
JPH08174956A (en) Printer and its control method as well as printing system
JPH11249832A (en) Image forming device
KR19980083886A (en) Digital copying method in multifunction device
CA2138918C (en) Printing apparatus having toner saving function and printing method for use with the same
KR100299973B1 (en) Method for Suppress Band Error in the Printer
JP2009064342A (en) Data transfer system
US7380069B2 (en) Method and apparatus for DMA-generated memory write-back
JPH1191212A (en) Printer, printing method and storing medium
JP2010170489A (en) Processing device, image forming apparatus and processing method
JP2001155145A (en) Controller for inputting and outputting image
KR20050076177A (en) Image forming device using dedicated buffering unit to reduce load to system memory
JP2007185911A (en) Printer controller and printer
JP2002331713A (en) Printer controller and method for controlling transfer of data
JPH02153761A (en) Recording apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080328

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee