JP2954988B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2954988B2
JP2954988B2 JP18677390A JP18677390A JP2954988B2 JP 2954988 B2 JP2954988 B2 JP 2954988B2 JP 18677390 A JP18677390 A JP 18677390A JP 18677390 A JP18677390 A JP 18677390A JP 2954988 B2 JP2954988 B2 JP 2954988B2
Authority
JP
Japan
Prior art keywords
rom
basic
address
program
information processing
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
JP18677390A
Other languages
Japanese (ja)
Other versions
JPH0477842A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP18677390A priority Critical patent/JP2954988B2/en
Publication of JPH0477842A publication Critical patent/JPH0477842A/en
Application granted granted Critical
Publication of JP2954988B2 publication Critical patent/JP2954988B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はパーソナルコンピュータ等の情報処理装置に
関するものであり、特に、Industry Standard Archit
ectureに適合した情報処理装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an information processing apparatus such as a personal computer, and particularly to an Industry Standard Archit.
It relates to an information processing device conforming to ecture.

[従来の技術] 従来、パーソナルコンピュータ等の小型情報処理装置
のアーキテクチャとしては、業界標準アーキテクチャ
(Industry Standard Architecture,以下ISAと略記す
る)が広く用いられている。
2. Description of the Related Art Conventionally, as an architecture of a small information processing apparatus such as a personal computer, an industry standard architecture (hereinafter, abbreviated as ISA) has been widely used.

第8図は、このISAに適合したパーソナルコンピュー
タを構成する回路基板の基本的な構成を示す図、第9図
はISAに規定された基本メモリマップである。
FIG. 8 is a diagram showing a basic configuration of a circuit board constituting a personal computer conforming to the ISA, and FIG. 9 is a basic memory map defined in the ISA.

第8図において、1は主基板、2は主基板上に実装さ
れる、各種のアダプタを接続するためのコネクタである
ところのスロット、3はアダプタ基板、4は主基板1に
実装し、パーソナルコンピュータの基本入出力制御プロ
グラムを記憶する基本ROM(リード オンリー メモ
リ)、5はアダプタ基板3に実装される、アダプタ基板
3を機能せしめるために必要なプログラムやデータを記
憶するアダプタROMを、それぞれ示している。
In FIG. 8, 1 is a main board, 2 is a slot which is mounted on the main board and is a connector for connecting various adapters, 3 is an adapter board, 4 is mounted on the main board 1, and A basic ROM (read only memory) 5 for storing a basic input / output control program of the computer, an adapter ROM 5 mounted on the adapter board 3 and storing programs and data necessary for making the adapter board 3 function. ing.

ISAでは、各種のアダプタ基板を、主基板1上に1な
いし複数実装するスロット2に差し込むことによって、
パーソナルコンピュータの機能を拡張できることが重要
な特徴になっている。
In the ISA, various adapter boards are inserted into one or a plurality of slots 2 mounted on the main board 1 so that
An important feature is the ability to extend the functionality of personal computers.

不特定のアダプタに対する制御プログラムを、あらか
じめ基本ROM4に記憶させておくことは不可能であるか
ら、ISAに差し込むアダプタ基板は、それぞれ自身の制
御プログラムをアダプタROM5に記憶している。
Since it is impossible to store a control program for an unspecified adapter in the basic ROM 4 in advance, each adapter board inserted into the ISA stores its own control program in the adapter ROM 5.

アダプタROMに割り当てられたアドレス空間は、第9
図に示すように、OCOOOOH(末尾の文字“H"は16進数値
表記であることを示す)からODFFFFHの128kByteに定め
られており、この空間を複数のアダプタ基板がそれぞれ
備えるアダプタROMに分け与えて使用する。
The address space allocated to the adapter ROM is ninth.
As shown in the figure, OCOOOOH (the letter "H" at the end indicates hexadecimal notation) is set to 128 kByte of ODFFFFH, and this space is allocated to the adapter ROMs provided on each of a plurality of adapter boards. use.

ISAでは、16ビットを単位とするアダプタ基板とのデ
ータ転送と8ビットを単位とするデータ転送とがサポー
トされているが、この16ビットを単位とするデータ転送
と8ビットを単位とするデータ転送の切り換えは、128k
Byte単位に区切ったアドレス空間ごとにしか行うことが
できない。
The ISA supports data transfer with the adapter board in units of 16 bits and data transfer in units of 8 bits. The data transfer in units of 16 bits and the data transfer in units of 8 bits are supported. Switching is 128k
It can be performed only for each address space divided in Byte units.

一方、アダプタROMは、通常8kByte単位に区切ったア
ドレス空間を使用するものであるので、16ビットを単位
とするデータ転送を利用することができず、サポートさ
れている他のデータ転送、すなわち、8ビットを単位と
したデータ転送を用いなければならない。
On the other hand, since the adapter ROM normally uses an address space divided into units of 8 kBytes, data transfer in units of 16 bits cannot be used. Bit-wise data transfer must be used.

しかも、この8ビットを単位としたデータ転送の転送
速度は、16ビットを単位としたデータ転送の転送速度の
半分である。したがい、16ビットを単位として読み取り
が行える場合にくらべて2倍の読み取り回数が必要にな
る上に、1回の転送に要する時間も2倍となる。
Moreover, the transfer speed of the data transfer in units of 8 bits is half the transfer speed of the data transfer in units of 16 bits. Therefore, the number of times of reading is double as compared with the case where reading can be performed in units of 16 bits, and the time required for one transfer is also doubled.

このため、アダプタROMからの読み取りに要する時間
は16ビット単位でアクセスできる基本ROMからの読み取
りを行うのに必要な時間の4倍を必要とするという制限
があり、性能向上を図る上での問題となっていた。
For this reason, there is a limitation that the time required for reading from the adapter ROM is four times the time required for reading from the basic ROM that can be accessed in 16-bit units, which is a problem in improving performance. Had become.

