JPH03211640A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPH03211640A
JPH03211640A JP2006148A JP614890A JPH03211640A JP H03211640 A JPH03211640 A JP H03211640A JP 2006148 A JP2006148 A JP 2006148A JP 614890 A JP614890 A JP 614890A JP H03211640 A JPH03211640 A JP H03211640A
Authority
JP
Japan
Prior art keywords
rom
address
bank
cpu
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
Application number
JP2006148A
Other languages
Japanese (ja)
Inventor
Ryuichi Hattori
隆一 服部
Yukihiro Seki
関 行宏
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 JP2006148A priority Critical patent/JPH03211640A/en
Publication of JPH03211640A publication Critical patent/JPH03211640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To attain access to dictionary ROM at high speed without reducing a memory space which a user can use by switching highest ROM in the memory space at a protection address mode and dictionary ROM which is allocated in parallel to the ROM so as to attain access. CONSTITUTION:Bank numbers are allocated to the memory bank of dictionary ROM 13 and ROM 12 in the memory space at the protection address mode, and CPU 11 sets bank selection information to a bank register 17 based on the bank numbers. An address decoding part 32 decodes bank selection information and address information which CPU 11 outputs, and outputs a ROM selection signal 30 or 31. Thus, dictionary ROM 13 can be allocated to the memory space without reducing the memory area which the user can use. Thus, the capacity of dictionary ROM 13 is enlarged and high speed access is attained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナルコンビ、−夕やワードプロセッナ
等の手屋情報処理装置に好適なメモリアクセス方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory access method suitable for a handheld information processing apparatus such as a personal combination, a computer, a word processor, and the like.

〔従来の技術〕[Conventional technology]

一般に、パーソナルコンビエーメ(以下、パソコンと称
す、)等において、日本語データを扱う念めには、日本
語7オントを表示するための漢字CGや日本語入力W#
にかな漢字変換を行なうための変換用辞書などの要素を
備えている必要がある。
In general, in order to handle Japanese data on a personal computer (hereinafter referred to as a personal computer), etc., it is necessary to use kanji CG and Japanese input W# to display Japanese 7 onts.
It is necessary to have elements such as a conversion dictionary for performing kana-kanji conversion.

以下、ここでは、変換用辞書について述べる。Hereinafter, the conversion dictionary will be described.

パソコンにおいて、変換用辞書を使用する場合には、そ
O容量が大きいため、そのままメモリ空間に割や当てる
事は少なく、フロッピーディスクやハードディスクなど
の襠助記憶装置に格絡して使用する場合が多い。
When using a conversion dictionary on a personal computer, due to its large capacity, it is rarely allocated directly to memory space, but is often used by relegating it to a storage device such as a floppy disk or hard disk. many.

しかし、近年、パソコン等では、日本語入力をより効皐
良く、かつ、高速に行ないたいとの要求が強tzてきて
おp、そのため、変換用辞書の容量増大およびその内容
をメモリ上においた高速アクセスが要求されてきている
However, in recent years, there has been a strong demand for more efficient and faster Japanese input on computers, etc. Therefore, the capacity of conversion dictionaries has increased and the contents have been stored in memory. There is a growing demand for high-speed access.

ところで、パソコンで広く用いられている米国インテル
社のCPU8084を例にとると、そのメモリ空間は1
Mバイト(輩=2 )であシ、その限られた空間内に、
ROM、RAM、表示メモリなどを割シ当てる必要があ
る。tた、8086の上位CPUである80284,5
$4,1486などでは、メモリ空間t16Mバイト〜
4Gバイト(G:2  )K拡大した保鰻アドレスモー
ドと呼ばれる動作モードを持っている。
By the way, if we take as an example the CPU8084 made by Intel Corporation in the United States, which is widely used in personal computers, its memory space is 1
It is M bytes (Kai = 2), and within that limited space,
It is necessary to allocate ROM, RAM, display memory, etc. 80284,5 which is the upper CPU of 8086
For $4,1486, etc., the memory space is t16M bytes ~
It has an operation mode called Hounagi address mode, which is expanded to 4 GB (G:2)K.

しかし、これらのCPUを使用したシステムにおいても
、従来の8086用ソフトとの互換を考慮して、808
6と同じ1Mバイトのメモリを間を基本に、メモリマツ
プを割シ当てるのが普通である。
However, even in systems using these CPUs, 808
It is normal to allocate a memory map based on the same 1M byte memory as 6.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術には、変換用辞書について、以下のような
問題点があった。
The above conventional technology has the following problems regarding the conversion dictionary.

すなわち、変換用辞書ファイルを70ツピーデイスクく
格納して用いる場合は、その容量が限られておシ、変換
用辞書の容量増加には対応出来なくなるという問題があ
る。
That is, when the conversion dictionary files are stored and used on 70 disks, there is a problem that the capacity is limited and it becomes impossible to cope with an increase in the capacity of the conversion dictionary.

また、ハードディスク装置を用いれば、容量増加には対
応出来るが、装置が高価であシ、一般に普及していない
という問題がある。
Further, if a hard disk device is used, it is possible to cope with an increase in capacity, but there is a problem that the device is expensive and is not widely used.

