JPS6118043A - Rom control system - Google Patents

Rom control system

Info

Publication number
JPS6118043A
JPS6118043A JP59138643A JP13864384A JPS6118043A JP S6118043 A JPS6118043 A JP S6118043A JP 59138643 A JP59138643 A JP 59138643A JP 13864384 A JP13864384 A JP 13864384A JP S6118043 A JPS6118043 A JP S6118043A
Authority
JP
Japan
Prior art keywords
rom
basic
expansion
procedure
called
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
JP59138643A
Other languages
Japanese (ja)
Inventor
Ichiro Hashiba
羽柴 一郎
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59138643A priority Critical patent/JPS6118043A/en
Publication of JPS6118043A publication Critical patent/JPS6118043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PURPOSE:To enable another extended ROM to refer to the result of execution by calling successively the procedure entrances of an extended ROM by a basic ROM and storing the result of execution of the procesdure called by the extended ROM to a common memory. CONSTITUTION:A basic ROM calls the initialization procedures for extended ROM-A and -B, and the called ROM starts an action to the FFA and FFB respectively and sends immediately the control to the basic ROM. When the processing is through with both ROM-A and -B, it is decided that both floppy disks FPA and FPB are working. Then the basic ROM calls the next initialization procedure for both ROM-A and -B. The called ROM sets the presence or absence of an FP as well as the number of FPs to a common memory after the action started by the preceding initialization procedure is over and then sends the control back to the basic ROM. Then the basic ROM calls the initial program reading procedure, and the called extended ROM reads the initial programs out of the FPA and PFB respectively, and leaves the control to these initial programs.

Description

【発明の詳細な説明】 炎東且1 本発明はROM(リードオンリメモリ)の制御方式に関
し、特にマイクロコンピュータにおける拡張ROMの制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Ento (1) The present invention relates to a control method for a ROM (read only memory), and particularly to a control method for an expansion ROM in a microcomputer.

従来技術 従来、マイクロコンピュータでは、その性能や機能の拡
大のために外部記憶装置例えばフロッピィディスク等を
設け、この外部記憶装置に対応して拡張ROMを準備し
てこの拡張ROMの手続きをオペレーティングシステム
の起動後にこのオペレーティングシステムによって呼出
し外部記憶装置からのプログラムを遂行するようになっ
ている。
BACKGROUND ART Conventionally, microcomputers have been equipped with an external storage device such as a floppy disk in order to expand their performance and functions, and an expansion ROM corresponding to this external storage device has been prepared and the procedures for this expansion ROM have been executed by the operating system. After startup, the operating system calls and executes programs from the external storage device.

このことは、オペレーティングシステムを外部記憶装置
から読み出し、起動するプログラムを予め基本ROMに
格納しておく必要があり、よって、制御方法が異なる外
部記憶装置を接続する場合には、基本ROMを交換しな
ければならないという欠点がある。
This means that the operating system must be read from the external storage device and the program to be started must be stored in the basic ROM in advance. Therefore, when connecting an external storage device with a different control method, the basic ROM must be replaced. There is a drawback that it must be done.

また、拡張ROMはオペレーティングシステムによって
順次呼出されて、それぞれの拡張ROMは他の基本RO
Mとは独立して手続きを実行するようになっているので
、拡張ROM同士の機能の結合が困難となる欠点がある
Also, the expansion ROMs are called sequentially by the operating system, and each expansion ROM is called by the operating system.
Since procedures are executed independently of M, there is a drawback that it is difficult to combine the functions of expansion ROMs.

発明の目的 本発明はの目的は、拡張ROMに複数の手続き入口を持
たせることによって上記の各欠点を解決すると共に拡張
ROMの拡張や更に高度4T拡張ROMの制御が可能な
ROM制御方式を提供することである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a ROM control method that solves the above-mentioned drawbacks by providing an expansion ROM with a plurality of procedure entrances, and also allows expansion of the expansion ROM and control of an advanced 4T expansion ROM. It is to be.

