JPH0566745A - Screen display - Google Patents
Screen displayInfo
- Publication number
- JPH0566745A JPH0566745A JP3227637A JP22763791A JPH0566745A JP H0566745 A JPH0566745 A JP H0566745A JP 3227637 A JP3227637 A JP 3227637A JP 22763791 A JP22763791 A JP 22763791A JP H0566745 A JPH0566745 A JP H0566745A
- Authority
- JP
- Japan
- Prior art keywords
- program
- module
- display
- display data
- 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
Links
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】
【目的】 表示プログラムの一部書き替えで各種の画面
コントローラに対応可能とする。
【構成】 第1のモジュールを実行するプログラムとこ
れとは独立の第2のモジュールを実行するプログラムと
から成る表示プログラムをプログラムROM5に格納
し、第1のモジュールで変換した表示データを仮想論理
画面RAM8に取込み、この仮想論理画面RAM8内に
取込んだ表示データをさらに第2のモジュールで変換し
てCRTコントローラ6に転送する。
(57) [Summary] [Purpose] A part of the display program can be rewritten to support various screen controllers. [Structure] A display program consisting of a program for executing a first module and a program for executing a second module independent of the first module is stored in a program ROM 5, and display data converted by the first module is stored in a virtual logical screen The display data fetched in the RAM 8 and fetched in the virtual logical screen RAM 8 is further converted by the second module and transferred to the CRT controller 6.
Description
【0001】[0001]
【産業上の利用分野】本発明は画面に文字等を表示する
画面表示装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a screen display device for displaying characters and the like on a screen.
【0002】[0002]
【従来の技術】従来の画面表示装置が図3に示されてい
る。図3において、外部機器1より出力される表示デー
タはシリアル入出力部2を介してデータ受信部3に供給
される。データ受信部3は表示データを一時的に記憶
し、一定規則に従い表示データを出力する。2. Description of the Related Art A conventional screen display device is shown in FIG. In FIG. 3, the display data output from the external device 1 is supplied to the data receiving unit 3 via the serial input / output unit 2. The data receiving unit 3 temporarily stores the display data and outputs the display data according to a certain rule.
【0003】CPU4は表示モードが選択されると、プ
ログラムROM5より表示プログラムデータを読出して
データ受信部3からの表示データを変換する。この表示
プログラムによって表示データはCRTコントローラ6
が処理可能な表示データに変換される。変換された表示
データはCRTコントローラ6に転送されてCRT7に
表示される。When the display mode is selected, the CPU 4 reads the display program data from the program ROM 5 and converts the display data from the data receiving section 3. The display data is displayed by the CRT controller 6 by this display program.
Are converted into display data that can be processed. The converted display data is transferred to the CRT controller 6 and displayed on the CRT 7.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記表
示プログラムはCRTコントローラ6のハードウェアに
基づいてプログラミングする必要があるため、CRTコ
ントローラ6を異なる種類のものに変えると表示プログ
ラムを全て書き替えなければならなかった。表示プログ
ラムの全書き替えは設計工数の増大になる等の欠点があ
った。However, since the display program needs to be programmed based on the hardware of the CRT controller 6, if the CRT controller 6 is changed to a different type, the display program must be rewritten. did not become. The total rewriting of the display program has drawbacks such as an increase in design man-hours.
【0005】そこで、本発明は表示プログラムの全ての
書き替えを行うことなく各種の画面コントローラに対応
できる画面表示装置を提供することを課題とする。Therefore, it is an object of the present invention to provide a screen display device which can cope with various screen controllers without rewriting all of the display program.
【0006】[0006]
【課題を解決するための手段】上記課題を達成するため
の本発明に係る画面表示装置は、表示データを第1のモ
ジュールで変換する手段と、この変換した表示データを
記憶する仮想論理画面RAMと、この仮想論理画面RA
Mに記憶した表示データを、前記第1のモジュールを実
行するプログラムとは独立に動作する第2のモジュール
で変換する手段と、この変換した表示データを入力する
画面コントローラとから成るものである。A screen display device according to the present invention for achieving the above object comprises means for converting display data by a first module, and a virtual logical screen RAM for storing the converted display data. And this virtual logical screen RA
It comprises a means for converting the display data stored in M by a second module that operates independently of the program for executing the first module, and a screen controller for inputting the converted display data.
【0007】[0007]
【作用】従って、画面コントローラが変わると、この画
面コントローラのハードウェアに適応の表示データに変
換されるよう第2のモジュールを実行するプログラムを
変更すれば良い。Therefore, when the screen controller is changed, the program for executing the second module may be changed so as to be converted into the display data suitable for the hardware of the screen controller.
【0008】[0008]
【実施例】以下、本発明の実施例を図面を用いて説明す
る。図1及び図2には本発明の一実施例が示されてい
る。Embodiments of the present invention will be described below with reference to the drawings. 1 and 2 show one embodiment of the present invention.
【0009】図1には画面表示装置の回路ブロック図が
示されている。図1において、外部機器1より出力され
る表示データは、従来例と同様にシリアル入出力部2、
データ受信部3を介して導かれる。CPU4は表示モー
ドが選択されると、プログラムROM5より表示プログ
ラムの第1モジュールを実行するプログラムデータを読
出し、データ受信部3からの表示データを第1のモジュ
ールで変換する。FIG. 1 shows a circuit block diagram of the screen display device. In FIG. 1, the display data output from the external device 1 is the serial input / output unit 2 as in the conventional example.
It is guided through the data receiving unit 3. When the display mode is selected, the CPU 4 reads the program data for executing the first module of the display program from the program ROM 5, and the display data from the data receiving unit 3 is converted by the first module.
【0010】プログラムROM5は表示プログラムとし
て第1のモジュールを実行するプログラムとこのプログ
ラムルーチンとは独立した例えば割り込みルーチンで、
第2のモジュールを実行するプログラムとを有する。前
者のプログラムは表示データに簡単な書式変換を行い、
後者のプログラムはこの書式変換した表示データをCR
Tコントローラ6のハードウェアに適した態様に変換す
る。The program ROM 5 is, for example, an interrupt routine which is independent of the program for executing the first module as a display program and this program routine,
And a program for executing the second module. The former program does a simple format conversion on the display data,
The latter program uses the format-converted display data for CR
Conversion to a mode suitable for the hardware of the T controller 6.
【0011】前記第1モジュールで変換された表示デー
タを仮想論理画面RAM8に書込まれる。仮想論理画面
RAM8に一旦書込まれた表示データは第2のモジュー
ルを実行するプログラムによってタイマー割り込みや垂
直期間割り込みで読出され、この読出された表示データ
は第2のモジュールに基づき変換される。この変換され
た表示データはCRTコントローラ6に転送される。The display data converted by the first module is written in the virtual logical screen RAM 8. The display data once written in the virtual logical screen RAM 8 is read by a timer interrupt or a vertical period interrupt by a program that executes the second module, and the read display data is converted based on the second module. The converted display data is transferred to the CRT controller 6.
【0012】画面コントローラであるCRTコントロー
ラ6は転送された表示データに基づきCRT7を駆動す
る。尚、CRT7に変えて液晶ディスプレイを用いた場
合には画面コントローラは液晶コントローラとなる。The CRT controller 6 which is a screen controller drives the CRT 7 based on the transferred display data. When a liquid crystal display is used instead of the CRT 7, the screen controller is a liquid crystal controller.
【0013】一方、リモコン受信部9と操作キー部10
の各出力はキーコマンド解析部11に供給され、このキ
ーコマンド解析部11で解析された指令信号はCPU4
に取込まれる。CPU4はこの指令信号に基づき各種モ
ードを実行し、例えば表示モードが選択されると図2に
示すフローチャートを実行するべく各種回路を制御す
る。On the other hand, the remote control receiver 9 and the operation key unit 10
Each output of is supplied to the key command analysis unit 11, and the command signal analyzed by the key command analysis unit 11 is the CPU 4
Is taken into. The CPU 4 executes various modes based on this command signal, and controls various circuits to execute the flowchart shown in FIG. 2 when the display mode is selected, for example.
【0014】以下、上記構成の作用を説明する。例えば
操作キー部10にて表示モードが選択されると、外部機
器1からの表示データが第1のモジュールで変換され、
この変換された表示データが仮想論理画面RAM8に一
旦書込まれる。この書込まれた表示データは第2のモジ
ュールでさらに変換されてCRTコントローラ6に転送
され、CRT7に表示される。The operation of the above configuration will be described below. For example, when the display mode is selected by the operation key unit 10, the display data from the external device 1 is converted by the first module,
The converted display data is once written in the virtual logical screen RAM 8. The written display data is further converted by the second module, transferred to the CRT controller 6, and displayed on the CRT 7.
【0015】ここで、CRTコントローラ6を取扱う表
示データの内容が異なるものに変換する場合には第1の
モジュールを実行するプログラムを書き換えることな
く、第2のモジュールを実行するプログラムのみを変換
後のCRTコントローラ6が処理可能な表示データ形式
に変換するべく書き換えれば良い。Here, when the display data handled by the CRT controller 6 is converted into a different display data, the program for executing the first module is not rewritten and only the program for executing the second module is converted. It may be rewritten so as to be converted into a display data format that can be processed by the CRT controller 6.
【0016】また、仮想論理画面RAM8を2個用意
し、各仮想論理画面RAM8にキャラクタデータとアト
リビュートデータを分けて取込むよう構成すればきめの
細かい画面表示が可能である。Further, if two virtual logical screen RAMs 8 are prepared and each virtual logical screen RAM 8 is configured to capture character data and attribute data separately, fine screen display can be performed.
【0017】さらに、第1のモジュールでの変換データ
を汎用の表示画面形式に合わせることにより汎用CRT
にデータを転送してシミュレートができることになり、
デバック時に有益である。又、仮想論理画面RAM8の
表示データをブロック転送するよう構成すれば見かけ上
の処理スピードが向上する。Furthermore, by adapting the conversion data in the first module to a general-purpose display screen format, a general-purpose CRT can be obtained.
It will be possible to transfer data to and simulate
Useful when debugging. Further, if the display data of the virtual logical screen RAM 8 is configured to be block-transferred, the apparent processing speed is improved.
【0018】またさらに、CRTコントローラ6にカー
ソル制御機能等を持たせることにより仮想論理画面RA
M8からCRTコントローラ6への転送処理を単純化で
きる。Furthermore, by providing the CRT controller 6 with a cursor control function and the like, the virtual logical screen RA
The transfer process from the M8 to the CRT controller 6 can be simplified.
【0019】[0019]
【発明の効果】以上述べたように本発明によれば、表示
プログラムを第1のモジュールを実行するプログラムと
これとは独立の第2のモジュールを実行するプログラム
に分離して構成したので、画面コントローラを変えた場
合には第2のモジュールを実行するプログラムのみを書
き替えれば良いため設計工数の削減になるという効果を
奏する。As described above, according to the present invention, the display program is divided into a program for executing the first module and a program for executing the second module independent of the first module. When the controller is changed, only the program that executes the second module needs to be rewritten, which has the effect of reducing the number of design steps.
【0020】また、表示プログラムを2つに分割したの
で、プログラムはシンプルになるためバグが減少し、
又、メンテナンスも容易になるという効果を奏する。Further, since the display program is divided into two, the program is simple and the number of bugs is reduced.
Further, there is an effect that maintenance becomes easy.
【図1】画面表示装置の回路ブロック図(実施例)。FIG. 1 is a circuit block diagram of a screen display device (embodiment).
【図2】表示プログラムのフローチャート図(実施
例)。FIG. 2 is a flowchart of a display program (embodiment).
【図3】画面表示装置の回路ブロック図(従来例)。FIG. 3 is a circuit block diagram of a screen display device (conventional example).
6…CRTコントローラ(画面コントローラ)、8…仮
想論理画面RAM。6 ... CRT controller (screen controller), 8 ... Virtual logical screen RAM.
Claims (1)
る手段と、この変換した表示データを記憶する仮想論理
画面RAMと、この仮想論理画面RAMに記憶した表示
データを、前記第1のモジュールを実行するプログラム
とは独立に動作する第2のモジュールで変換する手段
と、この変換した表示データを入力する画面コントロー
ラとから成ることを特徴とする画面表示装置。1. A unit for converting display data by a first module, a virtual logical screen RAM for storing the converted display data, and display data stored in the virtual logical screen RAM for the first module. A screen display device comprising means for converting by a second module that operates independently of a program to be executed, and a screen controller for inputting the converted display data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3227637A JPH0566745A (en) | 1991-09-09 | 1991-09-09 | Screen display |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3227637A JPH0566745A (en) | 1991-09-09 | 1991-09-09 | Screen display |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0566745A true JPH0566745A (en) | 1993-03-19 |
Family
ID=16864010
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3227637A Pending JPH0566745A (en) | 1991-09-09 | 1991-09-09 | Screen display |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0566745A (en) |
-
1991
- 1991-09-09 JP JP3227637A patent/JPH0566745A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6154508A (en) | Numerical controller | |
| JPH0566745A (en) | Screen display | |
| JPS60134282A (en) | System screen display system | |
| JPH05224713A (en) | Display method for programmable controller | |
| JPH01244502A (en) | Pc program display system | |
| JP2520485B2 (en) | Dragging and rubber band independent display system | |
| JPH0199128A (en) | Information processing console panel | |
| JP2995975B2 (en) | Document processing device | |
| JPH03269484A (en) | Display device | |
| JPS61148542A (en) | Maintenance system of data processor | |
| JPS63179556U (en) | ||
| JPS636555A (en) | Typesetting system | |
| JPH01282964A (en) | Image processor | |
| JPS5819306U (en) | Plant status display device | |
| JPH01233616A (en) | Screen format display device | |
| JPS6242222A (en) | Transmission system for coordinate data | |
| JPH01167790A (en) | Document displaying method | |
| JPH0575775U (en) | Training simulator | |
| JPS60176141A (en) | Input processing procedure filing graphic processing system | |
| JPS61223891A (en) | Image display unit | |
| JPS5866991A (en) | Cursor display control system | |
| JPS63317866A (en) | Data output processing method | |
| JPH0512953U (en) | Small electronic calculator | |
| JPH0798645A (en) | Shared screen memory system and control device | |
| JPH0685163B2 (en) | Graph display device |