JPS5895387A - Picture memory control system for character display - Google Patents

Picture memory control system for character display

Info

Publication number
JPS5895387A
JPS5895387A JP19321181A JP19321181A JPS5895387A JP S5895387 A JPS5895387 A JP S5895387A JP 19321181 A JP19321181 A JP 19321181A JP 19321181 A JP19321181 A JP 19321181A JP S5895387 A JPS5895387 A JP S5895387A
Authority
JP
Japan
Prior art keywords
address
line
character
scrolling
screen
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
JP19321181A
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.)
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 JP19321181A priority Critical patent/JPS5895387A/en
Publication of JPS5895387A publication Critical patent/JPS5895387A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 本発明は文字表示装置の画面の内容を行単位で上下にス
クロールする場合、画面メモリを有効に使用し、一部を
他の目的にも一使用できるようにしく1) た画面メモリ制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION When the contents of the screen of a character display device are scrolled up and down line by line, the present invention effectively uses the screen memory and allows a part of it to be used for other purposes. ) This relates to a screen memory control method.

従来、文字表示装置において、画面の内容を行単位で画
面の上方または下方に移動する。いわゆるスクロールア
ンプまたはスクロールダウンすることが行なわれる。
Conventionally, in a character display device, the contents of a screen are moved line by line upward or downward on the screen. A so-called scroll amplifier or scroll down is performed.

この方式としては画面メモリの士*@t−d出し、再度
誓込みを行なって余情@Aをシフトする。しかし、この
方式は実行時間が長くかかるので、画面メモリの内容は
そのままにして、垂直間M(VS)の期間に表示アドレ
スのスタートの位置を変える方式%式% すなわち、第1図(a)は画面メモリの初期状態、同図
(b)は1行、同図(C)は2行だけスクロールアップ
した場合のスタートアドレスの位置を示したものである
。1行80字、24行で1画面表示するのに80字×2
4行−1920字であるが、この画像メモリとしては2
048バイトのメモリを使用する。そのため2048〜
1920=128バイトは余ルで示され、オール゛0″
のグミイメモリとなり有効に使用されない。
In this method, the character *@td of the screen memory is taken out, the oath is performed again, and the remainder @A is shifted. However, this method takes a long time to execute, so a method of changing the start position of the display address during the vertical interval M(VS) while leaving the contents of the screen memory as is is shown in Figure 1(a). shows the initial state of the screen memory, FIG. 2B shows the position of the start address when scrolled up by one line, and FIG. 1C shows the position of the start address when scrolled up by two lines. 80 characters per line, 80 characters x 2 to display on one screen with 24 lines
It is 4 lines - 1920 characters, but the image memory is 2
Uses 048 bytes of memory. Therefore 2048~
1920=128 bytes are indicated by the remainder, all "0"
It becomes gummy memory and is not used effectively.

同図(b)は1行スクロールアップした場合でスター(
2) ドアドレスがアドレス゛80”に入シ、余シはアドレス
″2000〜2047”と0〜79′である。以下同様
に、同図(C)は2行スクロールアップした場合でスタ
ートアト−レスがアドレス″160”に入り余夛はアド
レス″62〜159”である。
Figure (b) shows the star (
2) The start address is entered at address "80", and the rest are addresses "2000-2047" and 0-79'. Similarly, in the same figure (C), when scrolling up two lines, the start address is enters address "160" and the rest are addresses "62-159".

たとえば、MPUを使用して制御する時、データ以外の
カーソル状態や途中経過等を記憶するレジスタが必要で
おるが、現在では別にRAMが設けられている。この場
合画面メモリで余っている128バイトがこれに利用で
きれば効率的である。しかし、前述のようにスクロール
アップの行数により不規則に発生するからこれをまとめ
て利用することが困難である。
For example, when controlling using an MPU, a register is required to store the cursor status and intermediate progress other than data, but at present, a separate RAM is provided. In this case, it would be efficient if the remaining 128 bytes of screen memory could be used for this purpose. However, as mentioned above, this occurs irregularly depending on the number of scroll-up lines, so it is difficult to use them all at once.

本発明の目的は文字表示装置の画面をスクロールする場
合、画面メモリに生じる余)を有効に利用することので
きる画面メモリ制御方式を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a screen memory control method that can effectively utilize the surplus generated in the screen memory when scrolling the screen of a character display device.

