JPS6355647A - Cartridge - Google Patents
CartridgeInfo
- Publication number
- JPS6355647A JPS6355647A JP20111886A JP20111886A JPS6355647A JP S6355647 A JPS6355647 A JP S6355647A JP 20111886 A JP20111886 A JP 20111886A JP 20111886 A JP20111886 A JP 20111886A JP S6355647 A JPS6355647 A JP S6355647A
- Authority
- JP
- Japan
- Prior art keywords
- address
- cartridge
- register
- rom
- 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.)
- Pending
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
(技術分野)
本発明はマイクロコンピュータシステムに取りつけられ
、デジタルメモリ分野でアドレスを伝達する所定数の信
号ラインを用い、メモリマネジメントユニット(M M
U)を僅えたメモリ装置のカートリッジに関するもの
である。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention is a memory management unit (M M
The present invention relates to a cartridge for a memory device with a small number of U).
本発明のカートリッジは、具体的にはビデオゲーム装置
のカートリッジやICカードなどに利用される。Specifically, the cartridge of the present invention is used as a cartridge for a video game device, an IC card, and the like.
(従来の技術)
ビデオゲーム装置に着脱自在に取りつけられるカートリ
ッジにおいて1通常のアドレス動作によりアドレスでき
るメモリスペース以上に使用可能なメモリスペースを拡
張するものが提案されている(特開昭59−11235
2号参照)。(Prior Art) A cartridge that can be removably attached to a video game device has been proposed in which the usable memory space is expanded beyond the memory space that can be addressed by a normal address operation (Japanese Patent Laid-Open No. 59-11235
(See No. 2).
その提案されたカートリッジでは、基本アドレスライン
上のアドレス信号の切換えに応答してメモリ場所とアド
レス信号間の対応を変化させるようにしている。The proposed cartridge changes the correspondence between memory locations and address signals in response to switching address signals on the basic address lines.
しかしながら、上記のカートリッジではメモリ場所とア
ドレス信号との間の対応関係を変化させる数が増せば増
すほど、その切換えに使われるアドレス信号が増加して
いき、メモリ本来に使うことのできるアドレススペース
が減少していくという欠点がある。However, in the above-mentioned cartridge, as the number of changes in the correspondence between memory locations and address signals increases, the number of address signals used for switching increases, and the address space that can originally be used in the memory increases. The disadvantage is that it is decreasing.
(目的)
本発明は、メモリ本来に使用可能なメモリスペースを、
アドレス信号ラインで供給されるアドレス信号による通
常のアドレス動作でアドレスできるメモリスペース以上
に拡張するとともに、メモリ場所とアドレス信号間の対
応関係の切換えに関し、1個のアドレス信号で3個以上
の複数の切換えを可能にして、メモリに使用できるアド
レススペースの減少を最少に止めることを目的とするも
のである。(Objective) The present invention utilizes memory space that is originally available in memory.
In addition to expanding the memory space beyond that which can be addressed by normal address operations using address signals supplied from the address signal line, it is also possible to address three or more multiple locations with one address signal in terms of switching the correspondence between memory locations and address signals. The purpose is to enable switching and to minimize the reduction in address space available for memory.
(構成)
本発明のカートリッジでは、特定のアドレスにレジスタ
を置き、データバスを介してそのレジスタへ切換え用の
信号を表わすデータを書き込むことによって、メモリ場
所とアドレスの対応関係を変え、1個のアドレスで複数
個の対応関係を変えることを可能にする。(Structure) In the cartridge of the present invention, by placing a register at a specific address and writing data representing a switching signal into the register via a data bus, the correspondence between memory locations and addresses is changed, and one It is possible to change the correspondence of multiple items by address.
すなわち、本発明のカートリッジは、アドレスバス、デ
ータバス並びに読出し及び書込みに必要な制御信号を有
するマイクロコンピュータシステムの装着本体に着脱自
在のカートリッジであって、このカートリッジを装置本
体に装着した際、アドレスバス、データバス及び制御信
号ラインをこのカートリッジと装置本体の間で電気的に
結合可能とするコネクタと、装置本体から供給されるア
ドレス信号に対応する場所にデータを蓄積しているメモ
リ装置と、装置本体から供給される特定のアドレス信号
に対応する場所にレジスタを設け、そのレジスタにデー
タを書き込むことによって前記メモリ装置のメモリ場所
とアドレス信号との間の対応関係を変化させる制御手段
とを備えている。That is, the cartridge of the present invention is a cartridge that is detachably attached to the main body of a microcomputer system and has an address bus, a data bus, and control signals necessary for reading and writing. a connector that allows a bus, a data bus, and a control signal line to be electrically coupled between the cartridge and the device main body; a memory device that stores data at a location corresponding to an address signal supplied from the device main body; A register is provided at a location corresponding to a specific address signal supplied from the device main body, and control means changes the correspondence between the memory location of the memory device and the address signal by writing data to the register. ing.
以下、実施例について本発明を具体的に説明する。The present invention will be specifically described below with reference to Examples.
第1図は、本発明をビデオゲーム装置のカートリッジに
適用した例を表わしている。FIG. 1 shows an example in which the present invention is applied to a cartridge for a video game device.
2はビデオゲーム装置、4は一実施例としてのカートリ
ッジであり、カートリッジ4はコネクタ(図示路)によ
りビデオゲーム装置2に着脱自在に取りつけられるよう
になっている。2 is a video game device, and 4 is a cartridge as an example, and the cartridge 4 can be detachably attached to the video game device 2 by a connector (path shown).
ビデオゲーム装置2にはゲーム電子装置6と、そのゲー
ム電子装置6を制御するMP’U(マイクロ・プロセッ
サ・ユニット)8が設けられている。The video game device 2 is provided with a game electronic device 6 and an MP'U (microprocessor unit) 8 that controls the game electronic device 6.
ゲーム電子装置6とMPU8は互いにアドレスバス10
.データバス12及びR/W (読出し及び書込み)な
どの制御信号ライン14により接続されている。ゲーム
電子装置6とMPU8はビデオゲームディスプレイ用の
画像を発生する。The game electronic device 6 and the MPU 8 are connected to each other by an address bus 10.
.. They are connected by a data bus 12 and control signal lines 14 such as R/W (read and write). Game electronics 6 and MPU 8 generate images for video game display.
カートリッジ4にはM P U 8の動作を指示するプ
ログラム命令を記憶しているROM+ −ROMn (
16−1〜16−N)と、アドレス変換装置18が搭載
されている。アドレス変換装@18にはレジスタとアド
レスデコーダとが内蔵されている。ROM+〜ROMn
及びアドレス変換装置18にはアドレスバス10、デー
タバス12及び制御信号ライン14が接続され、カート
リッジ4のアドレスバス10、データバス12及び制御
信号ライン14はコネクタ(図示路)を介してビデオゲ
ーム装置2のアドレスバス10.データバス12及び制
御信号ライン14に接続されるようになっている。The cartridge 4 includes ROM+-ROMn (
16-1 to 16-N) and an address translation device 18 are installed. The address conversion device @18 includes a register and an address decoder. ROM+~ROMn
An address bus 10, a data bus 12, and a control signal line 14 are connected to the address conversion device 18, and the address bus 10, data bus 12, and control signal line 14 of the cartridge 4 are connected to the video game device via a connector (path shown). 2 address bus 10. It is adapted to be connected to a data bus 12 and a control signal line 14.
アドレス変換装置18とROM+〜ROM nの間には
アドレス変換装置18により作成される信号を供給する
信号ライン20が設けられている。A signal line 20 is provided between the address translation device 18 and ROM+ to ROMn for supplying the signals produced by the address translation device 18.
カートリッジ内4のメモリ数(アドレス対応が変化する
メモリブロック数:バンク数ともいう)によって、信号
ライン20の本数が異なってくる。The number of signal lines 20 varies depending on the number of memories in the cartridge 4 (the number of memory blocks whose address correspondence changes: also referred to as the number of banks).
本実施例において、まず、ビデオゲーム装置2からカー
トリッジ4のアドレス変換装置18内のレジスタにバン
ク切換え用のデータが書き込まれ、このレジスタの出力
でアドレス変換装[18に入力されているアドレスが修
飾される。アドレス変換装置18のレジスタの出力は、
アドレス変換装置18内のアドレスデコーダによりデコ
ードされてカートリッジ4中のROM 1〜ROMnの
選択信号CSなどになり、どのROM+〜ROMnが選
択されるのかを決定する。In this embodiment, data for bank switching is first written from the video game device 2 to a register in the address conversion device 18 of the cartridge 4, and the output of this register modifies the address input to the address conversion device [18]. be done. The output of the register of the address translation device 18 is
It is decoded by the address decoder in the address conversion device 18 and becomes a selection signal CS of ROM1 to ROMn in the cartridge 4, which determines which ROM+ to ROMn is selected.
次に第2図を用いてアドレススペースの拡大方法を示す
。Next, a method for expanding the address space will be described using FIG.
この例ではビデオゲーム装置2内のM P U 8は8
ビツト機とし、データバス幅8ビツト、アドレスバスを
16本とする。そこで何ら手を加えない場合には、第2
図(A)のように、「0000」〜rFFFFJ (
16進表示)番地まで、すなわち216バイト= 6
lI Kバイトまでアクセスできる。In this example, the MPU 8 in the video game device 2 is 8.
It is assumed to be a bit machine with an 8-bit data bus width and 16 address buses. If no changes are made, the second
As shown in figure (A), “0000” to rFFFFJ (
up to the address (in hexadecimal), that is, 216 bytes = 6
Can access up to 1K bytes.
第2図(B)のようにアドレスr8000J〜rF F
F FJの32にバイトのアドレススペースがカート
リッジ4のROM+−ROMnに割り当てられた場合、
rcOOOJ番地にアドレス変換装置18のレジスタを
置き、この番地でレジスタに8ビツトでデータを書き込
み、このレジスタの出力をデコードしてROM+〜RO
M nのCS信号すなわちアドレスの上位ビットを作る
。このようにすればビデオゲーム装置2のMPU8がア
ドレスr8000J〜rB F F FJをアクセスし
た場合、アドレス変換装置18内のレジスタの内容によ
ってROM 1− ROMnが選択され、MPU8から
見ればアドレススペースが拡大したことになる。Address r8000J~rF F as shown in Figure 2 (B)
If an address space of 32 bytes of FJ is assigned to ROM+-ROMn of cartridge 4,
Place the register of the address translation device 18 at address rcOOOJ, write 8-bit data to the register at this address, decode the output of this register, and write it to ROM+~RO.
Create a CS signal of Mn, that is, the upper bit of the address. In this way, when the MPU 8 of the video game device 2 accesses addresses r8000J to rB F F That's what I did.
なお、第2図でアドレスro OOOJ〜「8000」
はRAMなどに使用され、アドレス「C001」〜rF
F F FJはMPU8が必ずもっている内容、例え
ばリセット、割込みベクターなどをROM 1からアク
セスするために使用される。In addition, in Figure 2, the address ro OOOJ ~ "8000"
is used for RAM, etc., and addresses “C001” to rF
F F FJ is used to access from the ROM 1 contents that the MPU 8 always has, such as reset and interrupt vectors.
第2図でROM+は256にビット、ROM2゜ROM
s 、 ROM 4− ・・・は128にビy ト(
7)ROM製品を使う場合のアドレスラインの結線の例
を第3図に示す。R/Wなどの制御信号ラインの図示は
省略しである。In Figure 2, ROM+ is 256 bits, ROM2゜ROM
s, ROM 4-... has 128 bits (
7) Figure 3 shows an example of address line connections when using a ROM product. Control signal lines such as R/W are not shown.
8ビツトのMPU8のメモリスペースはAO〜A15(
アドレス16本)で64にバイト(64KX8ビツト)
である。したがって、アドレスro O00J〜rFF
FFJまでアクセス可能である。The memory space of the 8-bit MPU8 is AO to A15 (
64 bytes (64K x 8 bits) with 16 addresses)
It is. Therefore, address ro O00J~rFF
It is accessible up to FFJ.
第2図ではROM+はr8000J〜rFFFFJ
(32にバイト=256にビット)に配置されている。In Figure 2, ROM+ is r8000J to rFFFFJ
(32 bytes = 256 bits).
ROM2〜ROMnはrf3000J 〜rBFFFJ
に配置されているので、このままだとROM lとRO
M2〜ROMnの間でデータバスの衝突が起こる。第2
図のようにrcOOOJ番地にバンク切換用レジスタを
置き、このレジスタ出力を利用してデータバスの衝突を
回避すると同時にメモリ空間の拡張を行なう。ROM2 to ROMn are rf3000J to rBFFFJ
Since it is located in ROM l and RO as it is,
A data bus collision occurs between M2 to ROMn. Second
As shown in the figure, a bank switching register is placed at address rcOOOJ, and the output of this register is used to avoid data bus collisions and at the same time expand the memory space.
ROM +にはアドレスAQ−A14をアドレスとして
入力し、アドレスA15をチップセレクト信号O8とし
て入力する。ROM=〜ROMnにはアドレスAO〜A
13をアドレスとして入力する。また、アドレス変換装
置18にはアドレスAO〜A15を入力し、データバス
12からデータdO〜d8を入力し、アドレス変換装置
18のデコニダの出力Y2〜Ynをチップセレクト信号
C8としてROM2〜ROMnに供給する。Address AQ-A14 is input as an address to ROM+, and address A15 is input as chip select signal O8. ROM=~ROMn has addresses AO~A
Enter 13 as the address. Further, addresses AO to A15 are input to the address conversion device 18, data dO to d8 are input from the data bus 12, and outputs Y2 to Yn of the deco nider of the address conversion device 18 are supplied to the ROM2 to ROMn as a chip select signal C8. do.
第2図でROM1〜ROMnの全てに256にビット(
32にバイト)の製品を使う場合のアドレスラインの結
線の例を第4図に示す。ここでもR/Wなどの制御信号
ラインの図示は省略しである。In Figure 2, all ROM1 to ROMn have 256 bits (
Figure 4 shows an example of address line connections when using a 32 byte product. Again, illustration of control signal lines such as R/W is omitted.
アドレスr8000J〜rB F F FJは16にバ
イトしかないので、32にバイトのROMの製品は1個
を2ブロツクすなわち2分割して使う。Since addresses r8000J to rBFFFJ have only 16 bytes, a 32 byte ROM product is used by dividing one into two blocks, that is, into two.
第2図のようにROM=〜ROMnをそれぞれ#1と#
2に分ける。As shown in Figure 2, ROM=~ROMn are #1 and #, respectively.
Divide into 2.
第3図の場合と同様に、ROM+にはアドレスAO−A
14をアドレスとして入力し、アはレスA15をチップ
セレクト信号O8として入力する。As in the case of Figure 3, ROM+ has addresses AO-A.
14 is input as the address, and address A15 is input as the chip select signal O8.
ROM:〜ROMnにはアドレスAO−AI3をアドレ
スとして入力する。Address AO-AI3 is input to ROM:~ROMn as an address.
ただし、この場合、アドレス変換装置18のレジスタと
して、バンク切換え用レジスタ22−1に加えて、アド
レス切換用レジスタ22−2が必要になる。バンク切換
え用レジスタ22−1をrcOOIJ番地に置き、アド
レス切換え用レジスタ22−2を「CoO2」番地に置
くものとする。ただし、使用するR OMの個数が少な
い場合には、新たにアドレス切換用レジスタ22−2を
設けなくてもバンク切換え用レジスタ22−1の使って
いないビットを利用することも可能である。However, in this case, as a register of the address translation device 18, in addition to the bank switching register 22-1, the address switching register 22-2 is required. It is assumed that the bank switching register 22-1 is placed at address rcOOIJ, and the address switching register 22-2 is placed at address "CoO2". However, if the number of ROMs to be used is small, it is also possible to utilize the unused bits of the bank switching register 22-1 without providing a new address switching register 22-2.
アドレス変換装置18のバンク切換え用レジスタ22−
1及びアドレス切換え用レジスタ22−2にはアドレス
AO〜A15を入力し、データバス12からデータdO
〜d8を入力する。バンク切換え用レジスタ22−1の
デコード出力Y:〜Ynはチップセレクト信号C8とし
てROM=〜ROM nに供給し、アドレス切換え用レ
ジスタ22−2の出力はアドレスA14としてROM:
?〜ROMnに供給する。Bank switching register 22- of address translation device 18
Addresses AO to A15 are input to 1 and address switching register 22-2, and data dO is input from data bus 12.
Input ~d8. The decoded output Y:~Yn of the bank switching register 22-1 is supplied as the chip select signal C8 to ROM=~ROMn, and the output of the address switching register 22-2 is supplied as the address A14 to the ROM:
? ~ ROMn.
(効果)
本発明のカートリッジでは、プログラムROMの他にレ
ジスタを追加することにより、メモリ容量を増大させる
ことができ、複雑なプログラムも実現可能になる。(Effects) In the cartridge of the present invention, by adding registers in addition to the program ROM, the memory capacity can be increased and complex programs can be implemented.
そして、メモリ容量を増大させることに必要となるアド
レス信号の数が少なくてすむ利点がある。Further, there is an advantage that the number of address signals required to increase the memory capacity is small.
第1図は本発明の一実施例を示すブロック図、第2図は
同実施例の動作を説明する概略図、第3図及び第4図は
それぞれ実施例におけるアドレスラインの結線を示すブ
ロック図である。
2・・・・・・ビデオゲーム装置、
4・・・・・・カートリッジ、
6・・・・・・ゲーム電子装置、
8・・・・・・MPU、
10・・・・・・アドレスバス、
12・・・・・・データバス、
14・・・・・・制御信号ライン、
16−1〜16−N・・・・・・ROM、18・・・・
・・アドレス変換装置、
22−1・・・・・・バンク切換えレジスタ、22−2
・・・・・・アドレス切換えレジスタ。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a schematic diagram explaining the operation of the embodiment, and FIGS. 3 and 4 are block diagrams showing connection of address lines in the embodiment, respectively. It is. 2... Video game device, 4... Cartridge, 6... Game electronic device, 8... MPU, 10... Address bus, 12...Data bus, 14...Control signal line, 16-1 to 16-N...ROM, 18...
... Address translation device, 22-1 ... Bank switching register, 22-2
...Address switching register.
Claims (1)
みに必要な制御信号を有するマイクロコンピュータシス
テムの装着本体に着脱自在のカートリッジであって、 このカートリッジを装置本体に装着した際、アドレスバ
ス、データバス及び制御信号ラインをこのカートリッジ
と装置本体の間で電気的に結合可能とするコネクタと、 装置本体から供給されるアドレス信号に対応する場所に
データを蓄積しているメモリ装置と、装置本体から供給
される特定のアドレス信号に対応する場所にレジスタを
設け、このレジスタにデータを書き込むことによって前
記メモリ装置のメモリ場所とアドレス信号間の対応を変
化させる制御手段とを備えたカートリッジ。(1) A cartridge that is detachable from the main body of a microcomputer system and has an address bus, a data bus, and control signals necessary for reading and writing, and when this cartridge is installed in the device main body, the address bus, data bus, and control signals necessary for reading and writing are removable. A connector that allows a control signal line to be electrically connected between this cartridge and the device main body, a memory device that stores data in a location corresponding to an address signal supplied from the device main body, and a memory device that stores data in a location corresponding to an address signal supplied from the device main body. A cartridge comprising: a register provided at a location corresponding to a specific address signal; and control means for changing the correspondence between the memory location of the memory device and the address signal by writing data to the register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20111886A JPS6355647A (en) | 1986-08-26 | 1986-08-26 | Cartridge |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20111886A JPS6355647A (en) | 1986-08-26 | 1986-08-26 | Cartridge |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6355647A true JPS6355647A (en) | 1988-03-10 |
Family
ID=16435701
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20111886A Pending JPS6355647A (en) | 1986-08-26 | 1986-08-26 | Cartridge |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6355647A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5591030A (en) * | 1978-12-29 | 1980-07-10 | Fujitsu Ltd | Address extending system of microprocessor |
| JPS59112352A (en) * | 1981-05-07 | 1984-06-28 | アタリ・インコ−ポレ−テツド | Cartridge |
-
1986
- 1986-08-26 JP JP20111886A patent/JPS6355647A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5591030A (en) * | 1978-12-29 | 1980-07-10 | Fujitsu Ltd | Address extending system of microprocessor |
| JPS59112352A (en) * | 1981-05-07 | 1984-06-28 | アタリ・インコ−ポレ−テツド | Cartridge |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5966727A (en) | Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same | |
| US4608632A (en) | Memory paging system in a microcomputer | |
| JP2000105725A (en) | Chip enable signal generation circuit and memory device | |
| EP0134968B1 (en) | Memory access system in a computer accommodating an add-on memory | |
| KR960025089A (en) | Data processor and method of providing show cycles on a multiplexing bus | |
| JPS6355647A (en) | Cartridge | |
| JP2591514B2 (en) | One-chip memory device | |
| US6202140B1 (en) | Memory addressing system and method therefor | |
| US6430647B1 (en) | Data processing system for use in conjunction with a font card or the like | |
| JPH0731720B2 (en) | IC card reader / writer | |
| JPS63282870A (en) | Address specification system for memory unit | |
| JPS60128543A (en) | Address-switched virtual storage | |
| JPS63255750A (en) | Memory system | |
| JPH01144140A (en) | Allocation system for memory board | |
| JPH07334415A (en) | Memory module | |
| JP2581484B2 (en) | Data processing system | |
| JP2968636B2 (en) | Microcomputer | |
| JPH0520173A (en) | Cache memory circuit | |
| KR0118343Y1 (en) | Memory card control device | |
| JPS62256142A (en) | Memory expansion system | |
| JPS6211753B2 (en) | ||
| JPS6320551A (en) | Memory device | |
| JPH09297707A (en) | Memory device driving method and device | |
| KR940022266A (en) | Data transmission control signal generator | |
| JPH03121545A (en) | Ic memory card |