さらに、7四ツビーデイスクおよびハードディスクのい
ずれを用いる場合も、外部記憶装置であるため、アクセ
ス速度が遅いという問題がある。
Furthermore, when using either a 74TB disk or a hard disk, since they are external storage devices, there is a problem that the access speed is slow.

そこで、高速にアクセスするためには、変換用辞書をメ
モリ空間に割シ当てる方法が有効である。
Therefore, for high-speed access, it is effective to allocate the conversion dictionary to memory space.

当初から日本語入力を考慮してバーンナル;ンビュータ
を設計する場合は、先に述べた漢字CGや変換用辞書な
どを、効皐良くメモリ空間に配置するよう仕様を決めれ
ばよい。
When designing a burner converter with Japanese input in mind from the beginning, the specifications should be determined so that the aforementioned kanji CG, conversion dictionary, etc. can be placed efficiently in the memory space.

しかし、日本語入力を前提としていないパソコン、例え
ば、英語圏で11s的に使用されているパソコンを日本
語入力可能とする場合には、以下のような問題がある。
However, when a personal computer that is not designed for Japanese input, such as a personal computer commonly used in English-speaking countries, is enabled to input Japanese, the following problems arise.

第5図にCPUとして80284を用いた英語圏でas
的に使用されているパソコンのメモリマツプの一例を示
す。
Figure 5 shows the AS in English-speaking countries using 80284 as the CPU.
An example of the memory map of a commonly used personal computer is shown below.

第5図において、1は640xバイトの容量を持つ標準
RAM領域、2は128にバイトの大きさを持ち、表示
メモリとして用いられるビデオRAM、isは128に
バイトの大きさを持つI10アダプタROM領域、4は
441バイトの大きさを持チ、システムが使用を予約し
ているシステム予約領域(a)、5は64にバイトの大
きさを持つBIO8−ROM(al、6はメモリ空間の
最上位に割ル当てられ、IIO8−ROM(a)5と同
じ内容OB 10 g−ROM(b)、9は最大15菖
バイトの大きさを持つ拡張RAM領域である。
In Figure 5, 1 is a standard RAM area with a capacity of 640x bytes, 2 is a video RAM with a size of 128 bytes and is used as display memory, and is is an I10 adapter ROM area with a size of 128 bytes. , 4 has a size of 441 bytes and is a system reserved area (a) reserved for use by the system, 5 is a BIO8-ROM (al) with a size of 64 bytes, and 6 is the topmost memory space. The IIO8-ROM(a) has the same contents as 5. The OB10g-ROM(b),9 is an extended RAM area having a maximum size of 15 bytes.

前述の80286などの実アドレスモードのメモリ空間
は、00000(IIE1番地〜FFFFF(H)番地
までの1Mバイトであり、このうち、@準RAM領域1
06401バイトがユーザの使用可能な領域である。
The memory space in the real address mode such as the above-mentioned 80286 is 1M byte from 00000 (IIE1 address to FFFFF(H) address, of which @ quasi-RAM area 1
06401 bytes is the area available to the user.

また、100000(H)番地から上位の領域は、通常
は、保護アドレスモードで動作する時のみ、アクセス可
能である。しかし、80286などは、リセット時に、
実アドレスモードであpながら、メモリ空間の最上位(
FFFFFO@番地)から実行を始める。そのため、こ
の領域に、初期化グログラムを格納したBIO8−RO
M(b)6を割g当てておく必要がある。
Further, the area above address 100000 (H) is normally accessible only when operating in the protected address mode. However, when resetting 80286 etc.,
While p in real address mode, the topmost memory space (
Execution starts from FFFFFO@address). Therefore, the BIO8-RO that stores the initialization program in this area
It is necessary to allocate M(b)6.

第5図に示すメモリ空間に変換用辞書を割や当てる場合
、次のような問題点がある。
When allocating a conversion dictionary to the memory space shown in FIG. 5, there are the following problems.

まず、ニーダのアプリケージ璽ンプログラム(以下、A
Pと称す。)が使用する標準RAM領域1に変換用辞書
を置く場合は、APが使用できる標llRAM領域1を
低減させるという問題がある。
First, we will start with Needa's application cage program (hereinafter referred to as A).
It is called P. ), there is a problem in that the standard RAM area 1 that can be used by the AP is reduced.

また、メモリ空間の他のエリア、例えば、X10アダプ
タROM領域3およびシステム予約領域(&)4は、シ
ステムの使用領域に割り当てが決まってお夛、変換用辞
書を割シ当てた場合、他のメモリ素子と競合する恐れが
ある。
In addition, other areas of the memory space, such as the X10 adapter ROM area 3 and the system reserved area (&) 4, are allocated to the area used by the system. There is a risk of conflict with the memory element.

また、拡張RAM領域9KfilJ夛当てる場合は、R
AMの最大拡張容量が制限されるという問題がある。
In addition, when using the extended RAM area 9KfilJ, R
There is a problem in that the maximum expansion capacity of AM is limited.

また、例えば、ビデオRAM2、またはBIO8−RO
Mk)5と同一〇アドレスに変換用辞書を割p当て、こ
れらを切換えて使用する方式もある。
Also, for example, video RAM2 or BIO8-RO
There is also a method in which a conversion dictionary is assigned to the same address as Mk) 5, and these are used by switching.