この課題に対処するため、従来は、第10、11、12、13
図に示すような技術が採用されていた。
Conventionally, to address this issue, No. 10, 11, 12, 13
The technology shown in the figure was employed.

第10図および第11図は、第1の従来例を示し、第10図
は第1の従来例におけるパーソナルコンピュータの回路
基板の基本的構成を示す図、第11図は第1の従来例にお
けるメモリマップである。
10 and 11 show a first conventional example, FIG. 10 shows a basic configuration of a circuit board of a personal computer in the first conventional example, and FIG. 11 shows a first conventional example. It is a memory map.

第12図および第13図は、第2の従来例を示し、第12図
は第2の従来例におけるパーソナルコンピュータの回路
基板の基本的構成を示す図、第13図は第2の従来例にお
けるメモリマップである。
12 and 13 show a second conventional example, FIG. 12 shows a basic configuration of a circuit board of a personal computer in the second conventional example, and FIG. 13 shows a second conventional example. It is a memory map.

なお、第8図から第13図を通じて同一の構成要素には
同一番号を付してある。
In FIGS. 8 to 13, the same components are denoted by the same reference numerals.

まず、第10図および第11図を用いて、第1の従来例を
説明する。
First, a first conventional example will be described with reference to FIGS. 10 and 11. FIG.

第10図において、6は従来アダプタ基板にて実現され
ていた機能を主基板1上に内蔵して実現するための回路
部分を示す。
In FIG. 10, reference numeral 6 denotes a circuit portion for realizing the functions realized by the conventional adapter substrate by incorporating them on the main substrate 1.

近年では半導体技術の発展に伴い、従来よりも多くの
機能を従来と同じ大きさの基板上に集積することが可能
になっている。
In recent years, with the development of semiconductor technology, it has become possible to integrate more functions than ever before on a substrate of the same size.

第1の従来例はこのような背景に従い、それ以前はア
ダプタ基板3をスロット2に差し込むことにより実現し
ていた機能を回路部分6として主基板1上に内蔵して、
標準機能として利用できるようにしたものである。
In the first conventional example, in accordance with such a background, a function previously realized by inserting the adapter board 3 into the slot 2 is built in the main board 1 as a circuit portion 6,
It can be used as a standard function.

第1の従来例の構成において、回路部分6を有効に機
能せしめるためには、これに相当する制御プログラムが
必要となる。
In the configuration of the first conventional example, a control program corresponding to this is required to make the circuit portion 6 function effectively.

このために、第11図のメモリマップに示すように、基
本ROM4の容量を倍増し、拡張用の予備領域であったアド
レスOEOOOOH〜OEFFFFHに増加分を配置してここに制御プ
ログラムを記憶させる。
For this purpose, as shown in the memory map of FIG. 11, the capacity of the basic ROM 4 is doubled, the increase is allocated to the addresses OEOOOOH to OEFFFFH, which are spare areas for expansion, and the control program is stored here.

しかしながら、この場合、予備領域が特定の用途に専
有されてしまうために、この領域を何らかの用途に利用
する応用に対しては不都合を生じる怖れがある。
However, in this case, since the spare area is occupied by a specific application, there is a fear that inconvenience may occur for an application that uses this area for some purpose.

次に、第12図および第13図にを用いて第2の従来例を
説明する。
Next, a second conventional example will be described with reference to FIGS. 12 and 13. FIG.

この従来例では、回路基板の構成については、第1の
従来例と同じであるが、第13図のメモリマップに示すよ
うに、本来ROMが配置されるべきアドレス領域OCOOOOH〜
OFFFFFHに対して、ある容量を単位として単位ごとにROM
と切り換えて対応するアドレスに配置することのできる
バンク切り換え式のRAM(ランダム アクセス メモ
リ)備える。
In this conventional example, the configuration of the circuit board is the same as that of the first conventional example. However, as shown in the memory map of FIG.
ROM for each unit with a certain capacity as a unit for OFFFFFH
And a bank-switchable RAM (random access memory) which can be switched to a corresponding address.

そして、基本ROM4の記憶内容、アダプタROM5の記憶内
容をすべて読み取って、このRAM上に書き込み、複製を
作ってからバンク切り換えを行って、RAMをROMと切り換
えることにより、スロット2上では8ビットの読み取り
しか行えなかったアダプタROM5のプログラムを、RAM上
の複製より、高速に読み取り実行する。
Then, the storage contents of the basic ROM 4 and the storage contents of the adapter ROM 5 are all read, written on this RAM, a copy is made, the bank is switched, and the RAM is switched to the ROM. The program of the adapter ROM5 that could only be read is read and executed faster than the copy on the RAM.

RAMは主基板1上に置くので、必要に応じて16ビット
の読み取り(あるいは、さらにデータビット幅の大きい
装置であれば例えば32ビットの読み取り)が可能にな
る。
Since the RAM is placed on the main substrate 1, 16-bit reading (or, for example, a 32-bit reading in a device having a larger data bit width) becomes possible as necessary.

この結果、アダプタROM5に記憶するプログラムをバン
ク切り換え式のRAM上で実行することによってプログラ
ム実行所要時間の短縮を図ることができる。
As a result, by executing the program stored in the adapter ROM 5 on the bank-switchable RAM, the time required for executing the program can be reduced.

しかしながら、この場合、RAMアダプタROMに加え、数
百kバイトのRAMが必要になるという問題がある。
However, in this case, there is a problem that several hundred kilobytes of RAM are required in addition to the RAM adapter ROM.

なお、この種の技術としては、特開昭64−8214号公報
記載の技術が知られている。
As this type of technology, a technology described in Japanese Patent Application Laid-Open No. 64-8214 is known.

