Claims (6)
모니터의 화면을 스크롤 하는 장치에 있어서, 중앙처리장치(CPU)에 의해 구동되는 레지스터부(10)와; 상기레지스터부(10)에서 출력되는 데이타를 잠시 순차적으로 저장하는 파이포(FIFO)(2Q)와; 수직동기신호(v_sync)를 출력하며화면을 제어하는 음극선관(Cathode-Ray Tude : CRT)제어기(30)와; 각종 그래픽 기능을 수행하는 그래픽 처리기(40)와; 상기 파이포(20)로부터 데이타 컨태인(d_c)신호를 입력받아 메모리(70)로 각종 신호(ras,cas,oe,we,page)를 출력하는 메모리 제어기(50)와; 상기 각 부에서 출력되는 신호를 입력받아 메모리(70)측에는 수평 어드레스신호와 수직 어드레스신호를 출력하고, 중앙처리장치측에는 레디(RDY)신호를 출력하여 화면 스크롤을 제어하는 스크롤 제어기(60) 및 ; 데이타를 저장하는 메모리(70)로 구성되는 것을 특징으로 하는 하드웨어적인 스크롤 장치.An apparatus for scrolling a screen of a monitor, comprising: a register unit (10) driven by a central processing unit (CPU); A FIFO 2Q for sequentially storing data output from the register unit 10 for a while; A cathode ray tube (CRT) controller 30 for outputting a vertical synchronization signal v_sync and controlling a screen; A graphics processor 40 for performing various graphics functions; A memory controller 50 which receives the data context (d_c) signal from the pipo 20 and outputs various signals (ras, cas, oe, we, page) to the memory 70; A scroll controller 60 which receives the signals output from the respective units, outputs a horizontal address signal and a vertical address signal to the memory 70 side, and outputs a ready (RDY) signal to the central processing unit side to control screen scrolling; Hardware scroll device, characterized in that consisting of a memory for storing data (70).
제1항에 있어서, 상기 스크롤 제어기(60)는 각종 신호(d_c,sm_wr,v_sync)를 입력받아 파이포(20)에 미리 데이타가 들어있을 경우 중앙처리장치로 레디(RDY)신호를 출력하고, 각 먹스(64,65)로 스크롤 셀렉터(s_s)신호를 출력하는 스크롤 모드 제어기(61)와; 스크롤 수평 어드레스(s_h)와 라이트 수평 어드레스(w_r)를 입력받아 가산하는 제1가산기(62)와; 라이트 수직 어드레스(w_v)와 스크롤 수직 어드레스(s_v)를 입력받아 가산하는 제2가산기(63)와; 상기 스크롤 모드 제어기(61)에서 출력되는 스크롤 셀렉터(s_s)신호와 라이트 수평 어드레스(w_h)신호 및 제1가산기(62)에서 출력된 신호를 입력받아 최종 수평 어드레스를 출력하는 제1먹스(64) 및; 상기 스크롤 모드 제어기(61)에서 출력되는 스크롤 셀렉터(s_s)신호와 라이트 수직 어드레스(w_v)신호 및 제2가산기(63)에서 출력된 신호를 입력받아 최종 수직 어드레스를 출력하는 제2먹스(65)로 구성되는 것을 특징으로 하는 하드웨어적인 스크롤 장치.According to claim 1, The scroll controller 60 receives a variety of signals (d_c, sm_wr, v_sync) and outputs a ready (RDY) signal to the central processing unit when the data in advance in the pipo 20, A scroll mode controller 61 which outputs a scroll selector s_s signal to each mux 64, 65; A first adder 62 which receives and adds a scroll horizontal address s_h and a write horizontal address w_r; A second adder 63 which receives and adds the write vertical address w_v and the scroll vertical address s_v; A first mux 64 for receiving the scroll selector s_s signal output from the scroll mode controller 61, the write horizontal address w_h signal, and the signal output from the first adder 62, and outputting a final horizontal address; And; The second mux 65 which receives the scroll selector s_s signal output from the scroll mode controller 61, the write vertical address w_v signal, and the signal output from the second adder 63, and outputs a final vertical address. Hardware scroll device, characterized in that consisting of.
제2항에 있어서, 상기 스크롤 모드 제어기(61)는 데이타 컨태인(d_c)신호와 인버터(61-2)를 통과한 스크롤모드 라이트(sm_wr)신호를 입력받아 중앙처리장치로 레디(RDY)신호를 출력하는 제1디-플립플롭(61-1)과; 스크롤 모드 라이트(sm_wr)신호를 입력받아 스크롤 플래그(sm_flag)신호를 출력하는 JK-플립플롭(61-3)과; 인버터(61-4)를 통과한 데이타 컨태인(d_c)신호를 입력받아 제1디-플립플롭(61-1)에 버퍼(61-5)를 거쳐 클리어 신호를 제공하며, 이 클리어 신호를다시 피드백하여 받아들이는 제2디-플립플롭(61-6) 및 ; 수직동기(v_sync)신호와 상기 JK-플립플롭(61-3)에서 출력된 스크롤 모드 플래그(sm_flag)신호를 입력받아 스크롤 셀렉트(s_s)신호를 출력하는 제3디-플립플롭(61-7)으로 구성되는 것을특징으로 하는 하드웨어적인 스크롤 장치.3. The RDY signal of claim 2, wherein the scroll mode controller 61 receives a data condition d_c signal and a scroll mode write signal sm_wr that has passed through the inverter 61-2. A first di-flip flop 61-1 for outputting the first and second flip-flops 61-1; A JK flip-flop 61-3 which receives the scroll mode write signal sm_wr and outputs a scroll flag sm_flag signal; The data signal (d_c) that has passed through the inverter (61-4) is input to provide a clear signal to the first de-flip flop (61-1) via the buffer (61-5). A second di-flip-flop 61-6 receiving feedback; A third de-flip flop 61-7 which receives a vertical sync signal v_sync and a scroll mode flag sm_flag signal output from the JK flip-flop 61-3 and outputs a scroll select signal s_s Hardware scroll device characterized by consisting of.
모니터의 화면을 스크롤 하는 방법에 있어서, 데이타를 메모리(70)에 저장하거나 읽어들일 때 화면 스크롤을 할시 수평 스크롤 레지스터(14)와 수직 스크롤 레지스터(15)에 원하는 스크롤 라인 수만큼의 화면 이동값을 저장시킨후, 스크롤 모드 라이트(sm_wr)신호를 액티브시키고, 이어 음극선관 제어기(30)에서 출력되는 수직동기(v_sync)신호에 의해 프레임 단위로 스크롤 여부를 검증하여 기존 어드레스와 스크롤 어드레스를 각각 더하여 최종적으로 스크롤 할 수평어드레스 및 수직 어드레스를 출력하는 스크롤 제어기(30)를 동작시켜 모니터에 리프레쉬하는 메모리 번지의 영역을 변경시키므로서 스크롤 속도를 향상시키는 하드웨어적인 스크롤 방법.In a method of scrolling a screen of a monitor, when the screen is scrolled when data is stored or read in the memory 70, the screen scroll value is input to the horizontal scroll register 14 and the vertical scroll register 15 as many scroll lines as desired. After storing, the scroll mode write (sm_wr) signal is activated, and then, whether or not scrolling is performed on a frame-by-frame basis by the vertical sync (v_sync) signal output from the cathode ray tube controller 30, and the existing address and the scroll address are added to each other. Hardware scroll method to improve the scrolling speed by changing the area of the memory address to be refreshed to the monitor by operating the scroll controller 30 for outputting the horizontal address and the vertical address to scroll.
제4항에 있어서, 스크롤 여부를 검증하는 방법으로 파이포(20)에 저장된 데이타가 존재하지 않을 경우 스크롤 하는 방법은 데이타 컨태인(d_c)신호에 따라 스크롤 모드 라이트(sm_wr)신호가 액티브되고, 이어 스크롤 모드 플래그(sm_flag)가 액티브 되면, 이 신호(sm_flag)는 화면단위의 동기신호인 수직동기(v_sync)신호의 라이징 에지(risingedge)에서 스크롤 셀렉트(s_s) 신호를 최종적으로 액티브시키고, 상기 액티브된 신호(s_s)에 따라 노말 어드레스가 스크롤 어드레스로 변환되어 메모리(70)에 입력되며, 그 다음 프레임부터는 수평 스크롤 레지스터(14)와 수직 스크롤 레지스터(15)에 지정된 값만큼 화면 스크롤이 되는 하드웨어적인 스크롤 방법.The method of claim 4, wherein the scroll mode write signal sm_wr is activated according to the data state d_c signal when the data stored in the PIPO 20 does not exist. Subsequently, when the scroll mode flag sm_flag is activated, the signal sm_flag finally activates the scroll select signal s_s at the rising edge of the vertical synchronization v_sync signal, which is a synchronization signal in a screen unit, and activates the scroll select signal s_s. According to the received signal s_s, the normal address is converted into a scroll address and input to the memory 70. From the next frame, the hardware scrolls the screen by the value specified in the horizontal scroll register 14 and the vertical scroll register 15. Scroll way.
제4항에 있어서, 스크롤 여부를 검증하는 방법으로 파이포(20)에 저장된 데이타가 존재할 경우 스크롤하는방법은 파이포(20)에 미리 저장되어 있는 데이타를 메모리(70)에 라이트 할 수 있도록 스크롤 모드 라이트(sm_wr)신호의폴링 에지(falling edge)에서 중앙처리장치에 레디(RDY)신호를 입력시켜 잠시 대기하게 한 후, 데이타가 메모리(70)에 모두 라이트되면, 이에 따라 데이타 컨태인(d_c)신호는 인액티브되고, 레디(RDY)신호도 인액티브되어 스크롤 모드 라이트(sm_wr)신호를 동작시키며, 상기 신호(sm_wr)의 액티브 상태에 따라 스크롤 셀렉트(s_s)신호가 최종적으로 액티브 되어수평 스크롤 레지스터(14)와 수직 스크롤 레지스터(15)에 지정된 값만큼 화면 스크롤이 되는 하드웨어적인 스크롤 방법.The method of claim 4, wherein the scrolling method when scrolling data exists in the PIPO 20 as a method of verifying scrolling is performed so that the data previously stored in the PIPO 20 can be written to the memory 70. After the RDY signal is input to the CPU at the falling edge of the mode write signal sm_wr, the data is written to the memory 70, and the data state d_c Signal is inactive, and ready (RDY) signal is also activated to operate the scroll mode write signal (sm_wr), and the scroll select (s_s) signal is finally activated according to the active state of the signal (sm_wr) to horizontal scroll. A hardware scrolling method in which a screen is scrolled by a value specified in the register 14 and the vertical scroll register 15.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.