前記目的を達成するため、不発ψ」の画面メモリの制御
方式は文字画面の内容を行単位で上または下にスクロー
ルするため、画面メモリをアクセス(6) する表示用文字カウンタを設け、スクロールによる行の
移動に応じたスタートアドレスをセットしカウントを行
なう文字表示装置において、前記画面メモリの指定され
た行の初期アドレスを記憶する手段を設け、該初期アド
レスを前記表示用文字カウンタにセットし、該初期アド
レス以下の所定格納領域に対しスクロールを行なうよう
にし、それ以外の領域を他の目的に使用するようにした
ことを特徴とするものである。
In order to achieve the above objective, the control method for the screen memory of ``Full ψ'' scrolls the contents of the character screen up or down line by line, so a display character counter is provided to access the screen memory (6), In a character display device that sets and counts a start address according to the movement of a line, means is provided for storing an initial address of a specified line in the screen memory, and the initial address is set in the display character counter, The present invention is characterized in that a predetermined storage area below the initial address is scrolled, and other areas are used for other purposes.

以下本発明を実施例につき詳述する。The present invention will be described in detail below with reference to examples.

第2図(a)〜(C)は本発明の原理説明図である。FIGS. 2(a) to 2(C) are diagrams explaining the principle of the present invention.

同図(a)は1i1111fiメモリの初期状態、同図
(b)は1行、同図(C)は2行スクロールアップした
場合を第1図(、)〜(Q)に対応して示したものであ
る。すなわち、同図に示すように、第1図と同僚のスク
ロールを行なう場合128バイトだけ余夛を生じる駅で
あるから、これを一方のアドレス°゛0〜127″の領
域を不使用領域としワーク用に充当する。そしてアドレ
ス゛128”の初期アドレス以下の領域に1行目をアド
レス″128〜207”、2行目をアドレス″208〜
(4) 287°′、・・・というようにして1行80字×24
行= 1920字を完全に収納する。
The figure (a) shows the initial state of the 1i1111fi memory, the figure (b) shows the case of scrolling up one line, and the figure (C) shows the case of scrolling up two lines, corresponding to figures 1 (,) to (Q). It is something. In other words, as shown in the figure, when scrolling between Figure 1 and Colleague, there is a surplus of 128 bytes, so the area from address 0 to 127 on one side is set as an unused area for work. Then, in the area below the initial address of address ``128'', the first line is the address ``128~207'', and the second line is the address ``208~''.
(4) 287°', etc. 80 characters per line x 24
Line = 1920 characters are completely stored.