この種の方式に関するものとしては、特開昭60−17
6088号公報に述べられている嗜この方式を用いれば
、ユーザの使用可能な標準RAM領域1は減少させずに
すむが、ビデオRAM2と切換える場合は、ビデオRA
M2と変換用辞1の同時アクセスが不可能となり、B 
I OS −ROM(a)5と切換える場合は、BIO
8−ROM−)5が見えないため、システムが暴走する
危険があるなどの問題がある。
Regarding this type of method, JP-A-60-17
If the system described in the 6088 publication is used, there is no need to reduce the standard RAM area 1 available to the user, but when switching to video RAM 2, the video RAM area
Simultaneous access to M2 and conversion word 1 becomes impossible, and B
When switching to IOS-ROM(a)5, BIO
Since the 8-ROM-) 5 cannot be seen, there are problems such as the risk of the system going out of control.

以上述べてきたように、上記従来技術では、高速なアク
セスを実現するために、変換用辞書をメモリ空間に割り
当てようとすると、ユーザの使用可能なメモリ領域が減
少するという問題がある。
As described above, in the above-mentioned conventional technology, when an attempt is made to allocate a conversion dictionary to memory space in order to achieve high-speed access, there is a problem in that the memory area available to the user decreases.

そこで、二一ザの使用可能なメモリ領域を低減させない
よう、変換用辞書を7CIツピーデイスク等に格納する
と、アクセス時間が遅くなったp、変換用辞書の容量が
制限されるという問題がある。
Therefore, if the conversion dictionary is stored in a 7CI disk or the like so as not to reduce the usable memory area of the computer, there are problems in that the access time becomes slow and the capacity of the conversion dictionary is limited.

また、ユーザの使用可能なメモリ領域を低減させないよ
う、メモリ上の他のデバイスと切換えるよ5にすると、
メモリマツプの互換性がなくなる等の問題がある。
Also, to avoid reducing the user's usable memory area, if you switch with other devices on the memory,
There are problems such as memory map incompatibility.

本発明の目的は、具体的には、瓢−ザの使用可能なメモ
リ空間を減少させる事なく、高速に変換用辞書にアクセ
スすることの出来るメモリ制御方式を提供することにあ
る。
Specifically, an object of the present invention is to provide a memory control method that allows high-speed access to a conversion dictionary without reducing the usable memory space of the processor.

なお、本明細書においては、−貫して、変換用辞書につ
いて述べているが、本発明は、これに限らず、高速にア
クセスしたい一連のデータについても、同様に適用でき
る。
In this specification, the conversion dictionary is described throughout, but the present invention is not limited to this, and can be similarly applied to a series of data that is desired to be accessed at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

ところで、80286,386.14B6等のCPUで
は、上記述べたように、リセット時に、実アドレスモー
ドで動作するが、アドレスの最上位から実行を始めるた
め、これらのCPUを用いたシステムでは、一般的に、
保護アドレスモードのメモリ9間の最上位に4ROMt
−割p当てる。
By the way, as mentioned above, CPUs such as 80286 and 386.14B6 operate in real address mode at reset, but since execution starts from the highest address, systems using these CPUs generally To,
4 ROMt at the top between memory 9 in protected address mode
- Assign p.

但し、ROMの内容は、実アドレスモードのメモリ空間
に割シ当てているものと同じであり、−旦実アドレスモ
ードOメモリ空間&’C夷行が移ると、それ以後、この
領域のROMをアクセスすることはない。
However, the contents of the ROM are the same as those allocated to the memory space in the real address mode, and once the real address mode O memory space &'C line is moved, the ROM in this area It will never be accessed.

本発明は、この点く着目し、実アドレスモードと保護ア
ドレスモードとの少なくと42つの動作モードを持つC
Pt1を用いた情報処理装置において、@2のROMを
、保護アドレスモードのメモリ空間の最上位のRO1l
#C並行して、いわば、裏側に割付け、上記CPUかも
出力されるROM選択情報に基づいて、上記保護アドレ
スモードのメモvg間の最上位のROMと上記これに並
行して割付けた第2のROMとを切換えてアクセスする
ようにしている。
The present invention focuses on this point, and provides a Cable Cable Cable Controller that has at least 42 operating modes, including a real address mode and a protected address mode.
In an information processing device using Pt1, the ROM @2 is placed in the topmost memory space RO1l in protected address mode.
#C In parallel, the uppermost ROM between the memory vg in the protected address mode and the second ROM allocated in parallel to this are allocated on the back side, so to speak, and based on the ROM selection information outputted from the CPU as well. Access is made by switching between the ROM and the ROM.

そこで、上記保護アドレスモードのメモリ空間の最上位
OROMKM行して割付は九第2のRO墓を辞書ROM
とすることにより、辞書ROMをメモリ空間に割シ当て
るようにすることかでをる。
Therefore, the topmost OROMKM row of the memory space in the protected address mode is allocated to the ninth RO tomb as the dictionary ROM.
By doing so, the dictionary ROM can be allocated to the memory space.

また、辞書情報等の格納される情報が上記保嚢アドレス
モードのメモリ空間のROMの容量よシ大きく、上記第
2のROMの容量が上記保護アドレスモードのメモリ空
間のROMの容量を超える場合には、バンクメモリアク
セス方式を用いて、上記第2のROMを複数のメモリバ
ンクに分割し、上記CPUが出力するバンク選択情報お
よびアドレス情報に基づいて、上記保護アドレスモード
のメモリ空間のROMと上記第2のROMとを切換えて
アクセスするようにする。
Furthermore, if the information stored such as dictionary information is larger than the ROM capacity of the memory space in the protected address mode, and the capacity of the second ROM exceeds the ROM capacity of the memory space in the protected address mode, uses a bank memory access method to divide the second ROM into a plurality of memory banks, and based on the bank selection information and address information output by the CPU, the ROM in the memory space in the protected address mode and the above The second ROM is switched and accessed.

そのために、例えば、上記バンク選択情報を格納スルバ
ンクレジスタと、バンクレジスタに格納され九バンク情
報および上記CPUが出力するアドレス情報をデコード
するデコーダとを設け、上記デコーダは、デコード結果
に基づいて、上記保護アドレスモードのメモリ空間のR
OMと上記第2のROMとを切換えるためのROM選択
信号を出力するようにすればよい。
To this end, for example, a bank register that stores the bank selection information and a decoder that decodes the bank information stored in the bank register and the address information output by the CPU are provided, and the decoder, based on the decoding result, R of the memory space in the above protected address mode
A ROM selection signal for switching between the OM and the second ROM may be output.

バンクメモリアクセス方式に関連する装置としては、特
開昭61−105744号公報が挙げられる。
An example of a device related to the bank memory access method is Japanese Patent Application Laid-Open No. 105744/1983.

また、上記CPυのリセット時には、上記保護アドレス
モードのメモリ空間OR0Mが選択されるようにするこ
とが好ましい。
Further, when resetting the CPυ, it is preferable that the memory space OR0M in the protected address mode is selected.

〔作用〕[Effect]

本発明は、80284.586.1484等のCPUの
リセット後の動作に着目し、ユーザO使用可能なメモリ
空間を低減する事なく、辞書ROMをメモリ空間に割夛
当てるものである。
The present invention focuses on the operation of a CPU such as 80284.586.1484 after being reset, and allocates a dictionary ROM to the memory space without reducing the memory space available to the user.

例えば、80284では、冥アドレスモード時のアドレ
ス生成方法は、 アドレス =セグメントレジスタX14十オフセットであるが、リ
セット時には、レジスタおよびオフセットの初期化が行
なわれ、 セグメントレジスタ:FF0OOOH オフセツト    =FFFOR となる、このため、80286は、リセットされた後、
FFFFFO(H)番地から実行を開始する。
For example, in the 80284, the address generation method in the dark address mode is address = segment register Therefore, after the 80286 is reset,
Execution starts from address FFFFFO(H).

上記セグメントレジスタの初期値において、上記アドレ
ス生成方法から生成可能なアドレスは、FF0OOO(
H)番地からFFFFFF(H)番地1での641バイ
トであ夛、一般的に、この領域にもROMを割シ当てる
。但し、ROMの内容は、実アドレスモードのメモリ空
間に割り当てられているものと同じであり、−旦分岐命
令が実行された後は、実アドレスモードで動作すゐ限シ
、上記セグメントレジスタの上位4ビツトは、常[0と
なるので、該ROMが使用されることはない。
With the initial value of the segment register above, the address that can be generated using the above address generation method is FF0OOOO(
There are 641 bytes from address H) to FFFFFF(H) address 1. Generally, ROM is allocated to this area as well. However, the contents of the ROM are the same as those allocated to the memory space in real address mode, and once a branch instruction is executed, as long as the ROM is operating in real address mode, the upper segment registers above are Since the 4 bits are always 0, the ROM is never used.

そこで、本発@においては、例えば、上記辞書ROMと
上記保護アドレスモードのメモリ9間のROMとKRO
M番号を付け、上記cpuは、該ROM番号に基づいて
、上記ROM選択情報を出力し、ROMを切換えるよう
にすればよい。
Therefore, in this issue, for example, the ROM and KRO between the dictionary ROM and the memory 9 in the protected address mode are
The CPU may output the ROM selection information and switch the ROM based on the ROM number.

また、バンク・メモリアクセス方式においては、上記辞
書ROMのメモリバンクおよび上記保護アドレスモード
のメモリ空間のROMにバンク番号を付け、上記CPU
は、該バンク番号に基づいて、バンク選択情報を、上記
バンクレジスタに設定するようにすればよい。
In addition, in the bank memory access method, a bank number is assigned to the memory bank of the dictionary ROM and the ROM of the memory space of the protected address mode, and the CPU
The bank selection information may be set in the bank register based on the bank number.

上記デコーダは、上記バンクレジスタに設定されたバン
ク選択情報と上記CPUが出力するアドレス情報とをデ
コードし、RO麗遇択信号を出力する0例えば、保護ア
ドレスモードのメモリ空間のROMのアトvxであるF
F0OOOQl[) 〜FFFFFF(H1番地のアド
レスが出力されているW#に、上記バンクレジスタに設
定されたバンク選択情報が0の場合には、上記保護アド
レスモードのメモリ空間のROMK対して、ROM選択
信号を送出し、バンク選択情報が0以外の場合には、上
記辞書ROMK対して、ROM選択信号を送出するよう
に、回路を構成すればよ−。
The decoder decodes the bank selection information set in the bank register and the address information output by the CPU, and outputs an RO selection signal. Some F
F0OOOQl[) ~ FFFFFF (If the bank selection information set in the bank register above is 0 in W# where the address of address H1 is output, ROM selection is performed for the ROMK in the memory space in the protected address mode. If the bank selection information is other than 0, the circuit may be configured to send a ROM selection signal to the dictionary ROMK.

また、システムリセット時には、上記保護アドレスモー
ドのメモリ空間のROMを選択するよう、上記ROM選
択情報を出力するか、または、メモリバンクアクセス方
式においては、上記バンクレジスタをリセットして、バ
ンク選択情報をOにするようにすれば、上記保護アドレ
スモードのメモリ空間のROMが選択されるので、シス
テムが誤動作することがない。
Furthermore, when resetting the system, the ROM selection information is output to select the ROM in the memory space in the protected address mode, or in the memory bank access method, the bank register is reset and the bank selection information is output. If set to O, the ROM in the memory space in the protected address mode will be selected, so the system will not malfunction.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図に、CPt1K80284を用いた英語圏で標準
的に使用されているパソコンを、日本語入力可能とした
日本語処理システムのメモリマツプを示し、第2FiA
K該システムの構成を示す。
Figure 1 shows the memory map of a Japanese language processing system that uses the CPt1K80284 and is capable of inputting Japanese on a PC commonly used in English-speaking countries.
K shows the configuration of the system.

第1図において、6は保護アドレスモードのメモリ空間
の最上位に置かれ、64にバイトの容量を持ち、バンク
番号0を付けたBrO3−ROM(b)、7は1Mバイ
トの容量を持つ辞書ROM、8は辞書ROM7を64区
バイトの大きさで16個のバンクに分割し、それぞれ1
〜16のバンク番号を付けた辞書ROMバンク1番であ
る。
In Figure 1, 6 is a BrO3-ROM (b) placed at the top of the memory space in protected address mode, has a capacity of 64 bytes, and has a bank number of 0 (b), and 7 is a dictionary with a capacity of 1M bytes. ROM 8 divides the dictionary ROM 7 into 16 banks with a size of 64 bytes, each with 1 bank.
This is dictionary ROM bank number 1 with bank numbers of ~16.

第2図K>いて、11はCPo、12は641バイトの
容量を持つBrO5−ROM、1Sは1Mバイトの容量
を持つ辞書ROM、14はリセットスイッチ、17はC
PtJl 1がデータバス24を通じて書き込んだバン
ク選択情報を、バンクアドレスバス25へ出カスるバン
クレジスタ、22はCPυアドレスバス、25はリセッ
ト信号、26はI10ライト信号、50はアドレスデコ
ード部52が送出するBi12−ROM選択信号、51
はアドレスデコード部32が送出する辞書ROM選択信
号である。
Figure 2 K>, 11 is CPo, 12 is BrO5-ROM with a capacity of 641 bytes, 1S is a dictionary ROM with a capacity of 1M bytes, 14 is a reset switch, 17 is C
A bank register that outputs the bank selection information written by PtJl 1 through the data bus 24 to the bank address bus 25, 22 is a CPυ address bus, 25 is a reset signal, 26 is an I10 write signal, and 50 is sent by the address decoder 52. Bi12-ROM selection signal, 51
is a dictionary ROM selection signal sent by the address decoding section 32.

アドレスデコード部52において、15はCPUアドレ
スバス22の上位8ビット人、6〜A□をデコードして
、1菖デコ一ド信号27を送出する1Mアドレスデコー
ダ、16はCPUアドレスバス22の上位8ピツトム、
6〜ム2.をデコードして、16M6菖デコ一ド信8を
送出する14Mアドレスデコーダ、18はバンクレジス
タ17が出力するバンク選択情報をデコードし、ROM
切換信号29を送出するバンクアドレスデコーダ、19
はBrO8−ROM選択信号50を送出するORゲート
−)、20は14MBrO8選択信号55を送mt、&
AHDグー) (b)、21は辞書ROM選択信号51
1送出する^NDゲート(o)である。
In the address decoding unit 52, 15 is a 1M address decoder that decodes the upper 8 bits of the CPU address bus 22, 6 to A□ and sends out a 1-digit decode signal 27, and 16 is a 1M address decoder that decodes the upper 8 bits of the CPU address bus 22. Pitutom,
6~mu2. The 14M address decoder 18 decodes the bank selection information output from the bank register 17 and sends out the 16M6 iris decode signal 8.
a bank address decoder 19 for sending out a switching signal 29;
is the BrO8-OR gate which sends out the ROM selection signal 50), 20 is mt which sends out the 14MB BrO8 selection signal 55, &
AHD Goo) (b), 21 is the dictionary ROM selection signal 51
1 is sent out^ND gate (o).

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

第2図のCPU11は、実アドレスモードで動作する時
には、jl111図に示されるメモリマッグの0000
00@)番地から0FFFFF(H)番地tf01Mバ
イトしかアクセス出来ない。
When the CPU 11 in FIG. 2 operates in the real address mode, the CPU 11 in FIG.
Only 0FFFFF (H) address tf01M bytes can be accessed from address 00@).

02口11が実アドレスモードで動作し、第1図のBI
O$−ROM(a)5をアクセスする場合、第2図にお
いて、CPU11がCPUアドレス22に24ビツトの
アドレス信号A0〜ム□を出力し1M7)’レスデコー
ダ15がCPUアドレスバス22の上位8ビットA、4
〜’2Mをデコードして1菖デコ一ド信号27を送出し
、ゲート(a)1?がBi12−ROM選択信号50を
送出する。
02 port 11 operates in real address mode, and the BI in Figure 1
When accessing the O$-ROM (a) 5, the CPU 11 outputs 24-bit address signals A0 to M□ to the CPU address 22 in FIG. Bit A, 4
~'2M is decoded and 1 irises decoded signal 27 is sent out, and gate (a) 1? sends out the Bi12-ROM selection signal 50.

BrO8−ROM12は、CPUアドレスバス22の下
位16ビツトA。〜ム、Sをアドレスとして取り込み、
BrO8−ROM選択信号50によりて、データバス2
4ヘデータを出力する。
BrO8-ROM12 is the lower 16 bits A of the CPU address bus 22. ~M, S is taken as an address,
By the BrO8-ROM selection signal 50, the data bus 2
Output the data to 4.

第1図のメモリマッグにおいて、100000匹)番地
から上位のアドレス管アクセスする場合、第2図におけ
るCPU11を保護アドレスモードで動作させる必要が
ある。
In the memory map shown in FIG. 1, when accessing the upper address tube from the address 100,000, it is necessary to operate the CPU 11 in FIG. 2 in the protected address mode.

CPU11を保護アドレスモードで動作させ、第1図に
おける辞書ROMバンク1番8をアクセスする場合、第
2図のCrtill#i、バンク番号1をバンク選択情
報としてデータバス24へ出力する。さらに、I10ラ
イト信号24fCよりて。
When the CPU 11 is operated in the protected address mode and the dictionary ROM bank 1 and 8 in FIG. 1 is accessed, the Crtill #i and bank number 1 in FIG. 2 are output to the data bus 24 as bank selection information. Furthermore, from I10 write signal 24fC.

データバス24の下位8ビツトD0〜D7をバンクレジ
スタ17に書き込む、バンクレジスタ17は、書き込ま
れたバンク選択情報を、バンクアドレスA11.〜ムN
m ト”てバンクアドレスバス23へ出力する。
The lower 8 bits D0 to D7 of the data bus 24 are written to the bank register 17. The bank register 17 transfers the written bank selection information to the bank address A11. ~MuN
m" and outputs it to the bank address bus 23.

そこで、アドレスデコード部32において、バンクアド
レスデコーダ18は、辞書ROMI Sが選択されてい
る事をデコードし、ROM切換信号2?を送出する。
Therefore, in the address decoding section 32, the bank address decoder 18 decodes that the dictionary ROMIS is selected, and the ROM switching signal 2? Send out.

さらに、CPU11は、第1図におけるBIOs−ic
OM(b)4のアドレスを、CPUアドレスバス22へ
出力する。16Mアドレスデコーダ16は、CPUアド
レスバス22の上位8ビツトA14〜ム□をデコードし
、16M6菖デコ一ド信8を送出する。ANDゲー11
0)21は、110M切換信号2?と14M4菖デコ一
ド信8とから、辞書ROM選択信号s1を送出する。辞
書ROMI Sは、CPUアドレスバス22の下位16
ビツトA0〜ム、5とバンクアドレスバス2sの8ビッ
トA1,6〜五b2Mとを合わせた24ビツトを、アド
レスとして入力し、辞書ROM選択信号51によシ、デ
ータを出力する。
Furthermore, the CPU 11 has the BIOs-ic in FIG.
The address of OM(b)4 is output to the CPU address bus 22. The 16M address decoder 16 decodes the upper 8 bits A14 to M□ of the CPU address bus 22, and sends out a 16M6 address decode signal 8. AND game 11
0) 21 is 110M switching signal 2? A dictionary ROM selection signal s1 is sent from the 14M4 irises decode signal 8. The dictionary ROMI S is the lower 16 of the CPU address bus 22.
A total of 24 bits, including bits A0 to M, 5 and 8 bits A1, 6 to 5B2M of the bank address bus 2s, are input as an address, and data is output according to the dictionary ROM selection signal 51.

また、システムがリセットされた場合、第2図における
リセットスイッチ14がり竜ット信号25を送出し、バ
ンクレジスタ17管クリアする。
Further, when the system is reset, the reset switch 14 in FIG. 2 sends out a reset signal 25 to clear the bank register 17.

この時、バンクレジスタ17にバンク番号aを設定した
のと同じ状履と1に夛、ユーザからは第1!!!lIに
おけるBiO2−ROM(N6がアクセス可能となシ、
リセット後の処理を行なうことが出来る。
At this time, the same condition as when bank number a was set in bank register 17 is set to 1, and the user requests 1st! ! ! BiO2-ROM in II (N6 accessible system,
Post-reset processing can be performed.

実際の動作では、CPt111が80284である場合
、リセット直後は、FFFFFO@番地から実行を開始
するので、BiO2−ROM(b)6を使用し、−旦実
アドレスモードメモリ空間に実行が移ってからは、B 
I OS−ROkl(a)5 f使用シ、辞書ROMJ
をアクセスする場合には、CPU11を保護アドレスモ
ードで動作させるようソフトで切多換えてもよいし%3
86および1486の仮想86モード等の様に、CPU
11の持っ110機能を利用して、バンクの切換えを行
なってもよい。
In actual operation, when CPt111 is 80284, immediately after reset, execution starts from address FFFFFO@, so BiO2-ROM (b) 6 is used, and execution moves to the real address mode memory space after -1. B.
I OS-ROkl (a) 5 f usage, dictionary ROMJ
When accessing %3, you can use software to switch the CPU 11 to operate in protected address mode.
86 and 1486 virtual 86 modes, etc.
Bank switching may be performed using the function 110 of 11.

本実施例は、以上述べたのみとどまるものではない0例
えば、CPDllは、80284でなく、584や14
86でもよいし、BiO2−ROM−)5およびBiO
2−ROM(b)6a、ツレツレ、64にバイトとした
が、s2にバイト中14にバイトでもよいし、128に
バイトでもよい。
This embodiment is not limited to the above-described example. For example, the CPDll is not 80284 but 584 or 14
86 or BiO2-ROM-)5 and BiO
2-ROM (b) 6a, Tsuretsure, 64 is set as a byte, but s2 may be set as 14 of the bytes, or may be set as 128.

また、辞書ROM40大きさも、1Mバイトとし九が、
2Mバイトや4Mバイトでもよいし、512にバイト中
256にバイトでもよい。
In addition, the size of the dictionary ROM 40 is 1M byte, and 9.
It may be 2M bytes or 4M bytes, or it may be 256 out of 512 bytes.

また、変換用辞書を格納した辞書ROMを用いて説明し
たが、漢字の7オント情報を格納した漢字CG−ROM
を、同様に割夛当ててもよい。
In addition, although the explanation was made using a dictionary ROM that stores a conversion dictionary, a kanji CG-ROM that stores 7-ont information of kanji
may be similarly allocated.

〔発明の効果〕〔Effect of the invention〕

以上述べてきたように本発明によれば、ユーザの使用可
能なメモリ領域を減少させる事なく、辞書ROMをメモ
リ空間に割夛付ける事が出来るので、辞書ROMの容量
拡大および高速アクセスが可能とな夛、日本語処理シス
テムにおけるかな漢字変換の変換効率を向上させ、かつ
、高速な変換が可能となるという効果がある。
As described above, according to the present invention, it is possible to allocate more dictionary ROMs to the memory space without reducing the memory area available to the user, so it is possible to expand the capacity of the dictionary ROM and achieve high-speed access. Moreover, it has the effect of improving the conversion efficiency of kana-kanji conversion in a Japanese processing system and enabling high-speed conversion.

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

第1図は本発明の一実施例におけるメモリマツプを示す
説明図、第2図は本実施例を適用したシステムの構成を
示すブロック図、第5図は英語圏で積重的に使用されて
いるパーソナルコンビ&−タOメモリマツプを示す説明
図である。 符号の説明 1・・・・・・標*RAM領域、 2・・・・・・ビデ
オRAM。 3・・・・・・I10アダプタROM領域、  4・・
・・・・システム予約領域−)、  5.、、−BiO
2−ROM(a)、6・・・・・・BiO2−ROM(
b)、 7−−−−−・辞書ROM。 8・・・・・・辞書ROMバンク1番、 11・・・・
−cpu。 12・・・・・・BiO2−ROM、   15・・・
・・・辞書ROM、14−−−−−−リセットスイッチ
、  15・・・・・・1Mアドレスデコーダ、  1
6・・・・−16Mアドレスデコーダ、 17・・・・
・・バンクレジスタ、  18・・・・・・バンクアド
レスデコーダ、  22・・・・・・CPUアドレスバ
ス、  23・・・・・・バンクアドレスバス、24・
・・・・・データバス%  25・・・・・・リセット
信号、26 ・−−−−−Ilo 5イト信号、  2
9−−−−−− ROM切換信号、 50・・−−−−
BiO2−ROM選択信号、S 1−・・・・・辞書R
OM選択信号、  52・・・・・・アドレスデコード
部。
Fig. 1 is an explanatory diagram showing a memory map in one embodiment of the present invention, Fig. 2 is a block diagram showing the configuration of a system to which this embodiment is applied, and Fig. 5 is a system widely used in English-speaking countries. FIG. 2 is an explanatory diagram showing a personal combination controller O memory map. Explanation of symbols 1...mark*RAM area, 2...video RAM. 3...I10 adapter ROM area, 4...
...System reserved area-), 5. ,,-BiO
2-ROM(a), 6...BiO2-ROM(
b), 7-------Dictionary ROM. 8...Dictionary ROM bank number 1, 11...
-cpu. 12...BiO2-ROM, 15...
...Dictionary ROM, 14-----Reset switch, 15...1M address decoder, 1
6...-16M address decoder, 17...
... Bank register, 18 ... Bank address decoder, 22 ... CPU address bus, 23 ... Bank address bus, 24.
...Data bus% 25 ...Reset signal, 26 ...Ilo 5 itte signal, 2
9------- ROM switching signal, 50...----
BiO2-ROM selection signal, S1-...Dictionary R
OM selection signal, 52...address decoding section.

Claims (1)

【特許請求の範囲】 1、実アドレスモードと保護アドレスモードと、少なく
とも2つの動作モードを持つCPUと、上記CPUのメ
モリ空間の最上位に割付けられた第1のROMとを備え
た情報処理装置において、 上記第1のROMと同一のアドレスに第2のROMを割
付け、上記CPUから出力されるROM選択情報に基づ
いて、上記第1のROMと上記第2のROMとを切換え
てアクセスすることを特徴とするメモリ制御方式。 2、実アドレスモードと保護アドレスモードとの少なく
とも2つの動作モードを持つCPUと、上記CPUのメ
モリ空間の最上位に割付けられた第1のROMとを備え
た情報処理装置において、 複数のメモリバンクからなる第2のROMを備え、各メ
モリバンクは、上記第1のROMと同一のアドレスに割
付け可能に設定され、上記CPUが出力するバンク選択
情報およびアドレス情報に基づいて、上記第1のROM
と上記第2のROMの選択されたメモリバンクとを切換
えてアクセスすることを特徴とするメモリアクセス制御
方式。 3、上記第2のROMには、辞書情報が格納されている
ことを特徴とする請求項1または2記載のメモリ制御方
式。 4、上記第2のROMには、文字パターンが格納されて
いることを特徴とする請求項1または2記載のメモリ制
御方式。 5、請求項3または4記載のメモリ制御方式を用いて、
かな漢字変換を行なう日本語処理システムを搭載した情
報処理装置。 6、上記CPUのリセット後は、上記第1のROMを選
択するように切換えることを特徴とする請求項1、2、
3もしくは4記載のメモリ制御方式、または、請求項5
記載の情報処理装置。
[Claims] 1. An information processing device comprising a CPU having at least two operating modes, a real address mode and a protected address mode, and a first ROM allocated to the top of the memory space of the CPU. Allocating a second ROM to the same address as the first ROM, and accessing by switching between the first ROM and the second ROM based on ROM selection information output from the CPU. A memory control method featuring: 2. In an information processing device comprising a CPU having at least two operating modes, a real address mode and a protected address mode, and a first ROM allocated to the top of the memory space of the CPU, a plurality of memory banks are provided. each memory bank is set to be assignable to the same address as the first ROM, and each memory bank is set to be assignable to the same address as the first ROM, and based on the bank selection information and address information output by the CPU,
and a selected memory bank of the second ROM. 3. The memory control system according to claim 1 or 2, wherein dictionary information is stored in the second ROM. 4. The memory control system according to claim 1 or 2, wherein the second ROM stores a character pattern. 5. Using the memory control method according to claim 3 or 4,
An information processing device equipped with a Japanese language processing system that performs kana-kanji conversion. 6. Claims 1 and 2, characterized in that after resetting the CPU, switching is made to select the first ROM.
Memory control method according to item 3 or 4, or claim 5
The information processing device described.
JP2006148A 1990-01-17 1990-01-17 Memory control system Pending JPH03211640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006148A JPH03211640A (en) 1990-01-17 1990-01-17 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006148A JPH03211640A (en) 1990-01-17 1990-01-17 Memory control system

Publications (1)

Publication Number Publication Date
JPH03211640A true JPH03211640A (en) 1991-09-17

Family

ID=11630437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006148A Pending JPH03211640A (en) 1990-01-17 1990-01-17 Memory control system

Country Status (1)

Country Link
JP (1) JPH03211640A (en)

Similar Documents

Publication Publication Date Title
CA1092716A (en) Key register controlled accessing system
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
JPS6252637A (en) Digital processor control
JPS59130000A (en) Method of protecting virtual memory device
JPS60157646A (en) Memory bank switching device
KR940001877B1 (en) Multiprocessor system
KR101607210B1 (en) Enhanced microprocessor or microcontroller
US8402199B2 (en) Memory management system and method thereof
US5842012A (en) Efficient soft reset in a personal computer
JPH03211640A (en) Memory control system
KR100463205B1 (en) Computer system embedded sequantial buffer for improving DSP data access performance and data access method thereof
US5337416A (en) Apparatus for managing page zero accesses in a multi-processor data processing system
US7124261B2 (en) Access to bit values within data words stored in a memory
EP0795159A1 (en) Bus-to-bus bridge
JPS6232516B2 (en)
JPS5897770A (en) Access controlling system for vector instruction
JP3216965B2 (en) Data receiving apparatus, method, and system
TWI309773B (en) Memory accessing system and method
JPS59111557A (en) Address converting device
KR920003845B1 (en) Rom region expansion system for users of pc
JPS6113628B2 (en)
JPH0683765A (en) Microcomputer
JPS62145431A (en) Processor control system
JP2005332236A (en) Dynamic conversion system of number of i/o command input
JPH0471050A (en) Stack area protecting circuit