JPS62276589A - Scrolling system for display unit - Google Patents

Scrolling system for display unit

Info

Publication number
JPS62276589A
JPS62276589A JP61118810A JP11881086A JPS62276589A JP S62276589 A JPS62276589 A JP S62276589A JP 61118810 A JP61118810 A JP 61118810A JP 11881086 A JP11881086 A JP 11881086A JP S62276589 A JPS62276589 A JP S62276589A
Authority
JP
Japan
Prior art keywords
scrolling
character
character code
video memory
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
JP61118810A
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61118810A priority Critical patent/JPS62276589A/en
Publication of JPS62276589A publication Critical patent/JPS62276589A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明は表示装置のスクロール方式に関し、特にパーソ
ナルコンピュータやワードプロセッサ等の情報処理装置
における表示装置のスクロール方式に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a scrolling method for a display device, and particularly to a scrolling method for a display device in an information processing device such as a personal computer or a word processor.

〔従来の技術〕[Conventional technology]

従来、この種の表示装置のスクロール方式では、CPU
が映像メモリ内に展開されている全ての文字字形を1行
毎に読み出して移動先の行に書き込むことを繰り返して
映像メモリ内の文字字形を移動させスクロールを実現し
ていた。
Conventionally, in the scrolling method of this type of display device, the CPU
scrolling was achieved by repeatedly reading out all the character shapes developed in the video memory line by line and writing them to the destination line, thereby moving the character shapes in the video memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の表示装置のスクロール方式では、映像メ
モリ内で1行毎に全ての文字字形を移動させてスクロー
ルを実現しているので、スクロール時の表示速度が遅く
なるという欠点がある。
In the scrolling method of the conventional display device described above, scrolling is achieved by moving all the character shapes line by line within the video memory, so there is a drawback that the display speed during scrolling is slow.

例えば、画面の大きさを80桁×25行とじて1文字を
8×16ドツト、すなわち16バイトで表現するパーソ
ナルコンピュータでは映像メモリは32,000バイト
の大きさが必要になるが、この映像メモリで画面上の全
範囲を対象に1行毎に全ての文字字形を移動させてスク
ロールを行わせると80X24X16=30,720バ
イトものメモリ転送をすることが必要になり、スクロー
ルの表示速度を遅くさせている。
For example, a personal computer whose screen size is 80 columns x 25 lines and one character is expressed as 8 x 16 dots, or 16 bytes, requires a video memory of 32,000 bytes; If you scroll by moving all character shapes line by line across the entire range on the screen, it will require 80 x 24 x 16 = 30,720 bytes of memory transfer, which will slow down the scrolling display speed. ing.

スクロール専用のCPUが存在するのではなく同じCP
Uが他の作業も行わなければならないパーソナルコンピ
ュータやワードプロセッサ等の情報処理装置にとっては
、上述のようにメモリ転送によるCPUの負担が大きく
なると、スクロールの表示速度が遅くなるばかりではな
く全体の性能にも悪影響が出てくるという欠点がある。
There is no CPU dedicated to scrolling, but the same CPU
For information processing devices such as personal computers and word processors in which U must also perform other tasks, when the burden on the CPU due to memory transfer increases as described above, it not only slows down the display speed of scrolling but also affects the overall performance. It also has the disadvantage of having negative effects.

特に、スクロールが多く発生する応用プログラムを実行
するときには性能の低下が著しい。
Particularly, when an application program that involves a lot of scrolling is executed, the performance deteriorates significantly.

本発明の目的は、上述の点に鑑み、スクロール時の表示
速度が高速であり、スクロール時のCPUの負担が軽減
される表示装置のスクロール方式を提供することにある
In view of the above-mentioned points, an object of the present invention is to provide a scrolling method for a display device in which the display speed during scrolling is high and the load on the CPU during scrolling is reduced.

c問題点を解決するための手段〕 本発明の表示装置のスクロール方式は、文字字形を記憶
したキャラクタジェネレータから文字字形を読み出して
主記憶上の映像メモリに展開して文字の表示を行う表示
装置のスクロール方式において、画面上に表示されてい
る文字の文字コードを記憶する画面表示文字コード記憶
手段と、スクロール時に映像メモリ内で移動が必要な文
字と必要でない文字とを前記画面表示文字コード記憶手
段に基づいて識別する文字コード識別手段と、この文字
コード識別手段の判定に基づいてスクロール時の映像メ
モリの更新を行う映像メモリ更新手段と、スクロール後
の画面上の新たな表示文字の文字コードを前記画面表示
文字コード記憶手段に更新して登録する画面表示文字コ
ード更新手段とを存する。
Means for Solving Problem c] The scrolling method of the display device of the present invention is a display device that reads character shapes from a character generator that stores character shapes, develops them in a video memory on a main memory, and displays characters. In the scrolling method, the screen display character code storage means stores the character code of the character displayed on the screen, and the screen display character code storage means stores the characters that need to be moved and the characters that are not needed to be moved in the video memory at the time of scrolling. a character code identifying means for identifying a character code based on a character code identifying means; a video memory updating means for updating a video memory at the time of scrolling based on a determination by the character code identifying means; and a character code of a new displayed character on a screen after scrolling. and screen display character code updating means for updating and registering the screen display character code in the screen display character code storage means.

〔作用〕[Effect]

本発明の表示装置のスクロール方式では、画面表示文字
コード記憶手段が画面上に表示されている文字の文字コ
ードを記憶しておき、その記憶に基づいて文字コード識
別手段がスクロール時に映像メモリ内で移動が必要な文
字と必要でない文字とを識別し、この判定に基づいて映
像メモリ更新手段が映像メモリの更新を行い表示装置の
画面をスクロールさせ、スクロールが終了すると画面表
示文字コード更新手段が画面上の新たな表示文字の文字
コードを画面表示文字コード記憶手段に更新して登録す
る。
In the scrolling method of the display device of the present invention, the screen display character code storage means stores the character codes of the characters displayed on the screen, and based on the memory, the character code identification means selects the characters in the video memory during scrolling. Characters that need to be moved and characters that are not needed are identified, and based on this determination, the video memory updating means updates the video memory and scrolls the screen of the display device. When the scrolling is completed, the screen display character code updating means updates the screen. The character code of the new displayed character above is updated and registered in the screen display character code storage means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の表示装置のスクロール方式の一実施例
の構成を示すブロック図である。本実施例の表示装置の
スクロール方式は、CPUIと、データ転送等のための
バス2と、主記憶3と、主記憶3内の映像メモリ5より
情報を読み出し表示信号に変換する表示制御装置6と、
表示制御装置6からの表示信号を画面に表示する表示装
置7と、文字字形を記憶しているキャラクタジェネレー
タ8とから構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of a scrolling method of a display device according to the present invention. The scrolling method of the display device of this embodiment includes a CPU, a bus 2 for data transfer, a main memory 3, and a display control device 6 that reads information from a video memory 5 in the main memory 3 and converts it into a display signal. and,
It is composed of a display device 7 that displays a display signal from a display control device 6 on a screen, and a character generator 8 that stores character shapes.

主記憶3は、画面に表示中の文字の文字コードを記憶し
ている画面表示文字コード表4と、CPU1がキャラク
タジェネレータ8より読み出した文字字形が展開される
映像メモリ5とを含んでいる。
The main memory 3 includes a screen display character code table 4 that stores character codes of characters being displayed on the screen, and a video memory 5 in which character shapes read out from the character generator 8 by the CPU 1 are developed.

第2図を参照すると、本実施例の表示装置のスクロール
方式における処理は、スクロール終了判断ステップ11
と、映像メモリ更新対象検出ステップ 12と、映像メ
モリ更新ステップ13と、対象行更新ステップ14と、
画面表示文字コード表更新ステップ15とからなる。
Referring to FIG. 2, the process in the scrolling method of the display device of this embodiment includes scroll end determination step 11.
, a video memory update target detection step 12 , a video memory update step 13 , a target row update step 14 ,
This step consists of a screen display character code table update step 15.

次に、このように構成された本実施例の表示装置のスク
ロール方式の動作について説明する。
Next, the operation of the scrolling method of the display device of this embodiment configured as described above will be explained.

