JP2597338B2 - Data creation method for two-dimensional display device - Google Patents

Data creation method for two-dimensional display device

Info

Publication number
JP2597338B2
JP2597338B2 JP1154878A JP15487889A JP2597338B2 JP 2597338 B2 JP2597338 B2 JP 2597338B2 JP 1154878 A JP1154878 A JP 1154878A JP 15487889 A JP15487889 A JP 15487889A JP 2597338 B2 JP2597338 B2 JP 2597338B2
Authority
JP
Japan
Prior art keywords
display
data
address
bitmap
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 - Fee Related
Application number
JP1154878A
Other languages
Japanese (ja)
Other versions
JPH0318387A (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.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan Co 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 Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP1154878A priority Critical patent/JP2597338B2/en
Publication of JPH0318387A publication Critical patent/JPH0318387A/en
Application granted granted Critical
Publication of JP2597338B2 publication Critical patent/JP2597338B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Display Devices Of Pinball Game Machines (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Pinball Game Machines (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明は、2次元のドットマトリックス型の表示装置
において表示データであるビットマップデータを作成す
る方法に関する。
The present invention relates to a method for creating bitmap data as display data in a two-dimensional dot matrix type display device.

【従来技術】[Prior art]

従来の2次元のドットマトリックス型の表示装置にお
ける表示は、メモリに記憶されているデータ、即ち、ビ
ットマップに基づいて行われている。 以下、パチンコ機における変動装置等の表示装置につ
いて説明する。 この2次元のドットマトリックス型の表示装置におい
ては、座標の概念、及び、スロットマシンのドラムの回
転等を模することによる走査の概念から、水平方向は左
から右にかけて正方向、縦方向は下から上にかけて正方
向となっている。 しかしながら、メモリに記憶された可視表示に対応し
て「0」と「1」で構成されたビットマップを2進数デ
ータ列で表示すると、その2進数データ列では、左方が
上位ビット、右方が下位ビットであり、上方が上位アド
レス、下方が下位アドレスとなる。 したがって、メモリに記憶されているビットマップと
ドットマトリックスの座標の正方向の取り方が全く逆と
なる。
Display in a conventional two-dimensional dot matrix type display device is performed based on data stored in a memory, that is, a bit map. Hereinafter, a display device such as a fluctuation device in a pachinko machine will be described. In the two-dimensional dot matrix type display device, from the concept of coordinates and the concept of scanning by imitating the rotation of a drum of a slot machine, the horizontal direction is a positive direction from left to right, and the vertical direction is a downward direction. The direction is positive from top to bottom. However, when a bit map composed of “0” and “1” is displayed in a binary data sequence corresponding to the visible display stored in the memory, the left side of the binary data sequence has the upper bits, and the right Are lower bits, the upper part is the upper address, and the lower part is the lower address. Therefore, the way of taking the coordinates of the bit map and the dot matrix stored in the memory in the forward direction is completely opposite.

【発明が解決しようとする課題】[Problems to be solved by the invention]

このため、表示装置上での可視状態でのビットマップ
データをそのままメモリに入力できないという問題があ
った。このため、通常の処理方法としては、ビットマッ
プを2次元のドットマトリックス型の表示ビットと対応
するようにデータ変換を行うというプログラムが必要と
なっていた。 一方、パチンコ機の変動装置においては、3桁程度の
数値や図柄を変動表示することが行われている。しか
し、この変動表示もゲーム制御用のマイクロコンピュー
タで制御しており、このマイクロコンピュータはゲーム
制御だけで、かなりの負荷がかかっており、ビットマッ
プの自動変換まで行うことができない。そこで、メモリ
上に形成するビットマップの作成方法が問題になってい
るが、可視表示と対応できないことから、その作成が困
難であった。 本発明は上記課題を解決するために成されたものであ
り、その目的は、メモリ上に形成するビットマップの作
成を容易にすることである。
For this reason, there has been a problem that bitmap data in a visible state on a display device cannot be directly input to a memory. For this reason, as a normal processing method, a program for performing data conversion so that a bit map corresponds to a two-dimensional dot matrix type display bit is required. On the other hand, in a fluctuating device of a pachinko machine, a numerical value or a symbol of about three digits is fluctuated and displayed. However, this variable display is also controlled by a microcomputer for game control, and this microcomputer is only for game control, and a considerable load is applied, so that automatic conversion of a bitmap cannot be performed. Therefore, there is a problem in a method of creating a bitmap to be formed on a memory. However, it is difficult to create a bitmap because it cannot cope with a visible display. SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to facilitate creation of a bitmap formed on a memory.

【課題を解決するための手段】[Means for Solving the Problems]

上記課題を解決するための発明の構成は、2次元ドッ
トマトリックスの表示画面における水平方向に対しては
左から右方向のドットにかけて、ビットマップを記憶し
たメモリの下位ビットから上位ビットへ対応させ、垂直
方向に対しては下から上方向のドットにかけて、前記メ
モリの下位アドレスから上位アドレスに対応させて表示
する2次元表示装置における前記メモリに記憶されるビ
ットマップの作成方法において、 前記表示画面での表示状態に対応する表示パターンの
ビットマップを形成し、 そのビットマップを180度回転させて、その回転され
たビットマップの上から順に下位アドレスから上位アド
レスに記憶させることを特徴とする。
The configuration of the invention for solving the above-mentioned problem is such that, from the left to the right in the horizontal direction on the display screen of the two-dimensional dot matrix, the lower bits of the memory storing the bitmap correspond to the upper bits, In a method for creating a bitmap stored in the memory in a two-dimensional display device that displays from the lower address of the memory to the upper address in the vertical direction from the lower dot to the upper dot, The bit map of the display pattern corresponding to the display state of (1) is formed, the bit map is rotated by 180 degrees, and the rotated bit map is stored in order from the lower address to the upper address.

【作用】[Action]

まず、表示装置のドットマトリックスに対応し表示ド
ットを例えば「1」、非表示ドットを例えば「0」とす
るビットマップを形成する。このビットマップの「1」
で形成されパターンが可視表示そのものとなる。したが
って、ビットマップの作成段階では、可視状態でのビッ
トマップをそのまま作成することになり、データの作成
が簡単である。また、数値、図柄等を連続して表示する
(縦スクロール)場合には、変動する表示を見える通り
に帯状にしてビットマップを連続して形成して行けばよ
い。 次に、このようにして形成されたビットマップデータ
を180度回転させる。そして、その180度回転されたデー
タをそのまま上から順に読み込んで、メモリの下位アド
レスから上位アドレスに順次記憶して行く。この時、通
常の2進数表示と同じく、その180度回転されたデータ
のビットマップの左側が上位ビットとなる。
First, a bit map is formed in which the display dots are, for example, "1" and the non-display dots are, for example, "0", corresponding to the dot matrix of the display device. "1" in this bitmap
And the pattern becomes the visible display itself. Therefore, at the bitmap creation stage, the bitmap in a visible state is created as it is, and the creation of data is simple. In the case of continuously displaying numerical values, symbols, and the like (vertical scroll), it is only necessary to form a bitmap continuously so that the fluctuating display is visible. Next, the bitmap data thus formed is rotated by 180 degrees. Then, the data rotated by 180 degrees is read in order from the top as it is, and stored sequentially from the lower address to the upper address of the memory. At this time, the left side of the bit map of the data rotated by 180 degrees is the upper bit as in the case of the normal binary number display.

【実施例】【Example】

以下、本発明を具体的な一実施例に基づいて説明す
る。 第1図はパチンコ機の変動装置に使用されている3桁
のドットマトリックス型の表示装置である。 表示装置は3つの表示部1,2,3から成り、各表示部1,
2,3は、それぞれ、LEDから成る8×8のドットマトリッ
クスで構成され、デューティ比1/16でダイナミック駆動
されている。 表示部1等の水平方向に対しては、左から右にかけ
て、ビット座標X0〜X7が割り当てられ、垂直方向に対し
ては、下から上にかけて、ビット座標Y0〜Y7のビット座
標が割り当てられている。 表示は1行づつ行い、その表示行が下から上にかけて
順次選択されていく。表示行の選択は、表示部1、2に
おいてはドライバ7の出力の選択信号で行われ、表示部
3においてはドライバ6の出力の選択信号で行われる。
ドライバ6,7の選択信号が「1」となっている行が選択
行となる。ドライバ6,7の総選択信号数16のうち、1つ
の選択信号のみが選択状態を示す「1」状態となる。そ
して、表示部1,2の表示行は同時に制御され、下方行Y0
から順に上方向に向かって選択され、最上方行Y7が選択
されると、次に、表示部3の下方行Y0から最上方向Y7に
かけて選択される。そして、表示部3の最上位行Y7が選
択されると、再度、表示部1,2の最下方行が選択され
る。このようなサイクルで表示行が順次選択される。 選択行の横方向のドット表示は、表示部1,3がドライ
バ5の出力パターン、表示部2がドライバ4の出力パタ
ーンに応じて行われる。 ドライバ4,5は8ビットの出力ポートを2つ持ちその
出力ポートを選択できる並列インタフェース8に接続さ
れており、ドライバ6,7は同じく8ビットの出力ポート
を2つ持ちその出力ポートを選択できる並列インタフェ
ース9に接続されている。そして、それらの並列インタ
フェース8,9はマイクロコンピュータ10のデータバスに
接続されている。そして、マイクロコンピュータ10の出
力する選択信号で、マイクロコンピュータ10の出力デー
タを並列インタフェース8か並列インタフェース9かの
何れに入力するかということと、各インタフェース8,9
に接続されているどのドライバにビットマップデータを
出力するかということが選択される。又、マイクロコン
ピュータ10には表示データや他の制御プログラム等を記
憶したROM12と定数、他のデータ等を記憶するRAM11が接
続されている。 したがって、並列インタフェース8から1つの表示部
に対して8ビットのデータを選択信号の切り換えに同期
して出力することで、表示部の下から順にパターンを表
示することができる。 次に、ROM12に形成するビットマップデータの作成方
法について説明する。ゲーム制御に関連する周辺装置に
ついては省略してある。 まず、第2図に示すように、表示部1の表示パターン
に関して、表示ドットを「1」で、非表示ドットを
「0」で表し、且つ、表示を連続的に変化させる場合に
は、その表示の変化を見える通りにビットマップデータ
を作成する。 本実施例では、表示部1の表示パターンは「0」,
「1」,…「9」,「A」,…「」の16パターンで構
成されている。そして、表示の順序を「0」から「」
の順序で下向きにスクロールしているので、ビットマッ
プは「」から「0」にかけて、紙面上、上方から下方
にかけて帯状に作成される。 この第2図のように作成された「1」で形成されたパ
ターンが正立の実際の可視表示パターンとなり、下方の
パターンから上方のパターンにかけて、順に連続的に表
示される。 次に、第2図のビットマップデータを紙面上で180度
回転させて、第3図のデータを得る。 第3図のデータにおいて、1つの8ビットデータは通
常の2進数表示と同じく、左方向を上位ビットとし右方
向を下位ビットとする2進表示のデータと見做す。そし
て、第3図のデータの上方から順に、メモリ上の下位ア
ドレスのデータ、即ち、記憶アドレス番号の若いアドレ
スのデータとして、メモリ上に入力し記憶させる。 同様に、表示部2,3の表示パターンに関するビットマ
ップデータを作成して、ROM12の所定領域にそのデータ
を記憶する。 次に、マイクロコンピュータ10を使って、表示を変動
させる場合の、マイクロコンピュータ10の処理手順を第
4図を参照して説明する。 第4図のプログラムは所定の走査周期毎に割込によっ
て起動される。但し、変動表示開始の最初の実行サイク
ルだけステップ100の初期設定ステップが実行され、そ
の後の実行サイクルでは、ステップ102以下から実行が
開始される。 ステップ100では、各表示部のビットマップデータを
読み取るアドレス、即ち、データポインタDP1,DP2,DP3
が先頭の最下位アドレスに初期設定される。又、選択信
号を作成する選択信号データSDは16ビット2進数の
「1」に初期設定され、表示部の走査回数を記憶する走
査カウンタnが1に初期設定される。 次に、ステップ102へ移行して、選択信号データSDが
出力され、「1」となっているビットに対応した行が選
択行とされる。尚、選択行は後述する選択信号データSD
のビット左シフト操作により下方行から順に選択され
る。尚、選択信号データSDの出力の前に並列インタフェ
ース8,9の出力をクリアしておくと、表示のにじみがな
くなり、好ましい。 次に、ステップ104へ移行して、走査カウンタnの値
が8以下か否かが判定され、走査カウンタnの値が1以
上8以下である場合には、表示部1,2が制御され、9以
上16以下の場合には、表示部3が制御される。したがっ
て、走査カウンタnの値が8以下の場合には、ステップ
106へ移行して、表示部1,2に、それぞれ、データポイン
タDP1,DP2の示すビットマップデータ(DP1),ビットマ
ップデータ(DP2)が出力されて表示される。又、走査
カウンタnの値が9より大きい場合には、ステップ110
へ移行して、表示部3にデータポインタDP3の示すビッ
トマップデータ(DP3)が出力されて表示される。例え
ば、表示部1であれば、最下位アドレス(0000)のデー
タ(3E)が出力され、Y0行にそのビットパターンが表示
される。 次に、ステップ108又は112において、データポインタ
DP1,DP2,DP3が、それぞれ、1だけ加算更新される。 次に、ステップ114に移行して、走査カウンタnの値
が16に等しいか否かが判定される。走査カウンタnの値
が16でない場合には、ステップ118へ移行して、走査カ
ウタンnを1加算更新し、選択行を次の上の行とするた
めに、選択信号データSDを1ビット左へシフトさせる。
次に、ステップ124でデータポインタDP1,DP2,DP3がビッ
トマップデータを記憶したメモリの最終アドレスを越え
ているか否かが判定され、越えていない場合には、本プ
ログラムが終了し、所定時間が経過した後、ステップ10
2から同様な処理が繰り返される。 このようにして、表示部1では、アドレス(0000)の
データ(3E)が最下行Y0に表示され、アドレス(0001)
のデータ(63)がY1行に表示され、同様に繰り返され
て、アドレス(0007)のデータ(00)が最上行Y7に表示
される。この時、データの第0ビットが表示部のX0ドッ
トに表示され、同様に、データの第7ビットが表示部の
X7ドットに表示される。 このようにして、1つの表示パターン「0」が表示部
1に表示されることになる。他の表示部2,3についても
同様である。 一方、ステップ114で走査カウンタnの値が16に等し
い場合には、表示部1,2,3の1サイクルの表示が完了し
たことを意味している。 したがって、走査カウンタnの値が16の場合にはステ
ップ116へ移行して、走査カウンタnを1に初期設定
し、現在のデータポインタDP1,DP2,DP3から7を減算す
ることで、次のサイクルでの最下行Y0に表示されるビッ
トマップデータを特定する。例えば、表示部1では次の
サイクルでは最下行Y0から最上行Y7の間に、アドレス
(0001)のデータ(63)からアドレス(0008)のデータ
(3E)が表示される。 以下、同様に、次のサイクルではアドレス(0002)の
データ(63)からアドレス(0009)のデータ(18)が表
示される。このように、表示サイクル毎に、次々に、最
下行に表示すべきデータのアドレスが加算更新されてゆ
くことで、例えば、表示部1の表示は、「0」から順に
「」まで変化し、その後又、「0」から繰り返され
る。 最後のパターンの表示が完了すると、その表示パター
ンを最初の「0」に戻すために、ステップ124でデータ
ポインタDP1,DP2,DP3の値がビットマップデータの最終
アドレスより大きいか否かが判定され、最終アドレスよ
りも大きくなると、ステップ126でデータポインタDP1,D
P2,DP3の値のうち最終アドレスより大きくなったものの
みが先頭アドレス(0000)に初期設定される。 しかしながら、最終データの表示から最初のデータの
表示に移行する過程での表示サイクルでは、ステップ12
6でデータポインタDP1,DP2,DP3が最終アドレスを越える
毎に初期アドレスに設定私直されるので、ステップ116
で演算された後のデータポインタDP1,DP2,DP3の内で、
初期アドレスより小さい値を示すものがある。したがっ
て、ステップ120でデータポインタDP1,DP2,DP3の内で初
期アドレスより小さい値を示すものがあるか否かが判定
される。そして、ステップ122で、条件を満たすデータ
カウンタDPnに対して、 DPn=最終アドレス+1−(初期アドレス−DPn)の補正
演算が実行される。 尚、スクロールしない場合には、ステップ116でDPn=
DPn−8とすれば良い。 又、変動の停止時には、決定されたモードに対応した
乱数を表示する関係から、スクロールを停止する前に乱
数の表示パターンの記憶されているメモリの先頭アドレ
スにデータポインタを設定することで、必要な表示パタ
ーンで停止させることができる。
Hereinafter, the present invention will be described based on a specific example. FIG. 1 shows a three-digit dot matrix type display device used in a pachinko machine variation device. The display device comprises three display units 1, 2, 3;
Each of 2 and 3 is composed of an 8 × 8 dot matrix composed of LEDs, and is dynamically driven at a duty ratio of 1/16. In the horizontal direction of the display unit 1 and the like, bit coordinates X0 to X7 are assigned from left to right, and in the vertical direction, bit coordinates of bit coordinates Y0 to Y7 are assigned from bottom to top. I have. The display is performed line by line, and the display lines are sequentially selected from bottom to top. The display row is selected by the output selection signal of the driver 7 in the display units 1 and 2, and is selected by the output selection signal of the driver 6 in the display unit 3.
The row in which the selection signal of the drivers 6 and 7 is “1” is the selected row. Only one of the 16 selected signals of the drivers 6 and 7 becomes the “1” state indicating the selected state. The display rows of the display units 1 and 2 are simultaneously controlled, and the lower row Y0
When the top row Y7 is selected in order from the top, and then the top row Y7 is selected, the selection is made from the bottom row Y0 of the display unit 3 to the top direction Y7. Then, when the top row Y7 of the display unit 3 is selected, the bottom row of the display units 1 and 2 is selected again. Display rows are sequentially selected in such a cycle. The dots in the horizontal direction of the selected row are displayed on the display units 1 and 3 in accordance with the output pattern of the driver 5 and on the display unit 2 in accordance with the output pattern of the driver 4. The drivers 4 and 5 are connected to a parallel interface 8 which has two 8-bit output ports and can select the output port, and the drivers 6 and 7 also have two 8-bit output ports and can select the output port. It is connected to the parallel interface 9. The parallel interfaces 8, 9 are connected to the data bus of the microcomputer 10. The selection signal output from the microcomputer 10 indicates whether the output data of the microcomputer 10 is to be input to the parallel interface 8 or the parallel interface 9, and whether each of the interfaces 8, 9
The driver to which the bitmap data is to be output is selected. Further, the microcomputer 10 is connected to a ROM 12 storing display data and other control programs and the like and a RAM 11 storing constants, other data and the like. Therefore, by outputting 8-bit data to one display unit from the parallel interface 8 in synchronization with the switching of the selection signal, a pattern can be displayed in order from the bottom of the display unit. Next, a method of creating bitmap data formed in the ROM 12 will be described. Peripheral devices related to game control are omitted. First, as shown in FIG. 2, regarding the display pattern of the display unit 1, when the display dot is represented by “1” and the non-display dot is represented by “0”, and when the display is continuously changed, Create bitmap data so that changes in the display can be seen. In this embodiment, the display pattern of the display unit 1 is “0”,
It is composed of 16 patterns of “1”,... “9”, “A”,. Then, the display order is changed from "0" to "".
, The bitmap is formed in a band shape from "" to "0" on the paper surface and from above to below. The pattern formed by "1" formed as shown in FIG. 2 is an actual erect visible display pattern, and is displayed continuously in order from the lower pattern to the upper pattern. Next, the bit map data shown in FIG. 2 is rotated 180 degrees on the paper to obtain the data shown in FIG. In the data shown in FIG. 3, one 8-bit data is regarded as binary display data having upper bits in the left direction and lower bits in the right direction, as in a normal binary number display. Then, in order from the top of the data shown in FIG. 3, data of a lower address on the memory, that is, data of an address having a lower storage address number is input and stored in the memory. Similarly, bitmap data relating to the display patterns of the display units 2 and 3 is created, and the data is stored in a predetermined area of the ROM 12. Next, the processing procedure of the microcomputer 10 when the display is changed using the microcomputer 10 will be described with reference to FIG. The program shown in FIG. 4 is started by interruption every predetermined scanning period. However, the initial setting step of step 100 is executed only in the first execution cycle of the start of the variable display, and in subsequent execution cycles, the execution is started from step 102 and on. In step 100, the address for reading the bitmap data of each display unit, that is, the data pointers DP1, DP2, DP3
Is initialized to the lowest address at the beginning. The selection signal data SD for creating the selection signal is initialized to 16-bit binary "1", and the scanning counter n for storing the number of scans of the display unit is initialized to 1. Next, the process proceeds to step 102, where the selection signal data SD is output, and the row corresponding to the bit of “1” is set as the selected row. The selected row is the selection signal data SD described later.
Are sequentially selected from the lower row. Note that it is preferable to clear the output of the parallel interfaces 8 and 9 before outputting the selection signal data SD, because display bleeding does not occur. Next, proceeding to step 104, it is determined whether or not the value of the scan counter n is 8 or less. When the value of the scan counter n is 1 or more and 8 or less, the display units 1 and 2 are controlled, In the case of 9 or more and 16 or less, the display unit 3 is controlled. Therefore, if the value of the scan counter n is 8 or less, the step
The process proceeds to 106, where the bitmap data (DP1) and the bitmap data (DP2) indicated by the data pointers DP1 and DP2 are output and displayed on the display units 1 and 2, respectively. On the other hand, if the value of the scan counter n is greater than 9, step 110
Then, the bitmap data (DP3) indicated by the data pointer DP3 is output to the display unit 3 and displayed. For example, in the case of the display unit 1, the data (3E) of the lowest address (0000) is output, and the bit pattern is displayed on the Y0 line. Next, in step 108 or 112, the data pointer
DP1, DP2, and DP3 are each added and updated by one. Next, the routine proceeds to step 114, where it is determined whether the value of the scan counter n is equal to 16. If the value of the scan counter n is not 16, the process proceeds to step 118, where the scan counter n is incremented by one, and the selection signal data SD is shifted left by one bit in order to make the selected row the next upper row. Shift.
Next, at step 124, it is determined whether or not the data pointers DP1, DP2, DP3 have exceeded the last address of the memory storing the bitmap data. If not, the program is terminated and the predetermined time has elapsed. After that, step 10
A similar process is repeated from 2. Thus, on the display unit 1, the data (3E) of the address (0000) is displayed on the bottom row Y0, and the address (0001) is displayed.
Is displayed on the Y1 line, and the same is repeated, and the data (00) at the address (0007) is displayed on the uppermost line Y7. At this time, the 0th bit of the data is displayed on the X0 dot of the display, and the 7th bit of the data is similarly displayed on the display.
Displayed on X7 dots. Thus, one display pattern “0” is displayed on the display unit 1. The same applies to the other display units 2 and 3. On the other hand, if the value of the scan counter n is equal to 16 in step 114, this means that the display of one cycle on the display units 1, 2, and 3 has been completed. Therefore, if the value of the scan counter n is 16, the process proceeds to step 116, where the scan counter n is initialized to 1 and the current data pointers DP1, DP2, DP3 are subtracted by 7 from the next cycle. Specify the bitmap data displayed in the bottom line Y0 in. For example, the display unit 1 displays data (3E) at the address (0001) to data (0008) at the address (0001) between the bottom row Y0 and the top row Y7 in the next cycle. Hereinafter, similarly, in the next cycle, the data (63) of the address (0002) to the data (18) of the address (0009) are displayed. As described above, the address of the data to be displayed in the bottom row is sequentially added and updated in each display cycle, so that the display of the display unit 1 changes from “0” to “” in order, for example. Thereafter, it is repeated from "0". When the display of the last pattern is completed, in order to return the display pattern to the initial "0", it is determined in step 124 whether the value of the data pointers DP1, DP2, DP3 is larger than the last address of the bitmap data. , When it becomes larger than the final address, the data pointers DP1, D
Only the values of P2 and DP3 that are larger than the last address are initialized to the first address (0000). However, in the display cycle during the transition from the display of the last data to the display of the first data, the step 12
In step 6, each time the data pointers DP1, DP2, DP3 exceed the final address, they are set to the initial address and reset.
Of the data pointers DP1, DP2, DP3 after being calculated by
Some indicate a value smaller than the initial address. Therefore, in step 120, it is determined whether or not any of the data pointers DP1, DP2, DP3 indicates a value smaller than the initial address. Then, in step 122, a correction operation of DPn = final address + 1- (initial address-DPn) is performed on the data counter DPn satisfying the condition. If scrolling is not performed, DPn =
DPn-8 may be used. Also, when the fluctuation is stopped, it is necessary to set a data pointer to the head address of the memory where the display pattern of the random number is stored before stopping the scrolling, because the random number corresponding to the determined mode is displayed. Can be stopped with a simple display pattern.

【発明の効果】【The invention's effect】

本発明は、2次元ドットマトリックスの表示画面にお
ける水平方向に対しては左から右方向のドットにかけ
て、ビットマップを記憶したメモリの下位ビットから上
位ビットへ対応させ、垂直方向に対しては下から上方向
のドットにかけて、前記メモリの下位アドレスから上位
アドレスに対応させて表示する2次元表示装置における
前記メモリに記憶されるビットマップの作成方法におい
て、表示画面での表示状態に対応する表示パターンのビ
ットマップを形成し、そのビットマップを180度回転さ
せて、その回転されたビットマップの上から順に下位ア
ドレスから上位アドレスに記憶させているので、表示の
ためのビットマップデータの作成が極めて簡単となると
いう効果を有している。又、このビットマップデータを
下位アドレスから上位アドレスかけて、順に読み出し
て、直接表示部の1行当たりの表示パターンとすること
ができるので、ビットマップの変換等の処理をしなくて
も良くなるため、コンピュータの負荷が軽減されるとう
い効果を有する。 又、ビットマップデータのダンプリストを上下逆にし
て見ることにより、イメージの確認が容易となるため、
ビットマップデータの手直しが簡単となる。
According to the present invention, in a display screen of a two-dimensional dot matrix, from the left to the right in the horizontal direction, the lower bit to the upper bit of the memory storing the bit map correspond to each other, and from the bottom in the vertical direction. In a method of creating a bitmap stored in the memory in a two-dimensional display device that displays an upper dot in correspondence with a lower address to an upper address of the memory, a display pattern corresponding to a display state on a display screen is provided. Bitmap is formed, the bitmap is rotated 180 degrees, and the rotated bitmap is stored from the lower address to the upper address in order from the top, so it is extremely easy to create bitmap data for display It has the effect of becoming. In addition, since the bitmap data can be read out sequentially from the lower address to the upper address, and can be directly used as a display pattern per one line of the display unit, there is no need to perform processing such as bitmap conversion. Therefore, there is an effect that the load on the computer is reduced. In addition, by checking the dump list of bitmap data upside down, it becomes easy to confirm the image,
The bitmap data can be easily modified.

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

第1図は本発明の具体的な一実施例にかかるデータ作成
方法によって駆動される表示装置の構成を示した回路
図。第2図は可視表示に対応して作成されたビットマッ
プデータを示した説明図。第3図はそのビットマップデ
ータを180度回転したメモリに記憶されるデータを示し
た説明図。第4図は表示装置のコンピュータの表示動作
を示したフローチャートである。 1,2,3……表示部 8,9……並列インタフェース 10……マイクロコンピュータ 4〜7……ドライバ
FIG. 1 is a circuit diagram showing a configuration of a display device driven by a data creation method according to a specific embodiment of the present invention. FIG. 2 is an explanatory diagram showing bitmap data created corresponding to a visible display. FIG. 3 is an explanatory diagram showing data stored in a memory obtained by rotating the bitmap data by 180 degrees. FIG. 4 is a flowchart showing the display operation of the computer of the display device. 1,2,3 ... Display unit 8,9 ... Parallel interface 10 ... Microcomputer 4-7 ... Driver

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2次元ドットマトリックスの表示画面にお
ける水平方向に対しては左から右方向のドットにかけ
て、ビットマップを記憶したメモリの下位ビットから上
位ビットへ対応させ、垂直方向に対しては下から上方向
のドットにかけて、前記メモリの下位アドレスから上位
アドレスに対応させて表示する2次元表示装置における
前記メモリに記憶されるビットマップの作成方法におい
て、 前記表示画面での表示状態に対応する表示パターンのビ
ットマップを形成し、 そのビットマップを180度回転させて、その回転された
ビットマップの上から順に下位アドレスから上位アドレ
スに記憶させることを特徴とする2次元表示装置のデー
タ作成方法。
1. A two-dimensional dot matrix display screen, in which dots extend from left to right in the horizontal direction with respect to the horizontal direction, from lower bits to upper bits of the memory storing the bit map, and lower bits in the vertical direction. A method for creating a bitmap stored in the memory in a two-dimensional display device that displays from the lower address of the memory to the upper address from the dot to the upper dot, the display corresponding to the display state on the display screen A data creating method for a two-dimensional display device, comprising forming a bit map of a pattern, rotating the bit map by 180 degrees, and storing the rotated bit map in order from a lower address to an upper address.
JP1154878A 1989-06-16 1989-06-16 Data creation method for two-dimensional display device Expired - Fee Related JP2597338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1154878A JP2597338B2 (en) 1989-06-16 1989-06-16 Data creation method for two-dimensional display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1154878A JP2597338B2 (en) 1989-06-16 1989-06-16 Data creation method for two-dimensional display device

Publications (2)

Publication Number Publication Date
JPH0318387A JPH0318387A (en) 1991-01-25
JP2597338B2 true JP2597338B2 (en) 1997-04-02

Family

ID=15593920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1154878A Expired - Fee Related JP2597338B2 (en) 1989-06-16 1989-06-16 Data creation method for two-dimensional display device

Country Status (1)

Country Link
JP (1) JP2597338B2 (en)

Also Published As

Publication number Publication date
JPH0318387A (en) 1991-01-25

Similar Documents

Publication Publication Date Title
KR910005366B1 (en) Crt/plasma display controller
JPH10510068A (en) Circuit, system and method for memory mapping and display control system using the same
IE52210B1 (en) Display controlling apparatus
US6396464B2 (en) Liquid-crystal display control apparatus
JP2797435B2 (en) Display controller
US6778169B1 (en) Controller driver for display device and driving method thereof
JPS642955B2 (en)
JP2597338B2 (en) Data creation method for two-dimensional display device
US5230066A (en) Microcomputer
JP3413611B2 (en) LCD display system
KR960003072B1 (en) Font data processing apparatus
JP2731166B2 (en) Programmable controller
JP2764927B2 (en) Gradation display control device
JPS62249193A (en) Image display controller
JPS59143473A (en) Dot interpolation type picture processor
JP2588309Y2 (en) Display control device
JP2642350B2 (en) Display control device
JPH03105386A (en) Controller for display device
EP0121810A2 (en) Microprocessor
JPH05334037A (en) Display system
JPH07113822B2 (en) Micro computer device
JPS59193491A (en) Character pattern expansion system
JPH087554B2 (en) Rewriting method of display color in bitmap type color display device
JPS62264097A (en) Crt display unit
JPH1185123A (en) Cursor display control circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees