JPS6042785A - Address controller for rom for pattern generator - Google Patents

Address controller for rom for pattern generator

Info

Publication number
JPS6042785A
JPS6042785A JP58150280A JP15028083A JPS6042785A JP S6042785 A JPS6042785 A JP S6042785A JP 58150280 A JP58150280 A JP 58150280A JP 15028083 A JP15028083 A JP 15028083A JP S6042785 A JPS6042785 A JP S6042785A
Authority
JP
Japan
Prior art keywords
address
pattern
rom
character
read
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
JP58150280A
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP58150280A priority Critical patent/JPS6042785A/en
Publication of JPS6042785A publication Critical patent/JPS6042785A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 (技術分野) 本発明はパターンジェネレータ用の読出し専用記憶装置
(以下ROMという)のアドレス制御装置に関する。
TECHNICAL FIELD The present invention relates to an address control device for a read-only memory (hereinafter referred to as ROM) for a pattern generator.

(従来技術) 文字パターン等を格納したROMにおいて、−文字のパ
ターンは複数の部分〈(ターンに分けて各部分パターン
がROM内の1つのアドレス位置に格納されているのが
普通である。例えば16 X 16ドノトパターンの文
字の場合、第1図に示すように1文字は横16ドツトを
部分パターンとする16個の部分パターン■〜[相]に
分けられ、これらの部分パターン■〜[相]がROMの
連続する16個のアドレス位置に書込まれている。この
ようにして多数、の文字パター7が記憶されているRO
M内の所望の1文字のパターンを読出す際には、従来そ
の所望の文字パターンの先頭アドレス(最初の部分パタ
ーン■のアドレス)を指定して最初の部分パターン■を
読み出し、その後に次の部分パターン■のアドレスを指
定してその部分パターン■を読み出し、その後さらに、
このような読み出し動作を繰り返えして、最後の部分パ
ターン[相]を読み出したとき、1文字パターンの読み
出しが終るようにしていた。
(Prior Art) In a ROM that stores character patterns, etc., the - character pattern is usually divided into multiple parts (turns) and each partial pattern is stored at one address position in the ROM. For example, In the case of a character with a 16 x 16 dot pattern, as shown in Fig. 1, one character is divided into 16 partial patterns ■~[phase] whose partial patterns are 16 horizontal dots, and these partial patterns ■~[phase] are written in 16 consecutive address locations of the ROM.In this way, a large number of character patterns 7 are stored in the RO.
When reading a desired one-character pattern in M, conventionally, the start address of the desired character pattern (the address of the first partial pattern ■) is specified, the first partial pattern ■ is read out, and then the next Specify the address of the partial pattern ■, read the partial pattern ■, and then
By repeating such readout operations, when the last partial pattern [phase] is read out, the readout of one character pattern is completed.

具体的に云えば、例えば第1図のように16個の部分パ
ターンで1文字パターンが構成され各部分アドレスがR
OMの各アドレス位置に記憶されてbる場合に、1文字
パターンの読み出しは下位4ビツトA。−A3を0とし
上位ビットA4〜Amを所望の値とした所望の文字パタ
ーンの先頭アドレスを指定して最初の部分パターンを読
み出し、以後の15個の部分パターンの指定はアドレス
の下位ピノ)A。−A3を順次指定することによって行
なっていた。このように従来のアドレス指定方式では1
文字パターンの読み出しに、その部分パターンの数の回
数だけアドレスを設定し直す必要があるので、処理時間
が長くなる欠点があった。まだ、1文字分のパターンを
読み出した後、別の文字パターンをアクセスするのに、
下位4ビツトのアドレスを再びクリアしなければならな
かった。
Specifically, for example, as shown in Figure 1, one character pattern is composed of 16 partial patterns, and each partial address is R.
When stored in each address position of OM, one character pattern is read from the lower 4 bits A. - Specify the start address of the desired character pattern with A3 set to 0 and upper bits A4 to Am set to desired values, read the first partial pattern, and specify the subsequent 15 partial patterns using the lower pins of the address)A . This was done by sequentially specifying -A3. In this way, in the conventional addressing method, 1
When reading a character pattern, it is necessary to reset the address as many times as there are partial patterns, which has the drawback of increasing processing time. After reading the pattern for one character, you still want to access another character pattern.
The lower 4 bits of the address had to be cleared again.

(目 的) 本発明はこのような従来技術の問題点を解決し、アドレ
ス指定が簡単で処理時間の短いROMのアドレス制御装
置を提供することを目的とするものである。
(Objective) It is an object of the present invention to solve the problems of the prior art and to provide a ROM address control device that allows easy address specification and short processing time.

本発明は、アドレスの下位ビットを指定するだめのリン
グカウンタを設け、ROMにアクセスする処理装置から
の読み出し制御用のパルス(リードヌトロープ信号)に
よりそのリングカウンタを歩進させて、ROM側で1文
字内の部分パターンのアドレスを順次発生させることに
より、部分パターン毎に処理装置からアドレスの設定を
行なう必要のないようにしたものである。
The present invention provides a ring counter for specifying the lower bits of an address, and increments the ring counter by a read control pulse (read notrope signal) from a processing device that accesses the ROM. By sequentially generating addresses for partial patterns within one character, it is not necessary to set addresses from the processing device for each partial pattern.

(実施例) 以下、本発明を実施例により詳細に説明する。(Example) Hereinafter, the present invention will be explained in detail with reference to Examples.

第2図は本発明の一実施例のキャラクタジェネレータ用
のROMとそのアドレス部を含むシステムのブロック図
でちり、M3図はその動作を示すフローチャートである
。このシステムハ、80M1ト、指定アドレスの上位ビ
ットA4〜Anをラッチするアドレスラッチレジスタ2
と、指定アドレスの下位ピノl−Ao−A3をラッチす
るアドレスラッチレジスタ3と、リングカウンタ4と、
ROM1からのデータ出力M5さ、/ステムのデータバ
ス6と、および制御線等により構成されている。この例
では1文字は第1図に示すような16 X 16ドソト
パターンであり、16ピントからなる部分パターン■〜
[相]に分けられ、各部分パターンがそれぞれROM 
1の連続する各アドレスに記憶されている。
FIG. 2 is a block diagram of a system including a ROM for a character generator and its address section according to an embodiment of the present invention, and FIG. M3 is a flowchart showing its operation. This system is 80M1, and an address latch register 2 that latches the upper bits A4 to An of the specified address.
, an address latch register 3 that latches the lower pin l-Ao-A3 of the specified address, and a ring counter 4.
It is composed of a data output M5 from the ROM 1, a data bus 6 of the /stem, and control lines. In this example, one character is a 16 x 16 dosoto pattern as shown in Figure 1, and a partial pattern consisting of 16 pintos.
It is divided into [phases], and each partial pattern is stored in a ROM.
1 at each consecutive address.

即ち、1文字のパターンはROM 1の16個の連続す
るアドレス位置に記憶されている。この16個のアドレ
ス位置を含む1文字分の記憶領域内の相対的アドレス位
置を指定するのに4ビツトが必要であり、そのため下位
アドレスラッチレジスタ3およびリングカウンタ4は4
ピントから成ってbる。
That is, a single character pattern is stored in ROM 1 at 16 consecutive address locations. Four bits are required to specify the relative address position within the storage area for one character including these 16 address positions, so the lower address latch register 3 and ring counter 4 are
Consists of focus.

処理装置(以下CPUという)からROM 1にアクセ
スするとき、CPUからのI10命令であるOUT命令
によって、読み出したい文字パターンの先頭アドレスが
アドレスラッチレジスタ2および3に、該命令によって
発生する制御信号l0WRのタイミングて、ラッチされ
る。下位ビットのアドレスランチレジスタ3の内容はリ
ングカウンタ4に七ノとされる。次にCPUからの読み
出し命令(IN命令)によって、指定された文字パター
ンの先頭の部分パターンを読み出す。これはIN命令に
よって発生する制御信号10RDのタイミングで行なわ
れるが、制御信号l0RDの後縁でもってリングカウン
タ4のカウント値を1つ進める。従ってIN命令で先頭
の部分パターンをcpuが読み終った時点で、キャラク
タジェネレータ用ROMをアクセスしているアトレヌば
1つ進んでいることになる。
When the processing unit (hereinafter referred to as CPU) accesses ROM 1, the start address of the character pattern to be read is stored in address latch registers 2 and 3 by the OUT command, which is the I10 command, from the CPU, and the control signal l0WR generated by the command is sent. It is latched at the right timing. The contents of the lower bit address launch register 3 are set as 7 in the ring counter 4. Next, in response to a read command (IN command) from the CPU, the first partial pattern of the specified character pattern is read out. This is done at the timing of the control signal 10RD generated by the IN command, and the count value of the ring counter 4 is incremented by one at the trailing edge of the control signal 10RD. Therefore, when the CPU finishes reading the first partial pattern with the IN command, the character generator ROM accessed has advanced by one position.

このため再びアドレス設定しなくてもIN命令だけで、
パターン内容を読むことができる。このIN命令を16
回繰り返すことによって、16X16ドツトの1文字の
パターンを読み出すことができる。
Therefore, you can use just the IN command without having to set the address again.
Can read pattern contents. This IN command is 16
By repeating this process several times, a pattern of one character of 16×16 dots can be read out.

リングカウンタはこの実施例では前述のように4ビツト
なので16回カウントすると0に戻る。よって、次に別
のアドレスの文字パターンを続けて読み出したい場合、
下位ビットA。−A3のアドレスランチレジスタ3に再
びアドレスをランチする必要はなく、上位ビットA4〜
Anのアドレスラッチレジスタ2にそのパターンの先頭
アドレスヲ設定するだけでよい(第3図参照)。なお、
ROM1に各文字パターンが、その先頭アドレスの下位
ビットA。−A3がooooとなるようなアドレスとな
るように記憶されている場合には下位ビットのアドレス
ラッチレジスタ3は省略することができる。
In this embodiment, the ring counter has 4 bits as described above, so it returns to 0 after counting 16 times. Therefore, if you want to read the character pattern of another address continuously,
Lower bit A. - There is no need to launch the address again in the address launch register 3 of A3, and the upper bits A4~
It is only necessary to set the start address of the pattern in the address latch register 2 of An (see FIG. 3). In addition,
Each character pattern is stored in ROM1 as the lower bit A of its first address. If the address is stored such that -A3 becomes oooo, the address latch register 3 for the lower bits can be omitted.

この実施例によれば、従来に比べてソフト上の命令数も
少なくなり、キャラクタジェネレータ用のROMへのア
クセス速度が高くなる。
According to this embodiment, the number of instructions on the software is reduced compared to the prior art, and the access speed to the ROM for the character generator is increased.

第4図は、本発明の他の実施例を示すもので、パターン
ジェネレータ用ROMが複数個からなり、1つのパター
ン(1文字パターン)がその複数個のROM Kまたが
って記憶されているような型の16 X 16ビツトパ
ターンジエネレータの概略の構成を示す図である。RO
M 10は2個のROM 11 、 12により構成さ
れ、16X16ドノトのパターンは第5図に示すように
左半分のパターン16と右半分のパターン17に分けら
れ、それぞれROM 11および12に記憶されている
。このROMをアドレスするだメの構成として、アドレ
スラッチレジスタ13゜4ビツトリングカウンタ14、
およびROM切替フリップフロップ(F、F、) 15
を有している。アドレスラッチレジスタ13には先頭ア
ドレスの上位ピントA4〜An部分がラッチされる。ア
ドレスの下位ビットA。−A3は4ビツトリングカウン
タ14によって発生される。この4ビツトリングカウン
タ14は最−初にクリアされ、カウントが一巡するとき
桁上げパルス(キャリー)が発生する。ROM切替フリ
ップフロップ15は上記の桁上げパルスによって反転し
、その出力によりROM +1まだは12を選択するよ
うROM 11および12に接続されている。
FIG. 4 shows another embodiment of the present invention, in which the pattern generator ROM is composed of a plurality of ROMs, and one pattern (one character pattern) is stored across the plurality of ROMs K. 1 is a diagram showing a schematic configuration of a type 16×16 bit pattern generator; FIG. R.O.
M10 is composed of two ROMs 11 and 12, and the 16×16 donot pattern is divided into a left half pattern 16 and a right half pattern 17, which are stored in the ROMs 11 and 12, respectively. There is. The configuration for addressing this ROM includes an address latch register 13, a 4-bit ring counter 14,
and ROM switching flip-flop (F, F,) 15
have. The address latch register 13 latches the upper pins A4 to An of the start address. Lower bit A of address. -A3 is generated by a 4-bit ring counter 14. This 4-bit ring counter 14 is first cleared, and a carry pulse (carry) is generated when the count completes one cycle. ROM switching flip-flop 15 is inverted by the above carry pulse and is connected to ROMs 11 and 12 so that its output selects ROM +1 or 12.

この実施例の動作を説明すると、まず、所望のパターン
の先頭アドレスをアドレスラッチレジスタ13にセント
する。各パターンはその先頭アドレスの下位ビットA。
To explain the operation of this embodiment, first, the start address of a desired pattern is placed in the address latch register 13. Each pattern is the lower bit A of its starting address.

−A3がooooとなるようROM内でアドレス付けさ
れており、従って下位ビットAo−A3は4ビツトリン
グカウンタ14をクリアすることにより先頭アドレスの
下位ビットを発生させる。従ってアドレスラッチレジス
タ13には上位ビットA4〜Anだけをランチすればよ
い。4ビツトリングカウンタ14は壕だキャリーが立っ
ていないので、ROM切替フリップフロップ15は左側
のROM 11が選択されている。次にCPUからのI
N命令によって作成された読み出し制御信号であるリー
ドストロブパルス(IORD)によって、左側のROM
 11の中のちるパターンの先頭アドレス(即ち、アド
レスラッチレジスタ13と4ビツトリングカウンタ14
によって指定されたアドレス)の記憶内容が読み出され
る。このリードストローブパルスの後縁で4ビツトリン
グカウンタ14は1つカウントアツプされる。従って次
のリードストローブパルスでは自動的に先頭アドレスの
次のアドレスの記憶内容が読み出される。このようにし
てCPUが16回リードストローブパルスを出すことに
より、続けて16個の部分パターンからなる左側文字パ
ターンが読み出される。
-A3 is addressed in the ROM to be oooo, so the lower bit Ao-A3 clears the 4-bit ring counter 14 to generate the lower bit of the starting address. Therefore, it is necessary to launch only the upper bits A4 to An into the address latch register 13. Since the 4-bit ring counter 14 has no carry, the ROM switching flip-flop 15 selects the ROM 11 on the left side. Next, I from the CPU
The read strobe pulse (IORD), which is a read control signal created by the N command, causes the left ROM to
11 (i.e. address latch register 13 and 4-bit ring counter 14)
The storage contents of the address specified by ) are read out. At the trailing edge of this read strobe pulse, the 4-bit ring counter 14 is counted up by one. Therefore, with the next read strobe pulse, the stored contents of the address next to the first address are automatically read out. In this way, the CPU issues the read strobe pulse 16 times, and thereby the left-hand character pattern consisting of 16 partial patterns is successively read out.

この16回の読み出しが終ったとき4ビツトリングカウ
ンタ14にキャリーが立ち、これによってROM 切替
フリップフロップ15の出力が反転し、右側のROM 
12が選択される。
When these 16 readings are completed, a carry is set in the 4-bit ring counter 14, which inverts the output of the ROM switching flip-flop 15, and the right ROM
12 is selected.

このとき、4ビツトリングカウンタ14の出力は0に戻
り、従って右側パターンの先頭のアドレスの内容が、リ
ードストローブパルスにより読み出される。そして左側
文字の読み出しと同様に4ビツトリングカウンタ14の
リードストローブパルスの後縁によるカウントアツプに
よって、アドレスがインクレメントされていくので、C
PUは16回のリード命令を続けて出すことにより、自
動的に右側パターンが読み出される。
At this time, the output of the 4-bit ring counter 14 returns to 0, and therefore the contents of the first address of the right pattern are read out by the read strobe pulse. Then, in the same way as when reading characters on the left side, the address is incremented by the count up of the 4-bit ring counter 14 due to the trailing edge of the read strobe pulse.
By issuing read commands 16 times in succession, the PU automatically reads out the right pattern.

このようにして、CPUは最初に読み出したいパターン
の先頭アドレスを指定すると、後はリード命令を32回
繰り返えすだけで、あるパターンの内容を1文字分読み
出すことができる。
In this way, once the CPU first specifies the start address of the pattern it wants to read, it can read the contents of one character of a certain pattern simply by repeating the read command 32 times.

この実施例によれば、ROM切替用フ’J ノブフロッ
プとリングカウンタの組み合わせにより、左側のパター
ンを読み終って右側のパターンを読み出す際に、再びパ
ターン先頭アドレスを設定しないで済み、かつボート(
出力部)の切替もしないで済むという利点がある。よっ
てソフト上の命令数も少なくなり処理スピードも速くな
る。
According to this embodiment, by the combination of the ROM switching F'J knob flop and the ring counter, it is not necessary to set the pattern start address again when reading the right pattern after reading the left pattern.
This has the advantage that there is no need to switch the output section). Therefore, the number of instructions on the software is reduced and the processing speed is increased.

なお、以上の実施例においては、パターンの大きさが1
6 X 16ドツトパターンの例について説明しだが、
これは任意の大きさのものとすることができ、それに応
じてリングカウンタのピット数、ROM切替用フリップ
フロップの数、’ROMの数等適宜選定することができ
る。
In addition, in the above embodiment, the size of the pattern is 1
I will explain an example of a 6 x 16 dot pattern.
This can be of any size, and the number of ring counter pits, the number of ROM switching flip-flops, the number of ROMs, etc. can be appropriately selected accordingly.

(効 果) 実施例の説明において述べたように、本発明によれば、
CPUからのパターンリード命令によってアドレスが自
動的に増加するようにリングカウンタを用いているので
、ソフi・上の命令数が少なくなり、処理スピードが速
くなる効果を有する。
(Effects) As described in the description of the embodiments, according to the present invention,
Since a ring counter is used so that the address is automatically increased by a pattern read command from the CPU, the number of commands on the software is reduced and the processing speed is increased.

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

第1図はROM中の文字パターンの構成例を示す図、第
2図は本発明の一実施例のブロック図、第3図は第2図
の実施例の動作を示すフローチャート、第4図は本発明
の他の実施例のブロック図、第5図は第4図の実施例に
おけるR、OM中の文字パターンの構成例を示す図であ
る。 ]、 11.1.2・・・・・・・・・ ROM、2.
3.13 ・・・・・・・・アドレスラッチレジスタ、
4.14 ・・・・・・・ リングカウンタ、15・・
・・・・・・・ROM切替フリップフロップ。 特許出願人 株式会社 リ コ −
FIG. 1 is a diagram showing an example of the structure of a character pattern in a ROM, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a flowchart showing the operation of the embodiment of FIG. 2, and FIG. FIG. 5, a block diagram of another embodiment of the present invention, is a diagram showing an example of the structure of character patterns in R and OM in the embodiment of FIG. 4. ], 11.1.2...ROM, 2.
3.13 Address latch register,
4.14 ...... Ring counter, 15...
・・・・・・ROM switching flip-flop. Patent applicant Rico Co., Ltd. −

Claims (2)

【特許請求の範囲】[Claims] (1)処理装置からパターンジェネレータ用ROMに記
憶されたアクセスすべきパターンのアドレスデータを受
け取り記憶するアドレスランチと、アドレスの下位ビッ
トに対応し、処理装置からのリード命令により作成され
読み出し制御用のパルスの後縁で歩進するリングカウン
タとを有することを特徴とするパターンジェネレータ用
ROMのアドレス制御装置。
(1) An address launch that receives and stores address data of a pattern to be accessed stored in the pattern generator ROM from the processing device, and a 1. An address control device for a ROM for a pattern generator, comprising a ring counter that increments at the trailing edge of a pulse.
(2) 前記パターンジェネレータ用ROMが、複数個
のROMと、これら複数個のROMを選択するだめのR
OM切替手段とを備え、前記リングカウンタのキャリー
により前記ROM切替手段が制御されることを特徴とす
る特許請求の範囲第(1)項記載のパターンジェネレー
タ用ROMのアドレス制御装置。
(2) The pattern generator ROM includes a plurality of ROMs and an R for selecting the plurality of ROMs.
4. The ROM address control device for a pattern generator according to claim 1, further comprising: OM switching means, wherein said ROM switching means is controlled by a carry of said ring counter.
JP58150280A 1983-08-19 1983-08-19 Address controller for rom for pattern generator Pending JPS6042785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58150280A JPS6042785A (en) 1983-08-19 1983-08-19 Address controller for rom for pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58150280A JPS6042785A (en) 1983-08-19 1983-08-19 Address controller for rom for pattern generator

Publications (1)

Publication Number Publication Date
JPS6042785A true JPS6042785A (en) 1985-03-07

Family

ID=15493515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58150280A Pending JPS6042785A (en) 1983-08-19 1983-08-19 Address controller for rom for pattern generator

Country Status (1)

Country Link
JP (1) JPS6042785A (en)

Similar Documents

Publication Publication Date Title
JPS6042785A (en) Address controller for rom for pattern generator
JPS6330633B2 (en)
JPH0795269B2 (en) Instruction code decoding device
JPH04106793A (en) Memory interface circuit
JP3222647B2 (en) Automatic memory bank switching system
JP3039554B2 (en) Memory access circuit and output device
JPH023514B2 (en)
JPS6319027B2 (en)
JP2576805Y2 (en) LSI for musical tone generation
JPS58116579A (en) Graphic japanese character dot pattern output control system
JPH0739086Y2 (en) FDD control circuit
JP2690222B2 (en) Development support equipment
JPS6341895A (en) Sequence control
JPS6168654A (en) Memory control method
JPS62219399A (en) Read system for read-only memory
JPS5932819B2 (en) address control device
JPH04365096A (en) Character pattern generator
JPH04209046A (en) Memory access circuit
JPS61125669A (en) Memory controller
JPS60134334A (en) Printing controlling system
JPH0652044A (en) Microprocessor
JPS6129906A (en) Programmable logic controller
JPS593765A (en) Disk controller
JP2004118595A (en) Access control device and access control method
JPH05197612A (en) Data access circuit