スクロールを行おうとすると、CPU1は主記憶3内の
画面表示文字コード表4を検索する。この検索は画面表
示の1行に相当する単位でスクロールアップの場合は最
下行、スクロールダウンの場合は最下行を除くスクロー
ル範囲の全行について順次行われる。
When attempting to scroll, the CPU 1 searches the screen display character code table 4 in the main memory 3. This search is performed in units corresponding to one line of the screen display, and is sequentially performed for all lines in the scroll range excluding the bottom line in the case of scrolling up and the bottom line in the case of scrolling down.

このキ★索において、まずスクロールが終了したかどう
かを判断するために、検索の対象行がスクロール範囲を
越えているかどうかが判定される(ステップ11)。
In this search, first, in order to determine whether scrolling has ended, it is determined whether the line to be searched exceeds the scroll range (step 11).

次に、ステップ11の判定でスクロール範囲を越えてい
ないと判定されたときは、画面表示文字コード表4によ
って対象行がスクロールにより移動する移動先の行く以
下、移動杆と呼ぶ)の文字コードと対象行の文字コード
とを比較し、これら2つの行の開拓の文字の文字コード
が同一か否かを識別して相違する桁を検出する(ステッ
プ12)。
Next, if it is determined in step 11 that the scroll range has not been exceeded, the character code of the target line (hereinafter referred to as the moving rod) where the target line will be moved by scrolling is determined according to the screen display character code table 4. The character codes of the target line are compared, and it is determined whether the character codes of the pioneer characters in these two lines are the same or not, and different digits are detected (step 12).

この識別結果をもとに、cpuiは映像メモリ5を更新
する。すなわち、対象行中のステップ12で検出された
桁の文字の文字字形が展開されている部分だけが移動杆
の開拓の文字の文字字形が展開されている位置に移動さ
れる。さらに、このようにして更新された映像メモリ5
内の移動杆の内容をバス2を介して表示制御装置6が読
み出して表示信号に変換し表示装置7上に表示する(ス
テップ13)。
Based on this identification result, the CPUI updates the video memory 5. That is, only the portion of the target line in which the character shape of the character in the digit detected in step 12 is developed is moved to the position where the character shape of the character in the opening of the moving rod is developed. Furthermore, the video memory 5 updated in this way
The display control device 6 reads out the contents of the moving rods in the display via the bus 2, converts it into a display signal, and displays it on the display device 7 (step 13).

次に、画面表示文字コード表4上の検索の対象行を次の
行に更新して(ステップ14)、ステップ11の判断に
処理が戻る。
Next, the line to be searched on the screen display character code table 4 is updated to the next line (step 14), and the process returns to the determination in step 11.

ステップ11で、検索の対象行がスクロール範囲を越え
ているとの判定に基づきスクロールが終了したと判断さ
れると、スクロール結果を反映させて画面表示文字コー
ド表4が更新されて(ステップ15)、本実施例の表示
装置のスクロール方式の処理が終わる。
In step 11, when it is determined that the scrolling has ended based on the determination that the search target line exceeds the scroll range, the screen display character code table 4 is updated to reflect the scrolling results (step 15). , the scrolling process of the display device of this embodiment is completed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、スクロールを行おうとす
る時点において画面上に表示されている文字の文字コー
ドを記憶している表を1行毎に検索し、スクロールによ
る移動先の行への移動が必要な文字と移動が必要でない
文字とを識別して、移動が必要な文字についてのみ映像
メモリ内の対応する部分を移動させてスクロール時に要
する映像メモリの移動量を減することにより、スクロー
ル時の表示速度を高速化でき、スクロール時のCPUの
負担を軽くすることができるという効果がある。
As explained above, the present invention searches a table that stores the character codes of characters displayed on the screen at the time when scrolling is attempted, row by row, and moves to the destination row by scrolling. By identifying characters that need to be moved and characters that do not need to be moved, and moving the corresponding part of the video memory only for the characters that need to be moved, the amount of video memory movement required during scrolling is reduced. This has the effect of increasing the display speed and reducing the burden on the CPU during scrolling.

特に、通常は画面の右端に多く表示されている空白文字
のスクロール時の転送が抑制されるので、上述の効果が
顕著となる。
In particular, since the transfer of blank characters, which are usually often displayed at the right end of the screen, during scrolling is suppressed, the above-mentioned effect becomes remarkable.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は第1図に示した表示装置のスクロール方式にお
ける処理を示す流れ図である。 図において、 1・・・cpu。 2・・・バス、 3・・・主記憶、 4・・・画面表示文字コード表、 5・・・映像メモリ、 6・・・表示制御装置、 7・・・表示装置、 8・・・キャラクタジェネレータ、 12・・映像メモリ更新対象検出ステップ、13・・映
像メモリ更新ステップ、 14・・対象行更新ステップ、 15・・画面表示文字コード表更新ステップである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing processing in the scrolling method of the display device shown in FIG. In the figure, 1...cpu. 2... Bus, 3... Main memory, 4... Screen display character code table, 5... Video memory, 6... Display control device, 7... Display device, 8... Character Generator, 12... Video memory update target detection step, 13... Video memory update step, 14... Target line update step, 15... Screen display character code table update step.

Claims (1)

【特許請求の範囲】 文字字形を記憶したキャラクタジェネレータから文字字
形を読み出して主記憶上の映像メモリに展開して文字の
表示を行う表示装置のスクロール方式において、 画面上に表示されている文字の文字コードを記憶する画
面表示文字コード記憶手段と、 スクロール時に映像メモリ内で移動が必要な文字と必要
でない文字とを前記画面表示文字コード記憶手段に基づ
いて識別する文字コード識別手段と、 この文字コード識別手段の判定に基づいてスクロール時
の映像メモリの更新を行う映像メモリ更新手段と、 スクロール後の画面上の新たな表示文字の文字コードを
前記画面表示文字コード記憶手段に更新して登録する画
面表示文字コード更新手段と、を含むことを特徴とする
表示装置のスクロール方式。
[Claims] In a scrolling method of a display device that reads character shapes from a character generator that stores the character shapes and expands them into a video memory on the main memory to display the characters, a screen display character code storage means for storing a character code; a character code identification means for identifying characters that need to be moved in the video memory during scrolling and characters that are not necessary based on the screen display character code storage means; a video memory updating means for updating the video memory during scrolling based on the determination by the code identification means; and updating and registering the character code of a new displayed character on the screen after scrolling in the screen display character code storage means. A scrolling method for a display device, comprising: screen display character code updating means.
JP61118810A 1986-05-23 1986-05-23 Scrolling system for display unit Pending JPS62276589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61118810A JPS62276589A (en) 1986-05-23 1986-05-23 Scrolling system for display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61118810A JPS62276589A (en) 1986-05-23 1986-05-23 Scrolling system for display unit

Publications (1)

Publication Number Publication Date
JPS62276589A true JPS62276589A (en) 1987-12-01

Family

ID=14745690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61118810A Pending JPS62276589A (en) 1986-05-23 1986-05-23 Scrolling system for display unit

Country Status (1)

Country Link
JP (1) JPS62276589A (en)

Similar Documents

Publication Publication Date Title
JPS62276589A (en) Scrolling system for display unit
JPS6211736B2 (en)
JPH0715623B2 (en) Display device
JP2651138B2 (en) Document processing device
JPS61180283A (en) Word processor
JP2679627B2 (en) Font search processor
JPS5885483A (en) Display controller
JPS6294891A (en) Display unit
JPS62133485A (en) Cursor movement control system
JPS60178570A (en) Data receiver
JP2526043Y2 (en) Image data storage device
JPS58169236A (en) Control system for character font
JP2621983B2 (en) Character display screen scroll control device
JP2633695B2 (en) Search system
JPH0476598A (en) Display controller
JPH05158453A (en) Character retrieving system
JPS6027034B2 (en) Kanji terminal system
JPH04255896A (en) Drawing system for character
JPS62203194A (en) Information display unit
JPS63229490A (en) Character display system
JPH0354669A (en) Picture display device
JPH01193917A (en) Terminal equipment
JPS6326743A (en) Hardware tag processor
JPS638788A (en) Display indication control system
JPS6150315B2 (en)