JPH03102426A - Rom control system using address conversion mechanism - Google Patents
Rom control system using address conversion mechanismInfo
- Publication number
- JPH03102426A JPH03102426A JP1240346A JP24034689A JPH03102426A JP H03102426 A JPH03102426 A JP H03102426A JP 1240346 A JP1240346 A JP 1240346A JP 24034689 A JP24034689 A JP 24034689A JP H03102426 A JPH03102426 A JP H03102426A
- Authority
- JP
- Japan
- Prior art keywords
- rom
- virtual
- program
- address
- ram
- 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
- 230000007246 mechanism Effects 0.000 title claims abstract description 24
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 11
- 230000006870 function Effects 0.000 claims abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 9
- 230000004044 response Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 abstract description 10
- 230000008569 process Effects 0.000 abstract description 5
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 abstract description 4
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 abstract description 4
- 238000007792 addition Methods 0.000 description 3
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 2
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 2
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 1
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
アドレス変換機構によってROMプログラムの機能変更
・追加などを行うROM制御方式に関し、起動時にRA
M上の仮想ROMに機能変更・追加などしたROMプロ
グラムをロードすると共にアドレス変換機構のテーブル
を書き換えて以降仮想ROMをアクセスして処理を行い
、ROMの交換なしにROMプログラムの機能の変更・
追加を容易に行うことを目的とし、
電子計算機システムのシステムプログラムなどを固定的
なアドレスに割り当てて実装したROMと、データやプ
ログラムなどを記・[aするRAMと、電子計算機シス
テムからのメモリアクセス要求に対応してアドレス変換
を行って上記ROMあるいはRAMj二の仮想ROMを
アクセスするアドレス変換機構とを備え、起動当初6こ
補助記憶装置からRAM上の仮想ROMに刻して機能変
更・追加などしたROMプログラムをロードすると共に
上:記アドレス変換機構にROMに対ずるアクセス時に
当該仮想ROMをアクセスするようにテーブルを書き換
え、以降RAM上の仮想ROMをアクセスして処理を行
うように構戊する。[Detailed Description of the Invention] [Summary] Regarding a ROM control method that changes or adds functions to a ROM program using an address conversion mechanism, the RA
A ROM program with changed or added functions is loaded into the virtual ROM on M, and the table of the address translation mechanism is rewritten, and the virtual ROM is then accessed and processed to change or add functions to the ROM program without replacing the ROM.
For the purpose of easy addition, there is a ROM in which system programs of a computer system are assigned to fixed addresses and implemented, a RAM for storing data and programs, and a memory access from the computer system. Equipped with an address conversion mechanism that performs address conversion in response to requests and accesses the above ROM or virtual ROM in RAM, and at the time of startup, it is written from the 6 auxiliary storage devices to the virtual ROM on the RAM to change or add functions. At the same time as loading the above ROM program, rewrite the table so that the address translation mechanism accesses the virtual ROM when accessing the ROM, and configure the address translation mechanism to access the virtual ROM on the RAM and perform processing thereafter. .
本発明は、アドレス変換機構ζこよってROMプログラ
ムの機能変更・追加などを行うROM制御方式に関する
ものである。多くの電子計:E[機において、システム
の起動プログラムなどの必要不可欠なソフI・ウェアは
ROMという形式でハードウェアに組み込んで出荷して
いる。システムが仮想アドレソシングを使用するように
なっても、このROMプログラムは仮想アドレス空間上
に配置されて、利用することが通例である。しかし、−
度出荷してしまうと変更する可能性の低いハードウエア
(ファームウェアも含む)に対して、ソフトウェアは改
版されていくことが通例であり、ROMプログラムが新
しいソフ1〜ウェアにとって機能不足となり、このRO
Mブ[:zグラムを必要に応して変更することが望まれ
ている。The present invention relates to a ROM control system that changes or adds functions to a ROM program using an address translation mechanism ζ. In many electronic meters, essential software such as system startup programs are built into the hardware in the form of ROM and shipped. Even if the system uses virtual addressing, this ROM program is usually located and used in a virtual address space. However, −
It is common for software to be revised for hardware (including firmware) that is unlikely to change once shipped, and the ROM program may lack functionality for the new software.
It is desired to change the Mb[:z-gram as necessary.
〔従来の技術と発明が解決しようとする課題〕従来、電
子計算機システムの起動プログラムなどの必要不可欠な
ROMプログラムに機能変更あるいは機能追加が必要に
なった場合、ROM自身およびこれを含むハードウェア
を新しいものと交換ずるしか他に方法がなかった。この
ため、一度出荷してしまったシステムに対して、部品交
換を行うことは、費用および時間の面から、大きなコス
トを伴う作業ζこなってしまうという問題があった。[Prior art and the problem to be solved by the invention] Conventionally, when it becomes necessary to change or add functions to an essential ROM program such as a startup program for a computer system, the ROM itself and the hardware containing it are There was no other option but to replace it with a new one. For this reason, there is a problem in that replacing parts of a system that has already been shipped is a costly task in terms of cost and time.
本発明は、起動時にRAM上の仮想ROMに機能変更・
追加などしたROMプログラムをロードすると共にアト
レス変換機構のテーブルを書き換えて以降仮想ROMを
アクセスして処理を行い、ROMの交換なしにROMプ
ログラムの機能の変更・追加を容易に行うことを目的と
している。The present invention changes the function to the virtual ROM on RAM at startup.
The purpose is to load the added ROM program, rewrite the table of the address conversion mechanism, and then access and process the virtual ROM, making it easy to change and add functions to the ROM program without replacing the ROM. .
C課題を解決する手段〕 第Y図を参照して課題を解決する手段を説明する。Means to solve problem C] Means for solving the problem will be explained with reference to FIG.
第1図において、ROMLは、電子計算機システムのシ
ステムプログラムなど(ROMプログラム1−↓)を固
定的なアドレスに割り当てた読み出し専用のメモリであ
る。In FIG. 1, ROML is a read-only memory in which system programs of an electronic computer system (ROM program 1-↓) are assigned to fixed addresses.
RAM2は、データやプログラムなどを記憶する読み書
き可箭なメモリである。The RAM 2 is a readable and writable memory that stores data, programs, and the like.
アドレス変換機構3は、電子計算機システムからのメモ
リアクセス要求に対応してアドレス変換を行ってROM
IあるいはRAM2上の仮想R○M2−1などをアクセ
スするものである。The address translation mechanism 3 performs address translation in response to a memory access request from the computer system, and converts the address into a ROM.
This is to access the I or the virtual R○M2-1 on the RAM2.
本発明は、第1図に示すように、電子計算機システムの
システムプログラムなどのROMプログラム1−1を固
定的なアドレスに割り当てたROM1に実装し、起動当
初に補助記憶装置からRAM2上の仮想ROM2−1に
対して機能変更・追加などしたR. O Mプログラム
をロー1′すると共Cこアドレス変換機構3にROMI
に対するアクセスを当該仮想ROM2−1にアクセスす
るようにテーブルを書き換え、以降R. A M 2七
の仮想ROM2−{をアクセスして処理を行・うように
している。As shown in FIG. 1, the present invention implements a ROM program 1-1 such as a system program of a computer system in ROM1 assigned to a fixed address, and transfers it from an auxiliary storage device to a virtual ROM2 on RAM2 at the time of startup. R.-1 with functional changes and additions. When the OM program is low 1', the ROMI is sent to the C address conversion mechanism 3.
The table is rewritten so that the access to the R. A M 27 virtual ROM 2-{ is accessed to perform processing.
従って、起動時にRAMZ上の仮想ROM2)に機能変
更・追加などしたROMプログラムをロードすると共に
アドレス変換機構3のテーブルを書き換えて以降仮想R
OM2−1をアクセスして処理を行うことにより、RO
MIの交換なしにROMプログラム1−1の機能の変更
・追加を容易に行うことが可能となる。Therefore, at startup, the ROM program with changed or added functions is loaded into the virtual ROM 2) on RAMZ, and the table of the address translation mechanism 3 is rewritten.
By accessing OM2-1 and performing processing, RO
It becomes possible to easily change or add functions to the ROM program 1-1 without replacing the MI.
〔作用〕
次に、第1図および第2図を用いて本発明の1実施例の
構或および動作を順次詳細Cこ説明する。[Operation] Next, the structure and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 and 2.
第1図において、アI゛レス変換機構3は、電子計算機
システムからのメモリアクセス要求に対応してアドレス
変換を行ってROMIあるいはRAM2上の仮想ROM
2−1をアクセスするものであって、メモリアクセス要
求のあったアド[/スを実際にアクセスする物理アドレ
スに変換するテーブルであるアドレス管理テーブル3−
1、およびこのアドレス管理テーブル3−1を管理す
るアドレス管理部3− 2などから構威されている。In FIG. 1, an address translation mechanism 3 performs address translation in response to a memory access request from an electronic computer system, and converts addresses into ROMI or virtual ROM on RAM 2.
Address management table 3-1 is a table that converts the address requested for memory access into the physical address to be actually accessed.
1, and an address management section 3-2 that manages this address management table 3-1.
メモリアクセス機構4は、CPU5などからのメモリア
クセス要求を受げ伺け、アドレス変換機構3を介してR
AM2上の仮想R O M 2−1あるいはROM1な
どをアクセスするものである。The memory access mechanism 4 receives memory access requests from the CPU 5, etc., and sends them via the address translation mechanism 3.
The virtual ROM 2-1 or ROM 1 on AM2 is accessed.
CPU5は、ROMI!こ格納されているROMプログ
ラムklあるいはRAM2J二の仮想ROM2−1に格
納されている機能変更・追加したROMプログラムなど
に従って各種処理を行うものである。CPU5 is ROMI! Various processes are performed in accordance with the stored ROM program kl or the ROM program with modified or added functions stored in the virtual ROM 2-1 of the RAM 2J.
補助記憶装置6は、フロソピイディスク装置などの外部
記憶装置であって、機能変更・追加したROMプログラ
ムを、R A. M 2 J二の仮想ROM2)にロー
ドなどするためのものである。The auxiliary storage device 6 is an external storage device such as a floppy disk device, and stores ROM programs with modified or added functions in the RA. This is for loading into the virtual ROM 2 of M2J2.
次に、第2図を用いて第1図wj威の動作を詳細に説明
する。Next, the operation of wj in FIG. 1 will be explained in detail using FIG.
第2図(イ)は、システムの初期化手順を示す。FIG. 2(A) shows the initialization procedure of the system.
第2図(イ)において、■は、IPL用ROMがシステ
ムを初期設定する。これは、第1図R○M1のROMプ
ログラム1−1を使用してシステムの各種初期設定を行
う。In FIG. 2(A), (2) indicates that the IPL ROM initializes the system. This uses the ROM program 1-1 shown in FIG. 1 R○M1 to perform various initial settings of the system.
■は、補助記憶装置6からブートローダをRAM2上に
ロードする。(2) loads the boot loader from the auxiliary storage device 6 onto the RAM 2;
■は、ブートローダがシステムを初期設定する。■The bootloader initializes the system.
これは、0で補助記{.!y装置6からRAM2上にロ
ードしたブートローダが、システムを初期設定する。This is 0 and the auxiliary {. ! The bootloader loaded onto the RAM 2 from the y device 6 initializes the system.
■は、補助記憶装置6から仮想ROM用プログラムをR
AM上にロードする。これは、補助記憶装置6からRA
MZ上の仮想ROM2−1に機能変更・追加した新しい
ROMプ〔1グラムをロードずる。■ is the R program for the virtual ROM from the auxiliary storage device 6.
Load on AM. This is the RA from the auxiliary storage device 6.
Load a new ROM program [1 gram] with changed functions and additions to virtual ROM 2-1 on the MZ.
■は、アドレス管理部3−2に依頼して、アドレス管理
テーブル3−1のROMIを示している部分を、RAM
Z上の仮想ROM2−1を示すように書き換える。これ
により、CPU5がR O Mlをアクセスしたときに
、アドレス管理テーブル3−1によって仮想ROM2−
1をアクセスするようにアドレス変換される。(2) requests the address management section 3-2 to transfer the portion of the address management table 3-1 indicating ROMI to the RAM.
Rewrite to indicate virtual ROM2-1 on Z. As a result, when the CPU 5 accesses the ROM 2-1, the address management table 3-1 allows the virtual ROM 2--
The address is converted to access 1.
[相]は、各フ゜1コグラムの二〔ジュールをR A
M 2にロードする。[Phase] is R A
Load into M2.
以」二の処理によって、機能変更・追加した新たなRO
MプログラムをRAMZ上の仮想ROM2)にロードす
ると共にアドレス管理テーブル31を書き換えてROM
iへのアクセスをRAMz上の仮fiROMl−1への
アクセスにアドレス変換するように設定する。The new RO whose functions have been changed and added by the process described in 2.
Load the M program into the virtual ROM2) on RAMZ, rewrite the address management table 31, and load it into the ROM.
A setting is made so that an access to i is converted into an address to access temporary fiROM 1-1 on RAMz.
第2図(0)は、ROMアクセスの手順を示す。FIG. 2(0) shows the ROM access procedure.
第2図(ロ)において、■は、メモリアクセス機構4が
アクセスを受け付ける。In FIG. 2(b), the memory access mechanism 4 receives access in (2).
0ば、該当する{反想)′ドレスをア1−レスW{里テ
ーブル3−1のデータによって、物理アドレスに変換す
る。If 0, the corresponding {reflection)' address is converted into a physical address according to the data in address table 3-1.
Oは、物理アドレスによってメモリ (RAMZ上の仮
想ROM2−1など)をアクセスする。O accesses memory (virtual ROM 2-1 on RAMZ, etc.) using a physical address.
以上の処理によって、RAM2J二の仮想ROM2−1
の機能変更・追加したROMプログラムなどをアクセス
し、処理を行うことにより、ソフトウェアはROMIの
ROMプログラムあるいは仮想ROM2−1の機能変更
・追加したROMブ口グラムを意識ずることなくアクセ
スして処理を行うことが可能となる。By the above processing, virtual ROM2-1 of RAM2J2
By accessing and processing the ROM program of ROMI or virtual ROM2-1, the software can access and process the ROM program of ROMI or virtual ROM2-1 without being aware of the changed or added ROM program. It becomes possible to do so.
以上説明したように、本発明によれば、補助記憶装置か
らRAM2上の仮想ROM2−1に機能変更・追加など
したROMプログラムをロードすると共に内蔵するアド
レス変換機構3のアドレス管理テーブル3−1を書き換
えて以降仮想ROM2−1をアクセスして処理を行う構
成を採用しているため、ROMIの交換なしにROMプ
ログラムの機能の変更・追加を容易に行うことができる
と共に、ソフトウェアはROMプログラムが変更された
ことを何ら意識することなく処理を行うことができる。As explained above, according to the present invention, a ROM program with modified or added functions is loaded from the auxiliary storage device to the virtual ROM 2-1 on the RAM 2, and the address management table 3-1 of the built-in address conversion mechanism 3 is loaded. Since we have adopted a configuration in which the virtual ROM 2-1 is accessed and processed after rewriting, it is possible to easily change or add functions to the ROM program without replacing the ROMI, and the software can be changed without changing the ROM program. Processing can be performed without being aware of what has been done.
第l図は本発明の1実施例構威図、第2図は本発明の動
作説明フローチャートを示す。
図中、lはROM,11はROMプログラム、2はRA
M、2−1は仮想ROM、3はアドレス変換機構、3−
上はアドレス管理テーブル、32はアドレス管理部、4
はメモリアクセス機構、5はCPU、6ぱ補助記憶装置
を表す。FIG. 1 shows the configuration of one embodiment of the present invention, and FIG. 2 shows a flowchart explaining the operation of the present invention. In the figure, l is ROM, 11 is ROM program, 2 is RA
M, 2-1 is a virtual ROM, 3 is an address translation mechanism, 3-
Above is the address management table, 32 is the address management section, 4
5 represents a memory access mechanism, 5 represents a CPU, and 6 represents an auxiliary storage device.
Claims (1)
・追加などを行うROM制御方式において、 電子計算機システムのシステムプログラムなどを固定的
なアドレスに割り当てて実装したROM(1)と、 データやプログラムなどを記憶するRAM(2)と、電
子計算機システムからのメモリアクセス要求に対応して
アドレス変換を行って上記ROM(1)あるいはRAM
(2)上の仮想ROM(2−1)をアクセスするアドレ
ス変換機構(3)とを備え、 起動当初に補助記憶装置からRAM(2)上の仮想RO
M(2−1)に対して機能変更・追加などしたROMプ
ログラムをロードすると共に上記アドレス変換機構(3
)にROM(1)に対するアクセス時に当該仮想ROM
(2−1)をアクセスするようにテーブルを書き換え、
以降RAM(2)上の仮想ROM(2−1)をアクセス
して処理を行うように構成したことを特徴とするアドレ
ス変換機構によるROM制御方式。[Claims] In a ROM control method that changes or adds functions to a ROM program using an address conversion mechanism, a ROM (1) in which a system program of a computer system, etc. is assigned to a fixed address and mounted; RAM (2) that stores programs, etc., and ROM (1) or RAM that performs address conversion in response to memory access requests from electronic computer systems.
(2) An address translation mechanism (3) that accesses the virtual ROM (2-1) above, and the virtual RO on the RAM (2) is transferred from the auxiliary storage device at the beginning of startup.
A ROM program with modified or added functions is loaded into M (2-1), and the address translation mechanism (3
) when accessing ROM (1), the virtual ROM
Rewrite the table to access (2-1),
A ROM control system using an address translation mechanism, characterized in that the virtual ROM (2-1) on the RAM (2) is subsequently accessed to perform processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1240346A JPH03102426A (en) | 1989-09-16 | 1989-09-16 | Rom control system using address conversion mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1240346A JPH03102426A (en) | 1989-09-16 | 1989-09-16 | Rom control system using address conversion mechanism |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03102426A true JPH03102426A (en) | 1991-04-26 |
Family
ID=17058121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1240346A Pending JPH03102426A (en) | 1989-09-16 | 1989-09-16 | Rom control system using address conversion mechanism |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03102426A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118627A (en) * | 2010-11-29 | 2012-06-21 | Mitsumi Electric Co Ltd | Microprocessor |
JPWO2018179106A1 (en) * | 2017-03-28 | 2019-11-07 | 三菱電機株式会社 | Program update device, program update method, and program |
JP2020060843A (en) * | 2018-10-05 | 2020-04-16 | 株式会社リコー | Electronic device and operation method |
-
1989
- 1989-09-16 JP JP1240346A patent/JPH03102426A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118627A (en) * | 2010-11-29 | 2012-06-21 | Mitsumi Electric Co Ltd | Microprocessor |
JPWO2018179106A1 (en) * | 2017-03-28 | 2019-11-07 | 三菱電機株式会社 | Program update device, program update method, and program |
JP2020060843A (en) * | 2018-10-05 | 2020-04-16 | 株式会社リコー | Electronic device and operation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7318149B2 (en) | Semi-persistent relocatable ram-based virtual floppy disk method | |
US8151275B2 (en) | Accessing copy information of MMIO register by guest OS in both active and inactive state of a designated logical processor corresponding to the guest OS | |
US7493460B2 (en) | Preboot memory of a computer system | |
JP3593241B2 (en) | How to restart the computer | |
US9218302B2 (en) | Page table management | |
JP2002024003A (en) | Method for managing interrupt flag | |
JPH05242057A (en) | Method for starting multi-processor system | |
US20030061401A1 (en) | Input device virtualization with a programmable logic device of a server | |
WO1997023830A1 (en) | Method and apparatus for dynamically resizing a frame buffer in a shared memory buffer architecture system | |
US5937185A (en) | Method and system for device virtualization based on an interrupt request in a DOS-based environment | |
WO1997023824A1 (en) | The boot of a shared memory buffer architecture employing an arbitrary operating system | |
US20100082932A1 (en) | Hardware and file system agnostic mechanism for achieving capsule support | |
US20060004982A1 (en) | System and method for simulating real-mode memory access with access to extended memory | |
US5063496A (en) | Signaling attempted transfer to protected entry point bios routine | |
US20030023772A1 (en) | Method and computer system for integrating a compression system with an operating system | |
US20030105935A1 (en) | Method and apparatus for accessing ROM PCI memory above 64 K | |
US20100043006A1 (en) | Systems and methods for a configurable deployment platform with virtualization of processing resource specific persistent settings | |
US20180293187A1 (en) | Systems and devices having a scalable basic input/output system (bios) footprint and associated methods | |
JPH06202944A (en) | Method and system of memory expansion in data processing system | |
US6883171B1 (en) | Dynamic address windowing on a PCI bus | |
JPH03102426A (en) | Rom control system using address conversion mechanism | |
US20020169899A1 (en) | System and method for accessing a CMOS device in a configuration and power management system | |
US6738887B2 (en) | Method and system for concurrent updating of a microcontroller's program memory | |
US9558364B2 (en) | Computing machine, access management method, and access management program | |
US20080162805A1 (en) | Method and Apparatus for Using Non-Addressable Memories of a Computer System |