JPS607279B2 - Screen memory control method - Google Patents

Screen memory control method

Info

Publication number
JPS607279B2
JPS607279B2 JP16523478A JP16523478A JPS607279B2 JP S607279 B2 JPS607279 B2 JP S607279B2 JP 16523478 A JP16523478 A JP 16523478A JP 16523478 A JP16523478 A JP 16523478A JP S607279 B2 JPS607279 B2 JP S607279B2
Authority
JP
Japan
Prior art keywords
screen memory
code information
screen
address
memory
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.)
Expired
Application number
JP16523478A
Other languages
Japanese (ja)
Other versions
JPS5592935A (en
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP16523478A priority Critical patent/JPS607279B2/en
Publication of JPS5592935A publication Critical patent/JPS5592935A/en
Publication of JPS607279B2 publication Critical patent/JPS607279B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は極めて短時間で画面メモリに記憶された内容を
特定のコードに書換える制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control method for rewriting contents stored in a screen memory into a specific code in an extremely short time.

従来画面メモリに記憶されている内容を陰極線管上にマ
イクロプロセッサの制御により表示し、不要になれば記
憶内容を消去することは第1図のブロック図により実施
されている。
Conventionally, the contents stored in a screen memory are displayed on a cathode ray tube under the control of a microprocessor, and the stored contents are erased when they are no longer needed, as shown in the block diagram of FIG.

第1図においててデータ処理部例えばマイクロプロセッ
サM円Uからのアドレスバスに第1マルチプレクサM円
X−1を介して画面メモリ(RAM)が、またダイレク
トメモリアクセス回路(DMA回路)が第1マルチプレ
クサMPX−1を介してRAMを接続されている。第1
図において‘1) 画面メモリRAMに対する情報の書
込み■ 画面メモリに記憶された情報の陰極線管を使用
した表示部に対する表示{3i 画面メモ川こ対する情
報の消去 について各々説明する。
In FIG. 1, a screen memory (RAM) is connected to an address bus from a data processing unit, for example, a microprocessor M, via a first multiplexer M, and a direct memory access circuit (DMA circuit) is connected to the first multiplexer. RAM is connected via MPX-1. 1st
In the figure, '1) Writing information to the screen memory RAM ■ Displaying information stored in the screen memory on a display unit using a cathode ray tube {3i Screen memo] The erasing of information on the screen will be explained.

先ず1の場合についてはマイクロプロセッサユニットM
PU‘こデータバスを介して記憶すべき情報が、そして
アドレスバスを介して画面メモリRAM上のアドレスが
入力される。
First, for case 1, microprocessor unit M
The information to be stored is input to the PU' via the data bus, and the address on the screen memory RAM is input via the address bus.

それによってMPUはそれらが入力すると、書込モード
に切換えられそのアドレスをアドレスバスを介してマル
チプレクサM円X−1及び指令用レジスタCMRに出力
するとともに、情報(実際には文字パターンに対応した
コード)がデータバスを介して画面メモリRAMに与え
られる。指令用レジスタCM凪は書込命令をマルチプレ
クサMPX−1ならびに画面メモリ読出・書込制御回路
に与え、RAMを書込モードに切換えるとともにマルチ
プレクサMPX−1を、アドレスバスと画面メモリRA
Mとが接続するように指令する。
As a result, when these are input, the MPU is switched to write mode and outputs the address to the multiplexer M-X-1 and the command register CMR via the address bus, as well as information (actually a code corresponding to the character pattern). ) is applied to the screen memory RAM via the data bus. The command register CM Nagi gives a write command to the multiplexer MPX-1 and the screen memory read/write control circuit, switches the RAM to write mode, and switches the multiplexer MPX-1 to the address bus and the screen memory RA.
command to connect with M.

したがって画面メモリRAMではマルチプレクサMPX
−1を介して与えられたメモリ上のアドレスにデータバ
スを介して与えられた文字コードを記憶する。
Therefore, in the screen memory RAM, the multiplexer MPX
The character code given via the data bus is stored at the address on the memory given via -1.

