JPS6345636A - Program loading system - Google Patents

Program loading system

Info

Publication number
JPS6345636A
JPS6345636A JP18899286A JP18899286A JPS6345636A JP S6345636 A JPS6345636 A JP S6345636A JP 18899286 A JP18899286 A JP 18899286A JP 18899286 A JP18899286 A JP 18899286A JP S6345636 A JPS6345636 A JP S6345636A
Authority
JP
Japan
Prior art keywords
program
rom
stored
contents
main 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
JP18899286A
Other languages
Japanese (ja)
Inventor
▲ね▼宜田 廸彦
Michihiko Negita
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP18899286A priority Critical patent/JPS6345636A/en
Publication of JPS6345636A publication Critical patent/JPS6345636A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily correct a program without exchanging the ROM by loading the program stored in a ROM to a main memory and then rewriting the program based on the correction information read out of an external memory medium. CONSTITUTION:A ROM storage program 6 stored in a ROM 1 is loaded to a main memory 5. In this case, the contents of an N address of the program 6 stored in the memory 5 are equal to the contents XN of the program 6. Then the correction information 8 is read out of a floppy disk by a floppy disk device 3. Furthermore the contents of the program 6 in the memory 5 are corrected and written by a floppy disk loader 4 based on the information 8. Thus it is possible to store a corrected program 7 to which the corrected contents are reflected into the memory 5 just with a small quantity of information 8 without exchanging the ROM 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムロード方式に関し、特にROM(リ
ードオンリメモリ。以下同様)とフロ。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program loading method, and particularly to a ROM (read only memory; hereinafter the same) and a program loading method.

ビイディスク等の取外し可能な外部記憶媒体とから主記
憶にプログラムをロードする電子計算機のプログラムロ
ード方式に関する。
The present invention relates to a computer program loading method for loading a program into main memory from a removable external storage medium such as a disc.

〔従来の技術〕[Conventional technology]

従来、この種のプログラムロード方式は、ロードするプ
ログラムの修正が必要になった場合に、ROMに格納さ
れているプログラムを修正するときにはROMの交換を
行い、外部記憶媒体に格納されているプログラムを修正
するときには外部記憶媒体の記憶内容を書き換えて、新
たなROMまたは記憶内容が書き換えられた外部記憶媒
体からプログラムのロードを行っていた。
Conventionally, in this type of program loading method, when the program to be loaded needs to be modified, the ROM is replaced when modifying the program stored in the ROM, and the program stored in the external storage medium is replaced. When making corrections, the stored contents of the external storage medium are rewritten and the program is loaded from a new ROM or the external storage medium with the rewritten stored contents.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のプログラムロード方式では、ROMに格
納されているロードするプログラムの修正を行うときに
はROMの交換が必要になるため、ROMに格納されて
いるプログラムはローダ等の基本的なプログラムにとど
めてロードするプログラムの大部分は外部記憶媒体に格
納することが多い。
In the conventional program loading method described above, when modifying the program stored in the ROM to be loaded, it is necessary to replace the ROM, so the programs stored in the ROM are limited to basic programs such as loaders. Most of the programs to be loaded are often stored in external storage media.

そのような場合にロードするプログラムの容量が大きく
なる(1つのプログラムの容量が大きくなることと初期
ロード(電子計算機システムの立上げ時の複数のプログ
ラムのロード)時等のように同時にロードするプログラ
ムの数が多くなることとを含む)と、1つの外部記憶媒
体(例えば、1枚のフロッピィディスク)にプログラム
が収納できなくなるので、複数の外部記憶媒体を取り替
えながらプログラムをロードしなければならない(操作
性が悪い)という欠点がある。
In such cases, the capacity of the program to be loaded becomes large (the capacity of one program becomes large and the programs loaded simultaneously, such as during initial loading (loading of multiple programs when starting up a computer system)) (including an increase in the number of external storage media) and programs that cannot be stored on one external storage medium (for example, one floppy disk), so programs must be loaded while replacing multiple external storage media ( It has the disadvantage of poor operability.

また、外部記憶媒体に格納されているプログラムを少な
くしてロード時の抛作性を向上させようとすると、RO
Mに格納されているプログラムが多くなってプログラム
バグ等によりプログラムの修正が必要になる要因がRO
Mに格納されているロードするプログラムに存在する可
能生が大きくなるので、ROMの交換が必要になること
が多くなるという欠点がある。
Also, if you try to reduce the number of programs stored on the external storage medium to improve the ease of loading, the RO
RO is the reason why the number of programs stored in M increases and the program needs to be modified due to program bugs, etc.
This has the disadvantage that the ROM may need to be replaced more often because the possibilities of the program stored in M to be loaded become larger.

本発明の目的は、上述の点に鑑み、ROMに格納された
ロードするプログラムの修正の必要が止したときにRO
Mを交換することなく外部記憶媒体に格納された情報に
基づいて容易に修正ができ、しかも外部記憶媒体に格納
される情報は少なくてすみ外部記憶媒体を取り替える煩
雑さがなくプログラムのロード時の操作性を向上するこ
とができるプログラムロード方式を提供することにある
SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to update the RO
Modifications can be easily made based on the information stored on the external storage medium without replacing M, and the amount of information stored on the external storage medium is small, so there is no need to worry about replacing the external storage medium, and when the program is loaded. An object of the present invention is to provide a program loading method that can improve operability.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のプログラムロード方式は、主記憶にロードする
プログラムを格納するROMと、このROMから前記プ
ログラムを読み取り前記主記憶にロードするプログラム
ロード手段と、前記ROMに格納された前記プログラム
を修正するための修正番地と修正内容とを含む修正情報
が格納された外部記憶媒体から前記修正情報を読み取る
修正情報読取り手段と、この修正情報読取り手段により
読み取られた前記修正情報に基づいて前記主記憶にロー
ドされた前記プログラムを一部書き換えるプログラム書
換え手段とを有する。
The program loading method of the present invention includes a ROM for storing a program to be loaded into a main memory, a program loading means for reading the program from the ROM and loading it into the main memory, and a method for modifying the program stored in the ROM. modification information reading means for reading modification information from an external storage medium storing modification information including modification addresses and modification contents; and loading into the main memory based on the modification information read by the modification information reading means. and a program rewriting means for rewriting a part of the program.

〔作用〕[Effect]

本発明のプログラムロード方式では、ROMが主記憶に
ロードするプログラムを格納し、プログラムロード手段
がROMからプログラムを読み取り主記憶にロードし、
修正情報読取り手段がROMに格納されたプログラムを
修正するための修正情報が格納された外部記憶媒体から
その修正情報を読み取り、プログラム書換え手段が修正
情報に基づいて主記憶にロードされたプログラムを一部
書き換える。
In the program loading method of the present invention, a ROM stores a program to be loaded into the main memory, a program loading means reads the program from the ROM and loads it into the main memory,
The modification information reading means reads the modification information for modifying the program stored in the ROM from the external storage medium, and the program rewriting means rewrites the program loaded into the main memory based on the modification information. Rewrite the section.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のプログラムロード方式の一実施例の
構成を示すブロック図である。本実施例のプログラムロ
ード方式は、主記憶5にロードするROM格納プログラ
ム6(第2図参照)を格納しているROMIと、ROM
格納プログラム6を読み取って主記憶5にロードするR
OMローダ2と、ROM格納プログラム6を修正するた
めの修正11″を報8 (第2図参照)が書き込まれて
いるフロッピィディスクからその修正情報8を読み取る
フロッピィディスク装置3と、フロッピィディスク装置
3によって読み取られた修正情報8に基づいて主記憶5
にロードされたROM格納プログラム6の内容を書き換
えるフロッピィディスクローダ4と、RAM(ランダム
アクセスメモリ)により構成されてROM格納プログラ
ム6が修正情報8に基づいて修正された修正後プログラ
ム7 (第2図参照)が格納される主記憶5とから構成
されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the program loading method of the present invention. In the program loading method of this embodiment, a ROMI storing a ROM storage program 6 (see FIG. 2) to be loaded into the main memory 5 and a ROM
R to read the stored program 6 and load it into the main memory 5
An OM loader 2, a floppy disk device 3 that reads correction information 8 from a floppy disk in which a correction information 8 (see FIG. 2) is written for correcting the ROM stored program 6, and a floppy disk device 3. main memory 5 based on the correction information 8 read by
A modified program 7 is composed of a floppy disk loader 4 that rewrites the contents of the ROM stored program 6 loaded into the ROM storage program 6, and a RAM (random access memory), and the ROM stored program 6 is modified based on modification information 8 (FIG. 2). (see) and a main memory 5 in which are stored.

次に、このように構成された本実施例のプログラムロー
ド方式の動作について説明する。なお、ここでは第2図
に示すように、ROMIに格納されているROM格納プ
ログラム6(へ番地の内容がXA、A+1番地の内容が
Xa*++ ・・・、N番地の内容がXN、・・・であ
る(各番地は主記憶5にロードされたときの主記憶5上
の番地により示されている))をフロッピィディスクに
格納されている修正情報8 (ROM格納プログラム6
のN番地(1m正番地)をY、という内容(修正内容)
に修正することを指示する情報を含んでいる)に基づい
て修正した修正後プログラム7を主記憶5に格納する場
合を例にとって説明する。
Next, the operation of the program loading method of this embodiment configured as described above will be explained. Here, as shown in FIG. 2, the ROM storage program 6 stored in the ROMI (the contents of address A+1 are XA, the contents of address A+1 are Xa*++, the contents of address N are XN, . ... (each address is indicated by the address on the main memory 5 when loaded into the main memory 5)) is stored in the floppy disk (ROM storage program 6).
Contents that address N (1m correct address) is Y (correction content)
An example will be described in which a modified program 7 is stored in the main memory 5 based on the modified program 7 (including information instructing modification to be performed).

主記憶5にロードするROM格納プログラム6の内容に
修正の必要が生じた場合には、修正対象の番地である修
正番地とその番地の内容の修正後の内容である修正内容
とを対応させて示す修正情報8がフロッピィディスクに
書き込まれる。
When it becomes necessary to modify the contents of the ROM storage program 6 to be loaded into the main memory 5, the modification address, which is the address to be modified, and the modification contents, which are the contents after the contents of that address are modified, are made to correspond. The modification information 8 shown is written to the floppy disk.

上述のようにROM格納プログラム6と修正情報8とが
用意されると、まずROMIに格納されているROM格
納プログラム6が主記憶5にロードされる。
When the ROM storage program 6 and the modification information 8 are prepared as described above, the ROM storage program 6 stored in the ROMI is first loaded into the main memory 5.

第2図の例では、このとき主記憶5上にロードされたプ
ログラムのN番地の内容はROM格納プログラム6の内
容と同一のXHになっている。
In the example shown in FIG. 2, the content at address N of the program loaded onto the main memory 5 at this time is XH, which is the same as the content of the ROM stored program 6.

次に、フロッピィディスク装置3によってフロッピィデ
ィスクに書き込まれている修正情報8が読み取られる。
Next, the correction information 8 written on the floppy disk is read by the floppy disk device 3.

サラに、この修正情報8に基づいてフロッピィディスク
ローダ4によって主記憶5にロードされているプログラ
ムの内容が修正されて書き込まれる。
Based on this modification information 8, the contents of the program loaded into the main memory 5 by the floppy disk loader 4 are modified and written.

第2図の例では、その内容がXNであるN番地の内容に
Yoが書き込まれる(修正が必要な他の番地の内容につ
いても修正情報8に基づいて修正内容が書き込まれる)
In the example shown in FIG. 2, Yo is written to the contents of address N whose contents are XN (correction contents are also written to the contents of other addresses that require correction based on correction information 8).
.

このようにして、ROMIの交換を必要としないで、わ
ずかの情IIi量の修正情報8のみによって修正内容を
反映した修正後プログラム7が主記憶5に格納される。
In this way, the modified program 7 that reflects the modified content is stored in the main memory 5 using only a small amount of modification information 8 without the need to replace the ROMI.

なお、本実施例では取外し可能な外部記憶媒体としてフ
ロッピィディスクを使用する場合について述べたが、カ
セット磁気テープ等の他の外部記憶媒体を使用すること
も可能である。
In this embodiment, a case has been described in which a floppy disk is used as a removable external storage medium, but it is also possible to use other external storage media such as a cassette magnetic tape.

また、本実施例では修正情報8内の修正番地がROM格
納プログラム6がロードされたときの主記憶5上の絶対
番地を示す場合について述べたが、ROM格納プログラ
ム6の先頭番地をO番地とする相対番地により示しても
よい。
Furthermore, in this embodiment, a case has been described in which the correction address in the correction information 8 indicates the absolute address on the main memory 5 when the ROM storage program 6 is loaded, but the starting address of the ROM storage program 6 is assumed to be the O address. It may also be indicated by a relative address.

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

以上説明したように本発明は、ROMに格納されたプロ
グラムを主記憶にロードして外部記憶媒体から読み取っ
た修正情報Gこ基づいてそのプログラムを書き換えるこ
とにより、ROMに格納されたロードするプログラムの
修正の必要が生じたときにROMを交換することなく外
部記憶媒体に格納されている修正情報に基づいて容易に
修正ができるという効果がある。
As explained above, the present invention loads the program stored in the ROM into the main memory and rewrites the program based on the modification information G read from the external storage medium. This has the advantage that when a need for correction arises, it can be easily corrected based on the correction information stored in the external storage medium without replacing the ROM.

また、この場合に外部記憶媒体に格納されている情報は
修正情報のみで少なくてすむことにより、外部記憶媒体
を取り替える煩雑さがなくプログラムのロード時の操作
性を向上することができるという効果がある。
Additionally, in this case, the amount of information stored in the external storage medium can be reduced to just the correction information, which has the effect of improving operability when loading programs without the hassle of replacing the external storage medium. be.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本実施例のプログラムロード方式によりROM
格納プログラムを主記憶にロードして修正情報に基づい
て修正するときの動作の一例を示す図である。 図において、 ■・・・ROM。 2・・・ROMローダ、 3・・・フロッピィディスク装置、 4・・・フロッピィディスクローダ、 5・・・主記憶、 6・・・ROM格納プログラム、 7・・・修正後プログラム、 8・・・修正情報である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 7 is a diagram illustrating an example of an operation when loading a stored program into main memory and modifying it based on modification information. In the figure, ■...ROM. 2... ROM loader, 3... Floppy disk device, 4... Floppy disk loader, 5... Main memory, 6... ROM storage program, 7... Modified program, 8... This is correction information.

Claims (1)

【特許請求の範囲】 主記憶にロードするプログラムを格納するROMと、 このROMから前記プログラムを読み取り前記主記憶に
ロードするプログラムロード手段と、前記ROMに格納
された前記プログラムを修正するための修正番地と修正
内容とを含む修正情報が格納された外部記憶媒体から前
記修正情報を読み取る修正情報読取り手段と、 この修正情報読取り手段により読み取られた前記修正情
報に基づいて前記主記憶にロードされた前記プログラム
を一部書き換えるプログラム書換え手段と、 を有することを特徴とするプログラムロード方式。
[Scope of Claims] A ROM that stores a program to be loaded into a main memory, a program loading means that reads the program from the ROM and loads it into the main memory, and a modification for modifying the program stored in the ROM. modification information reading means for reading modification information including an address and modification information from an external storage medium in which the modification information is stored; A program loading method comprising: program rewriting means for rewriting part of the program.
JP18899286A 1986-08-12 1986-08-12 Program loading system Pending JPS6345636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18899286A JPS6345636A (en) 1986-08-12 1986-08-12 Program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18899286A JPS6345636A (en) 1986-08-12 1986-08-12 Program loading system

Publications (1)

Publication Number Publication Date
JPS6345636A true JPS6345636A (en) 1988-02-26

Family

ID=16233484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18899286A Pending JPS6345636A (en) 1986-08-12 1986-08-12 Program loading system

Country Status (1)

Country Link
JP (1) JPS6345636A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0283626A (en) * 1988-09-20 1990-03-23 Canon Inc Electronic equipment
JPH02171925A (en) * 1988-12-26 1990-07-03 Canon Inc Electronic apparatus
JP2000322251A (en) * 1999-04-23 2000-11-24 Internatl Business Mach Corp <Ibm> Application managing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5940399A (en) * 1982-08-31 1984-03-06 Toshiba Corp Information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5940399A (en) * 1982-08-31 1984-03-06 Toshiba Corp Information processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0283626A (en) * 1988-09-20 1990-03-23 Canon Inc Electronic equipment
JPH02171925A (en) * 1988-12-26 1990-07-03 Canon Inc Electronic apparatus
JP2000322251A (en) * 1999-04-23 2000-11-24 Internatl Business Mach Corp <Ibm> Application managing method

Similar Documents

Publication Publication Date Title
JPH02148235A (en) Data drawback system
JPH11144478A (en) Information storage method of nonvolatile semiconductor memory and electronic apparatus
JPS6345636A (en) Program loading system
US6668257B1 (en) Migrating non-persistent objects when one or more of the superclass fields of the object are modified
JP3789248B2 (en) Program loading method, program loading apparatus and recording medium therefor
US8275809B2 (en) Object processing system using an object model
JPS61115155A (en) Control system of information processor
JPS63229552A (en) Microprogram loading system
JPH06168079A (en) Data backup system
US20040213070A1 (en) Method of recording and reproducing information
JPH01286053A (en) Data control system over plural types of computers
JPS62151932A (en) Microprogram control type data processor
JPH04324529A (en) Program modification management system
JP2961781B2 (en) Data processing device
JPS61234433A (en) Software load device
JPH04137136A (en) Program storage system
JPH01304546A (en) Check data control system for computer system
JPH0259820A (en) Read-only memory containing patch function
JPS62278628A (en) Access method for external memory device
JPS63213029A (en) Microprogram controller
JPS62143150A (en) Program execution control system
JPS6046747B2 (en) Initial program loading method
JPS61123935A (en) Control system of onerous program
JPH0844570A (en) System and method for program execution
JPH0287227A (en) Data processor