JPS59137989A - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JPS59137989A
JPS59137989A JP58011313A JP1131383A JPS59137989A JP S59137989 A JPS59137989 A JP S59137989A JP 58011313 A JP58011313 A JP 58011313A JP 1131383 A JP1131383 A JP 1131383A JP S59137989 A JPS59137989 A JP S59137989A
Authority
JP
Japan
Prior art keywords
cpu
signal
cursor
vram
crt
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.)
Pending
Application number
JP58011313A
Other languages
Japanese (ja)
Inventor
修 平田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58011313A priority Critical patent/JPS59137989A/en
Publication of JPS59137989A publication Critical patent/JPS59137989A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 技術分野 本発明は電子機器に係り、さらに詳細にはパーソナルコ
ンピュータ、ワードプロセッサ等、RT表示器を表示手
段として用い、CRTC(CRT制御手段)がVRAM
(画像データ用ランダムアクセスメモリ)のデータをア
クセスする際にCPU(中央演算処理装置)の動作を止
めないCPU−CRTC独立動作を行なう電子機器に関
する。
Detailed Description of the Invention Technical Field The present invention relates to electronic equipment, and more particularly to personal computers, word processors, etc. that use an RT display as a display means, and a CRTC (CRT control means) that uses a VRAM.
The present invention relates to an electronic device that performs CPU-CRTC independent operation without stopping the operation of a CPU (central processing unit) when accessing data in a random access memory for image data.

従来技術 従来のこの種の電子機器においてはCRT上にカーソル
を点滅させて入力箇所を示す方式が一般的である。この
種の方式においてCRT表示を制御するにはVRAMに
いったん画像データを送り、CRTC(CRTコントロ
ーラ)によりVRAMをアクセスし、格納されたデータ
を用いて表示を行なうのが普通である。
BACKGROUND OF THE INVENTION In conventional electronic devices of this type, it is common to display input points by blinking a cursor on a CRT. To control a CRT display in this type of system, it is common to once send image data to a VRAM, access the VRAM by a CRTC (CRT controller), and perform display using the stored data.

CRTCがCRTを制御する方法としては、CRTCが
VRAMをアクセスする際にCPUの動作を停止しない
、いわゆるC’PU−CRTC独立動作方式がある。こ
の方式の特徴はCPUの動作を続けておいて同時にCR
TCがCRTの制御を行なうために、CPUの負担を軽
くし、CPU本来の速度を保つために非常に有効である
が、CPUがVRAMをアクセスするときとCRTCが
VRAMをアクセスするときが重なるとCPUの動作を
優先させるために画面に雑音を生じることがあるという
欠点があった。
As a method for the CRTC to control the CRT, there is a so-called C'PU-CRTC independent operation method in which the operation of the CPU is not stopped when the CRTC accesses the VRAM. The feature of this method is that the CPU continues to operate and the CR
Since the TC controls the CRT, it is very effective in lightening the load on the CPU and maintaining the original speed of the CPU, but if the time when the CPU accesses the VRAM and the time when the CRTC accesses the VRAM overlap, There is a drawback that noise may be generated on the screen because priority is given to the operation of the CPU.

この点に鑑みて、雑音を生じさせないために、通常この
方式ではCPUがVRAMをカーソル点滅のためにアク
セスする場合には、CRTCがVRAMをアクセスしな
い時間、すなわち帰線区間(vs線の終端より次の輝線
の始点までの区間で、輝線間と画面間の2種類が、ある
、)を狙ってCPUがVRAMをアクセスし、カーソル
を点滅させる方法を採るが、このために表示速度が遅く
なる、という欠点があった。
In view of this, in order to prevent noise, when the CPU accesses the VRAM for cursor blinking, normally in this system, when the CRTC does not access the VRAM, the retrace period (from the end of the vs line) In the section up to the start point of the next bright line, there are two types: between bright lines and between screens.) The CPU accesses VRAM and blinks the cursor, but this slows down the display speed. There was a drawback.

目   的 本発明は以上の点に鑑みてなされたもので、CRT表示
手段を有する電子機器において、画面に雑音を生じず表
示速度が速い電子機器を提供することを目的とする。
Purpose The present invention has been made in view of the above points, and an object of the present invention is to provide an electronic device having a CRT display means that does not generate noise on the screen and has a high display speed.

実施例 以下、図面に示す実施例に基づいて本発明の詳細な説明
する。
EXAMPLES Hereinafter, the present invention will be explained in detail based on examples shown in the drawings.

第1図に本発明を採用した電子機器のブロック図を示す
、第1図に示した構成はパーソナルコンピュータやワー
ドプロセッサなどCRTを表示手段として用いる電子機
器に共通のものである。
FIG. 1 shows a block diagram of an electronic device adopting the present invention. The configuration shown in FIG. 1 is common to electronic devices such as personal computers and word processors that use a CRT as a display means.

図において符号lで示されるものはCPU(中央演算処
理装置)で、ROM(リードオンリメモリ)、RAM(
ランダムアクセスメモリ)、制御部などを有し、公知の
ROMに格納されたプログラムに従って水晶発振器2の
発生するクロックに基づき全ての処理動作を行なうもの
である。
In the figure, the symbol l indicates the CPU (Central Processing Unit), the ROM (Read Only Memory), the RAM (
It has a random access memory (random access memory), a control section, etc., and performs all processing operations based on a clock generated by the crystal oscillator 2 according to a program stored in a known ROM.

このCPUIはアドレスバス8及びマルチプレクサ17
を介してVRAM16と接続されており、VRAM16
はマルチプレクサ17の信号線18によってデータのア
ドレスを指定する。表示すべき画像データはデータバス
9、トランスフアゲ−)19、データ/<A22を介1
.[VRAM16に転送される。
This CPUI has an address bus 8 and a multiplexer 17.
It is connected to VRAM16 via
specifies the data address by the signal line 18 of the multiplexer 17. The image data to be displayed is transferred via the data bus 9, transfer game) 19, and data/<A22.
.. [Transferred to VRAM 16.

またCPUIのメモリリードおよびメモリライトのタイ
ミングを示すメモリライト信号は信号線4を介してアン
ドゲート5に入力され、アンドゲート5の出力は信号線
6を介してVRAMのり−ド轡ライI・入力端子に接続
されている。アンドゲート5のもう一方の入力端子には
信号線3を介してメモリをアクセスするときにのみ「0
」となるシステム信号の反転信号が入力されている。信
号線4に出力されるR/W信号はメモリーライト時にの
み「0」になる信号であり、−シたがってアンドゲート
5の出力信号線6はメモリライトのとき「0」になる。
In addition, a memory write signal indicating the timing of memory read and memory write of the CPU is input to the AND gate 5 via the signal line 4, and the output of the AND gate 5 is input via the signal line 6 to the VRAM memory input. connected to the terminal. The other input terminal of AND gate 5 is set to “0” only when accessing the memory via signal line 3.
The inverted signal of the system signal is input. The R/W signal outputted to the signal line 4 is a signal that becomes "0" only during memory writing, and therefore the output signal line 6 of the AND gate 5 becomes "0" during memory writing.

また信号線3のシステム信号はアンドゲート25に反転
されて入力されており、さらにこのアントゲ−1・25
にはアドレスバス8の最上位ビットと、第2ビツトおよ
び第3ビツトをアンドゲート15により反転して論理和
をとったものが入力されている。本実施例ではVRAM
16のアドレスを8000〜9FFFに設定しており、
VRAM16がアクセスされる場合にはアドレスの上位
3桁は2進数で必ずrlooJの形になる(16進数の
8は2進数では1000.9は1001である。)ので
、アンドゲート25の下側の2本の入力線はアドレスバ
ス8でVRAM16のアドレスが指定された場合にのみ
共にrlJになる0以上のようにしてアンドゲート25
の出力信号線7にVRAMのアクセス信号が得られ、こ
の信号線7のアクセス信号によりマルチプレクサ17お
よびトランスファーゲート19が制御され、アドレス指
定および画像データ転送が行なわれる。CPU1がVR
AMI 6をアクセスしない、すなわち信号□線7のア
クセス信号がrlJにならない限り、アドレスバス9は
トランスファーゲート19によりVRAM1B側のデー
タバス22と切り離されている。
Furthermore, the system signal on the signal line 3 is inverted and input to the AND gate 25, and furthermore, the system signal on the AND gate 25 is
The most significant bit of the address bus 8, the second bit and the third bit are inverted by an AND gate 15, and the resulting logical sum is input to the address bus 8. In this embodiment, VRAM
16 addresses are set from 8000 to 9FFF,
When the VRAM 16 is accessed, the upper three digits of the address are always in the form rlooJ in binary (8 in hexadecimal is 1000.9 in binary and 1001). The two input lines are set to rlJ only when the address of the VRAM 16 is specified by the address bus 8.
A VRAM access signal is obtained on the output signal line 7, and the access signal on the signal line 7 controls the multiplexer 17 and transfer gate 19 to perform address designation and image data transfer. CPU1 is VR
The address bus 9 is separated from the data bus 22 on the VRAM 1B side by the transfer gate 19 unless the AMI 6 is accessed, that is, unless the access signal on the signal □ line 7 becomes rlJ.

CRTCl 2は水晶発振器13を有しており、このク
ロック信号により映像信号の基本周波数を決定し、CR
Tを制御するものである。CRTC12にはデータバス
22が直接接続されており、CRTC12はアドレスバ
ス14、マルチプレクサ17、及び信号線18を介して
VRAM16のアドレスを直接指定し、このデータバス
22を介して画像データを転送する。
The CRTCl 2 has a crystal oscillator 13, and this clock signal determines the fundamental frequency of the video signal.
This is to control T. A data bus 22 is directly connected to the CRTC 12, and the CRTC 12 directly specifies the address of the VRAM 16 via the address bus 14, multiplexer 17, and signal line 18, and transfers image data via the data bus 22.

CRTC12の符号24で示された端子からは帰線区間
信号が信号線21に出方されるように構成されており、
この信号線21はDフリップフロップ20のクロック入
力に接続されている。このDフリップフロップのD入力
は常に「1」にボールドされており、信号線21の帰線
区間信号が入力されるとDフリップフロップ2oの非反
転出力がrlJになり、信号線loを介してCPUIに
インタラブドがかかる。
The CRTC 12 is configured so that a retrace interval signal is outputted from the terminal indicated by the reference numeral 24 to the signal line 21.
This signal line 21 is connected to the clock input of the D flip-flop 20. The D input of this D flip-flop is always bolded to "1", and when the retrace interval signal of the signal line 21 is input, the non-inverted output of the D flip-flop 2o becomes rlJ, and the signal is passed through the signal line lo. The CPU is inter-wired.

インタラブドの解除はCPUIが信号線11を介してD
フリップフロップ2oのリセy ト端子に「l」を送り
Dフリップフロップをリセットすればよく、またカーソ
ル点滅が不必要な際には信号線11をrlJにホールド
しておけばよい。
The CPUI cancels the interconnected mode via the signal line 11.
The D flip-flop may be reset by sending "l" to the reset terminal of the flip-flop 2o, and the signal line 11 may be held at rlJ when the cursor blinking is unnecessary.

前述の構成によれば、CPUIがVRAM16をアクセ
スしているときのみVRAM16のアドレスバス及びデ
ータバスはCPUI側と接続されるので、CPUIの動
作とCRTC12の動作は独立した動きが可能となる。
According to the above configuration, the address bus and data bus of the VRAM 16 are connected to the CPU side only when the CPUI is accessing the VRAM 16, so that the operation of the CPUI and the operation of the CRTC 12 can be performed independently.

CPUI側でVRAM16にアクセスする場合は、信号
線21の帰線区間信号の状態を観測しながら、アンドゲ
ート25によりアクセス信号を送ることによりアクセス
を行なうようにし、画面の雑音を防いでいる。
When accessing the VRAM 16 on the CPUI side, the access is performed by sending an access signal through the AND gate 25 while observing the state of the retrace interval signal on the signal line 21, thereby preventing noise on the screen.

次にCRTC12側より帰線区間信号が出たときの処理
を第2図のフローチャートによりさらに詳しく説明する
Next, the processing when the retrace section signal is output from the CRTC 12 side will be explained in more detail with reference to the flowchart of FIG.

すなわち、第2図のステップSlにおいて、信号線21
に帰線区間信号が発生して、CPUIにインタラブドが
かかると、CPUIは帰線区間信号を数える所定のカウ
ンタに1を加え、続いてステップS2においてこのカウ
ンタの内容が所定の値(本実施例では10とする)以上
か否かを判定する。
That is, in step Sl in FIG.
When a retrace interval signal is generated and an interband is applied to the CPU, the CPU adds 1 to a predetermined counter that counts the retrace interval signal, and then in step S2, the contents of this counter are set to a predetermined value (this embodiment 10) or more is determined.

ステップS2においてカウンタの内容が所定値以上の場
合は、ステップS3でカウンタ値をOにリセットした後
ステップS4でカーソルを反転した後ステップS5に移
行する。
If the content of the counter is greater than or equal to the predetermined value in step S2, the counter value is reset to O in step S3, the cursor is inverted in step S4, and the process moves to step S5.

一方ステップS2でカウンタ値が所定値以下の場合は直
接このステップS5に移行し、所定値以上の場合と共に
後処理として信号線11の信号を「1」にした後「0」
にしてインタラブドのためのDフリップフロップ20の
ラッチ出力をリセットしておく。
On the other hand, if the counter value is less than or equal to the predetermined value in step S2, the process directly proceeds to step S5, and if the counter value is greater than or equal to the predetermined value, the signal on the signal line 11 is set to "1" as post-processing, and then set to "0".
The latch output of the D flip-flop 20 for interconnection is reset.

以上のようにして、画面所定フレームごとにカーソルを
反転し、点滅させることができるが、CPUIがカーソ
ルを点滅させるかどうかを判定するときは必ず帰線区間
内であるので、画面に雑音を生じさせることなくただち
にカーソルを反転することが可能になる。すなわち、帰
線区間をCPUIが待つ必要がないので、カーソル点滅
のためのタイマーなどを用いずにカーソル点滅を行なう
ことができ、またインタラブドのマスクとしても使える
ので効果が大きい。
As described above, the cursor can be inverted and blinked at every predetermined frame on the screen, but when the CPU determines whether or not to blink the cursor, it is always within the retrace interval, which causes noise on the screen. It is possible to immediately invert the cursor without having to do so. That is, since there is no need for the CPUI to wait for the retrace section, the cursor can be blinked without using a timer or the like for blinking the cursor, and it can also be used as an interactive mask, which is highly effective.

効  果 以上の説明から明らかなよ)に1本発明によれば、カー
ソル点滅により入力位置を表示できるCRT表示器を表
示手段として用い、このCRTの制御手段がVRAMの
データをアクセスする際にCPUの動作を止めないCP
U−CRTC独立動作を行なう電子機器において、前記
CRT制御手段が発生する帰線区間信号を前記CPUが
計数することにより前記カーソル点滅の際のカーソル反
転処理のタイミングを決定する構成を採用しているため
、画面に雑音を生じず表示速度が速い優れた電子機器を
提供することができる。
(1) According to the present invention, a CRT display capable of displaying an input position by blinking a cursor is used as a display means, and when the control means of this CRT accesses data in the VRAM, the CPU CP that does not stop the operation of
The electronic device that performs U-CRTC independent operation employs a configuration in which the CPU counts retrace section signals generated by the CRT control means to determine the timing of cursor reversal processing when the cursor blinks. Therefore, it is possible to provide an excellent electronic device that does not generate noise on the screen and has a fast display speed.

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

第1図は本発明の電子機器の構成を示すブロック図、第
2図は第1図の構成における処理手順を説明するフロー
チャート図である。 l・・・CPU 5.15.25・・・アンドゲート 8.14・・・アドレスバス 9.22・・・データバス 12・・・CRTC16・・・VRAM20・・・Dフ
リップフロップ
FIG. 1 is a block diagram showing the configuration of an electronic device according to the present invention, and FIG. 2 is a flowchart explaining the processing procedure in the configuration of FIG. 1. l...CPU 5.15.25...AND gate 8.14...Address bus 9.22...Data bus 12...CRTC16...VRAM20...D flip-flop

Claims (1)

【特許請求の範囲】[Claims] カーソル点滅により入力位置を表示できるCRT表示器
を表示手段として用い、このCRTの制御手段がVRA
Mのデータをアクセスする際にCPUの動作を止めない
C,P U −CRT C独立動作を行なう電子機器に
おいて、前記CRT制御手段が発生する帰線区間信号を
前記CPUが計数することにより前記カーソル点滅の際
のカーソル反転処理のタイミングを決定することを特徴
とする電子機器。
A CRT display that can display the input position by blinking the cursor is used as the display means, and the control means for this CRT is VRA.
In an electronic device that performs C, P U - CRT C independent operation without stopping the CPU operation when accessing data of M, the cursor is controlled by the CPU counting blanking section signals generated by the CRT control means. An electronic device characterized by determining the timing of cursor reversal processing when blinking.
JP58011313A 1983-01-28 1983-01-28 Electronic equipment Pending JPS59137989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58011313A JPS59137989A (en) 1983-01-28 1983-01-28 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58011313A JPS59137989A (en) 1983-01-28 1983-01-28 Electronic equipment