次に‘2}の表示の場合について説明すると、表示指令
が入力するとマルチプロセッサMPUは表示モード‘こ
切換えられ、表示指令をアドレスバスを介して指令用レ
ジスタCM旧に与える。
Next, the case of display '2' will be explained. When a display command is input, the multiprocessor MPU is switched to the display mode '2', and the display command is given to the command register CM old via the address bus.

CMRは表示指令にもとづいて、マルチプレクサMPX
−1をダイレクトメモリアクセス回路DMAを画面メモ
リRAMとが接続されるように、そして画面〆モリ読出
書込制御回路R/W−CCを介して画面メモリRAMを
読出モードlこ、更にダイレクトメモリアクセス回路D
MAに計数開始指令を与える。したがってDMAからは
順次アドレスがマルチプレクサMPX−1を介して画面
メモリRAMに与えられ、そのアドレスに対応した情報
が表示画面上における1行分ずつ表示制御回路DSC内
に設けられたラインバッファ(図示省略)に送出される
。このラインバッフに記憶された1行分の表示が終了す
ると、DMAは次のアドレスを画面メモリRAMに与え
、同様にしてそのアドレスに対応する1行分の文字コー
ドを表示制御回路DSCに送出する。表示制御回路DS
Cはその文字コードーこ対応した文字パターンを表示ビ
デオ信号として陰極線管表示部CRTに表示させる。次
に糊消去について説明する。
CMR uses multiplexer MPX based on the display command.
-1 so that the direct memory access circuit DMA is connected to the screen memory RAM, and the screen memory RAM is read out via the screen memory read/write control circuit R/W-CC. Circuit D
Give a counting start command to MA. Therefore, addresses are sequentially given from the DMA to the screen memory RAM via the multiplexer MPX-1, and information corresponding to the addresses is sent to a line buffer (not shown) provided in the display control circuit DSC for each line on the display screen. ) is sent. When the display for one line stored in this line buffer is completed, the DMA gives the next address to the screen memory RAM, and similarly sends the character code for one line corresponding to that address to the display control circuit DSC. . Display control circuit DS
C causes a character pattern corresponding to the character code to be displayed on the cathode ray tube display section CRT as a display video signal. Next, glue erasing will be explained.

消去は書込みの変形であり、消去には部分消去と全面消
去がある。部分消去の場は消去すべき画面メモリ上のア
ドレスが与えられ、それは書込みと同様に行なわれる。
即ちマイクロプロセッサM円Uにより、アドレスバスを
介してアドレスが指令アドレスを介して消去指令が与え
ると「書込と同様にマルチプレクサM円X−1及び画面
メモlj読出書込制御回路RノW−CCに消去である旨
指令する。それ故画面メモリRAMではマルチプレクサ
M円×−竃を介して入力したアドレスに対応した場所に
デ−タバスを介して与えられるスペースコード(オール
“OW)を記憶する。
Erasing is a modification of writing, and erasing includes partial erasing and full erasing. For partial erasure, an address on the screen memory to be erased is given, and it is performed in the same way as writing.
That is, when an erase command is given via the command address by the microprocessor M-U via the address bus, the multiplexer M-X-1 and the screen memory lj read/write control circuit R-W- It commands the CC to erase. Therefore, in the screen memory RAM, the space code (all "OW") given via the data bus is stored in the location corresponding to the address input via the multiplexer M-Kan. .

これによって、1アドレスに対する情報の消去が終了す
る。また全面消去の場合には2つのモードがあり、行消
去と全画面消去がある。行消去の場合にはマイクロプロ
セッサMP山こはその行のアドレスと行消去の指令が入
力しもMPUはそのアドレスから順次1行分のアドレス
をマルチプレクサMPX−1を介して画面メモリRAM
に与えるとともに、アドレスバスを介してスベースコ〜
ドを画面メモ川こ与え、その1行のみの消去を行なう。
次に全画面消去の場合については全画面消去指令がマイ
クロプロセッサMPUに入力すると、MmUでは、画面
上の先頭アドレスから順次アドレスをマルチプレクサM
PX−量を介して画面メモリRAMに与えるとともに「
そのアドレスの送出と同期してスペースコードもRAM
に与える。
This completes the erasure of information for one address. In the case of full-screen erasing, there are two modes: line erasing and full screen erasing. In the case of erasing a line, the microprocessor MP inputs the address of the line and a command to erase the line, and the MPU sequentially sends the address of one line from that address to the screen memory RAM via the multiplexer MPX-1.
Subasco via the address bus
Enter the screen memo and delete only that one line.
Next, in the case of erasing the entire screen, when the entire screen erasing command is input to the microprocessor MPU, the MmU sequentially sends addresses to the multiplexer M from the top address on the screen.
It is given to the screen memory RAM via the PX- quantity and '
In synchronization with the sending of that address, the space code is also stored in RAM.
give to