発明の構成 本発明によるROM制御方式は、基本となるROM(リ
ードオンリメモリ)と、この基本ROMにより呼出し制
御される複数の手続き入口を有する拡張ROMと、この
拡張ROMに対応し−C設けられた外部装量と、11本
ROMと拡張ROMとが共通に更新・参照自在な共通メ
モリとを含み、基本ROMによって拡張ROMの手続き
入日を順次呼出し、拡張ROMはこの呼出された手続ぎ
の実行結果を共通メモリに格納し、この格納された実行
結果を他の拡張ROMが参照可能とするようにしてなる
ことを特徴とする。
Structure of the Invention The ROM control method according to the present invention includes a basic ROM (read-only memory), an expansion ROM having a plurality of procedure entry points that are called and controlled by the basic ROM, and -C corresponding to the expansion ROM. The basic ROM sequentially calls the procedures in the expansion ROM, and the expansion ROM executes the called procedures. It is characterized in that the results are stored in a common memory, and the stored execution results can be referenced by other expansion ROMs.

1隻に 以下に、図面を用いて本発明の詳細な説明する。in one boat The present invention will be explained in detail below using the drawings.

第1図は本発明の実施例の概略ブロック図であり、基本
どなる基本ROM−¥と、外部記憶部首として例えばフ
ロッピィディスクA−Dがあり、フロッピィディスクC
,Dは予備とする。フロッピィディスクA、Bを夫々制
御するための拡張ROM−A、Bがあり、各拡張ROM
は初期化手続1及び2、初期プログラム読込み手続更に
は入出力手続を夫々右する。これ等基本ROMと拡張R
OMとに対して共通のメモリがあり、この共通メモリの
り!新・参照が基本ROM、拡張ROMから共通になさ
れ1りるJ:うになっている。
FIG. 1 is a schematic block diagram of an embodiment of the present invention, which includes a basic ROM-\, external storage radicals such as floppy disk A-D, and floppy disk C.
, D are reserved. There are expansion ROMs A and B for controlling floppy disks A and B, respectively.
represent the initialization procedures 1 and 2, the initial program loading procedure, and the input/output procedure, respectively. These basic ROM and expansion R
There is a common memory for OM, and this common memory glue! The new reference is made in common from the basic ROM and expansion ROM.

第2図1及び第3図は基本ROMの動作を示すフローで
あり、第4図(A)〜(D)は拡張ROMの動作を示す
フローである。尚、フロー中のO8はオペレーティング
システムを相称する。これ等第2図〜第4図を参照しつ
つ第1図のシステムの動作を説明する。
21 and 3 are flows showing the operations of the basic ROM, and FIGS. 4(A) to (D) are flows showing the operations of the expansion ROM. Note that O8 in the flow stands for the operating system. The operation of the system shown in FIG. 1 will be explained with reference to FIGS. 2 to 4.

基本ROMは初期化手続1を拡張ROM−A。The basic ROM is an extended ROM-A with initialization procedure 1.

Bにつき呼出し、この呼出された拡張ROMはそれぞれ
フロッピィディスク装置A、Bに対して動作を起動して
直ちに基本ROMに制御を返す。拡張ROM−A、Bの
上記処理が終了した時にはフロッピィディスク装置Ft
A、Bは共に動作をしていることになる。尚、いまフロ
ッピィディスク装置C,Dについては、それに対応する
拡張ROMが存在しないものとしておりよって呼出しは
なされない。
The called expansion ROM starts operations on the floppy disk devices A and B, respectively, and immediately returns control to the basic ROM. When the above processing of expansion ROM-A and B is completed, the floppy disk device Ft
This means that A and B are both operating. Incidentally, it is assumed that no expansion ROM corresponding to floppy disk devices C and D exists, so no calls are made.