Publications (1)

Publication Number Publication Date
JPS59137989A true JPS59137989A (en) 1984-08-08

Family

ID=11774519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58011313A Pending JPS59137989A (en) 1983-01-28 1983-01-28 Electronic equipment

Country Status (1)

Country Link
JP (1) JPS59137989A (en)

Similar Documents

Publication Publication Date Title
JPH0743653B2 (en) Interrupt controller
JPS5987569A (en) Automatic continuous processing circuit of data
JPS63147189A (en) Image processor
US5212775A (en) Method and apparatus for observing internal memory-mapped registers
JPS59137989A (en) Electronic equipment
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
US4574347A (en) Data processing apparatus for performing high-speed arithmetic operations
JP2687986B2 (en) Display device
JP2665836B2 (en) Liquid crystal display controller
JP3088564B2 (en) Image processing device
JP2978913B2 (en) Method and system for controlling shared access to random access memory
JPH0430052B2 (en)
JP2000181599A5 (en) Display device and its display control method and program
JPS5838990A (en) Display control of display unit
KR950006177Y1 (en) Video memory access control circuit
JP2588514Y2 (en) Communication control device
JPS5931736B2 (en) Queue management method
JPH02110785A (en) Mask data processing system
JP3083012B2 (en) Programmable controller
JPS60220386A (en) Frame memory access system
JPS5818652B2 (en) CRT display control device
JPH0519918A (en) Io bus control system
JPS60193046A (en) Detecting system for instruction exception
JPS61250748A (en) Memory access system of information processor
JPH02307123A (en) Computer