これをRAMの最終アドレスまで行なうことにより全面
消去を行なう。以上は従来の操作の説明であるが、ここ
で問題となるのは消去時間である。
By performing this process up to the final address of the RAM, the entire area is erased. The above is a description of the conventional operation, but the problem here is the erasing time.

即ち1文字当り20仏の消去時間を要しt l画面20
0に宇程度とすると消去動作開始より終了までの動作に
約50の秒を要することとなる。更にフラグを用いて制
御するディスプレイの場合はメモリ消去に100肌砂を
要するため、MPUとしては他の業務に要する時間と比
較し、長時間過ぎるため〜処理の途中でMPUに「応答
信号」を送り返すなど故障発生と誤認する時のタイムオ
ーバ動作に対する考慮をしたファームウェアとする必要
がある。そのためマイク。プロセッサの処理能率に悪影
響を与えている。このような欠点は行消去へ全画面消去
等の全面消去をマイクロプロセッサMPUを介してアド
レスを発生させていたことにより生じる点に着目し、本
発明では議出しの際アドレスを発生していたダイレクト
メモリアクセス回路DMAを前述の如き全画面消去の場
合にもアドレス発生手段として兼用したものである。以
下第2図に示す本発明の実施例について説明する。
In other words, it takes 20 seconds of erasing time for each character, and 20 seconds of erasing time is required for each character.
If the erase operation is approximately 0.0 seconds, it will take about 50 seconds from the start of the erase operation to the end. Furthermore, in the case of a display that is controlled using flags, it takes 100 hours to erase the memory, which is too long compared to the time required for other tasks for the MPU, so it sends a "response signal" to the MPU during processing. The firmware needs to take into account time-over operations when it is mistakenly recognized as a failure, such as sending back data. Hence the microphone. This has a negative impact on the processing efficiency of the processor. Focusing on the fact that these drawbacks arise from the fact that addresses are generated via the microprocessor MPU for line erasure, full screen erasure, etc., the present invention uses direct The memory access circuit DMA is also used as an address generation means in the case of erasing the entire screen as described above. The embodiment of the present invention shown in FIG. 2 will be described below.

第1図と同一の符号は同様のものを示し、CDGは特定
コード信号発生回路この場合はスペースコードを発生す
る回路、MPX−2は切換手段例えばマルチプレクサで
あり、マイクロプロセッサMPUからのデータバス線と
特定コード信号発生回路COGからのデータバス線が入
力されている。
The same reference numerals as in FIG. 1 indicate the same things, CDG is a specific code signal generating circuit, in this case a space code generating circuit, MPX-2 is a switching means such as a multiplexer, and a data bus line from the microprocessor MPU is shown. and a data bus line from a specific code signal generation circuit COG are input.

