JPH04261588A - Image display device - Google Patents

Image display device

Info

Publication number
JPH04261588A
JPH04261588A JP3145182A JP14518291A JPH04261588A JP H04261588 A JPH04261588 A JP H04261588A JP 3145182 A JP3145182 A JP 3145182A JP 14518291 A JP14518291 A JP 14518291A JP H04261588 A JPH04261588 A JP H04261588A
Authority
JP
Japan
Prior art keywords
display
display data
data
parallel
shift amount
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP3145182A
Other languages
Japanese (ja)
Other versions
JP3226939B2 (en
Inventor
Mikio Miura
幹夫 三浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP14518291A priority Critical patent/JP3226939B2/en
Publication of JPH04261588A publication Critical patent/JPH04261588A/en
Application granted granted Critical
Publication of JP3226939B2 publication Critical patent/JP3226939B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To improve the display picture quality by moving an image by a dot unit in the horizontal direction by synchronizing with a display cycle. CONSTITUTION:The device is provided with a GC. RAM 3 (CC. RAM 4) for storing parallel display data, a shift amount register which is provided on horizontal shift circuits 16, 17 and to which a shift amount in the horizontal direction is set in advance, a counter for outputting pulses of the number corresponding to the shift amount set to the shift amount register synchronously with a display timing, a display control circuit 7 for reading out the parallel display data synchronously with the display timing, and also, setting the shift amount in the horizontal direction of this display data to the shift amount register, a parallel-in/parallel-out register for loading the read-out parallel display data, and shifting it in the horizontal direction in accordance with the number of pulses of the counter, and a serial-in/parallel-out register for inputting display data outputted from the register, and shifting it in the horizontal direction in accordance with the number of pulses of the counter.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、CRTやLCD等の表
示装置に表示された画像を水平方向に移動させる画像表
示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image display device for horizontally moving an image displayed on a display device such as a CRT or LCD.

【0002】0002

【従来の技術】一般に、CRT(陰極線管)やLCD(
液晶表示器)等の表示部に文字やパターンを表示させる
いわゆるグラフィックディスプレイ装置においては、並
列データ入出力方式のフレームメモリの表示データを読
み出し、表示データを水平方向にドット単位で移動した
後、別に設けたビデオRAMに転送して表示させること
ができるように構成されている。この種の従来装置の一
例として特開平1−54728号公報に示すように、撮
像管からの画像データを水平方向にドット単位で移動し
、主記憶メモリからの画像データと合成して、表示する
装置が開示されている。
[Prior Art] Generally, CRTs (cathode ray tubes) and LCDs (
In so-called graphic display devices that display characters and patterns on a display unit such as a liquid crystal display (liquid crystal display), display data is read from a frame memory using a parallel data input/output method, the display data is moved horizontally dot by dot, and then It is configured so that it can be transferred to the provided video RAM and displayed. An example of this type of conventional device is shown in Japanese Patent Application Laid-Open No. 1-54728, which moves image data from an image pickup tube horizontally dot by dot, combines it with image data from the main memory, and displays it. An apparatus is disclosed.

【0003】この画像表示装置は、主記憶メモリからの
画像データを第1および第3のビデオRAMにDMA転
送する第1の転送手段と、撮像管からの画像データを記
憶するフレームメモリと、フレームメモリの画像データ
を水平移動するためにドット整列する手段と、撮像管か
らの画像データをフレームメモリからドット整列手段を
介して第2のビデオRAMにDMA転送する第2の転送
手段と、主記憶メモリ、フレームメモリからそれぞれ第
1および第3のビデオRAM、第2のビデオRAMに対
する転送を二次元で行うための加算アドレスを発生する
アドレス手段等により構成されている。
This image display device includes a first transfer means for DMA transfer of image data from the main memory to the first and third video RAMs, a frame memory for storing image data from the image pickup tube, and a frame memory for storing image data from the image pickup tube. means for dot alignment for horizontally moving image data in the memory; second transfer means for DMA transferring image data from the image pickup tube from the frame memory to the second video RAM via the dot alignment means; and a main memory. It is comprised of address means and the like for generating addition addresses for performing two-dimensional transfer from the memory and frame memory to the first and third video RAMs and the second video RAM, respectively.

【0004】したがって、上記構成によれば、撮像管か
らの画像データは、フレームメモリから第2のビデオR
AMに転送される際に、ドット整列手段により水平シフ
トの処理を施され、画面上で水平方向にドット単位で移
動する。
Therefore, according to the above configuration, image data from the image pickup tube is transferred from the frame memory to the second video R.
When transferred to the AM, the dot alignment means performs a horizontal shift process and moves dot by dot in the horizontal direction on the screen.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の画像表示装置では、画像を水平方向にドット単位で
移動するために、画像データをシフト処理を行って第2
のビデオRAMに転送するためのハードウェアやソフト
ウェアを必要とするので、第2のビデオRAMの容量が
増大するばかりでなく、処理時間が表示サイクルより長
くなり、表示画質が劣化するという問題がある。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional image display device, in order to move the image horizontally in units of dots, the image data is shifted and the second
Since hardware and software are required to transfer the data to the second video RAM, there is a problem that not only does the capacity of the second video RAM increase, but the processing time becomes longer than the display cycle, and the display image quality deteriorates. .

【0006】なお、表示画像を垂直方向にドット単位で
スクロールするいわゆるスムーススクロールを行う場合
、通常、表示開始アドレスを1ラインずつインクリメン
トまたはデクリメントする方法が知られているが、この
方法により水平方向のアドレスをインクリメントまたは
デクリメントすると文字単位での移動となり、ドット単
位で移動することはできない。
[0006] When performing so-called smooth scrolling in which the display image is vertically scrolled dot by dot, a method is generally known in which the display start address is incremented or decremented line by line. Incrementing or decrementing an address moves it character by character, not dot by dot.

【0007】本発明は上記従来の問題点に鑑み、表示サ
イクルに同期して画像を水平方向にドット単位で移動す
ることにより表示画質を向上させることができる画像表
示装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional problems, an object of the present invention is to provide an image display device that can improve display image quality by moving an image horizontally in dot units in synchronization with the display cycle. do.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、第1の手段は、並列の表示データを記憶する第1の
記憶手段と、予め水平方向のシフト量が設定される第2
の記憶手段と、前記第2の記憶手段に設定されたシフト
量に応じた数のパルスを表示タイミングに同期して出力
するカウンタと、前記第1の記憶手段から並列の表示デ
ータを表示タイミングに同期して読み出すとともに、こ
の表示データの水平方向のシフト量を前記第2の記憶手
段に設定する表示制御手段と、前記第1の記憶手段から
読み出された並列の表示データをロードし、前記カウン
タのパルス数に応じて水平方向にシフトするパラレルイ
ンシリアルアウトの第1のシフトレジスタと、前記第1
のシフトレジスタから出力される表示データを入力し、
前記カウンタのパルス数に応じて水平方向にシフトする
シリアルインパラレルアウトの第2のシフトレジスタと
を備えたことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, a first storage means stores parallel display data, and a second storage means stores a horizontal shift amount in advance.
a counter that outputs a number of pulses corresponding to the shift amount set in the second storage means in synchronization with the display timing; and a counter that outputs parallel display data from the first storage means at the display timing. display control means for synchronously reading the display data and setting the horizontal shift amount of the display data in the second storage means; loading the parallel display data read from the first storage means; a parallel-in serial-out first shift register that shifts in the horizontal direction according to the number of pulses of the counter;
Input the display data output from the shift register of
The present invention is characterized in that it includes a second shift register of serial in-parallel output that shifts in the horizontal direction according to the number of pulses of the counter.

【0009】上記目的を達成するために、第2の手段は
、前記表示データの水平方向のシフト量を前記表示制御
手段にプログラム可能に設定するCPUを備え、前記表
示制御手段は、前記CPUにより設定されたシフト量を
前記第2の記憶手段に設定することを特徴とする。
[0009] In order to achieve the above object, the second means includes a CPU that programmably sets the horizontal shift amount of the display data to the display control means, and the display control means It is characterized in that the set shift amount is set in the second storage means.

【0010】0010

【作用】第1の手段では、第1の記憶手段の並列の表示
データは、表示制御手段により表示タイミングに同期し
て読み出され、第1、第2のシフトレジスタにより表示
タイミングに同期したパルスにより水平方向にシフトさ
れるので、表示画質を向上させることができる。
[Operation] In the first means, the parallel display data in the first storage means is read out in synchronization with the display timing by the display control means, and pulses synchronized with the display timing are read out by the first and second shift registers. Since the image is shifted in the horizontal direction, the display image quality can be improved.

【0011】第2の手段では、表示データの水平方向の
シフト量は、CPUによりプログラム可能に表示制御手
段に設定され、表示制御手段により第2の記憶手段に設
定される。したがって、水平方向にシフトされるドット
数がプログラム可能であるので、水平方向のスムースス
クロールを実現することができる。
In the second means, the horizontal shift amount of the display data is programmably set in the display control means by the CPU, and set in the second storage means by the display control means. Therefore, since the number of dots shifted in the horizontal direction is programmable, smooth scrolling in the horizontal direction can be realized.

【0012】0012

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は本発明に係る画像表示装置の一実施例を示
すブロック図、図2は図1の水平シフト回路の詳細な構
成を示すブロック図、図3および図4は図1の画像表示
装置と図2の水平シフト回路における主要信号を示すタ
イミングチヤート、図5および図6は水平方向にスムー
ススクロールするためのCPUのプログラムリストであ
る。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an image display device according to the present invention, FIG. 2 is a block diagram showing a detailed configuration of the horizontal shift circuit of FIG. 1, and FIGS. 3 and 4 show the image display device of FIG. A timing chart showing main signals in the horizontal shift circuit of FIG. 2, and FIGS. 5 and 6 are program lists of the CPU for smooth scrolling in the horizontal direction.

【0013】図1において、CPU1は、不図示の表示
部のみならず装置全体を制御し、このCPU1のプログ
ラムはROM2に予め格納されている。このプログラム
は、キャラクタ表示のためのキャラクタコードを含み、
また、ROM2には、グラフィック表示のための各パタ
ーンに対応するグラフィックコードが予め格納されてい
る。なお、本実施例では、1つのキャラクタコードは1
6ビットで構成されている。
In FIG. 1, a CPU 1 controls not only a display section (not shown) but also the entire apparatus, and a program for this CPU 1 is stored in a ROM 2 in advance. This program includes character codes for character display,
Further, the ROM 2 stores in advance graphic codes corresponding to each pattern for graphic display. In addition, in this embodiment, one character code is 1
It consists of 6 bits.

【0014】グラフィックコード(GC)用のRAM(
GC.RAM)3、キャラクタコード(CC)用のRA
M(CC.RAM)4は共にフレームバッファ(ビデオ
RAM)であり、それぞれ、バスドライバ6を介してC
PU1の16ビットのデータバス5の上位バイト(D8
〜D15)、下位バイト(D0〜D7)に接続されてい
る。なお、CPU1は、GC.RAM3とCC.RAM
4をワークエリアおよびスタックエリアとしても使用す
る。
RAM for graphic code (GC) (
G.C. RAM) 3, RA for character code (CC)
M (CC.RAM) 4 are both frame buffers (video RAM), and each of them is connected to C through the bus driver 6.
The upper byte (D8) of the 16-bit data bus 5 of PU1
~D15) and are connected to the lower bytes (D0~D7). Note that the CPU 1 uses the GC. RAM3 and CC. RAM
4 is also used as a work area and a stack area.

【0015】CPU1のデータバス5はまた、ROM2
と表示制御回路7の各データ入力端子に接続されている
。GC.RAM3、CC.RAM4はまた、それぞれマ
ルチプレクサ8,9を介してCPU1のアドレスバス(
A0〜A15)または表示制御回路7のアドレス端子G
A0〜14およびCA0〜14に選択的に接続される。
The data bus 5 of the CPU 1 also connects the ROM 2
and each data input terminal of the display control circuit 7. G.C. RAM3, CC. The RAM 4 is also connected to the address bus (
A0 to A15) or address terminal G of display control circuit 7
Selectively connected to A0-14 and CA0-14.

【0016】表示制御回路7は、表示アドレスジェネレ
ータからなり、タイミングジェネレータ10が発生する
タイミング信号T1にしたがってCPU1とは非同期で
規則的な表示制御を行う。すなわち、GC.RAM3、
CC.RAM4に対するアクセスは、表示制御回路7が
CPU1より優先権を有し、この目的のために、表示制
御回路7がGC.RAM3、CC.RAM4にアクセス
しないときにCPU1がアクセスするように、タイミン
グジェネレータ10がタイミング信号T2,T3,T4
をそれぞれCPU1、マルチプレクサ8,9に出力する
(サイクルスティールアクセス制御)。
The display control circuit 7 includes a display address generator, and performs regular display control asynchronously with the CPU 1 in accordance with the timing signal T1 generated by the timing generator 10. That is, G.C. RAM3,
C.C. The display control circuit 7 has priority over the CPU 1 in accessing the RAM 4, and for this purpose, the display control circuit 7 uses the GC. RAM3, CC. The timing generator 10 generates timing signals T2, T3, and T4 so that the CPU 1 accesses the RAM 4 when the RAM 4 is not accessed.
are output to the CPU 1 and multiplexers 8 and 9, respectively (cycle steal access control).

【0017】なお、CPU1は、グラフィック表示とキ
ャラクタ表示のために表示開始アドレス、水平方向文字
数、垂直方向文字数、キャラクタ表示のラスタ数と水平
方向のシフト量をデータバス5を介して表示制御回路7
に設定する。表示制御回路7はこの各設定値をタイミン
グジェネレータ10に送り、タイミングジェネレータ1
0は表示のための各種のタイミング信号T1〜T7、C
LK1,CLK2,CLK3、FLM(図1ではT1と
同じ)を発生する。
The CPU 1 sends the display start address, the number of horizontal characters, the number of vertical characters, the number of rasters for character display, and the horizontal shift amount to the display control circuit 7 via the data bus 5 for graphic display and character display.
Set to . The display control circuit 7 sends each set value to the timing generator 10, and the timing generator 1
0 is various timing signals T1 to T7, C for display.
Generates LK1, CLK2, CLK3, and FLM (same as T1 in FIG. 1).

【0018】CPU1はまた、表示の前に予めグラフィ
ックコードとキャラクタコードをROM2から読み出し
、バスドライバ6を介してそれぞれGC.RAM3、C
C.RAM4に書き込む。なお、GC.RAM3に書き
込まれたグラフィックコードはそのまま表示データとな
り、他方、キャラクタコードに対応する表示データは予
めキャラクタジェネレータ(CG)用ROM11に格納
され、本実施例では、CG.ROM11の各キャラクタ
の表示データは8×8ビットで構成されている。
The CPU 1 also reads the graphic code and character code from the ROM 2 in advance before displaying them, and sends them to the GC. RAM3,C
C. Write to RAM4. In addition, GC. The graphic code written in the RAM 3 becomes the display data as it is, and on the other hand, the display data corresponding to the character code is stored in advance in the character generator (CG) ROM 11, and in this embodiment, the CG. The display data of each character in the ROM 11 is composed of 8×8 bits.

【0019】ここで、キャラクタコードは16ビットで
あり、CC.RAM4に対するデータバスは8ビット幅
であるが、表示制御回路7は、CC.RAM4から1文
字分のキャラクタコードを読み出す場合に、下位8ビッ
トと上位8ビットを連続して読み出すためにアドレスを
「+1」ずつインクリメントし、アドレスバス19、マ
ルチプレクサ9を介してCC.RAM4に出力する。し
たがって、上位8ビット、下位8ビットのキャラクタコ
ードがそれぞれタイミングジェネレータ10のタイミン
グ信号T5,T6でラッチ12,13によりラッチされ
る。
[0019] Here, the character code is 16 bits, and CC. The data bus for the RAM 4 is 8 bits wide, but the display control circuit 7 uses CC. When reading a character code for one character from the RAM 4, the address is incremented by "+1" in order to read out the lower 8 bits and upper 8 bits consecutively, and the CC. Output to RAM4. Therefore, the upper 8 bits and lower 8 bits of the character code are latched by the latches 12 and 13 using the timing signals T5 and T6 of the timing generator 10, respectively.

【0020】ラッチ12,13にそれぞれラッチされた
上位8ビット、下位8ビットのキャラクタコードは、C
G.ROM11のアドレスとして出力され、また、表示
制御回路7から3ビットのラスタアドレスがCG.RO
M11に出力される。また、GC.RAM3に書き込ま
れたグラフィック用の表示データは、表示制御回路7が
その読み出しアドレスをアドレスバス18、マルチプレ
クサ8を介して出力すると、キャラクタ用表示データと
グラフィック用表示データは、1バイトずつ同時に読み
出される。
The character code of the upper 8 bits and lower 8 bits latched in latches 12 and 13, respectively, is C
G. The 3-bit raster address is output from the display control circuit 7 as the address of the ROM 11, and the CG. R.O.
It is output to M11. Also, G.C. When the display control circuit 7 outputs the read address of the graphic display data written in the RAM 3 via the address bus 18 and the multiplexer 8, the character display data and the graphic display data are simultaneously read one byte at a time. .

【0021】CG.ROM11のキャラクタ用表示デー
タとGC.RAM3のグラフィック用の表示データはそ
れぞれ、図2に詳しく示すような水平シフト回路16,
17に出力され、水平シフト回路16,17はそれぞれ
、表示制御回路7により設定された水平シフト量に応じ
てキャラクタ用表示データ、グラフィック用の表示デー
タを水平方向にドット単位で移動させる。次いで、この
各表示データは、タイミングジェネレータ10のタイミ
ング信号T7でラッチ14によりラッチされ、表示デー
タ合成回路15により論理和演算されて合成される。 なお、ラッチ14と表示データ合成回路15は順番を逆
にして接続してもよい。
CG. Display data for characters in ROM11 and GC. The graphic display data in the RAM 3 is stored in horizontal shift circuits 16 and 16, respectively, as shown in detail in FIG.
17, and the horizontal shift circuits 16 and 17 respectively shift the character display data and the graphic display data dot by dot in the horizontal direction according to the horizontal shift amount set by the display control circuit 7. Next, each display data is latched by the latch 14 using the timing signal T7 of the timing generator 10, and is logically summed by the display data synthesis circuit 15 and synthesized. Note that the latch 14 and the display data synthesis circuit 15 may be connected in reverse order.

【0022】なお、表示装置がCRTである場合には、
表示データ合成回路15の出力信号がパラレル信号であ
るのでパラレル−シリアル変換が必要であり、他方ドッ
トマトリクスLCDである場合には上位4ビットと下位
4ビットに分けて出力しなければならない場合がある。
[0022] Furthermore, when the display device is a CRT,
Since the output signal of the display data synthesis circuit 15 is a parallel signal, parallel-to-serial conversion is required.On the other hand, in the case of a dot matrix LCD, it may be necessary to output the signal separately into the upper 4 bits and the lower 4 bits. .

【0023】図2において、キャラクタ表示用の水平シ
フト回路16とグラフィック表示用の水平シフト回路1
7は同一の構成であるので1つの回路のみが記載されて
いる。
In FIG. 2, a horizontal shift circuit 16 for character display and a horizontal shift circuit 1 for graphic display are shown.
7 have the same configuration, so only one circuit is shown.

【0024】タイミングジェネレータ10は、前述した
タイミング信号T1〜T7の他に、図3に示すようなク
ロック信号CLK1〜CLK3を水平シフト回路16,
17に出力する。なお、クロック信号CLK2は、クロ
ック信号CLK1が1/2に分周された1ドットの表示
タイミング信号であり、クロック信号CLK3は、クロ
ック信号CLK2が1/8に分周された8ドット分すな
わち1文字分の表示タイミング信号である。タイミング
ジェネレータ10または、画面の一区切りを示すフレー
ム信号FLM(T1)を表示制御回路7に出力する。
In addition to the timing signals T1 to T7 mentioned above, the timing generator 10 transmits clock signals CLK1 to CLK3 as shown in FIG. 3 to a horizontal shift circuit 16,
Output to 17. Note that the clock signal CLK2 is a 1-dot display timing signal obtained by dividing the clock signal CLK1 by 1/2, and the clock signal CLK3 is a display timing signal for 8 dots obtained by dividing the clock signal CLK2 by 1/8, that is, 1. This is a display timing signal for characters. A timing generator 10 or a frame signal FLM (T1) indicating one section of the screen is output to the display control circuit 7.

【0025】図2に示す水平シフト回路16,17の各
シフトタイミングジェネレータ20は、このクロック信
号CLK1〜CLK3により水平シフトに必要な各種タ
イミング信号を発生する。
Each shift timing generator 20 of the horizontal shift circuits 16 and 17 shown in FIG. 2 generates various timing signals necessary for horizontal shifting using the clock signals CLK1 to CLK3.

【0026】前述したように、本実施例ではサイクルス
ティールによりGC.RAM3、CC.RAM4をアク
セスするので、クロック信号CLK3がローレベルの時
にCPU1がアクセスし、ハイレベルのときに表示制御
回路7がアクセスする。水平シフト回路を持たない回路
構成では表示制御回路7はフレーム同期信号FLMによ
り、表示開始アドレスを出力して最初の表示データを取
り込んで、以下、この動作を繰り返すが、水平シフトを
行う場合には1文字分の表示が遅れるので、実際の表示
開始アドレスの1つ前のアドレスから順次出力する。
As mentioned above, in this embodiment, the GC. RAM3, CC. Since the RAM 4 is accessed, the CPU 1 accesses when the clock signal CLK3 is at a low level, and the display control circuit 7 accesses when the clock signal CLK3 is at a high level. In a circuit configuration that does not have a horizontal shift circuit, the display control circuit 7 outputs a display start address in response to a frame synchronization signal FLM, takes in the first display data, and repeats this operation, but when performing a horizontal shift, Since the display of one character is delayed, the output is performed sequentially starting from the address one address before the actual display start address.

【0027】また、表示制御回路7は、CPU1により
設定された水平シフト量SFTを予め8ビットでシフト
量レジスタ21に設定する。この水平シフト量データS
FTは、フロントシフト用の4ビットデータF.SFT
とバックシフト用の4ビットデータB.SFTより構成
されている。フロントシフト用データF.SFTは、シ
フトデータラッチ24がシフトデータをラッチする前の
シフト量を設定し、バックシフト用データB.SFTは
、ラッチした後のシフト量を設定する。なお、水平シフ
ト量データSFTは、特殊効果表示の場合を除いて和が
8ドットになるように構成される。
Furthermore, the display control circuit 7 sets the horizontal shift amount SFT set by the CPU 1 in advance in the shift amount register 21 using 8 bits. This horizontal shift amount data S
FT is 4-bit data F.FT for front shift. SFT
and 4-bit data for backshift B. It is composed of SFT. Front shift data F. SFT sets the amount of shift before the shift data latch 24 latches the shift data, and sets the amount of shift before the shift data latch 24 latches the shift data. SFT sets the shift amount after latching. Note that the horizontal shift amount data SFT is configured so that the sum is 8 dots except in the case of special effect display.

【0028】図3および図4に示すように、表示制御回
路7はクロック信号CLK3がハイレベルのときにグラ
フィックコード用の読み出しアドレスGA0〜14、キ
ャラクタコード用の読み出しアドレスCA0〜14をそ
れぞれアドレスバス18,19、マルチプレクサ8,9
を介してGC.RAM3、CC.RAM4に出力すると
、GC.RAM3のグラフィックコードが読み出され、
クロック信号CLK3の立ち下がりで水平シフト回路1
7のパラレルイン(P−IN)シリアルアウト(S−O
UT)のシフトレジスタ25にロードされる。
As shown in FIGS. 3 and 4, when the clock signal CLK3 is at a high level, the display control circuit 7 sends the graphic code read addresses GA0-14 and the character code read addresses CA0-14 to the address buses, respectively. 18, 19, multiplexer 8, 9
via GC. RAM3, CC. When output to RAM4, GC. The graphic code in RAM3 is read out,
Horizontal shift circuit 1 at the falling edge of clock signal CLK3
7 parallel in (P-IN) serial out (S-O
UT) is loaded into the shift register 25 of the UT.

【0029】同様に、CC.RAM4のキャラクタコー
ドが読み出されてラッチ12,13にラッチされ、この
キャラクタコードの表示データがCG.ROM11から
読み出され、水平シフト回路16のシフトレジスタ25
にロードされる。
Similarly, CC. The character code in RAM 4 is read out and latched in latches 12 and 13, and the display data of this character code is displayed as CG. The data is read from the ROM 11 and transferred to the shift register 25 of the horizontal shift circuit 16.
loaded into.

【0030】この後、水平シフト回路16,17の各シ
フト量レジスタ21に設定されたフロントシフト量デー
タF.SFTがフロントシフトカウンタ22にロードさ
れ、次いでフロントシフトカウンタ22により、フロン
トシフト量データF.SFTに応じた数であってクロッ
ク信号CLK1に同期したパルスがシフトレジスタ25
とシリアルインパラレルアウトのシフトレジスタ26に
出力される。したがって、各シフトレジスタ25にロー
ドされた表示データは、フロントシフトカウンタ22の
出力するパルス数に従ったドット数だけシフトレジスタ
26に順次シフトされ、シフトデータラッチ24にラッ
チされる。
Thereafter, the front shift amount data F. set in each shift amount register 21 of the horizontal shift circuits 16 and 17 is transferred. SFT is loaded into the front shift counter 22, and then the front shift counter 22 loads the front shift amount data F. The number of pulses corresponding to the SFT and synchronized with the clock signal CLK1 is sent to the shift register 25.
and is output to the serial-in-parallel-out shift register 26. Therefore, the display data loaded into each shift register 25 is sequentially shifted to the shift register 26 by the number of dots according to the number of pulses output from the front shift counter 22, and latched into the shift data latch 24.

【0031】この後、水平シフト回路16,17の各シ
フト量レジスタ21に設定されたバックシフト用データ
B.SFTがバックシフトカウンタ23にロードされ、
同様に、バックシフト量データB.SFTに応じたパル
ス数分の表示データがシフトレジスタ25からシフトレ
ジスタ26に順次シフトされる。ここで、前述したよう
にフロントシフト量データF.SFTとバックシフト量
データB.SFTの合計が8ドットであるので、8ビッ
トの全ての表示データがシフトレジスタ25からシフト
レジスタ26にシフトされる。
Thereafter, the backshift data B. set in each shift amount register 21 of the horizontal shift circuits 16 and 17 is transferred. SFT is loaded into the back shift counter 23,
Similarly, backshift amount data B. Display data corresponding to the number of pulses corresponding to the SFT is sequentially shifted from the shift register 25 to the shift register 26. Here, as described above, the front shift amount data F. SFT and backshift amount data B. Since the total SFT is 8 dots, all 8 bits of display data are shifted from shift register 25 to shift register 26.

【0032】この動作により1文字分のシフト動作が終
了して次のクロック信号CLK3の立ち下がりで次の表
示データがシフトレジスタ25にロードされる。この場
合、シフトレジスタ25にロードされた次の表示データ
とシフトレジスタ26に残つている前の表示データはシ
リアルに連続しており、再びフロントシフトを行うと、
2文字分の表示データがシリアルに同時にシフトされ、
合成されたシフトデータがシフトデータラッチ24にラ
ッチされ、図1に示すラッチ14に出力される。
With this operation, the shift operation for one character is completed, and the next display data is loaded into the shift register 25 at the next falling edge of the clock signal CLK3. In this case, the next display data loaded into the shift register 25 and the previous display data remaining in the shift register 26 are serially continuous, and when the front shift is performed again,
Display data for two characters is shifted serially at the same time,
The synthesized shift data is latched in the shift data latch 24 and output to the latch 14 shown in FIG.

【0033】したがって、このような処理を繰り返すこ
とにより表示データが欠落したり、重複することなく表
示タイミングに同期して水平方向にシフトすることがで
きる。なお、フロントシフト量データF.SFTとバッ
クシフト量データB.SFTの合計ビット数を8ドット
未満または8ドット以上にすれば表示データが欠落した
り、重複するので特殊効果として表示することができる
Therefore, by repeating such processing, it is possible to shift the display data in the horizontal direction in synchronization with the display timing without missing or duplicating the display data. Note that the front shift amount data F. SFT and backshift amount data B. If the total number of SFT bits is less than 8 dots or more than 8 dots, display data will be missing or overlapped, so it can be displayed as a special effect.

【0034】また、上記シフト量はCPU1が表示制御
回路7に設定するので、CPU1がシフト量を定期的に
インクリメントまたはデクリメントすることにより、水
平方向のスムーススクロールを実現することができる。
Furthermore, since the shift amount is set in the display control circuit 7 by the CPU 1, smooth scrolling in the horizontal direction can be realized by the CPU 1 periodically incrementing or decrementing the shift amount.

【0035】図5は左方向にスクロールする場合のCP
U1のプログラムを示し、図6は右方向にスクロールす
る場合のプログラムを示す。図5、図6において、「f
lghl  scl」、「flg  hr  scl」
はそれぞれ左、右方向を示すフラグ、「delay  
l」はスクロールのスピードを調整するための定数、「
dsp  st  cas」はシフト量を示す変数であ
る。
FIG. 5 shows the CP when scrolling to the left.
A program for U1 is shown, and FIG. 6 shows a program for scrolling rightward. In FIGS. 5 and 6, “f
``lghl scl'', ``flg hr scl''
are flags indicating the left and right directions, respectively, and “delay
l" is a constant to adjust the scrolling speed, "
dsp st cas” is a variable indicating the amount of shift.

【0036】データ「c  sft」は表示制御回路7
に実際に設定され、その下位バイトがフロントシフト量
データF.SETであり、上位バイトがバックシフト量
データB.SETである。「dsp  st  x」は
表示開始アドレスであり、この例では1000H番地に
設定されている。また、左方向のスクロールでは水平方
向のシフト量がインクリメントして8ドットになると次
に表示開始アドレスがインクリメントし、同時にシフト
量が8ビットから1ビットに戻る。
Data “c sft” is displayed in the display control circuit 7.
is actually set, and its lower byte is the front shift amount data F. SET, and the upper byte is backshift amount data B. It is SET. "dsp st x" is the display start address, which is set to address 1000H in this example. In addition, when scrolling in the left direction, the horizontal shift amount is incremented to 8 dots, and then the display start address is incremented, and at the same time, the shift amount returns from 8 bits to 1 bit.

【0037】[0037]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、並列の表示データを記憶する第1の記憶手
段と、予め水平方向のシフト量が設定される第2の記憶
手段と、前記第2の記憶手段に設定されたシフト量に応
じた数のパルスを表示タイミングに同期して出力するカ
ウンタと、前記第1の記憶手段から並列の表示データを
表示タイミングに同期して読み出すとともに、この表示
データの水平方向のシフト量を前記第2の記憶手段に設
定する表示制御手段と、前記第1の記憶手段から読み出
された並列の表示データをロードし、前記カウンタのパ
ルス数に応じて水平方向にシフトするパラレルインシリ
アルアウトの第1のシフトレジスタと、前記第1のシフ
トレジスタから出力されるシリアル表示データを入力し
、前記カウンタのパルス数に応じて水平方向にシフトす
るシリアルインパラレルアウトの第2のシフトレジスタ
とを備えたので、表示タイミングに同期して表示データ
が水平方向にシフトされ、したがって、表示画質が向上
する。
As described above, according to the invention as set forth in claim 1, the first storage means stores parallel display data, and the second storage means stores the horizontal shift amount in advance. a counter that outputs a number of pulses corresponding to the shift amount set in the second storage means in synchronization with the display timing; and a counter that outputs parallel display data from the first storage means in synchronization with the display timing. display control means for reading and setting the horizontal shift amount of this display data in the second storage means; loading the parallel display data read from the first storage means; A parallel-in serial-out first shift register that shifts horizontally according to the number of pulses, and serial display data output from the first shift register are input, and the serial display data is shifted horizontally according to the number of pulses of the counter. Since the second shift register of serial-in-parallel out is provided, the display data is shifted in the horizontal direction in synchronization with the display timing, thus improving the display image quality.

【0038】請求項2記載の発明によれば、前記表示デ
ータの水平方向のシフト量を前記表示制御手段にプログ
ラム可能に設定するCPUを備え、前記表示制御手段は
、前記CPUにより設定されたシフト量を前記第2の記
憶手段に設定するので、水平方向にシフトされるドット
数がプログラム可能であり、したがって、水平方向のス
ムーススクロールを実現することができる。
According to the second aspect of the invention, the display control means includes a CPU that programmably sets the horizontal shift amount of the display data in the display control means, and the display control means sets the shift amount of the display data in the horizontal direction in a programmable manner. Since the amount is set in the second storage means, the number of dots to be shifted in the horizontal direction is programmable, and therefore smooth scrolling in the horizontal direction can be realized.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明に係る画像表示装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an image display device according to the present invention.

【図2】図1の水平シフト回路の詳細な構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a detailed configuration of the horizontal shift circuit in FIG. 1;

【図3】図1の画像表示装置と図2の水平シフト回路に
おける主要信号を示すタイミングチヤートの一部であっ
て、図4と一体で一つのタイミングを示す。
3 is a part of a timing chart showing main signals in the image display device of FIG. 1 and the horizontal shift circuit of FIG. 2; FIG. 3 shows one timing chart together with FIG. 4;

【図4】図1の画像表示装置と図2の水平シフト回路に
おける主要信号を示すタイミングチヤートの一部であっ
て、図3と一体で一つのタイミングを示す。
4 is a part of a timing chart showing main signals in the image display device of FIG. 1 and the horizontal shift circuit of FIG. 2, and shows one timing together with FIG. 3;

【図5】水平方向左にスムーススクロールするためのC
PUのプログラムを示す説明図である。
[Figure 5] C for smooth scrolling horizontally to the left
It is an explanatory diagram showing a program of PU.

【図6】水平方向右にスムーススクロールするためのC
PUのプログラムを示す説明図である。
[Figure 6] C for smooth scrolling horizontally to the right
It is an explanatory diagram showing a program of PU.

【符号の説明】[Explanation of symbols]

1  CPU 2  ROM 3  GC.RAM 4  CC.RAM 7  表示制御回路 10  タイミングジェネレータ 11  キャラクタジェネレータROM16,17  
水平シフト回路 20  シフトタイミングジェネレータ21  シフト
量レジスタ 22,23  カウンタ
1 CPU 2 ROM 3 GC. RAM 4 CC. RAM 7 Display control circuit 10 Timing generator 11 Character generator ROM 16, 17
Horizontal shift circuit 20 Shift timing generator 21 Shift amount registers 22, 23 Counter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  並列の表示データを記憶する第1の記
憶手段と、予め水平方向のシフト量が設定される第2の
記憶手段と、前記第2の記憶手段に設定されたシフト量
に応じた数のパルスを表示タイミングに同期して出力す
るカウンタと、前記第1の記憶手段から並列の表示デー
タを表示タイミングに同期して読み出すとともに、この
表示データの水平方向のシフト量を前記第2の記憶手段
に設定する表示制御手段と、前記第1の記憶手段から読
み出された並列の表示データをロードし、前記カウンタ
のパルス数に応じて水平方向にシフトするパラレルイン
シリアルアウトの第1のシフトレジスタと、前記第1の
シフトレジスタから出力されるシリアル表示データを入
力し、前記カウンタのパルス数に応じて水平方向にシフ
トするシリアルインパラレルアウトの第2のシフトレジ
スタと、を備えた画像表示装置。
1. A first storage means for storing parallel display data, a second storage means for which a horizontal shift amount is set in advance, and a first storage means for storing parallel display data; a counter that outputs a number of pulses in synchronization with the display timing; and a counter that reads out parallel display data from the first storage means in synchronization with the display timing, and a counter that outputs a number of pulses in synchronization with the display timing; display control means for setting in the storage means; and a first parallel-in-serial-out for loading parallel display data read from the first storage means and shifting it in the horizontal direction according to the number of pulses of the counter. and a second serial-in-parallel-out shift register that inputs the serial display data output from the first shift register and shifts it in the horizontal direction according to the number of pulses of the counter. Image display device.
【請求項2】  前記表示データの水平方向のシフト量
を前記表示制御手段にプログラム可能に設定するCPU
を備え、前記表示制御手段は、前記CPUにより設定さ
れたシフト量を前記第2の記憶手段に設定することを特
徴とする請求項1記載の画像表示装置。
2. A CPU that programmably sets a horizontal shift amount of the display data in the display control means.
2. The image display device according to claim 1, wherein the display control means sets the shift amount set by the CPU in the second storage means.
JP14518291A 1990-10-24 1991-05-22 Image display device Expired - Fee Related JP3226939B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14518291A JP3226939B2 (en) 1990-10-24 1991-05-22 Image display device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2-284140 1990-10-24
JP28414090 1990-10-24
JP14518291A JP3226939B2 (en) 1990-10-24 1991-05-22 Image display device

Publications (2)

Publication Number Publication Date
JPH04261588A true JPH04261588A (en) 1992-09-17
JP3226939B2 JP3226939B2 (en) 2001-11-12

Family

ID=26476380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14518291A Expired - Fee Related JP3226939B2 (en) 1990-10-24 1991-05-22 Image display device

Country Status (1)

Country Link
JP (1) JP3226939B2 (en)

Also Published As

Publication number Publication date
JP3226939B2 (en) 2001-11-12

Similar Documents

Publication Publication Date Title
KR100320483B1 (en) Display circuit
KR900006288B1 (en) Controller for display
JPS62280799A (en) Video interface unit
EP0658858B1 (en) Graphics computer
JPS638488B2 (en)
JP4006482B2 (en) Multi-sync circuit of monitor device
JPH05181431A (en) Liquid crystal dlsplay data controller
JPH04261588A (en) Image display device
JPS6016634B2 (en) Graphic generation method in display devices
JP2920919B2 (en) Interface device
JPS632116B2 (en)
JPS6218595A (en) Display unit
JPS63131176A (en) Image display device
JP2891429B2 (en) Liquid crystal display controller
JP3124166B2 (en) Display address operation circuit of VRAM
JP3120118B2 (en) Image display device
JPS61243492A (en) Bit map display unit
JP2641932B2 (en) Frame memory access method
JP2824708B2 (en) Graphic drawing device
JP2642350B2 (en) Display control device
JP2585509B2 (en) Display device
JPS60209785A (en) Screen shifter for display unit
JPS6078481A (en) Character display
JPS62105189A (en) Display control system
JPS63285591A (en) Image display device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees