【発明の詳細な説明】[Detailed description of the invention]
産業上の利用分野
本発明は、データ処理や制御などの技術分野で利用され
るパーソナルコンピュータなどのデータ処理装置に関す
るものである。
従来の技術
パーソナルコンピュータなど比較的小規模の電子計算機
システムでは、従来からイニシャル・プログラム・ロー
ダ(IPL)の格納に利用してきたROMが次第に大容
量化し、これにつれて内部に空き領域が生ずるようにな
ってきた。そこで、このROMの空き領域内にIPLに
よるロード対象の一つであるオペレーティング・システ
ムを一緒に格納してしまうという構成が採用されるよう
になってきている。
発明が解決しようとする問題点
最近、ROMの容量が更に増大しつつあり、これにIP
Lやオペレーティング・システムを格納してもまだ空き
領域ができるほどになってきている。
そこで、このROM内の空き領域に比較的使用頻度の高
い他のユーティリティ・プログラムをいくつか格納する
ことが考えられる。しかしながら、この場合、システム
立上げのたびにどのユーティリティ・プログラムに制御
を渡すかをユーザーのキー操作などによって逐一指定し
てやることが必要になり、ユーザーの負担が増すなどの
問題がある。
問題点を解決するための手段
本発明のデータ処理装置は、プロセッサの実行対象プロ
グラムを格納するROMのアドレス端子の1又は複数の
上位ビット部分に二値信号を選択可能に供給する手動ス
イッチを備え、システムの立上げ直後は上記手動スイッ
チで選択されるROM内の任意のプログラムにユーザー
の介入なしに制御が渡されるように構成されている。
以下、本発明の作用を実施例と共に詳細に説明する。
実施例
第1図は、本発明の一実施例のデータ処理装置の主要部
分の構、成を示すブロック図である。
図中、lはプロセッサ、2はROM、3はスイッチ、4
はアドレスバス、5はデータバス、6はRAM、7はフ
レキシブル・ディスク・ドライバー (FDD)である
。
ROM2には、IPLとオペレーティング・システムと
に加えて、IPL以外のユーティリティ・プログラムな
どCPUIの実行対象となる各種のプログラムが格納さ
れている。このROM2のアドレス入力端子の上位2ビ
ット部分(A16゜AI?)には、スイッチ3a、3b
の切り替えによってユーザーが随意に設定可能な二値信
号が供給される。また、ROM2のアドレス入力端子の
下位16ビツト部分(AO〜A15)部分には、CPU
Iからアドレスバス4を介して16ビツト幅のアドレス
信号が供給される。
すなわち、ROM2は、第2図に示すように、4個の記
憶領域2−0.2−1.2−2.2−3に分割されてお
り、各記憶領域はスイッチ(3a。
3b)のオン/オフによって設定される上位2ビツトの
アドレス信号(A16.A1?)の4種類の組合せ(0
,0)、 (0,1)、 (1,0)。
(1,1)に応じて選択される。これら4個の記憶領域
のそれぞれは、16進数の(0000)、から(FFF
F)Nまでのアドレスで指定される64にバイトの容量
を有しており、例えば記憶領域2−0にはIPLが格納
され、記憶領域2−1にはオペレーティング・システム
が格納され、残りの記憶領域2−2.2−3のそれぞれ
にはディスクコピー・プログラムなどのユーティリティ
・プログラムが格納される。
各記憶領域2−0〜2−3の先頭番地INDUSTRIAL APPLICATION FIELD The present invention relates to a data processing device such as a personal computer used in technical fields such as data processing and control. Conventional technology In relatively small-scale electronic computer systems such as personal computers, the capacity of ROM, which has traditionally been used to store the initial program loader (IPL), has gradually increased, and as a result, free space has become available internally. It's here. Therefore, a configuration is being adopted in which the operating system, which is one of the objects to be loaded by IPL, is also stored in the free space of the ROM. Problems that the invention seeks to solveRecently, the capacity of ROM has been further increasing, and IP
It is getting to the point where there is still free space even if you store L and the operating system. Therefore, it is conceivable to store several other relatively frequently used utility programs in the free space in this ROM. However, in this case, each time the system is started up, the user must specify which utility program should be given control one by one through key operations, which increases the burden on the user. Means for Solving the Problems The data processing device of the present invention includes a manual switch that selectively supplies a binary signal to one or more upper bits of an address terminal of a ROM that stores a program to be executed by a processor. Immediately after the system is started up, control is passed to any program in the ROM selected by the manual switch without user intervention. Hereinafter, the operation of the present invention will be explained in detail together with examples. Embodiment FIG. 1 is a block diagram showing the configuration of the main parts of a data processing apparatus according to an embodiment of the present invention. In the figure, l is a processor, 2 is a ROM, 3 is a switch, and 4
is an address bus, 5 is a data bus, 6 is a RAM, and 7 is a flexible disk driver (FDD). In addition to the IPL and the operating system, the ROM 2 stores various programs to be executed by the CPUI, such as utility programs other than the IPL. The upper two bits (A16°AI?) of the address input terminal of this ROM2 are connected to switches 3a and 3b.
By switching, a binary signal that can be set arbitrarily by the user is supplied. In addition, the lower 16 bits (AO to A15) of the address input terminal of ROM2 contain the CPU
A 16-bit wide address signal is supplied from I via address bus 4. That is, as shown in FIG. 2, the ROM 2 is divided into four storage areas 2-0.2-1.2-2.2-3, and each storage area is connected to a switch (3a, 3b). There are 4 types of combinations (0
,0), (0,1), (1,0). (1,1). Each of these four storage areas is a hexadecimal number from (0000) to (FFF
F) It has a capacity of 64 bytes specified by addresses up to N. For example, storage area 2-0 stores the IPL, storage area 2-1 stores the operating system, and the remaining A utility program such as a disk copy program is stored in each of the storage areas 2-2, 2-3. Starting address of each storage area 2-0 to 2-3
〔0000〕8か
ら始まる先頭部分にはシステムの立上げに必要な起動プ
ログラムが格納されている。CPU1は、電源が投入さ
れるたびにプログラム・カウンタの内容を(0000)
□に初期化し、この初期化アドレスを用いてROM2を
アクセスすることによりシステム起動プログラムのフェ
ッチと実行を開始する。これにより、スイッチ3a、3
bのオン/オフの組合せによって指定されているいずれ
かの記憶領域内の(0000)H番地から始まる起動プ
ログラムがcpuiに読出され、実行が開始される。
この起動プログラムの実行が終了すると、ユーザーの介
入を待つことなく直ちにユーティリティ・プログラムな
どに制御が渡されその実行が開始される。例えば、RO
M2の記憶領域2−2に格納されているディスクコピー
・プログラムの実行が開始されると、FDD7に搭載中
のフレキシブル・ディスクの内容が続出されて、RAM
6内に格納される。
以上、ROM内の記憶領域を4個に分割する構成を例示
したが、これ以外の適宜な個数に分割することができる
。
発明の効果
以上詳細に説明したように、本発明のデータ処理装置は
、プロセッサの実行対象プログラムを格納するROMの
アドレス端子の1又は複数の上位ビット部分に二値信号
を選択可能に供給する手動スイッチを備える構成である
から、システムの立上げ後は手動スイッチで指定されて
いるROM内の任意のプログラムに自動的に制御が渡る
ことになる。
この結果、システムの立上げ後は手動スイッチで指定さ
れているユーティリティ・プログラムなどの実行がユー
ザーの介入を待つことなく直ちに開始され、そのぶんユ
ーザーの負担が軽減されるという効果が奏される。[0000] The starting program necessary for starting up the system is stored in the first part starting from 8. CPU1 saves the contents of the program counter to (0000) every time the power is turned on.
The initialization address is initialized to □, and the ROM 2 is accessed using this initialization address to start fetching and executing the system startup program. As a result, switches 3a, 3
A startup program starting from address (0000)H in one of the storage areas specified by the on/off combination of b is read to the CPU and starts execution. When the execution of this startup program is completed, control is immediately passed to a utility program or the like and its execution begins without waiting for user intervention. For example, R.O.
When the execution of the disk copy program stored in the storage area 2-2 of M2 is started, the contents of the flexible disk installed in the FDD 7 are read out one after another and stored in the RAM.
6. Although the configuration in which the storage area in the ROM is divided into four areas has been exemplified above, it can be divided into an appropriate number of areas other than this. Effects of the Invention As described in detail above, the data processing device of the present invention provides a manual processing system that selectively supplies a binary signal to one or more upper bits of an address terminal of a ROM that stores a program to be executed by a processor. Since the configuration includes a switch, after the system is started up, control is automatically passed to any program in the ROM specified by the manual switch. As a result, after the system is started up, execution of utility programs and the like specified by the manual switch is immediately started without waiting for user intervention, resulting in the effect of reducing the burden on the user.
【図面の簡単な説明】[Brief explanation of drawings]
第1図は本発明の一実施例のデータ処理装置の構成を示
すブロック図、第2図は第1図のROM2の内部構成を
例示する概念図である。
l・・・CPU12・・・ROM13a、3b・・・R
OM2のアドレスの上位2ビツトを設定するためのスイ
ッチ、4・・・アドレスバス。
特許出願人 日本電気ホームエレクトロニクス株式会社FIG. 1 is a block diagram showing the configuration of a data processing device according to an embodiment of the present invention, and FIG. 2 is a conceptual diagram illustrating the internal configuration of the ROM 2 in FIG. 1. l...CPU12...ROM13a, 3b...R
A switch for setting the upper two bits of the address of OM2, 4...address bus. Patent applicant: NEC Home Electronics Co., Ltd.