そしてこの領域のみでエンドレスに還流してスクロール
を行なわせる。同図(a)は初期状態で初期アドレスと
スタートアドレスが同一のアドレス”128”であるが
、同図(b)ではスクロールアップの結果スタートアド
レスが1行ずれアドレス”208”とな多、その代シに
24行目が上に移る。同図(C)ではスタートアドレス
が2行ずれアドレス″288″となり、さらに26行目
も上に移る。(なおスクロールアップを行なう直前か直
後にスクロールアップ行数分メモリに0”を誓いておく
。) このように、初期アドレス以下の格納領域の上限。
Then, endless scrolling is performed only in this area. In the figure (a), the initial address and the start address are the same address "128" in the initial state, but in the figure (b), as a result of scrolling up, the start address is shifted by one line and becomes the address "208". The 24th line is then moved up. In the same figure (C), the start address is shifted by two lines to the address "288", and is further moved up to the 26th line. (Just before or after scrolling up, set the memory to 0" for the number of scroll-up lines.) In this way, the upper limit of the storage area below the initial address.

下限の間でエンドレスにスクロールを行ない、それ以外
の領域は無関係となるから、この場合スクロール行数に
関係なくアドレス゛0〜127”は他の目的の用途にオ
U用することが可能となる。
Since scrolling is performed endlessly between the lower limits and the other areas are irrelevant, in this case, addresses "0 to 127" can be used for other purposes regardless of the number of scroll lines.

第6図は上述の原理に従う本発明の実施例の構成説明図
である。
FIG. 6 is an explanatory diagram of the configuration of an embodiment of the present invention according to the above-described principle.

同図において、外部(ホスト、キーボード等)と(5) のやpとシは絖出し/書込み(R/W)データが2にバ
イトの画面メモリ1にマルチプレクサ6からのR1W用
アドレスに応じて続出しまたは書込みが行なわれる。表
示の時はこの画面メモリ1から表示用文字カウンタ7に
より読出された文字コードは行毎にラインバッファ2を
介して文字発生器(CG)3で文字の画像信号に変換さ
れ、表示制御回路4を介して表示部5に表示される。
In the same figure, the external (host, keyboard, etc.) Continuation or writing is performed. At the time of display, the character code read out from the screen memory 1 by the display character counter 7 is converted into a character image signal by a character generator (CG) 3 via a line buffer 2 for each line, and then sent to a display control circuit 4. is displayed on the display unit 5 via.

本発明の安部は画面メモリ1に第2図で説明したように
スクロールの場合のスタートアドレスと初期アドレスを
供給するMPX6以下の構成である。
The main part of the present invention has a configuration including the MPX 6 and below, which supply the screen memory 1 with a start address and an initial address in the case of scrolling as explained in FIG.

従来も、スクロールによ多行が上下に移動するとともに
、スタートアドレスがスタートアドレスレジスタ8にセ
ットされ、スクロール1行毎にずれたアドレスが表示用
文字カウンタ7に送られ、そこから行毎の文字数がカウ
ントされ、対応するアドレスがMPX6により切替えら
れて画面メモリ1に送られデータの読出しが行なわれる
。第1図でわかるようにスクロールアップの結果24行
目は23行目の次のデータを読出して表示している。そ
の(6) ため余シの部分がスクロールによって変化している。
Conventionally, as multiple lines are moved up and down by scrolling, a start address is set in the start address register 8, and the address shifted for each line of scrolling is sent to the display character counter 7, from which the number of characters per line is calculated. is counted, and the corresponding address is switched by the MPX 6 and sent to the screen memory 1, where the data is read. As can be seen in FIG. 1, as a result of scrolling up, the 24th line reads and displays the data next to the 23rd line. Because of (6), the margin changes due to scrolling.

これに対し、本発明ではスクロールすべき領域の初期ア
ドレス、すなわち、第2図のアドレス”128”をセッ
トするため、2重枠で示す初期アドレスレジスタ11ヲ
設ケ、スクロールの結果スタートアドレスが桁数分だけ
ずれた特上に移動する時の初期アドレスをセットする。
On the other hand, in the present invention, in order to set the initial address of the area to be scrolled, that is, the address "128" in FIG. Set the initial address when moving to a special location that is shifted by a few minutes.

第2図(a)の場合、すなわちスクロールのない初期状
態では、初期アドレスとスタートアドレスカ同一アドレ
ス″12B”として表示用文字カウンタ7にセットされ
てMPX6全通し画面メモリ1をアクセスする。これに
対し同図(b)、 (0)では初期アドレスはアドレス
゛128°′のままで、スタートアドレスがそれぞれア
ドレス”208”、’288’にセットされて表示用文
字カラ/り7のカウントが行なわれる。このようにスク
ロールアップの結果、同図(b)では24行目が1行目
の上のデータを同図(c)では24行目と23行目が1
行目の上のデータを読出して表示する。なおスクロール
アップを行なう直前か直後にスクロールアラ(7) プ行数分加′°を誉いておく。この場合アドレス″0〜
127”はスクロールの有無にかかわらず全く無関係と
なるから、これtレジスタとしてカーソル位置や処理の
途中経過の状態記録等の他の目的のために利用すること
ができ、従来例に用意したレジスタを省略することがで
きる。
In the case of FIG. 2(a), that is, in the initial state without scrolling, the initial address and start address are set as the same address "12B" in the display character counter 7, and the entire screen memory 1 of the MPX6 is accessed. On the other hand, in (b) and (0) of the same figure, the initial address remains at address ``128'', and the start address is set to address ``208'' and ``288'', respectively, and the count of display character color/7 is set. It is done. As a result of scrolling up in this way, the 24th line in the figure (b) is the data above the 1st line, and the 24th and 23rd lines are the data above the 1st line in the figure (c).
Read and display the data above the row. Just before or after scrolling up, add the scroll alarm (7) by the number of lines you want to scroll up. In this case, the address "0~
127'' is completely irrelevant regardless of whether there is scrolling or not, so it can be used as the t register for other purposes such as recording the cursor position or the status of the progress of processing. Can be omitted.

以上説明したように、本発明によれば、文字表示装置の
画1m’iスクロールする場合、画面メモリ内の指定さ
れた行の初期アドレスを記憶する手段を設け、この初期
アドレス以下の所定の格納領域のみでスクロールを行な
うようにし、それ以外の余った領域は他の目的に使用で
きるようにしたものである。このようにして、画面メモ
リは効率の良いスクロールを行なうとともに、処理の途
中経過等で使用するレジスタに利用できるからメモリ手
段の節減に役立つところが大きい。
As explained above, according to the present invention, when scrolling 1m'i of the screen of a character display device, means for storing the initial address of a designated line in the screen memory is provided, and a predetermined storage value below this initial address is provided. This allows only the area to be scrolled, and the remaining area can be used for other purposes. In this way, the screen memory can be used for efficient scrolling, and can also be used as a register used in the middle of processing, which greatly contributes to saving on memory means.

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

第1図(a) 〜(0)は従来例の)jAmm明図、第
2図(a)〜(C)は本発明の原理説明図、第6図は本
発明の実施例の構成説明図であ多、図中1は画面メモリ
、(8) 2はラインバッファ、3は文字発生器、4は表示制御回
路、5は表示部、6はマルチプレクサ、7は表示用文字
カウンタ、8はスタートアドレスレジスタ、11は初期
アドレスレジスタを示す。 特許出願人 富士通株式会社 復代理人 弁理士 1)坂 善 重 (9)
Figures 1 (a) to (0) are diagrams of )jAmm of the conventional example, Figures 2 (a) to (C) are diagrams explaining the principle of the present invention, and Figure 6 is a diagram explaining the configuration of the embodiment of the present invention. In the figure, 1 is the screen memory, (8) 2 is the line buffer, 3 is the character generator, 4 is the display control circuit, 5 is the display section, 6 is the multiplexer, 7 is the display character counter, and 8 is the start. Address register 11 indicates an initial address register. Patent applicant Fujitsu Limited sub-agent Patent attorney 1) Yoshishige Saka (9)

Claims (1)

【特許請求の範囲】[Claims] 文字画面の内容を行単位で上また扛下にスクロールする
ため、画面メモリをアクセスする表示用文字カウンタを
設け、スクロールによる行の移動に応じたスタートアド
レスをセットしカウントを行なう文字表示装置において
、前記画面メモリの指定された行の初期アドレスを記憶
する手段を設け、該初期アドレスを前記表示用文字カウ
ンタにセットし、該初期アドレス以下の所定格網頌域に
対しスクロールを行なうようにし、それ以外の領域を他
の目的に使用するようにしたことを特徴とする文字表示
装置の画面メモリ制御方式。
In order to scroll the contents of a character screen upward or downward line by line, a character display device is provided with a display character counter that accesses the screen memory, and sets and counts a start address according to the movement of lines due to scrolling. Means for storing an initial address of a designated line of the screen memory is provided, the initial address is set in the display character counter, and a predetermined rated mesh area below the initial address is scrolled; A screen memory control method for a character display device, characterized in that an area other than the area other than the original area is used for another purpose.
JP19321181A 1981-12-01 1981-12-01 Picture memory control system for character display Pending JPS5895387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19321181A JPS5895387A (en) 1981-12-01 1981-12-01 Picture memory control system for character display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19321181A JPS5895387A (en) 1981-12-01 1981-12-01 Picture memory control system for character display

Publications (1)

Publication Number Publication Date
JPS5895387A true JPS5895387A (en) 1983-06-06

Family

ID=16304144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19321181A Pending JPS5895387A (en) 1981-12-01 1981-12-01 Picture memory control system for character display

Country Status (1)

Country Link
JP (1) JPS5895387A (en)

Similar Documents

Publication Publication Date Title
JPS61249086A (en) Image display method and apparatus for adjacent display zone
JPS5895387A (en) Picture memory control system for character display
US4639723A (en) Data display system
JPH02310592A (en) Screen scroll control system
JPS5936303B2 (en) CRT display device
JPS6139677B2 (en)
JPS61219082A (en) Display controller
JPS5945567A (en) Circuit for controlling writing in memory
JPS628192A (en) Cursor control circuit
JPS6067990A (en) Picture information processor having density converting function
JP3303923B2 (en) Image display control device and image display control method
JPS60101590A (en) Display unit
JPH03288194A (en) Cursor storage control circuit
JPS59185A (en) Crt display unit
JPS5997185A (en) Display
JPS60172087A (en) Display control system for virtual large screen type display unit
JPS59127093A (en) Screen split controller
JPH0347516B2 (en)
JPH0449115B2 (en)
JPS58107583A (en) Display unit
JPS5952432B2 (en) Display control method
JPH01137291A (en) Character display device
JPS58159576A (en) Scroll display controller
JPH03179491A (en) Memory access system for display
JPS6011891A (en) Display control system