JPS64712B2 - - Google Patents

Info

Publication number
JPS64712B2
JPS64712B2 JP54020881A JP2088179A JPS64712B2 JP S64712 B2 JPS64712 B2 JP S64712B2 JP 54020881 A JP54020881 A JP 54020881A JP 2088179 A JP2088179 A JP 2088179A JP S64712 B2 JPS64712 B2 JP S64712B2
Authority
JP
Japan
Prior art keywords
signal
address
display ram
data
display
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
JP54020881A
Other languages
Japanese (ja)
Other versions
JPS55115134A (en
Inventor
Kazuo Okada
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.)
Universal KK
Original Assignee
Universal KK
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 Universal KK filed Critical Universal KK
Priority to JP2088179A priority Critical patent/JPS55115134A/en
Publication of JPS55115134A publication Critical patent/JPS55115134A/en
Publication of JPS64712B2 publication Critical patent/JPS64712B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はグラフイツクデイスプレイの画面反転
方式に関するものである。 グラフイツクデイスプレイ例えばテレビゲーム
機は、CRTに画像を表示し、外部操作部材で画
像を動かしてゲームを行なうようになつている。
このテレビゲーム機には、縦型(アツプライト
型)とテーブル型とがある。 テーブル型テレビゲーム機では、画面を反転し
てテーブルの内側からゲームを行なうことができ
るようになつている。 この画面反転は、CRTの上下に配された2個
の垂直偏向コイルと、左右に配された2個の水平
偏向コイルとに印加される電圧をそれぞれ切り換
えてラスタを逆に描かせることにより行なつてい
る。しかしこの画面反転方式では、高圧の偏向電
圧をリレーで切り換えているため、このリレーの
接点がすぐに破損してしまうという難点がある。 本発明は上記欠点を解決するものであり、表示
RAMからパターンデータを読み出す際に、逆に
読み出すことによつて画面を反転させることがで
きるようにした画面反転方式を提供することを目
的とするものである。 本発明においては、CRTの他に発光体を多数
並設したデイスプレイ等にも利用することができ
る。 以下、図面を参照して本発明の実施例について
詳細に説明する。 第1図は本案装置の概略を示すブロツク図であ
る。ROM1には、テレビゲームのプログラムが
書き込まれている。このROM1を他の回路と離
して別の基板上に設け、これをコネクタ等で着脱
自在にすれば、ROM基板を取り換えるだけで別
のゲームを行なうことが可能である。 ROM2は、データを一時記憶させておくもの
である。CPU3は、ROM1に書かれたプログラ
ムを遂次実行し、データの処理を行なつたり、
CRUデコード部4との間でのデータのやりとり
を制御する。 CRU(ブラウン管)5は、1フレームが256本
の走査線で構成され、各走査線は256個のドツト
を含んでいる。したがつてCRT5の表示画面は、
走査線方向であるX方向に256、走査線方向と直
角なY方向に256、総計65536ドツトで1フレーム
を表示する。 これらの各ドツトに表示されるデータは、表示
RAM6に書き込まれている。表示RAM6は、
カラー表示を行なうためにプレーンが3組設けら
れている。表示RAM6の各プレーンには、8ビ
ツトのダイナミツクRAMが用いられており、少
なくとも8192個のアドレスがある。CRT5の表
示画面で考えると、X方向に32、Y方向に256と
なり、これで区画したブロツク毎にアドレツシン
グされている。すなわち、X方向の位置を示す5
ビツトと、Y方向の位置を示す8ビツトで表示
RAM6のアドレスが指定される。 前記表示RAM6に書かれているデータは、1
バイト毎に読み出され、並一直変換回路7に送ら
れる。この並一直変換回路7は、3組のパラレル
ラツチ回路から構成され、この各パラレルラツチ
回路は表示RAM6から転送されてきた1バイト
(8ビツト)のデータをラツチし、タイミングモ
ジユール8からの信号Aによつて順次送り出して
直列信号に変換する。3組のパラレルラツチ回路
からそれぞれ出力された信号は、カラー変換用
PROMに入力され、ここでCRUデコード部4か
ら入力された3ビツトのカラーコード信号Bによ
り、青色、緑色、赤色の3色のカラービデオ信号
Cに変換される。この3色のカラービデオ信号C
と、同期回路9からの同期信号DとがCRT5に
入力され、表示画面にカラー画像を表示する。 パターンROM10には、CRTに表示される
個々の画像パターン(例えば飛行機、自動車、ピ
ンポン玉)が転送順に書き込まれている。このパ
ターンROM10には、8ビツトのEP−ROMが
用いられており、各バイト毎にアドレツシングさ
れている。 このパターンROM10は、パターンROMア
ドレスカウンタ11からのアドレス信号Eで読み
出すべきアドレスが指定される。このアドレス信
号Eは、13ビツトのコード信号である。読み出さ
れた8ビツトのデータFは、シフタ12を介して
表示RAMアドレスカウンタ13で指定された表
示RAM6のアドレスに書き込まれる。 前記表示RAM6への書き込みは、バイト(8
ビツト)単位であるから、画像パターンの書込み
がバイト単位になつてしまう。そこで前記シフタ
13を設けて、バイト内でのデータの位置を変え
るとともに、シフト量に応じて、前半と後半とに
分けて2度書きすることにより、画像パターンの
ドツト単位の移動を可能にしている。 前記パターンROMアドレスカウンタ11に
は、CRUデコード部4から13ビツトのパターン
ROMスタートアドレス信号Gと、1ビツトのア
ドレスフイツクス信号Hとが入力され、またレン
グスカウンタ14からの初期値セツト信号Iが入
力される。この初期値セツト信号Iは、表示
RAM6の書込みが2度書きであるため、パター
ンROMアドレスカウンタ11と表示RAMアド
レスカウンタ13に、ラツチされていた初期値を
再ロードするために用いられる。前記パターン
ROMスタートアドレス信号Gは、書き込みを行
なう画像パターンを記録したパターンROMの先
頭アドレスを指定し、レングスカウンタ14から
のクロツク信号J(H4クロツク信号)Jによつて
カウントアツプし、パターンROM10のデータ
を読み出す。パターンROMアドレスフイツクス
信号Hは、これが「1」のときにパターンROM
アドレスカウンタ11の動作を停止し、そして
「0」のときにカウント動作を行なう。したがつ
て、画面を消去するときには、ブランクになつて
いるパターンROM10のアドレスを指定し、パ
ターンROMアドレスフイツクス信号Hを「1」
にしておく。 表示RAMアドレスカウンタ13は、書込時に
表示ROM6のアドレスを指定する。この表示
RAMアドレスカウンタ13は、パターンROM
10に書き込まれている画像パターンを表示
RAM6に書き込む際に、その書込む位置(アド
レス)を指定する。そしてこの書込時に、CRU
デコード部4から、先頭アドレスを指定する表示
RAMスタート信号Kと、二度書きであるため、
元のアドレスにスツトするための初期値セツト信
号Iも入力される。前記表示RAMスタートアド
レス信号KはCRUデコード部4から16ビツトで
出力され、そのうちの13ビツトが用いられ、残り
の3ビツトはシフタ12に送られてビツト単位の
移動に使用される。 レングスカウンタ14は、CRT5に表示され
る個々の画像パターンの大きさを指定するもので
あり、バイト数をカウントするXカウンタと走査
線数をカウントするYカウンタから構成されてい
る。このレングスカウンタ14には、CRUデコ
ード部4から8ビツトのXレングス信号Lと、8
ビツトのYレングス信号Mとが入力される。また
CRUデコード部4から書込開始を指定するロー
ド信号Nが入力される。このレングスカウンタ1
4からは、指定された画像パターン(例えば一台
の自動車)の書込完了を示すBUSY信号Oが出
力され、この信号OがCRUデコード部4と表示
RAMカウンタ15に送られる。 前記表示RAMカウンタ15は、タイミングモ
ジユール8のクロツク信号PとCRUデコード部
4からのプレーンセレクト信号Qとを入力し、チ
ツプイネーブル信号Rとライトイネーブル信号S
とデータセツト信号Tを作る。チツプイネーブル
信号R、ライトイネーブル信号Sデータセツト信
号Tは、10、8MHz、5、4MHz、H1、H2を2進
→8進デコーダで分周して作られる。 チツプイネーブル信号Qは、表示モード時に、
3種類の表示RAM6の全てに出力されるが、書
込みモード時においては、プレーンセレクトが
「0」に指定されたプレーンの表示RAM6にの
み出力される。 ライトイネーブル信号Sは、書込モードと書込
み状態か否かでNANDをとり、として出力す
る。なお、アクセス可能な表示RAM6のアドレ
スは、213であるから、表示RAMアドレスカウン
タ13の214のビツトが「1」になつたときに、
ライトイネーブルSを止めて書込みを禁止する。 前記タイミングモジユール8は、10、8MHz、
5、4MHz、H1(2、7MHz)、H2、H4、H8、
H16、H32、H64、H128、V1、V2、V8、V16、
V32、V64、V128、のクロツク信号を出力する。
これらのクロツク信号は、10、8MHzの原発振を
1/2ずつ分周することによつて作られる。 表示・書込セレクタ16は、タイミングモジユ
ール8からのクロツク信号H4によつて表示と書
込みの2種類のモードに切り換える。表示モード
のときには、タイミングモジユール8で指定され
たアドレス信号Uにより表示RAM6のアドレス
を指定し、これに書き込まれているデータを読み
出してCRT5に表示する。書込モードのときに
は、表示RAMアドレスカウンタ13で指定され
たアドレス信号Vにより書込むべき表示RAM6
のアドレスを指定し、このアドレスにパターン
ROM10からのデータを書き込む。 したがつて、書込時にはCRUデコード部4か
らのアドレス信号Vによつて画像パターンのデー
タを所望のアドレスに書き込み、読出時にはタイ
ミングモジユール8からのアドレス信号Uによつ
て表示RAM6の全てのアドレスをアドレツシン
グする。 テーブルタイプのテレビゲーム機では、テーブ
ルの両側にゲーム者がいるため、テレビ画面を反
転させる必要がある。これは、CRUデコード部
4からの反転信号Wを用い、表示RAMアドレス
カウンタ13のアドレスを反転させ、かつ表示に
当つては並一直変換回路7での読出しを逆に、す
なわち最下位ビツトから読み出すことにより、画
像反転を行なうことができる。 第2図は本発明の要部を示すブロツク図であ
る。パターンROM10から読み出したデータ
は、8個のシフトレジスタ12a〜12hに入力
され、その入力信号を選択することにより、デー
タがシフトされる。ビツト単位でシフトされたデ
ータは、チツプイネーブル信号Rによつて選択さ
れた3種類の表示RAMプレーン6a,6b,6
cのいずれか1つに入力される。そして表示
RAMプレーン6a〜6cのアドレスは、表示・
書込セレクタ16で選択されたアドレス信号Vで
指定される。なお書込時にはライトイネーブル信
号Sが「0」になり、表示時にはこれが「1」に
なる。 表示RAMスタートアドレス信号Kは、16ビツ
トであり、そのうちの3ビツトでデータビツト単
位の移動を行なう。すなわち、この3ビツトの信
号は、シフタ12a〜12hと、ROM20の論
理表は次に示されている
The present invention relates to a screen reversal method for graphic displays. Graphic displays, such as video game machines, display images on a CRT, and play games by moving the images using external operating members.
There are two types of video game machines: a vertical type (upright type) and a table type. In tabletop video game machines, the screen can be flipped over to allow games to be played from inside the table. This screen reversal is performed by switching the voltages applied to the two vertical deflection coils placed above and below the CRT and the two horizontal deflection coils placed on the left and right to draw the raster in reverse. It's summery. However, this screen reversal method uses a relay to switch the high deflection voltage, which has the disadvantage that the relay's contacts can easily break. The present invention solves the above-mentioned drawbacks and displays
It is an object of the present invention to provide a screen reversal method that allows the screen to be reversed by reading pattern data in the opposite direction when reading pattern data from a RAM. The present invention can be used not only for CRTs but also for displays in which a large number of light emitters are arranged side by side. Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the outline of the present device. A video game program is written in ROM1. If this ROM 1 is provided on a separate board, separated from other circuits, and made detachable using a connector or the like, it is possible to play a different game simply by replacing the ROM board. ROM2 is for temporarily storing data. The CPU 3 sequentially executes programs written in the ROM 1 and processes data.
Controls data exchange with the CRU decoding unit 4. One frame of the CRU (cathode ray tube) 5 consists of 256 scanning lines, and each scanning line includes 256 dots. Therefore, the display screen of CRT5 is
One frame is displayed with 256 dots in the X direction, which is the scanning line direction, and 256 dots in the Y direction, which is perpendicular to the scanning line direction, for a total of 65,536 dots. The data displayed on each of these dots is
It is written to RAM6. The display RAM6 is
Three sets of planes are provided for color display. Each plane of display RAM 6 uses 8-bit dynamic RAM and has at least 8192 addresses. When considered on the display screen of a CRT 5, there are 32 addresses in the X direction and 256 addresses in the Y direction, and addressing is done for each divided block. In other words, 5 indicates the position in the X direction.
Displayed in bits and 8 bits indicating the position in the Y direction
The address of RAM6 is specified. The data written in the display RAM 6 is 1
Each byte is read out and sent to the parallel-to-serial conversion circuit 7. This parallel-to-linear converter circuit 7 is composed of three sets of parallel latch circuits, each of which latches 1 byte (8 bits) of data transferred from the display RAM 6, and outputs a signal from the timing module 8. A is sent out sequentially and converted into a serial signal. The signals output from each of the three parallel latch circuits are used for color conversion.
The 3-bit color code signal B input from the CRU decoder 4 is input to the PROM, and converted into a color video signal C of three colors: blue, green, and red. These three color video signals C
and the synchronizing signal D from the synchronizing circuit 9 are input to the CRT 5, and a color image is displayed on the display screen. In the pattern ROM 10, individual image patterns (for example, airplanes, cars, ping pong balls) to be displayed on the CRT are written in the order of transfer. This pattern ROM 10 uses an 8-bit EP-ROM, and each byte is addressed. In this pattern ROM 10, an address to be read is designated by an address signal E from a pattern ROM address counter 11. This address signal E is a 13-bit code signal. The read 8-bit data F is written via the shifter 12 to the address of the display RAM 6 specified by the display RAM address counter 13. Writing to the display RAM 6 is byte (8
Since the image pattern is written in units of bytes (bits), the image pattern is written in bytes. Therefore, the shifter 13 is provided to change the position of data within a byte, and to write twice in the first half and second half according to the amount of shift, thereby making it possible to move the image pattern dot by dot. There is. The pattern ROM address counter 11 receives a 13-bit pattern from the CRU decoder 4.
A ROM start address signal G, a 1-bit address fix signal H, and an initial value set signal I from the length counter 14 are input. This initial value set signal I is displayed as
Since the RAM 6 is written twice, it is used to reload the pattern ROM address counter 11 and display RAM address counter 13 with the latched initial values. Said pattern
The ROM start address signal G specifies the start address of the pattern ROM in which the image pattern to be written is recorded, is counted up by the clock signal J (H4 clock signal) J from the length counter 14, and the data in the pattern ROM 10 is counted up. read out. When the pattern ROM address fix signal H is “1”, the pattern ROM
The operation of the address counter 11 is stopped, and a counting operation is performed when the address counter 11 is "0". Therefore, when erasing the screen, specify the address of the blank pattern ROM 10 and set the pattern ROM address fix signal H to "1".
Keep it. The display RAM address counter 13 specifies the address of the display ROM 6 at the time of writing. This display
The RAM address counter 13 is a pattern ROM
Display the image pattern written in 10
When writing to RAM6, specify the writing location (address). And when writing this, CRU
Display for specifying the start address from decoding unit 4
Since it is written twice with the RAM start signal K,
An initial value set signal I for stopping to the original address is also input. The display RAM start address signal K is output from the CRU decoder 4 in 16 bits, of which 13 bits are used, and the remaining 3 bits are sent to the shifter 12 and used for bit-by-bit movement. The length counter 14 specifies the size of each image pattern displayed on the CRT 5, and is composed of an X counter that counts the number of bytes and a Y counter that counts the number of scanning lines. This length counter 14 receives an 8-bit X length signal L from the CRU decoder 4 and an 8-bit
A bit Y length signal M is input. Also
A load signal N designating the start of writing is input from the CRU decoding unit 4. This length counter 1
4 outputs a BUSY signal O indicating completion of writing of a specified image pattern (for example, one car), and this signal O is displayed as CRU decoding unit 4.
It is sent to RAM counter 15. The display RAM counter 15 receives the clock signal P of the timing module 8 and the plane select signal Q from the CRU decoder 4, and receives the chip enable signal R and the write enable signal S.
and generates a data set signal T. The chip enable signal R, the write enable signal S, and the data set signal T are generated by frequency-dividing 10, 8 MHz, 5, 4 MHz, H1, and H2 using a binary to octal decoder. The chip enable signal Q is
Although it is output to all three types of display RAM 6, in the write mode, it is output only to the display RAM 6 of the plane whose plane select is designated as "0". The write enable signal S is NANDed depending on the write mode and whether or not it is in the write state, and is output as. Note that the address of the display RAM 6 that can be accessed is 213 , so when the 214 bit of the display RAM address counter 13 becomes "1",
Stop write enable S to prohibit writing. The timing module 8 has a frequency of 10.8MHz,
5, 4MHz, H1 (2, 7MHz), H2, H4, H8,
H16, H32, H64, H128, V1, V2, V8, V16,
Outputs V32, V64, and V128 clock signals.
These clock signals are created by dividing the original oscillation frequency of 10.8 MHz by 1/2. The display/write selector 16 switches between two modes, display and write, in response to a clock signal H4 from the timing module 8. In the display mode, the address of the display RAM 6 is specified by the address signal U specified by the timing module 8, and the data written therein is read out and displayed on the CRT 5. In the write mode, the display RAM 6 to be written is selected by the address signal V specified by the display RAM address counter 13.
Specify the address of and apply the pattern to this address.
Write data from ROM10. Therefore, during writing, the image pattern data is written to a desired address using the address signal V from the CRU decoding section 4, and during reading, all addresses of the display RAM 6 are written using the address signal U from the timing module 8. Addressing. With table-type video game machines, there are players on both sides of the table, so it is necessary to flip the TV screen. This uses the inversion signal W from the CRU decoding unit 4 to invert the address of the display RAM address counter 13, and for display, reads out the parallel-to-serial conversion circuit 7 in the opposite direction, that is, reads out the least significant bit first. By doing so, image reversal can be performed. FIG. 2 is a block diagram showing the main parts of the present invention. Data read from the pattern ROM 10 is input to eight shift registers 12a to 12h, and the data is shifted by selecting the input signal. The data shifted bit by bit is sent to three types of display RAM planes 6a, 6b, 6 selected by the chip enable signal R.
c. and display
The addresses of RAM planes 6a to 6c are displayed and
It is specified by the address signal V selected by the write selector 16. Note that the write enable signal S becomes "0" during writing, and becomes "1" during display. The display RAM start address signal K has 16 bits, of which 3 bits are used to move in units of data bits. That is, this 3-bit signal is transmitted to the shifters 12a to 12h and the logic table of the ROM 20 is shown below.

【表】 このROM20によつて、データの前半部と後
半部に2分される。すなわち、表示RAMスター
トアドレス信号Kのうち3ビツトの信号が「111」
のときには、ビツト単位の移動は行なわず、その
まま表示RAM6に書き込まれ、そして「000」
のときには移動が最も大きく、表示RAM6のス
タートアドレスには、データの最初の1ビツト分
が書き込まれ、そして残りは「256」だけずれた
アドレスに書き込まれる。 後述する1/2分周器32の出力信号Xは、その
出力が1回目の書込時に「1」になり、2回目に
「1」「0」になる。BUSY信号Oは、書込時に
「1」となり、またH4クロツク信号は書込時に
「0」になる。 したがつて、8ビツトのうち後3ビツト分を表
示RAM6の256だけずれたアドレスに書き込む
場合は、ROM20の出力端子D1〜D5が
「1」に、D6〜D8が「0」になるから、NOR
ゲート21a〜21の出力が「1」になり、
NORゲート21f〜21hの出力が「0」にな
る。なお図面ではNORゲート21b〜21gが
省略されている。この結果、チツプイネーブル信
号Rで選択された表示RAMプレーン例えば6a
のうち、NORゲート21f〜21hが接続され
たチツプだけが最初に書込みが可能になる。そし
て、このときに、シフタ12a〜12hにより、
パターンROM10の8ビツトのデータは、5番
目の入力端子を選択することによつて第3図のよ
うにシフトされている。すなわちシフタ12aの
出力が「0」、シフタ12bが「0」、シフタ12
cが「1」、シフタ12dが「0」、シフタ12e
が「0」、シフタ12gが「1」、シフタ12hが
「1」になつている。 そこで、第1回目の書込みに際し、シフタ12
d〜12hの出力が表示RAMプレーン6aの所
定のチツプに書き込まれる。第2回目の書込みに
際しては、表示RAMプレーン6aの々アドレス
が「256」だけ移動し、同時に1/2分周器32の出
力信号Xが「0」になるから、NORゲート21
a〜21Cの出力が「0」になり、これに接続さ
れたチツプだけにシフタ12a〜12cの出力が
書き込まれる。これにより、バイト単位に記憶さ
れていたデータが、ビツト単位にシフトされて表
示RAM6に書き込まれる。 各表示RAMプレーン6a〜6cに書き込まれ
たデータはH4クロツク信号による読出しモード
時に、読み出され並一直変換回路7a〜7cにそ
れぞれ入力された後、直列信号に変換されて出力
される。この直列信号は、カラー変換用ROM2
2に入力され、ここでカラービデオ信号Cに変換
される。このカラー変換用ROM22のコード表
は第2表に示されている。
[Table] This ROM 20 divides the data into the first half and the second half. In other words, the 3-bit signal of the display RAM start address signal K is "111".
When , the data is written to the display RAM 6 as is without any bit-by-bit movement, and then becomes "000".
When , the movement is the largest, and the first 1 bit of data is written to the start address of the display RAM 6, and the rest is written to an address shifted by "256". The output signal X of the 1/2 frequency divider 32, which will be described later, becomes "1" at the first writing, and becomes "1" and "0" at the second writing. The BUSY signal O becomes "1" during writing, and the H4 clock signal becomes "0" during writing. Therefore, when writing the last 3 bits of the 8 bits to an address shifted by 256 in the display RAM 6, the output terminals D1 to D5 of the ROM 20 become "1" and the output terminals D6 to D8 become "0". NOR
The outputs of gates 21a to 21 become "1",
The outputs of the NOR gates 21f to 21h become "0". Note that the NOR gates 21b to 21g are omitted in the drawing. As a result, the display RAM plane selected by the chip enable signal R, for example 6a.
Among them, only the chips to which the NOR gates 21f to 21h are connected are initially enabled for writing. At this time, the shifters 12a to 12h
The 8-bit data in the pattern ROM 10 is shifted as shown in FIG. 3 by selecting the fifth input terminal. That is, the output of the shifter 12a is "0", the output of the shifter 12b is "0", and the output of the shifter 12
c is "1", shifter 12d is "0", shifter 12e
is "0", the shifter 12g is "1", and the shifter 12h is "1". Therefore, when writing for the first time, the shifter 12
The outputs of d to 12h are written to predetermined chips of the display RAM plane 6a. During the second write, the address of the display RAM plane 6a moves by "256" and at the same time the output signal X of the 1/2 frequency divider 32 becomes "0", so the NOR gate 21
The outputs of shifters a to 21C become "0", and the outputs of shifters 12a to 12c are written only to the chips connected to them. As a result, the data stored in bytes is shifted bit by bit and written into the display RAM 6. The data written in each of the display RAM planes 6a to 6c is read out in the read mode using the H4 clock signal, inputted to parallel-to-serial conversion circuits 7a to 7c, respectively, and then converted into a serial signal and output. This serial signal is the color conversion ROM2
2, where it is converted into a color video signal C. The code table for this color conversion ROM 22 is shown in Table 2.

【表】 ここでカラービデオ信号Bによつて表示される
色はつぎの通りである。
[Table] Here, the colors displayed by color video signal B are as follows.

【表】 前記カラーコード信号Bは、CRUデコード部
4でラツチされているため、表示RAM6の出
力、すなわちどの表示RAMプレーンから出力さ
れるかによつて色相が決まつている。 画面の色相を変化させるときには、他のカラー
コード信号Bが出力されるから、同じ表示RAM
プレーンからの出力であつても色相が変化する。
したがつて同一の画像であつても、カラーコード
信号Bによつて別の色相となる。 カラー変換用ROM22から出力されたカラー
ビ信号は、レジスタ23にラツチされ、ドツト信
号に同期して作動するシフトレジスタ24を介し
てCRT5に送られる。 テーブルタイプのものでは、テーブルの両側に
ゲーム者がいるため、画面を反転させて表示する
必要がある。そこで書込時にはそのまま書込み、
読出時にのみ逆に読み出して画面反転を行なつて
いる。 このため、複数の排他的ORゲートを用いた反
転信回路24が設けられており、読出時のアドレ
スが反転される。さらに、並一直変換回路7a〜
7cに反転信号Wが入力され、下位ビツトから上
位ビツトへ向つて順次読み出す。この結果、画面
上で180゜ずれた対称位置にドツトが表示される。 第4図はレングスカウンタ部のブロツク図であ
る。走査線数をカウントするYレングスカウンタ
30はCRUデコード部4からのYレングス信号
Mが入力され、H4クロツク信号Mで減算する。
このYレングスカウンタ30が零になると、遅延
された初期値セツト信号(ロード信号)IがYレ
ングスカウンタ30に入力され、再びYレングス
信号Mがセツトされる。 前記Yレングスカウンタ30が零になると、減
算信号が1/2分周器32に入力される。この1/2分
周器32の出力信号Xは、バイト数をカウントす
るXレングスカウンタ33の減算用端子に入力さ
れる。したがつてYレングスカウンタ30が2回
零になると、Xレングスカウンタ33が1つ減算
される。 Xレングスカウンタ33は、Xレングス信号L
を入力する。このXレングスカウンタ33を作動
させるロード信号Nは、フリツプフロツプ34に
入力され、これをセツト状態にする。このフリツ
プフロツプ34がセツトされると、出力端子Qか
ら書込中を示すBUSY信号Oが出力される。 YおよびXレングスカウンタ30と33とが零
になつて、画像パターン例えば1台の自動車を表
示RAM6の所望のアドレスに書き込むと、
NANDゲート35が「1」になるから、フリツ
プフロツプ34がリセツトされる。 第5図は表示RAMアドレスカウンタ部のブロ
ツク図である。表示RAMスタートアドレス信号
Kは、セレクタラツチ40を経て表示RAMアド
レスカウンタ13に入力される。この表示RAM
アドレスカウンタ13は、H4クロツク信号によ
つて減算される。 全加算器41は、1/2分周器32の出力信号X
の立上りによつて、表示RAMアドレスカウンタ
13の内容から全走査線数である「256」を減算
する。信号Xの立上り時以外のときには、カウン
タの内容をセレクタラツチ40に入力する。そし
て表示RAMアドレスカウンタ13は、前記遅延
回路31から遅延されたロード信号Iによつてセ
レクタラツチ40のアドレスを入力する。なお、
セレクタラツチ40は、最切にCRUデコード部
4からのスタートアドレス信号Kを通し、つぎは
全加算器41からの信号を通すように切り換わ
る。 第6図はパターンROMアドレスカウンタ部の
ブロツク図である。パターンROMスタートアド
レス信号Gは、セレクタラツチ50を経てパター
ンROMアドレスカウンタ11に入力され、H4ク
ロツク信号によつて減算される。そしてYレング
スだけ減算されると、その内容がゲート回路51
を介してセレクタラツチ50にラツチされ、ロー
ド信号IによつてパターンROMアドレスカウン
タ11に読み込まれる。 ゲート回路51は、1/2分周器32からの出力
信号Xの立ち下がりで開く。一方前記全加算回路
41は、出力信号Xの立上りで「256」の減算を
行なう。したがつて表示RAMアドレスカウンタ
13とパターンROMアドレスカウンタ11は、
あるアドレス区間を2度に亘つてアドレツシング
するが、次のアドレス区間への移動は交互に行な
われる。 第7図は表示RAMのタイミングチヤートを示
すものであり、H4クロツク信号が「0」のとき
に、タイミングモジユール8のクロツク信号で指
定された表示RAM6のデータが読み出され、こ
の8ビツトのデータが直列信号に変換されCRT
5に送られる。 第8図は書込みのためのワード構成を示すもの
である。1ワードは16ビツトからなり、これらは
ROM1に記憶されている。書込時に、まずaに
示すプレーンセレクトQと、パターンROMスタ
ートアドレス信号Gとを組み合わせたデータが出
力され、つぎにbに示す表示RAMスタートアド
レスKを示すデータが出力され、書込みを開始す
るアドレスが指定される。最後にcに示すような
表示RAM6へ書き込むべき大きさを示すXYレ
ングスが出力される。 第9図ないし第11図は、パターンROM10
に記憶されている画像パターンのデータを表示
RAM6に書き込む場合を示すものである。第8
図に示すように、パターンROMスタートアドレ
ス信号Gと、表示RAMスタートアドレス信号
K、およびレングス信号L,Mが与えられると、
パターンROM10と表示RAM6とのアドレス
が特定される。 ここでは、パターンROM10のアドレスN〜
N+9までに記憶されている5ライン2バイトの
データを、表示RAM6のアドレスMをスタート
アドレスとして5ビツトずらして書き込む場合に
ついて説明する。なお、画像パターンの大きさを
示す5ライン2バイトのデータはレングス信号
L,Mで指定される。 表示RAMスタートアドレス信号Kの第9ビツ
トから第11ビツトはシフト信号として用いられ、
アドレスMにおけるビツト単位の移動に用いられ
る。このシフト信号によりアドレスNのデータが
5ビツトだけシフトされ、実線で示した上位3ビ
ツトのデータが、表示RAM6のアドレスMの下
位3ビツトに書き込まれる。そしてH4クロツク
信号によつて表示RAMアドレスカウンタ13と
パターンROMアドレスカウンタ11とがカウン
トアツプすると、パターンROM10のN+1の
データのうち上位3ビツト分が表示RAM6のア
ドレスM+1の下3ビツトに書き込まれる。 そしてパターンROM10のアドレスがN+4
まで進むと、Yレングスカウンタが零になる。 そして1/2分周器32によつて、ゲート回路は
閉じたままであるから、セレクタラツチにラツチ
されていたアドレスが再ロードされ、パターン
ROMアドレスカウンタ11が、アドレスNに戻
る。一方表示RAMアドレスカウンタ13は1/2
分周器32からの出力によつて全加算器41が作
動し、ライン数である「256」を減算して、その
アドレスが「M−256」にセツトされる。2回目
の書込みのときには、先ずYレングスカウンタ3
0が再ロードされる。次に表示RAM6は上5ビ
ツト分だけが書込み可能になるから、アドレスN
のうち点線で示した下5ビツト分のデータが表示
RAM6のアドレス「M−256」に書き込まれる。
以下同様にして表示RAM6のアドレス「M−
252」まで書き込みが行なわれる。 2回目の書込みによつて、パターンROM10
のN〜N+4の全てのデータが書き込まれると、
Yレングスカウンタ30が再び零になる。このY
レングスカウンタ30が再度零になると1/2分周
器32によつてXレングスカウンタ33が減算さ
れる。同時に1/2分周器32の出力信号Xによつ
てゲート回路51が開くから、パターンROMア
ドレスカウンタ11はアドレスがN+4にセツト
され、前記と同様に2回の書込みでN+4〜N+
9までのデータが表示RAM6のM−256〜M−
252、およびM−512〜M−508に書き込まれる。 上記のようにして表示RAM6に多数の画像パ
ターンを書き込み、そしてX方向にアドレツシン
グして書き込んだデータを読み出しCRT5に表
示する。 これらの画像パターンの一部は、ハンドル、ボ
タン等によつて移動されるが、このハンドル、ボ
タン等からの信号はCRUデコード部4を経て
CPU3に入力される。 上記したように、本発明はアドレス信号を反転
させてデータを逆に読み出すとともに、並一直変
換を逆に行なうようにしたから、従来の画面反転
方式のようにリレーの接点が破損する等の欠点が
ない。
[Table] Since the color code signal B is latched by the CRU decoder 4, the hue is determined by the output of the display RAM 6, that is, which display RAM plane it is output from. When changing the hue of the screen, another color code signal B is output, so the same display RAM
Even if the output is from a plane, the hue changes.
Therefore, even if the images are the same, they will have different hues depending on the color code signal B. The color bi signal output from the color conversion ROM 22 is latched in a register 23 and sent to the CRT 5 via a shift register 24 which operates in synchronization with the dot signal. In table-type games, there are players on both sides of the table, so the screen needs to be flipped. Therefore, when writing, write as is,
Only at the time of reading, the image is read in reverse and the screen is inverted. For this reason, an inversion signal circuit 24 using a plurality of exclusive OR gates is provided, and the address at the time of reading is inverted. Furthermore, parallel to direct converter circuits 7a~
An inverted signal W is input to 7c, and the bits are read out sequentially from the lower bits to the upper bits. As a result, dots are displayed at symmetrical positions shifted by 180 degrees on the screen. FIG. 4 is a block diagram of the length counter section. A Y length counter 30 that counts the number of scanning lines receives the Y length signal M from the CRU decoder 4 and subtracts it using the H4 clock signal M.
When the Y length counter 30 reaches zero, the delayed initial value set signal (load signal) I is input to the Y length counter 30, and the Y length signal M is set again. When the Y length counter 30 becomes zero, a subtraction signal is input to the 1/2 frequency divider 32. The output signal X of the 1/2 frequency divider 32 is input to a subtraction terminal of an X length counter 33 that counts the number of bytes. Therefore, when the Y length counter 30 becomes zero twice, the X length counter 33 is decremented by one. The X length counter 33 receives the X length signal L.
Enter. The load signal N which operates this X-length counter 33 is input to the flip-flop 34 and sets it to the set state. When the flip-flop 34 is set, a BUSY signal O indicating that writing is in progress is output from the output terminal Q. When the Y and X length counters 30 and 33 become zero and an image pattern, for example, one car, is written to a desired address in the display RAM 6,
Since the NAND gate 35 becomes "1", the flip-flop 34 is reset. FIG. 5 is a block diagram of the display RAM address counter section. The display RAM start address signal K is input to the display RAM address counter 13 via the selector latch 40. This display RAM
Address counter 13 is decremented by the H4 clock signal. The full adder 41 receives the output signal X of the 1/2 frequency divider 32.
At the rising edge of , "256", which is the total number of scanning lines, is subtracted from the contents of the display RAM address counter 13. At times other than when signal X rises, the contents of the counter are input to selector latch 40. The display RAM address counter 13 receives the address of the selector latch 40 in response to the delayed load signal I from the delay circuit 31. In addition,
The selector latch 40 is first switched to pass the start address signal K from the CRU decoder 4, and then switched to pass the signal from the full adder 41. FIG. 6 is a block diagram of the pattern ROM address counter section. The pattern ROM start address signal G is input to the pattern ROM address counter 11 via the selector latch 50, and is subtracted by the H4 clock signal. Then, when the Y length is subtracted, the content becomes the gate circuit 51
The data is latched into the selector latch 50 via the ROM address counter 11 by the load signal I. The gate circuit 51 opens at the fall of the output signal X from the 1/2 frequency divider 32. On the other hand, the full adder circuit 41 subtracts "256" at the rising edge of the output signal X. Therefore, the display RAM address counter 13 and the pattern ROM address counter 11 are
A certain address section is addressed twice, but movement to the next address section is performed alternately. FIG. 7 shows a timing chart of the display RAM. When the H4 clock signal is "0", the data in the display RAM 6 specified by the clock signal of the timing module 8 is read out, and this 8-bit data is read out. The data is converted to a serial signal on the CRT
Sent to 5. FIG. 8 shows the word structure for writing. One word consists of 16 bits, these are
Stored in ROM1. At the time of writing, data that is a combination of the plane select Q shown in a and the pattern ROM start address signal G is first output, then data indicating the display RAM start address K shown in b is output, and the address at which writing starts is output. is specified. Finally, the XY length indicating the size to be written to the display RAM 6 as shown in c is output. Figures 9 to 11 show the pattern ROM10.
Displays image pattern data stored in
This shows the case of writing to RAM6. 8th
As shown in the figure, when a pattern ROM start address signal G, a display RAM start address signal K, and length signals L and M are applied,
The addresses of pattern ROM 10 and display RAM 6 are specified. Here, address N~ of pattern ROM10
A case will be described in which the 5 lines and 2 bytes of data stored up to N+9 are written with the address M of the display RAM 6 as the start address and shifted by 5 bits. Note that 5 lines of 2-byte data indicating the size of the image pattern is specified by length signals L and M. The 9th to 11th bits of the display RAM start address signal K are used as shift signals,
It is used for bit-by-bit movement at address M. This shift signal shifts the data at address N by 5 bits, and the upper 3 bits of data shown by solid lines are written into the lower 3 bits of address M in display RAM 6. When the display RAM address counter 13 and the pattern ROM address counter 11 count up in response to the H4 clock signal, the upper 3 bits of the N+1 data in the pattern ROM 10 are written to the lower 3 bits of address M+1 in the display RAM 6. And the address of pattern ROM10 is N+4
When it advances to this point, the Y length counter becomes zero. Since the gate circuit remains closed by the 1/2 frequency divider 32, the address latched in the selector latch is reloaded and the pattern
ROM address counter 11 returns to address N. On the other hand, the display RAM address counter 13 is 1/2
The full adder 41 is activated by the output from the frequency divider 32, subtracts the number of lines "256", and sets the address to "M-256". When writing for the second time, first write Y length counter 3.
0 is reloaded. Next, since only the upper 5 bits of display RAM 6 can be written, address N
The data for the lower 5 bits indicated by the dotted line is displayed.
It is written to address "M-256" of RAM6.
Similarly, the display RAM 6 address "M-"
252" is written. By the second writing, pattern ROM10
When all data from N to N+4 is written,
The Y length counter 30 becomes zero again. This Y
When the length counter 30 becomes zero again, the 1/2 frequency divider 32 subtracts the value from the X length counter 33. At the same time, the gate circuit 51 is opened by the output signal
Data up to 9 is displayed M-256 to M- of RAM6
252, and M-512 to M-508. A large number of image patterns are written in the display RAM 6 as described above, and the written data is read out by addressing in the X direction and displayed on the CRT 5. Some of these image patterns are moved by handles, buttons, etc., and signals from these handles, buttons, etc. pass through the CRU decoding unit 4.
Input to CPU3. As mentioned above, since the present invention inverts the address signal and reads the data in the reverse direction, it also performs parallel-to-linear conversion in the reverse direction, so unlike the conventional screen inversion method, there are disadvantages such as damage to the relay contacts. There is no.

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

第1図は本発明を適用したテレビゲーム機の概
略図、第2図は要部のブロツク図、第3図はパタ
ーンROMとシフタから出力されるデータを示す
説明図、第4図はレングスカウンタ部のブロツク
図、第5図は表示RAMアドレスカウンタ部のブ
ロツク図、第6図はパターンアドレスカウンタ部
のブロツク図、第7図は表示RAMのタイミング
チヤート、第8図はワード構成を示す説明図、第
9図はパターンROMのデータを示す説明図、第
10図は書込完了時の表示RAMを示す説明図、
第11図はパターンROMと表示RAMのデータ
転送を示すタイミングチヤートである。
Figure 1 is a schematic diagram of a video game machine to which the present invention is applied, Figure 2 is a block diagram of the main parts, Figure 3 is an explanatory diagram showing data output from the pattern ROM and shifter, and Figure 4 is a length counter. 5 is a block diagram of the display RAM address counter section, FIG. 6 is a block diagram of the pattern address counter section, FIG. 7 is a timing chart of the display RAM, and FIG. 8 is an explanatory diagram showing the word structure. , FIG. 9 is an explanatory diagram showing the data of the pattern ROM, FIG. 10 is an explanatory diagram showing the display RAM when writing is completed,
FIG. 11 is a timing chart showing data transfer between the pattern ROM and display RAM.

Claims (1)

【特許請求の範囲】[Claims] 1 パターンROMから読み出されたパターンデ
ータがNビツトごとに書き込まれる表示RAM
と、表示RAMからNビツトごとにパターンデー
タを読み出してゆく際に、表示RAMのアドレス
指定方向を正、逆のいずれかに選択する選択手段
と、この選択手段によつて表示RAMのアドレス
指定方向が逆に設定されたときには、表示RAM
から並列的に読み出されたNビツトのパターンデ
ータを、前記パターンROMからの読み出し時と
は逆向きに配列して出力する並一直変換手段とを
設けたことを特徴とするグラフイツクデイスプレ
イにおける画面反転方式。
1 Display RAM where the pattern data read from the pattern ROM is written every N bits
and a selection means for selecting the addressing direction of the display RAM as either forward or reverse when pattern data is read every N bits from the display RAM, and a selection means for selecting the addressing direction of the display RAM by the selection means. When set to the opposite, the display RAM
A screen in a graphic display, characterized in that parallel-to-linear conversion means is provided for arranging and outputting N-bit pattern data read out in parallel from the pattern ROM in a direction opposite to that when read out from the pattern ROM. Inversion method.
JP2088179A 1979-02-26 1979-02-26 Screen inversion system in graphic display Granted JPS55115134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2088179A JPS55115134A (en) 1979-02-26 1979-02-26 Screen inversion system in graphic display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2088179A JPS55115134A (en) 1979-02-26 1979-02-26 Screen inversion system in graphic display

Publications (2)

Publication Number Publication Date
JPS55115134A JPS55115134A (en) 1980-09-04
JPS64712B2 true JPS64712B2 (en) 1989-01-09

Family

ID=12039527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2088179A Granted JPS55115134A (en) 1979-02-26 1979-02-26 Screen inversion system in graphic display

Country Status (1)

Country Link
JP (1) JPS55115134A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60233689A (en) * 1984-05-04 1985-11-20 松下電器産業株式会社 Image memory unit
JPS6180288A (en) * 1984-09-28 1986-04-23 横河電機株式会社 Image display unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5495125A (en) * 1978-01-13 1979-07-27 Hitachi Ltd Display device

Also Published As

Publication number Publication date
JPS55115134A (en) 1980-09-04

Similar Documents

Publication Publication Date Title
US5308086A (en) Video game external memory arrangement with reduced memory requirements
KR100222314B1 (en) Still picture display apparatus
US5509663A (en) Image processing apparatus and external storage unit
US4620289A (en) Video display system
EP0473390B1 (en) Superimposition of still pictures consisting of characters
US4420770A (en) Video background generation system
JPS6336786B2 (en)
JPS60254190A (en) Display controller
JPS6118198B2 (en)
JPS60165696A (en) Display controller
JPH051946B2 (en)
GB2023974A (en) Digital mos processor
JP3285860B2 (en) Mosaic image display device
JPS58118782A (en) Figure effect generator
US4521020A (en) Apparatus for displaying grouped characters in scanning type display
JPS6235140B2 (en)
US5202672A (en) Object display system
JPS64712B2 (en)
JPH06208787A (en) Random-access memory
WO1995001629A1 (en) Image processing device and method therefor, and game machine having image processing part
EP0264603B1 (en) Raster scan digital display system
US5355150A (en) Sub-screen data storage control unit
US4623147A (en) Process for displaying a plurality of objects on a video screen
JPH027478B2 (en)
EP0323636A2 (en) Object display system