CRT画面表示の時の動作は第1図の場合と同様である
。全画面消去のときMPUはアドレスバスを介してCM
庇に指令を与えMPX−1をDMA側に切換え、RノW
−CCを書込側に切換え、DMAを当初番地から指定す
るように動作させる。このときM円X−2はCMRの指
令によりCDG出力をRAMに印加するよう切換えられ
、常時発生しているスべ−スコード(オール“0”)を
RAMに書込ませる。したがってRAMの番地を指定す
るDMA回路の動作時間が速ければそれだけ遠く画面メ
モリの内容を全部空白コード信号とし「消去」動作を完
了することができる。また行消去の場合はマイクロプロ
セッサMPUに行消去命令ならびに消去すべき行の先頭
のアドレスが入力する。それによって命令用レジスタは
そのアドレスからDMAがアドレスを発生するように指
令し、前述を同じようにマルチプレクサMPX−2を介
して画面メモリRAMに入力するスペースコードをその
指令されたアドレスに記憶する。なお特定コード信号発
生回路の代りに特定文字を常時発生する回路を使用する
ときは、極めて短時間に画面メモリの内容を特定文字に
全部書換えて記憶させ、後にCRTに表示させることが
できる。このようにして本発明によると特定コード信号
発生回路と、その出力を画面メモリに印加するよう切換
える回路とを具備し、従来読出しの時のみに使用したダ
イレクト・メモリアクセス回路を書込み時に有効に使用
することにより極めて短時間に画面メモリの内容を特定
コードに書換え則ち消去することができ、前述の例によ
る実験では3肌秒以内という結果が得られた。
The operation when displaying on a CRT screen is the same as in the case of FIG. When erasing the entire screen, the MPU sends CM via the address bus.
Give a command to the eaves and switch MPX-1 to DMA side, RNOW
- Switch the CC to the write side and operate the DMA to specify from the initial address. At this time, the M-circle X-2 is switched to apply the CDG output to the RAM by a command from the CMR, and the constantly occurring base code (all "0") is written into the RAM. Therefore, the faster the operating time of the DMA circuit that specifies the address of the RAM, the further it is possible to complete the "erase" operation by converting the entire contents of the screen memory into a blank code signal. In the case of line erasure, a line erasure command and the starting address of the line to be erased are input to the microprocessor MPU. Thereby, the command register commands the DMA to generate an address from that address, and stores the space code to be input to the screen memory RAM via multiplexer MPX-2 at the commanded address in the same way as described above. Note that when a circuit that constantly generates specific characters is used instead of the specific code signal generating circuit, the contents of the screen memory can be completely rewritten to specific characters in a very short time and stored, and later displayed on the CRT. In this way, the present invention is equipped with a specific code signal generation circuit and a circuit that switches its output to be applied to the screen memory, and the direct memory access circuit, which was conventionally used only for reading, can be effectively used for writing. By doing so, the contents of the screen memory can be rewritten to a specific code or erased in an extremely short time, and in the experiment using the example described above, results were obtained within 3 seconds.

したがって実用上極めて有効である。Therefore, it is extremely effective in practice.

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

第1図は従来の画面メモリを消去する方式を説明する図
、第2図は本発明実施例を示すブロック構成図である。 MPU・・・・・・マイクロプロセッサ、RAM・・・
・・・画面メモリ、DMA・・・・・・ダイレクトメモ
リアクセス回路、CRT・・・・・・陰極線管、MPX
−1,MPX−2・・・…マルチプレクサ、CMR……
指令用レジスタ、CDG・・・・・・特定コード信号発
生回路、R/W−CC・・・・・・画面メモリ読出書込
制御回路。第1図第2図
FIG. 1 is a diagram illustrating a conventional screen memory erasing method, and FIG. 2 is a block diagram showing an embodiment of the present invention. MPU...Microprocessor, RAM...
... Screen memory, DMA ... Direct memory access circuit, CRT ... Cathode ray tube, MPX
-1, MPX-2...Multiplexer, CMR...
Command register, CDG...Specific code signal generation circuit, R/W-CC...Screen memory read/write control circuit. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 文字等の情報を表示する表示部と、該表示部に表示
すべき一行分の文字等に対応したコード情報を格納する
ラインバツフアを有し、該ラインバツフアに格納された
コード情報を対応する文字等のパターン情報に変換し該
表示部の走査タイミングに同期して該パターン情報を該
表示部に送出して表示させる表示制御回路と、前記表示
部に対応して1画面分のコード情報を記憶する画面メモ
リと、該画面メモリに記憶された該コード情報のうち前
記ラインバツフアに転送すべきコード情報を格納した画
面メモリ上のアドレスを所定のタイミングで発生するダ
イレクトメモリアクセス回路と、データバスを介して表
示すべき任意のコード情報を前記画面メモリに送出する
データ処理手段と、特定のコード情報のみを前記データ
バスを介して画面メモリに送出する特定コード発生回路
と、前記データ処理手段からのデータバスと特定コード
発生回路からのデータバスとが入力され、データ処理手
段からの指示によって、いずれか一方のデータバスに供
給されるコード情報を前記画面メモリに送出する切換手
段とを備え、全面消去の指令が到来したとき、前記デー
タ処理手段は切換手段に対して特定コード発生回路から
のコード情報が画面メモリに送出されるようにデータバ
スの切換えを指示すると共に、前記ダイレクトメモリア
クセス回路は前記画面メモリにアドレスを与えると共に
、特定コード発生回路はそのアドレスと同期して特定コ
ード情報を画面メモリに与え、そのアドレスに特定コー
ド情報を記憶することを特徴とする画面メモリ制御方式
1. It has a display section that displays information such as characters, and a line buffer that stores code information corresponding to one line of characters, etc. to be displayed on the display section, and the code information stored in the line buffer is displayed on the display section. a display control circuit that converts the pattern information into pattern information and sends the pattern information to the display section for display in synchronization with the scanning timing of the display section; and a display control circuit that stores code information for one screen corresponding to the display section. A screen memory, a direct memory access circuit that generates at a predetermined timing an address on the screen memory storing code information to be transferred to the line buffer among the code information stored in the screen memory, and a data bus. data processing means for sending arbitrary code information to be displayed to the screen memory; a specific code generation circuit for sending only specific code information to the screen memory via the data bus; and a data bus from the data processing means. and a data bus from a specific code generation circuit, and a switching means for sending the code information supplied to either one of the data buses to the screen memory according to an instruction from the data processing means. When a command arrives, the data processing means instructs the switching means to switch the data bus so that the code information from the specific code generation circuit is sent to the screen memory, and the direct memory access circuit A screen memory control method characterized in that an address is given to the memory, a specific code generation circuit gives specific code information to the screen memory in synchronization with the address, and the specific code information is stored at the address.
JP16523478A 1978-12-31 1978-12-31 Screen memory control method Expired JPS607279B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16523478A JPS607279B2 (en) 1978-12-31 1978-12-31 Screen memory control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16523478A JPS607279B2 (en) 1978-12-31 1978-12-31 Screen memory control method

Publications (2)

Publication Number Publication Date
JPS5592935A JPS5592935A (en) 1980-07-14
JPS607279B2 true JPS607279B2 (en) 1985-02-23

Family

ID=15808399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16523478A Expired JPS607279B2 (en) 1978-12-31 1978-12-31 Screen memory control method

Country Status (1)

Country Link
JP (1) JPS607279B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58154891A (en) * 1982-03-10 1983-09-14 松下電器産業株式会社 Crt controller
JPS59111686A (en) * 1982-12-17 1984-06-27 オムロン株式会社 Crt color display unit

Also Published As

Publication number Publication date
JPS5592935A (en) 1980-07-14

Similar Documents

Publication Publication Date Title
JPS607279B2 (en) Screen memory control method
EP0361434B1 (en) Display emulating system
JPS60247766A (en) Program computer
JPS6015777A (en) Plotting system for continuous straight line
JP2001010124A (en) Writing apparatus, writing method and storage medium
JP2523662B2 (en) Memory access circuit
JPS61243492A (en) Bit map display unit
JPS5937821Y2 (en) Refresh type CRT display device
JP2588309Y2 (en) Display control device
JPS5940692A (en) Scroll control system
JPS58142389A (en) Fresh memory control system for crt display
JPS5553736A (en) Display unit
JPS60221865A (en) Document processor
US20010048442A1 (en) Single-chip microcomputer and method of modifying memory contents of its memory device
JPS5834490A (en) Display unit
JPS6067986A (en) Writing of display data into display unit
JPH0293723A (en) Recorder
JPH0693178B2 (en) Display device
JPS5860788A (en) Character display control system
JPS6365948B2 (en)
JPH01116685A (en) Blinking controller
JPS6114685A (en) Image display unit
JPS62231984A (en) Display controller
JPH0157382B2 (en)
JPH10172001A (en) Plotter, plotting method, and its recording medium