次に、基本ROMは初期化手続2を拡張ROM−A、B
につき呼出し、この呼出された拡張ROMはそれぞれ前
の初期化手続1にて起動した動作の終了を待って動作が
終了したら共通メモリにフロッピィディスク装置の有無
、台数を設定して、基本R9Mにll!ll IIIを
返すことになる。
Next, the basic ROM performs the initialization procedure 2 in the extended ROM-A and B.
This called expansion ROM waits for the completion of the operation started in the previous initialization procedure 1, and when the operation is finished, it sets the existence and number of floppy disk devices in the common memory, and returns it to the basic R9M. ! It will return ll III.

そして、基本ROMは初期プログラム読込み手続を呼出
し、この呼出された拡張ROMはそれぞれフロッピィデ
ィスク装NA、Bから初期プログラムを読み出してこの
初期プ[1グラムに制御を渡すことになる。ただし、初
期プログラムが読み出せなかったときには基本ROMへ
制御を返すのである。基本ROMは初期プログラム読込
み手続を拡張ROM−A、Bにつき呼出したときにすべ
て制御が返されてきたときには次の処理へ進む。
Then, the basic ROM calls the initial program reading procedure, and the called expansion ROM reads the initial program from the floppy disk drives NA and B, respectively, and transfers control to this initial program. However, if the initial program cannot be read, control is returned to the basic ROM. When the basic ROM calls the initial program reading procedure for the expansion ROMs A and B and all control is returned, the process proceeds to the next step.

入出力手続は基本ROMを経由してオペレーティングシ
ステムから呼出される。このオペレーティングシステム
はこの入出力手続を呼出すとき、入出力情報としてどの
フロッピィディスク装置を選択丈るかを有しており、基
本ROMによりこの入出力情報−基き拡張ROMのいず
れを呼出すかを判断する。入出力情報は共通メモリに格
納されているフロッピィディスク装置の有無及びその台
数により生成される・bのである。
I/O procedures are called from the operating system via the basic ROM. When this operating system calls this input/output procedure, it has input/output information that indicates which floppy disk device to select, and uses the basic ROM to determine which one of this input/output information - base expansion ROM to call. . The input/output information is generated based on the presence or absence of floppy disk devices stored in the common memory and the number of floppy disk devices.

上記動作を要約−るに・基本ROMは拡張ROMの複数
の手続入口について順次全て呼出していぎ、拡張ROM
は手続の実行結果を共通メモリに格納する。そして、基
本ROMが全ての拡張ROMの手続呼出しを一巡して次
の手続を呼出すとぎには、呼出された拡張ROMは他の
拡張ROMの手続の実行結果を参照する。また、基本R
OM及びオペレーティングシステムについても共通メモ
リを参照し得ることは勿論である。
Summary of the above operation - The basic ROM sequentially calls all of the multiple procedure entrances of the expansion ROM, and
stores the results of the procedure in common memory. Then, when the basic ROM makes a cycle of procedure calls in all expansion ROMs and calls the next procedure, the called expansion ROM refers to the execution results of procedures in other expansion ROMs. Also, basic R
Of course, the common memory can also be referenced by the OM and the operating system.

こうして、拡張ROMが他の拡張ROMの存在や処理結
果によって異なる手続へ分岐することが可能であり、ま
た、オペレーティングシステムが起動される前に複数の
拡張ROMに共通な手続を確立することが可能となる。
In this way, an expansion ROM can branch to different procedures depending on the presence of other expansion ROMs and processing results, and it is also possible to establish procedures common to multiple expansion ROMs before the operating system is started. becomes.

発明の効果 本発明によれば、新しい外部装置を接続するとき、拡張
ROMににり基本ROMを変更することなくオペレーテ
ィングシステムとのインタフェイスを確立することがで
き、またオペレーティングシステムを格納可能な外、部
記憶装閤を接続するとき、基本ROMを変更することな
くオペレーティングシステムを起動できるなど、マイク
ロコンピュータシステムの拡張性を高めるという効果が
ある。
Effects of the Invention According to the present invention, when connecting a new external device, an interface with the operating system can be established without changing the basic ROM in the expansion ROM. This has the effect of increasing the expandability of the microcomputer system, such as by allowing the operating system to be started without changing the basic ROM when connecting the external storage device.

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

第1図は本発明の詳細な説明する概略システムブロック
図、第2図及び第3図は基本ROMの動作を示すモロ−
1第4図(A)へ・(D)は拡張ROMの動作を示すフ
ローである。
FIG. 1 is a schematic system block diagram explaining the present invention in detail, and FIGS. 2 and 3 are further diagrams showing the operation of the basic ROM.
1. Figure 4 (A) and (D) are flowcharts showing the operation of the expansion ROM.

Claims (1)

【特許請求の範囲】[Claims] 基本となるROM(リードオンリメモリ)と、この基本
ROMにより呼出し制御される複数の手続き入口を有す
る拡張ROMと、この拡張ROMに対応して設けられた
外部装置と、前記基本ROMと前記拡張ROMとが共通
に更新・参照自在な共通メモリとを含み、前記基本RO
Mによって前記拡張ROMの手続き入口を順次呼出し、
前記拡張ROMはこの呼出された手続きの実行結果を前
記共通メモリに格納し、この格納された実行結果を他の
拡張ROMが参照可能とするようにしてなることを特徴
とするマイクロコンピュータのROM制御方式。
A basic ROM (read only memory), an expansion ROM having a plurality of procedure entrances that are called and controlled by this basic ROM, an external device provided corresponding to this expansion ROM, and the basic ROM and the expansion ROM. and a common memory that can be commonly updated and referenced, and the basic RO
sequentially calls the procedure entrances of the expansion ROM by M;
ROM control for a microcomputer, characterized in that the expansion ROM stores the execution result of the called procedure in the common memory, and allows other expansion ROMs to refer to the stored execution result. method.
JP59138643A 1984-07-04 1984-07-04 Rom control system Pending JPS6118043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59138643A JPS6118043A (en) 1984-07-04 1984-07-04 Rom control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59138643A JPS6118043A (en) 1984-07-04 1984-07-04 Rom control system

Publications (1)

Publication Number Publication Date
JPS6118043A true JPS6118043A (en) 1986-01-25

Family

ID=15226798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59138643A Pending JPS6118043A (en) 1984-07-04 1984-07-04 Rom control system

Country Status (1)

Country Link
JP (1) JPS6118043A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63115257A (en) * 1986-10-31 1988-05-19 Nec Corp Peripheral controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697122A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Information processor
JPS5810250A (en) * 1981-07-09 1983-01-20 Toshiba Corp Memory module system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697122A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Information processor
JPS5810250A (en) * 1981-07-09 1983-01-20 Toshiba Corp Memory module system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63115257A (en) * 1986-10-31 1988-05-19 Nec Corp Peripheral controller

Similar Documents

Publication Publication Date Title
CA1037159A (en) Processing link control system for data processing equipment
JPS6118043A (en) Rom control system
JP3916253B2 (en) Method for generating and storing a user program comprising instructions for a program storage controller and method of operating a program storage controller
JPH0250503B2 (en)
KR100631780B1 (en) Communication method between overlay units and apparatus using same
JPS59148918A (en) Program loading system
JPH0157874B2 (en)
JP2953514B2 (en) Motion program execution block division method
JP3341061B2 (en) Programmable controller
JP2862151B2 (en) Programmable controller
JPS6126699B2 (en)
JP2802806B2 (en) I / O channel control device
JPS5899826A (en) Input-output device controlling system
JPS6236268B2 (en)
JPS63181036A (en) Microprogram loading system
JPH01243120A (en) Firmware control device
JPH0756501A (en) Process instrumentation system
JPH04219837A (en) Data taking-over system
JPS59186048A (en) Microprogram control system
JPH03240845A (en) Reprocessing control system for data base and sequential file
JPH0759129A (en) Loading system and addressing system
JPS6042492B2 (en) Processing phase execution control method
JPH05225004A (en) Non-editing fast domp output system
JPH0489698A (en) Writable non-volatile memory
JPH06161959A (en) Information processor