[発明が解決しようとする課題] 以上のように、ISAに適合した装置では、基本的にス
ロット上のアダプタ基板に設けたアダプタROMの読み取
りは8ビット単位にしか行えないという制限があり、こ
れに対して従来アダプタ基板とアダプタROMの双方を主
基板の回路として実現してしまう技術、アダプタROMの
内容を主基板上のRAMに写しとってアダプタROMのかわり
にRAM上のプログラム・データを使用する技術等がとら
れることがあった。
[Problems to be Solved by the Invention] As described above, in an apparatus conforming to ISA, there is a limitation that reading of an adapter ROM provided on an adapter board on a slot can be basically performed only in units of 8 bits. In contrast to the conventional technology, both the adapter board and the adapter ROM are realized as a circuit on the main board, the contents of the adapter ROM are copied to the RAM on the main board, and the program data on the RAM is used instead of the adapter ROM Technology was sometimes adopted.

しかしながら、これらの方法では、前記したように互
換性に対する保証が十分で無い場合が生じたり、あるい
は余分のRAMを必要とするという問題があった。
However, these methods have a problem that, as described above, there is a case where the compatibility is not sufficiently guaranteed, or an extra RAM is required.

そこで、本発明は、システムROMの拡張用領域を占有
することなく、また、ROMやRAMを、さほど増加すること
なしに、従来アダプタ基板上のROMに内蔵していたプロ
グラムの実行速度を改善できる、ISAに適合したパーソ
ナルコンピュータ等の情報処理装置を提供することを目
的とする。
Therefore, the present invention can improve the execution speed of a program conventionally incorporated in ROM on an adapter board without occupying an extension area of a system ROM and without increasing ROM or RAM so much. And an information processing apparatus such as a personal computer compatible with ISA.

[課題を解決するための手段] 前記目的達成のために、本発明は、主基板上に、中央
処理装置と、中央処理装置が読み取る基本入出力制御プ
ログラムと他のプログラムを記憶する基本ROMと、前記
基本入出力プログラムをシステムROM領域に再配置し、
さらに、前記他のプログラムを所定のアダプタROM領域
に再配置可能な再配置回路とを備えたことを特徴とする
情報処理装置を提供する。
Means for Solving the Problems To achieve the above object, the present invention provides a central processing unit, a basic ROM for storing a basic input / output control program read by the central processing unit and other programs, on a main board. Relocating the basic input / output program to a system ROM area,
Further, the present invention provides an information processing apparatus comprising a relocation circuit capable of relocating the another program in a predetermined adapter ROM area.

また、本情報処理装置において、前記基本ROMに、前
記他のプログラムを2以上記憶する場合には、前記再配
置回路は、前記2以上の他のプログラムのうち1のプロ
グラムを選択的に、所定のアダプタROM領域に再配置可
能とすれば良い。
Further, in the present information processing apparatus, when two or more of the other programs are stored in the basic ROM, the relocation circuit selectively selects one of the two or more other programs in a predetermined manner. Can be relocated to the adapter ROM area.

また、中央処理装置が読み取る前記基本ROMとは異な
るプログラムあるいはデータを記憶する拡張ROMを主基
板上に備え、 前記再配置回路は、拡張ROMに記憶されたプログラム
あるいはデータを、システムROM拡張領域に再配置可能
とすることが望ましい。
Also, an extension ROM for storing a program or data different from the basic ROM read by the central processing unit is provided on the main board, and the relocation circuit stores the program or data stored in the extension ROM in a system ROM extension area. It is desirable to be able to rearrange.

また、この場合、拡張ROMに記憶するプログラムある
いはデータの容量が、再配置先の領域より大きい場合に
は、前記再配置回路は、前記拡張ROMに記憶されたプロ
グラムあるいはデータを、所定の容量毎に複数のバンク
に区切り、該複数のバンクのうちの1つのバンクを選択
的にシステムROM拡張領域に再配置可能とすれば良い。
Further, in this case, if the capacity of the program or data stored in the extension ROM is larger than the area of the relocation destination, the relocation circuit stores the program or data stored in the extension ROM for each predetermined capacity. In this case, the plurality of banks may be divided into a plurality of banks, and one of the plurality of banks may be selectively rearranged in the system ROM extension area.

また、前記中央処理装置が、前記再配置回路に再配置
の指示もしくは再配置の禁止を指示するレジスタを備
え、行う処理に応じて再配置を制御可能とすることが望
ましい。
Further, it is preferable that the central processing unit includes a register for instructing the relocation circuit to perform relocation or prohibit relocation, so that the relocation can be controlled according to a process to be performed.

[作 用] 本発明に係る情報処理装置によれば、中央処理装置
が、16ビット(あるいはそれ以上)のビット数を単位と
する読み取りが可能な、主基板上の基本ROMにアダプタ
基板、またはアダプタ基板と同等の機能を実現する主基
板上の回路部分を制御するためのプログラムやデータ等
を記憶させ、これらの機能を高速に実現可能とし、さら
に、再配置回路が、このプログラムを所定のアダプタRO
M領域に再配置することにより、アダプタROMの読み取り
アドレスとして定義されているアドレスから読み取れる
ようにし、一方システムROM拡張用領域を、他の用途に
使用可能とする。
[Operation] According to the information processing apparatus of the present invention, the central processing unit can read the basic ROM on the main board, which is readable in units of 16-bit (or more) bits, or the adapter board or A program, data, and the like for controlling a circuit portion on the main board that realizes a function equivalent to that of the adapter board are stored, so that these functions can be realized at high speed. Adapter RO
By relocating to the M area, it is possible to read from the address defined as the read address of the adapter ROM, while making the area for expanding the system ROM available for other uses.

また、前記基本ROMに、プログラムを2以上記憶し、
前記再配置回路が、前記2以上の他のプログラムのうち
1のプログラムを選択的に、所定のアダプタROM領域に
再配置可能とすれば、2以上のアダプタ基板、またはア
ダプタ基板と同等の機能を、同様に実現できる。
Further, two or more programs are stored in the basic ROM,
If the relocation circuit enables one of the two or more other programs to be selectively relocated to a predetermined adapter ROM area, the relocation circuit performs a function equivalent to two or more adapter boards or an adapter board. And can be similarly realized.

また、拡張ROMは、必ずしも、すべての装置において
必要とされるものではないが、拡張ROMを主基板上に備
えた場合は、これに、たとえば、漢字処理、例えば漢字
の文字の形を示す漢字フォントや、かな−漢字変換のた
めの変換辞書等を記憶し、前記再配置回路が、拡張ROM
に記憶されたプログラムあるいはデータを、システムRO
M拡張領域に再配置することにより、これらも機能をシ
ステムROM拡張用領域で用いることができる。
Further, the extension ROM is not necessarily required in all devices. However, when the extension ROM is provided on the main board, the extension ROM includes, for example, kanji processing, for example, a kanji character indicating a shape of a kanji character. A font, a conversion dictionary for kana-kanji conversion, and the like are stored.
Program or data stored in the system RO
By rearranging them in the M extension area, these functions can also be used in the system ROM extension area.

なお、漢字フォントや、かな−漢字変換のための変換
辞書等の容量が、システルROM拡張用領域より大きい場
合は、前記再配置回路が、前記拡張ROMに記憶されたプ
ログラムあるいはデータを、所定の容量毎に複数のバン
クに区切り、該複数のバンクのうちの1つのバンクを選
択的にシステムROM拡張領域に再配置するようにし、こ
れら全てを、システムROM拡張用領域で利用可能とす
る。
If the capacity of a kanji font or a conversion dictionary for kana-kanji conversion is larger than the system ROM extension area, the relocation circuit replaces the program or data stored in the extension ROM with a predetermined value. It is divided into a plurality of banks for each capacity, and one of the plurality of banks is selectively rearranged in the system ROM extension area, and all of them are made available in the system ROM extension area.

[実施例] 以下、本発明に係る情報処理装置の一実施例をパーソ
ナルコンピュータを例にとり説明する。
[Embodiment] An embodiment of an information processing apparatus according to the present invention will be described below using a personal computer as an example.

ここで、第1図に本実施例に係るパーソナルコンピュ
ータの主要部の構成を示すブロック図を、第2図にパー
ソナルコンピュータの回路基板の基本的な構成を、第3
図にパーソナルコンピュータのメモリマップの中で、本
実施例において特に特徴的な部分を示す。
Here, FIG. 1 is a block diagram showing a configuration of a main part of the personal computer according to the present embodiment, FIG. 2 is a block diagram showing a basic configuration of a circuit board of the personal computer, and FIG.
FIG. 2 shows a part of the memory map of the personal computer which is particularly characteristic in this embodiment.

第1図、第2図において、先に示した第8図ないし第
12図中と同一の構成部分には同一番号を付してある。
In FIGS. 1 and 2, FIG. 8 to FIG.
The same components as those in FIG. 12 are denoted by the same reference numerals.

第1図は主基板1の構成を示したものであり、図中、
2はスロット、10は基本ROM4、拡張ROM7に与えるROMア
ドレスを保持するアドレスラッチ、11はアドレスおよび
バスの制御信号をデコードしてROMのアドレスデコード
と制御レジスタのためのデコードを行ってアクセスを制
御するデコーダ、12はデコーダ11が出力するROMアドレ
スデコード信号とROMの配置を指定するためのマッパ制
御信号に基づいてアドレスの変換を行ってROMアドレス
を生成し、基本ROM4及び拡張ROM7に供給するマッパ、13
はマッパ12に対してアドレスの変換を行うか否か、変換
を行う場合の変換動作の指定などを行うためのマッパ制
御情報を供給するマッパ制御レジスタ、14は拡張ROM7の
単位容量ごとに区切って記憶する記憶内容の中から、ど
の区切りの内容をメモリマップ上に配置可能とするのか
を指定するバンク番号を記憶して拡張ROM7のROMアドレ
ス信号の一部として供給する拡張ROMバンクレジスタ、1
5は基本ROM4あるいは拡張ROM7から読み出されたデータ
をデータバス上に送り出すためのバッファ、16はCPU、1
7はメインメモリ、18はコントロールバス、19はアドレ
スバス、20はデータバスである。
FIG. 1 shows the configuration of the main substrate 1, in which FIG.
2 is a slot, 10 is an address latch that holds a ROM address to be provided to the basic ROM 4 and the extended ROM 7, and 11 is an address and bus control signal to control access by performing ROM address decoding and decoding for the control register. The decoder 12 converts the address based on the ROM address decode signal output from the decoder 11 and the mapper control signal for specifying the arrangement of the ROM, generates a ROM address, and supplies the ROM address to the basic ROM 4 and the extended ROM 7. ,13
Is a mapper control register that supplies mapper control information for specifying whether or not to perform address conversion on the mapper 12, and for specifying a conversion operation when performing the conversion, and 14 is divided for each unit capacity of the extended ROM 7. An extended ROM bank register, which stores a bank number designating which delimiter content can be arranged on the memory map from the stored content and supplies it as a part of a ROM address signal of the extended ROM 7;
5 is a buffer for sending data read from the basic ROM 4 or the extended ROM 7 onto the data bus, 16 is a CPU, 1
7 is a main memory, 18 is a control bus, 19 is an address bus, and 20 is a data bus.

第2図において、1は主基板、2は主基板上に実装
し、各種のアダプタを接続するためのコネクタであると
ころのスロット、4は主基板1に実装し、パーソナルコ
ンピュータの基本入出力制御プログラムを記憶する基本
ROM、6は従来アダプタ基板にて実現されていた機能を
主基板1上に内蔵して実現するための回路部分、第7図
は拡張ROMである。
In FIG. 2, 1 is a main board, 2 is a slot mounted on the main board, and a connector is a connector for connecting various adapters, 4 is mounted on the main board 1, and a basic input / output control of a personal computer is performed. Basics of storing programs
ROM 6 is a circuit portion for realizing the functions realized by the conventional adapter board by being built in the main board 1, and FIG. 7 is an expansion ROM.

第3図は物理的なROMアドレスからメモリマップへの
写像関係を示すメモリマップである。
FIG. 3 is a memory map showing a mapping relationship from a physical ROM address to a memory map.

第3図中、左側はISAに適合する装置において、ROMを
配置することができるメモリマップ部分を示し、第3図
右側はそれぞれ基本ROM4と拡張ROM7の記憶内容を示す。
In FIG. 3, the left side shows a memory map portion where a ROM can be arranged in an apparatus conforming to ISA, and the right side in FIG. 3 shows the storage contents of the basic ROM 4 and the expansion ROM 7, respectively.

第3図に示すように、本実施例においては、基本ROM
の中の基本入出力プログラムを記憶するROMアドレス領
域はメモリマップのOFOOOOH〜OFFFFFHの領域に固定的に
配置し、残りのROMアドレス領域はOEOOOOH〜OEFFFFHに
配置するか、あるいはこの領域をさらに2分割し、2分
割したROMアドレス領域の一方をメモリマップのOCOOOOH
〜OC7FFFFHの領域に配置するか、を切り換えることがで
きるということを示している。
As shown in FIG. 3, in this embodiment, the basic ROM
The ROM address area for storing the basic input / output program is fixedly allocated to the area of OFOOOOH to OFFFFFH in the memory map, and the remaining ROM address area is allocated to OEOOOOH to OEFFFFH, or this area is further divided into two. Then, one of the two ROM address areas is divided into the memory map OCOOOOH
It is shown that it is possible to switch between placing in the region of ~ OC7FFFFH.

また、拡張ROMの単位容量ごとに区切った記内容をバ
ンク番号の指定によって選び出してメモリマップのOEOO
OOH〜OEFFFFHの領域に配置できることを示している。
In addition, the contents written in units of unit capacity of the expansion ROM are selected by specifying the bank number, and the OEOO of the memory map is selected.
This indicates that the device can be arranged in the region from OOH to OEFFFFH.

以下、本実施例の動作を説明する。 Hereinafter, the operation of the present embodiment will be described.

第1図において、基本ROM4、拡張ROM7からの読み取り
を行う前に、CPU16は、マッパ制御レジスタ13および拡
張ROMバンクレジスタ14には、それぞれマッパ12にROMア
ドレスのメモリマップへの写像をどのように行うかを指
定するマッパ制御情報、拡張ROMの記憶内容の中からど
の部分を読み取り可能にするかを指定する拡張ROMバン
ク番号を設定しておく必要がある。
In FIG. 1, before reading from the basic ROM 4 and the extended ROM 7, the CPU 16 stores in the mapper control register 13 and the extended ROM bank register 14 how the mapping of the ROM address to the memory map is performed on the mapper 12 respectively. It is necessary to set mapper control information for specifying whether to perform the operation, and an extended ROM bank number for specifying which part of the contents stored in the extended ROM can be read.

このためにデコーダ11は、アドレスとバス制御信号と
からマッパ制御レジスタ13、拡張バンクレジスタ14それ
ぞれの書き込み信号を生成し、一方、マッパ制御レジス
タ13、拡張バンクレジスタ14はデコーダ11から与えられ
る書き込み信号によって、それぞれ新しい情報を記憶す
る。
For this purpose, the decoder 11 generates a write signal for each of the mapper control register 13 and the extension bank register 14 from the address and the bus control signal, while the mapper control register 13 and the extension bank register 14 generate a write signal supplied from the decoder 11. Stores new information.

ROMの読み取りを行う場合、デコーダ11がアドレス上
位ビットのデコードを行い、基本ROM4、あるいは拡張RO
Mがアクセスされ得るアドレスが与えられたときは、マ
ッパ12に対してROMが選択され得ることを伝達する。
When reading the ROM, the decoder 11 decodes the upper bits of the address and reads the basic ROM 4 or the extended RO.
When an address from which M can be accessed is given, it informs mapper 12 that a ROM can be selected.

アドレスラッチ10は、アドレスの下位ビットをラッチ
して、基本ROM4、拡張ROM7の読み取りロケーションの決
定に必要なROMアドレスを供給する。
The address latch 10 latches the lower bits of the address and supplies a ROM address necessary for determining a read location of the basic ROM 4 and the extended ROM 7.

マッパ12は、デコーダ11がROMのアクセスを指示した
時、アドレスの上位ビットとマッパ制御レジスタ13から
与えられるマッパ制御情報に従って、基本ROM4あるいは
拡張ROM7の読み取りを行うか否か、読み取りアドレスの
変換を行うか否か、変換を行う場合にはどのような写像
関係に従うかを決定する。
When the decoder 11 instructs access to the ROM, the mapper 12 converts the read address according to the upper bits of the address and the mapper control information given from the mapper control register 13 to determine whether to read the basic ROM 4 or the extended ROM 7. It is determined whether or not to perform the conversion and what kind of mapping relationship to follow when performing the conversion.

マッパ12に対して、基本ROM4の読み取りを指示した場
合、基本ROM4の読み取りアドレスは第3図に示したよう
にOCOOOOH〜OC7FFFH、OEOOOOH〜OEFFFFH、OFOOOOH〜OFF
FFFHの3領域の中の1領域である。
When instructing the mapper 12 to read the basic ROM 4, the read addresses of the basic ROM 4 are OCOOOOH to OC7FFFH, OEOOOOH to OEFFFFH, OFOOOOH to OFF as shown in FIG.
This is one of the three regions of FFFH.

OEOOOOH〜OEFFFFHの領域とOFOOOOH〜OFFFFFHの領域と
を基本ROMに割り当てる場合は、マッパ12が基本ROM4に
対する出力イネーブル信号(第1図中BIOSOE#)を与
え、読み取りアドレスビットRA16〜0を基本ROMに与え
ることにより実現される。
When allocating the area of OEOOOOH to OEFFFFH and the area of OFOOOOOH to OFFFFFH to the basic ROM, the mapper 12 provides an output enable signal (BIOSOE # in FIG. 1) for the basic ROM 4 and sets the read address bits RA16 to RA16 to the basic ROM. It is realized by giving.

OEOOOO〜OEFFFFHの領域を、基本ROM4に割り当てない
場合は、この領域の読み取りに対して、マッパ12が基本
ROM4に対する出力イネーブル信号(BIOSOE#)を与えな
いことで読み取りを禁止する。
If the area from OEOOOO to OEFFFFH is not allocated to the basic ROM 4, the mapper 12
Reading is prohibited by not giving an output enable signal (BIOSOE #) to ROM4.

OCOOOO〜OC7FFFHのアドレス領域を基本ROM4に割り当
てる場合は、OCOOOOH〜OC7FFFHのアドレス領域に配置で
きるROM容量は基本ROM4の記憶内容の低位側1/2の中のい
ずれか1/2、すなわち、ROM4の1/4であるので、マッパ12
はマッパ制御情報に従ってROMアドレスビットRA15を
“0"または“1"に固定して、ROM4の記憶内容の低位側1/
2の中の上位または下位の読み取りを行うよう制御する OEOOOOH〜OEFFFFHの領域を拡張ROM7に割り当てる場合
は、マッパ12はアドレスの上位ビットをデコードし、ア
ドレスがOEOOOOH〜OEFFFFHの領域を指示している場合に
拡張ROM7に対して出力イネーブル信号(第1図中DICOE
#)を与える。
When allocating the address area of OCOOOO to OC7FFFH to the basic ROM 4, the ROM capacity that can be arranged in the address area of OCOOOOH to OC7FFFH is one half of the lower half of the stored content of the basic ROM 4, that is, the ROM 4 1/4, so mapper 12
Fix the ROM address bit RA15 to “0” or “1” according to the mapper control information, and
When the area of OEOOOOH to OEFFFFH, which controls to perform upper or lower reading in 2, is assigned to the extended ROM 7, the mapper 12 decodes the upper bits of the address and points to the area of OEOOOOH to OEFFFFH. Output enable signal to the expansion ROM 7 (DICOE in FIG. 1).
#)give.

そして、拡張ROMバンクレジスタ14から与えるバンク
番号とアドレスラッチ10から与えるROMアドレスを供給
し、拡張ROM7から記憶内容を読みだす。
Then, a bank number given from the extended ROM bank register 14 and a ROM address given from the address latch 10 are supplied, and stored contents are read from the extended ROM 7.

なお、マッパ12は、マッパ制御レジスタ13の内容に応
じて、バッファ15のデータ出力を禁止・許可することが
できるので、基本ROM4、拡張ROM7の読み取りを禁止し
て、これらのROMの読み取りに使用するアドレス領域を
全く別の用途のために解放することもできる。すなわ
ち、これらのアドレス領域を専有するように設計された
アダプタ基板をスロットに差し込んだ場合でも、対応す
るアドレス領域をアダプタ基板が使用できるようにして
既存のアダプタを利用可能とすることができる。
The mapper 12 can inhibit or permit the data output of the buffer 15 according to the contents of the mapper control register 13, so that the reading of the basic ROM 4 and the extended ROM 7 is prohibited and the mapper 12 is used for reading these ROMs. Address areas can be released for entirely different uses. That is, even when an adapter board designed to occupy these address areas is inserted into the slot, the corresponding address area can be used by the adapter board, and the existing adapter can be used.

以上のように、本実施例によれば、従来アダプタ基板
を接続されていた機能を主基板上に集積する場合、制御
プログラムやデータを互換性を損うことなく基本ROMに
記憶させることができる。
As described above, according to the present embodiment, when functions that are conventionally connected to the adapter board are integrated on the main board, control programs and data can be stored in the basic ROM without loss of compatibility. .

また、この結果、ROMアクセスが8ビット単位に限ら
れるという制約を回避することができるので、プログラ
ムの実行処理に要する時間を短縮することができ、装置
の性能の改善に役立つという利点がある。さらに本実施
例では余分のRAMを必要としないので、経費の増加を防
ぐことができる。
In addition, as a result, it is possible to avoid the restriction that the ROM access is limited to the unit of 8 bits, so that it is possible to shorten the time required for the execution process of the program and to improve the performance of the apparatus. Further, in this embodiment, no extra RAM is required, so that an increase in cost can be prevented.

以下、本実施例の詳細について説明する。 Hereinafter, details of the present embodiment will be described.

第4図および第5図は、本実施例に係るROMメモリの
アドレス再配置機構において、より細やかな再配置制御
を行う場合のマッパ制御情報と各アドレス領域に写像さ
れるROM内容の対応を示すメモリマップ、第6図および
第7図は、この再配置制御を行うデコーダおよびマッパ
をPLD(Programmable Logic Device)で実現する場合
の論理式の一例である。
FIGS. 4 and 5 show the correspondence between the mapper control information and the ROM content mapped to each address area when finer relocation control is performed in the address relocation mechanism of the ROM memory according to the present embodiment. FIGS. 6 and 7 show examples of logical expressions when the decoder and the mapper for performing the relocation control are realized by a PLD (Programmable Logic Device).

第4図および第5図に示すメモリマップでは、アドレ
ス領域の最上位であるFEOOOOH〜FFFFFFHに対して基本RO
Mの配置を制御できるようにした点が第3図に示したメ
モリマップとの相違である。
In the memory maps shown in FIGS. 4 and 5, basic ROOs are assigned to FEOOOOH to FFFFFFH, which is the highest address area.
The difference from the memory map shown in FIG. 3 is that the arrangement of M can be controlled.

第4図および第5図のメモリマップにおいて、DICE
N、BIOSEN、CXEN、CXPG、KILLBIOSはそれぞれマッパ制
御レジスタ13に設定される前期マッパ制御情報を構成す
る信号である。
In the memory maps of FIGS. 4 and 5, DICE
N, BIOSEN, CXEN, CXPG, and KILLBIOS are signals constituting the mapper control information set in the mapper control register 13, respectively.

DICENが“1"のとき、アドレスOEOOOOH〜OEFFFFHの領
域に拡張ROMが配置される。
When DICEN is “1”, the extension ROM is arranged in the area of addresses OEOOOOH to OEFFFFH.

BIOSENが“1"かつKILLBIOSが“0"のとき、アドレスFE
OOOOH〜FFFFFFHに基本ROMを配置することができ、この
ときCXENが“0"かつCXPGが“1"であればアドレスFEOOOO
H〜FEFFFFHに基本ROMの低位アドレス側1/2が配置され
る。
When BIOSEN is “1” and KILLBIOS is “0”, the address FE
The basic ROM can be allocated to OOOOH to FFFFFFH. At this time, if CXEN is “0” and CXPG is “1”, the address FEOOOO
The lower order address half of the basic ROM is arranged in H to FEFFFFH.

CXENが“1"のときアドレスOCOOOOH〜OC7FFFHに基本RO
Mの低位アドレス側1/2の中のCXPGによって指定された上
位または下位の、いずれかが配置される。
When CXEN is "1", the basic RO address OCOOOOH to OC7FFFH
Either the upper or lower specified by CXPG in the lower address side 1/2 of M is arranged.

KILLBIOSが“1"のときは、基本ROMはメモリマップ上
に現れない。
When KILLBIOS is “1”, the basic ROM does not appear on the memory map.

以上のように、第4図に示したメモリマップでは、メ
モリマップ上に基本ROMが現れないように制御できるの
で、基本ROMが通常配置されるアドレス領域に他のメモ
リを配置することができる。
As described above, in the memory map shown in FIG. 4, control can be performed so that the basic ROM does not appear on the memory map, so that another memory can be arranged in the address area where the basic ROM is normally arranged.

すなわち、必要に応じてこれらのアドレス領域にRAM
を配置すれば、利用できるRAM領域を増加することがで
き、あるいはアダプタ基板はどのROMを配置することに
より、基本ROMに記憶した基本入出力制御プログラムを
置き換えてしまうことも可能になる。さらには前述した
第2の従来例のように、ROMの内容をRAMに複製して使用
する応用に対しても、障害を生ずることがない。
In other words, if necessary, RAM
In this case, the available RAM area can be increased, or the adapter board can replace the basic input / output control program stored in the basic ROM by arranging which ROM. Further, there is no problem for applications in which the contents of the ROM are copied to the RAM and used as in the second conventional example described above.

以上説明したように、本実施例によれば、従来パーソ
ナルコンピュータで標準的に採用されてきたROMメモリ
の基本メモリマップに矛盾を生ずること無しに基本ROM
の容量を増大して新たなプログラムやデータを蓄積する
ことができる。また、この結果、アダプタ基板上にROM
を設ける場合にくらべ、ROMに記憶したプログラムをよ
り短時間で読み取ることができるので、処理時間の短縮
に役立つ。さらに本実施例の実施にあたっては余分のRA
Mなど必要としないので、経費の削減に役立ち、あるい
は装置に搭載されているRAMを余分に消費しないので利
用可能なRAM容量の減少を防止できる。
As described above, according to the present embodiment, the basic ROM can be used without inconsistency in the basic memory map of the ROM memory that is conventionally standardly used in personal computers.
, And new programs and data can be stored. As a result, the ROM on the adapter board is
Since the program stored in the ROM can be read in a shorter time as compared with the case where the program is provided, it is useful to shorten the processing time. Further, in implementing this embodiment, extra RA
Since no M or the like is required, it is possible to reduce the cost, or it is possible to prevent a reduction in the available RAM capacity by not consuming extra RAM mounted on the device.

[発明の効果] 以上のように、本発明によれば、システムROMの拡張
用領域を占有することなく、また、ROMやRAMを、さほど
増加することなしに、従来アダプタ基板上のROMに内蔵
していたプログラムの実行速度を改善できる、ISAに適
合したパーソナルコンピュータ等の情報処理装置を提供
することができる。
[Effects of the Invention] As described above, according to the present invention, the ROM on the conventional adapter board is built in the ROM on the conventional adapter board without occupying the extended area of the system ROM and without increasing the ROM or RAM so much. It is possible to provide an information processing apparatus such as a personal computer or the like, which is capable of improving the execution speed of a program that has been used, and is compatible with ISA.

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

第1図は本発明の一実施例に係るパーソナルコンピュー
タの主要部の構成を示すブロック図、第2図はパーソナ
ルコンピュータの基板構成を示す説明図、第3図、第4
図および第5図はパーソナルコンピュータのメモリマッ
プを示す説明図、第6図および第7図はPLDの論理式、
第8図は従来のISAに適合した基板構成を示す説明図、
第9図は従来のISAに適合したメモリマッップを示す説
明図、第10図は第1の従来例に係る基板構成を示す説明
図、第11図は第1の従来例に係るメモリマッップを示す
説明図、第12図は第2の従来例に係る基板構成を示す説
明図、第13図は第2の従来例に係るメモリマッップを示
す説明図である。 4……基本ROM、7……拡張ROM、10……アドレスラッ
チ、11……デコーダ、12……マッパ、13……マッパ制御
レジスタ、14……拡張ROMバンクレジスタ、15……バッ
ファ、16……CPU、17……メインメモリ、18……コント
ロールバス、19……アドレスバス、20……データバス。
FIG. 1 is a block diagram showing a configuration of a main part of a personal computer according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a substrate configuration of the personal computer, FIG.
FIG. 5 and FIG. 5 are explanatory diagrams showing a memory map of the personal computer. FIG. 6 and FIG.
FIG. 8 is an explanatory view showing a substrate configuration adapted to a conventional ISA,
FIG. 9 is an explanatory view showing a conventional memory map adapted to ISA, FIG. 10 is an explanatory view showing a substrate configuration according to a first conventional example, and FIG. 11 is an explanatory view showing a memory map according to the first conventional example. FIG. 12 is an explanatory diagram showing a substrate configuration according to a second conventional example, and FIG. 13 is an explanatory diagram showing a memory map according to the second conventional example. 4 Basic ROM, 7 Extended ROM, 10 Address latch, 11 Decoder, 12 Mapper, 13 Mapper control register, 14 Extended ROM bank register, 15 Buffer, 16 ... CPU, 17 ... main memory, 18 ... control bus, 19 ... address bus, 20 ... data bus.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−114950(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 12/06 ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-1-114950 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 12/06

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主基板上に、 中央処理装置と、 前記中央処理装置が読み取る基本入出力制御プログラム
と他のプログラムを記憶する基本ROMと、 前記中央処理装置が読み取る前記基本ROMとは異なるプ
ログラムあるいはデータを記憶する拡張ROMと、 前記基本入出力制御プログラムをシステムROM領域に再
配置し、前記他のプログラムを所定のアダプタROM領域
に再配置し、さらに、前記拡張ROMに記憶されたプログ
ラムあるいはデータを、システムROM拡張領域に再配置
可能な再配置回路と、を備えた ことを特徴とする情報処理装置。
1. A central processing unit, a basic ROM for storing a basic input / output control program read by the central processing unit and other programs, and a program different from the basic ROM read by the central processing unit. Alternatively, an expansion ROM for storing data, the basic input / output control program is rearranged in a system ROM area, the other program is rearranged in a predetermined adapter ROM area, and further, a program stored in the expansion ROM or An information processing apparatus, comprising: a relocation circuit capable of relocating data to a system ROM extension area.
【請求項2】請求項1記載の情報処理装置であって、 前記基本ROMは、前記他のプログラムを2以上記憶し、 前記再配置回路は、前記2以上の他のプログラムのうち
の1つのプログラムを選択的に、所定のアダプタROM領
域に再配置可能である ことを特徴とする情報処理装置。
2. The information processing apparatus according to claim 1, wherein the basic ROM stores two or more of the other programs, and wherein the relocation circuit stores one of the two or more other programs. An information processing apparatus, wherein a program can be selectively rearranged in a predetermined adapter ROM area.
【請求項3】請求項1記載の情報処理装置であって、 前記再配置回路は、前記拡張ROMに記憶されたプログラ
ムあるいはデータを、所定の容量毎に複数のバンクに区
切り、該複数のバンクのうちの1つのバンクを選択的に
システムROM拡張領域に再配置可能である ことを特徴とする情報処理装置。
3. The information processing apparatus according to claim 1, wherein the relocation circuit divides a program or data stored in the extension ROM into a plurality of banks for each predetermined capacity. An information processing apparatus, wherein one of the banks can be selectively rearranged in a system ROM extension area.
【請求項4】請求項1、2または3記載の情報処理装置
であって、 前記中央処理装置が、前記再配置回路に再配置の指示も
しくは再配置の禁止を指示するレジスタを備えた ことを特徴とする情報処理装置。
4. The information processing apparatus according to claim 1, wherein the central processing unit includes a register for instructing the relocation circuit to perform relocation or prohibit relocation. Characteristic information processing device.
JP18677390A 1990-07-13 1990-07-13 Information processing device Expired - Fee Related JP2954988B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18677390A JP2954988B2 (en) 1990-07-13 1990-07-13 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18677390A JP2954988B2 (en) 1990-07-13 1990-07-13 Information processing device

Publications (2)

Publication Number Publication Date
JPH0477842A JPH0477842A (en) 1992-03-11
JP2954988B2 true JP2954988B2 (en) 1999-09-27

Family

ID=16194374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18677390A Expired - Fee Related JP2954988B2 (en) 1990-07-13 1990-07-13 Information processing device

Country Status (1)

Country Link
JP (1) JP2954988B2 (en)

Also Published As

Publication number Publication date
JPH0477842A (en) 1992-03-11

Similar Documents

Publication Publication Date Title
US5319763A (en) Data processor with concurrent static and dynamic masking of operand information and method therefor
US4654781A (en) Byte addressable memory for variable length instructions and data
US5721874A (en) Configurable cache with variable, dynamically addressable line sizes
KR100287355B1 (en) Smart video memory for processing graphics / images and its processing method
US5509138A (en) Method for determining speeds of memory modules
US6341325B2 (en) Method and apparatus for addressing main memory contents including a directory structure in a computer system
JPS607301B2 (en) computer system
US5423013A (en) System for addressing a very large memory with real or virtual addresses using address mode registers
US5127096A (en) Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes
US5724604A (en) Data processing system for accessing an external device and method therefor
US5928338A (en) Method for providing temporary registers in a local bus device by reusing configuration bits otherwise unused after system reset
US5751998A (en) Memory accessing system with portions of memory being selectively write protectable and relocatable based on predefined register bits and memory selection RAM outputs
JP2954988B2 (en) Information processing device
US8219736B2 (en) Method and apparatus for a data bridge in a computer system
JP2005222519A (en) Access to bit value in data word stored in memory
US6029210A (en) Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state
JPH10293684A (en) Computer system and rise control method therefor
JPH08129376A (en) One-chip memory device
KR920003845B1 (en) Rom region expansion system for users of pc
JP3449749B2 (en) Information processing device
KR100257750B1 (en) A combined cache with memory
US5282172A (en) Look-ahead circuit for fast decode of bankselect signals in EMS systems
KR930009061B1 (en) Memory access unit
WO1993011490A1 (en) Programmable control of ems page register addresses
US20020099680A1 (en) Data processing system for use in conjuction with a font card or the like

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees