JPH06161929A - Computer - Google Patents
ComputerInfo
- Publication number
- JPH06161929A JPH06161929A JP4318874A JP31887492A JPH06161929A JP H06161929 A JPH06161929 A JP H06161929A JP 4318874 A JP4318874 A JP 4318874A JP 31887492 A JP31887492 A JP 31887492A JP H06161929 A JPH06161929 A JP H06161929A
- Authority
- JP
- Japan
- Prior art keywords
- bios
- ram
- fprom
- rewriting
- banks
- 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
- 208000017227 ADan amyloidosis Diseases 0.000 claims description 10
- 201000000194 ITM2B-related cerebral amyloid angiopathy 2 Diseases 0.000 claims description 10
- 238000012546 transfer Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 28
- 238000000034 method Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
(57)【要約】
【目的】本発明は、ROMの付け替え作業をすることな
く、BIOSの変更を容易にするコンピュータを提供す
ることを目的とする。
【構成】FPROMとマスクROMを混在させたシステ
ムにおいて、CPUから見たROMアドレスを3分割
し、第1のエリアをFPROMと複数のマスクROMの
バンク、第2のエリアをFPROM単一のバンク、第3
のエリアを複数のFPROMのバンクにより構成し、第
2のエリアのFPROMのプログラムにより第1、第3
のエリアの複数のバンクを切り換える手段を有し、第3
のエリアのFPROMにより起動動作を行う。前記第3
のエリアは電気的消去が不可能なように制御している。
FPROMは外部バスに書き換えキーを装着する事で書
き換えの選択が可能となっている。FPROMのデータ
は、外部記憶装置からデータを読み込み書き換える。
(57) [Summary] [Object] An object of the present invention is to provide a computer that facilitates the change of the BIOS without the work of replacing the ROM. [Configuration] In a system in which FPROM and mask ROM are mixed, the ROM address viewed from the CPU is divided into three, the first area is a bank of FPROM and a plurality of mask ROMs, the second area is a single bank of FPROM, Third
Area is composed of a plurality of FPROM banks, and the first and third FPROM banks are programmed by the second area FPROM program.
Having means for switching a plurality of banks in the area
The starting operation is performed by the FPROM in the area. The third
The area is controlled so that it cannot be electrically erased.
The FPROM can be selected for rewriting by attaching a rewriting key to the external bus. The data in the FPROM is rewritten by reading the data from the external storage device.
Description
【0001】[0001]
【産業上の利用分野】本発明は、処理装置固有の機能を
制御するソフトウェアと、処理装置に依存しない基本機
能を制御するソフトウェアを異なるROMへ格納してお
き、処理装置の機能に応じてROM上のソフトウェアを
使い分けるコンピュータに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention stores software for controlling functions unique to a processing apparatus and software for controlling basic functions independent of the processing apparatus in different ROMs, and stores the ROMs according to the functions of the processing apparatus. Regarding the computer that uses the above software properly.
【0002】[0002]
【従来の技術】コンピュータを開発する場合、BIOS
が開発され、更にそれよりも高機能なコンピュータが開
発されるとそのコンピュータのための新しいBIOSも
開発しなければならず、コンピュータ1つにつき1つの
BIOSを搭載するという形をとっていた。2. Description of the Related Art When developing a computer, a BIOS
Was developed, and when a computer with higher functions was developed, a new BIOS for the computer had to be developed, and one computer was equipped with one BIOS.
【0003】また、特開平4−69742号公報には、
搭載しているBIOSが正常でない場合、2次記憶媒体
(通信ポート、フロッピーディスク等)から読み出すこ
とにより得られた、正しいBIOSプログラムをFPR
OMへ書き込む。これにより、万一BIOSプログラム
に異常が発生した場合でもシステムが動作不可能となる
ことを防いぐ例が示されている。Further, Japanese Patent Laid-Open No. 4-69742 discloses that
If the installed BIOS is not normal, the correct BIOS program obtained by reading from the secondary storage medium (communication port, floppy disk, etc.) is FPR.
Write to OM. This shows an example of preventing the system from becoming inoperable even if an abnormality occurs in the BIOS program.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上述の
方法ではBIOSの開発とハードウェアの開発を並行し
て行わねばならず開発に時間がかる。また、BIOSの
バージョンアップをした場合、市場や製造工程でROM
の付け替え作業を行わねばならず無駄な工数が発生す
る。However, in the above-mentioned method, the development of the BIOS and the development of the hardware have to be performed in parallel, which takes time. Also, when the BIOS is upgraded, the ROM may be changed in the market or manufacturing process.
Therefore, it is necessary to perform the replacement work of No., which causes unnecessary man-hours.
【0005】また、特開平4−69742号公報の方法
では、システムの動作不可の防止はできるが、バージョ
ンアップすることができない。さらに、FPROMの書
き込み手段をシステムに組み込んでおり、FPROMの
書き込み手段が異なるシステムでは、システムに予め組
み込んでおくBIOSを開発しなければならない。The method disclosed in Japanese Patent Laid-Open No. 4-69742 can prevent the system from being inoperable, but cannot upgrade the version. Furthermore, in a system in which the writing means of the FPROM is incorporated into the system and the writing means of the FPROM is different, a BIOS to be incorporated into the system in advance must be developed.
【0006】本発明の目的は、ハードウェアの開発効率
を上げ、BIOSの変更を容易にする。An object of the present invention is to improve the development efficiency of hardware and facilitate the change of BIOS.
【0007】[0007]
【課題を解決するための手段】本発明のコンピュータ
は、BIOSの一部(以下BIOS#1)が格納された
電気信号により書換え可能なフラッシュPROMと、前
記BIOSの他の部分(以下BIOS#2)が格納され
た電気信号により書換え不可能なマスクROMと、RA
M転送手段により前記BIOSがロードされるBIOS
実行用のRAMとを有するコンピュータにおいて、前記
FPROMに格納され、前記BIOS#1の内容を演算
して前記コンピュータに適合するかを判別するBIOS
使用判別手段と、前記BIOS#1が適合しない場合
は、前記BIOS#2により外部記憶装置より呼び出さ
れ、前記BIOS#1の書換えを行なうフラッシュPR
OM書換え手段とを有することを特徴とする。A computer according to the present invention comprises a flash PROM rewritable by an electric signal in which a part of BIOS (hereinafter, BIOS # 1) is stored, and another part of the BIOS (hereinafter, BIOS # 2). ) Is stored in the mask ROM which cannot be rewritten by the electric signal and RA
BIOS in which the BIOS is loaded by M transfer means
In a computer having a RAM for execution, a BIOS stored in the FPROM and calculating the contents of the BIOS # 1 to determine whether the computer is suitable for the computer.
If the usage discriminating means and the BIOS # 1 do not match, the flash PR called by the BIOS # 2 from the external storage device to rewrite the BIOS # 1.
OM rewriting means.
【0008】また前記BIOS使用判別手段に優先して
前記フラッシュPROM書換え手段にBIOS#1の書
換えを認識させる、フラッシュPROM書換えキーを有
することを特徴とする。In addition, the flash PROM rewriting means is provided with a flash PROM rewriting key which allows the flash PROM rewriting means to recognize the rewriting of the BIOS # 1 in preference to the BIOS usage determining means.
【0009】また本発明のコンピュータはBIOSの一
部(以下BIOS#1)が格納された電気信号により書
換え可能なフラッシュPROMと、前記BIOSの他の
部分(以下BIOS#2)が格納された電気信号により
書換え不可能なマスクROMと、RAM転送手段により
前記BIOSがロードされるBIOS実行用のRAMと
を有するコンピュータにおいて、前記プログラム実行用
のRAMは3領域に分割され、複数バンクに分割された
前記BIOS#1のうち、少なくともシステム起動手段
と、前記RAM転送手段と、前記BIOS使用判別手段
と、を含むバンクが割り当てられる第1のRAM領域
と、BIOS#1の他の一部のバンクが割り当てられる
第2のRAM領域と、BIOS#1の残りのバンクと、
複数のバンクに分割されたBIOS#2全てのバンクが
割り当てられる第3のRAM領域とを有することを特徴
とする。In the computer of the present invention, a flash PROM which is rewritable by an electric signal in which a part of BIOS (hereinafter, BIOS # 1) is stored, and an electric part in which another part of the BIOS (hereinafter, BIOS # 2) is stored. In a computer having a mask ROM that is not rewritable by a signal and a BIOS execution RAM into which the BIOS is loaded by the RAM transfer means, the program execution RAM is divided into three areas and divided into a plurality of banks. Of the BIOS # 1, a first RAM area to which a bank including at least a system booting unit, the RAM transfer unit, and the BIOS use determining unit is allocated, and another bank of the BIOS # 1 are A second RAM area to be allocated and the remaining banks of BIOS # 1;
BIOS # 2 divided into a plurality of banks, and a third RAM area to which all the banks are assigned.
【0010】また前記システム起動手段は書換え不能に
マスクされることを特徴とする。また前記第1のRAM
領域に割り当てられた複数のバンク及び前記第3のRA
M領域に割り当てられた複数のバンクの切り換えは、前
記第2のRAM領域に割り当てられたBIOS#1に含
まれるバンク切り換え手段により行うことを特徴とす
る。Further, the system starting means is masked so that it cannot be rewritten. Also, the first RAM
A plurality of banks assigned to the area and the third RA
The plurality of banks allocated to the M area are switched by the bank switching means included in the BIOS # 1 allocated to the second RAM area.
【0011】また前記フラッシュPROM書換え手段に
よりCPUのキャシュメモリー制御手段を付加すること
を特徴とする。Further, the flash PROM rewriting means adds a cache memory control means of the CPU.
【0012】また前記フラッシュPROM書換え手段に
より1個のFDC(フロッピーディスクコントローラ)
によりRAMドライブを含めた5台以上のFDDを制御
する手段を付加することを特徴とする。Also, one FDC (floppy disk controller) is provided by the flash PROM rewriting means.
By the means, means for controlling five or more FDDs including a RAM drive is added.
【0013】[0013]
【作用】本発明は、処理装置固有の機能を制御するソフ
トウェア(BIOS#2)をマスクROMへ格納し、処
理装置に依存しない機能を制御するソフトウェア(BI
OS#1)をFPROMへ格納しておき、処理装置の基
本機能のみの使用ではマスクROM上のBIOS#2を
利用し、すべての機能を使用する場合ではFPROM上
のBIOS#1とマスクROM上のBIOS#2を利用
することができる。The present invention stores software (BIOS # 2) for controlling a function peculiar to a processing device in a mask ROM so as to control a function independent of the processing device (BI).
OS # 1) is stored in the FPROM and the BIOS # 2 on the mask ROM is used when only the basic functions of the processor are used. When all the functions are used, the BIOS # 1 and the mask ROM on the FPROM are used. BIOS # 2 can be used.
【0014】[0014]
【実施例】図1は、本発明の一実施例に使用する装置の
ブロック図である。図1においてCPU1と、ソフトウ
ェアを実行するRAM2と、BIOS#2を格納したマ
スクROM3と、BIOS#1を格納したFPROM4
及び、外部記憶装置を制御するフロッピーディスクコン
トローラー(以下FDC)のFDC5がシステムバス1
0により接続されている。FDD6はFDC5によって
制御され外部記憶装置であるフロッピーディスクをアク
セスするフロッピーディスクドライブ(以下FDD)で
ある。FPROM書き換えキー7は拡張バス11に接続
することで、システムに特定の信号を出力する。システ
ムは電源8より電源ライン9を介して電気が供給され
る。1 is a block diagram of an apparatus used in an embodiment of the present invention. In FIG. 1, a CPU 1, a RAM 2 that executes software, a mask ROM 3 that stores a BIOS # 2, and an FPROM 4 that stores a BIOS # 1.
Also, the FDC 5 of the floppy disk controller (hereinafter FDC) that controls the external storage device is the system bus 1.
Connected by 0. The FDD 6 is a floppy disk drive (hereinafter referred to as FDD) which is controlled by the FDC 5 and accesses a floppy disk which is an external storage device. The FPROM rewriting key 7 is connected to the expansion bus 11 to output a specific signal to the system. The system is supplied with electricity from a power supply 8 via a power supply line 9.
【0015】FPROM4には機種に依存する全機能を
制御する手段4a、詳しくは、ソフトウェア実行中にシ
ステムの電源をOFFしてもそのときの状態を保持し、
次の電源ONで電源をOFFした時の状態から作業が継
続できるようにするレジューム機能制御手段、内蔵して
いるRAMをフロッピーディスクと同じ様に扱う制御手
段、ユーザーの設定によって、内蔵しているRAMの使
用方法を決定する手段等を備えたBIOS#1が格納さ
れており、マスクROMにはBIOS#1以外の機種依
存しない基本機能制御手段3a、詳しくは、システムに
接続されているFDC5を制御してFDD6を介してフ
ロッピーディスクからデータを読み込む手段、そのため
に必要なFDC5の初期化手段等を備えたBIOS#2
が格納されている。されにマスクROMには、機種共通
で使用できる高級言語のサブルーチン等も格納されてい
る。The FPROM 4 has means 4a for controlling all the functions depending on the model, more specifically, it holds the current state even if the system power is turned off during execution of software.
Resume function control means that allows work to continue from the state when the power was turned off at the next power-on, control means that treats the built-in RAM in the same way as a floppy disk, and built-in according to user settings. A BIOS # 1 having means for deciding how to use RAM is stored, and a mask ROM stores a model-independent basic function control means 3a other than the BIOS # 1, specifically, an FDC 5 connected to the system. BIOS # 2 including means for controlling and reading data from a floppy disk via FDD6, and means for initializing FDC5 necessary for that purpose
Is stored. In addition, the mask ROM also stores high-level language subroutines that can be used for all models.
【0016】図2は、BIOS#1を機種に対応したB
IOSに書き換える際のフローチャートである。システ
ムに電源が投入されるとBIOS使用判別手段4cによ
りFPROM4上のBIOS#1のデータがシステムに
対応しているBIOSかどうか確かめる。BIOS#1
のデータは16進数であるため演算ができる。これを利
用して、BIOS#1のデータをバイト単位で加算(以
下チェックサム)し演算結果(以下チェックサム値)を
求める(STEP2a)。ここで、BIOS#1のデー
タはチェックサム値を計算すると特定の値となるように
データ補正があらかじめ行われている。この特定の値と
はBIOS#1のバージョンに対応しているものであ
り、このバージョンにより各機種に対応したBIOSで
あるかどうか判断できる(STEP2b)。したがって
チェックサム値が特定の値と一致しないとき、BIOS
#1のデータは正しくないと判断し、RAM転送手段4
bによりマスクROM3上のBIOS#2をRAM2へ
展開する(STEP2g)。そしてRAM2上に制御を
移行し(STEP2h)、基本制御手段3aによりFD
C5が動作可能となるようにハードウェアの初期化を行
い(STEP2i)、フロッピーディスクからFPRO
M書き換え処理を有するシステムを読み込み(STEP
2j)、制御を移行(システム起動)する(STEP2
k)。チェックサム値が特定の値と一致する場合、BI
OS#1のデータは正しいものと判断する。FIG. 2 is a schematic diagram of the BIOS # 1 which corresponds to the model.
It is a flowchart at the time of rewriting to IOS. When the system is powered on, the BIOS usage determining means 4c confirms whether the data in the BIOS # 1 on the FPROM 4 is the BIOS compatible with the system. BIOS # 1
Since the data of is a hexadecimal number, it can be calculated. Utilizing this, the data of the BIOS # 1 is added in byte unit (hereinafter checksum) to obtain the operation result (hereinafter checksum value) (STEP2a). Here, the data of the BIOS # 1 is previously corrected so that the data has a specific value when the checksum value is calculated. This specific value corresponds to the version of BIOS # 1, and it is possible to determine whether or not the BIOS corresponds to each model according to this version (STEP 2b). Therefore, if the checksum value does not match a particular value, the BIOS
It is determined that the data of # 1 is not correct, and the RAM transfer means 4
The BIOS # 2 on the mask ROM 3 is expanded to the RAM 2 by b (STEP 2g). Then, the control is transferred to the RAM 2 (STEP 2h), and the basic control means 3a controls the FD.
The hardware is initialized so that C5 can operate (STEP2i), and FPRO is run from the floppy disk.
Read the system with M rewriting (STEP
2j), control is transferred (system startup) (STEP2
k). BI if the checksum value matches a certain value
It is determined that the data of OS # 1 is correct.
【0017】次に、強制的にFPROM4上のBIOS
#1を書き換えて良いかを調べる(STEP2c)。た
とえば、BIOS#1に新たに機能を付加しBIOSの
バージョンアップを行う場合は、チェックサム値が正し
くとも強制的に書き換えを行う。このチェック方法は、
システムにその旨を知らせるためのボードであるFPR
OM書き換えキー7を拡張バス11に接続することで実
現する。通知方法は、電気信号により知ることができ、
ソフトウェアではポートから読み込んだ信号が特定の値
であるかどうかで判断する。具体的には、ポート8F2
Hよりリードした値が1745Hであれば、FPROM
書き換えキー7が装着されていると判断する。したがっ
て、FPROM書き換えキー7の有無により判定が可能
となり、強制的にBIOS#1を書き換える場合(FP
ROM書き換えキー7が装着されている場合)、BIO
S#1のデータが正しくない場合と同様にして(STE
P2gへ)、フロッピーディスクからFPROM書き換
え処理を有するシステムを読み込み、制御を移行する。
むろん、FPROM書き換えキー7上のメモリからシス
テムを読み込んでも良い。Next, the BIOS on the FPROM 4 is forcibly forced.
It is checked whether or not # 1 can be rewritten (STEP2c). For example, when a new function is added to the BIOS # 1 to upgrade the BIOS, even if the checksum value is correct, the rewriting is forcibly performed. This check method is
FPR which is a board to inform the system to that effect.
It is realized by connecting the OM rewriting key 7 to the expansion bus 11. The notification method can be known by an electric signal,
The software determines whether the signal read from the port has a specific value. Specifically, port 8F2
If the value read from H is 1745H, FPROM
It is determined that the rewrite key 7 is attached. Therefore, it becomes possible to judge whether or not the FPROM rewrite key 7 is present, and when the BIOS # 1 is forcibly rewritten (FP
If the ROM rewrite key 7 is installed), BIO
In the same way as when the data of S # 1 is incorrect (STE
P2g), the system having the FPROM rewriting process is read from the floppy disk, and the control is transferred.
Of course, the system may be read from the memory on the FPROM rewrite key 7.
【0018】FPROMのBIOS#1を書き換えない
場合、RAM転送手段4bによりFPROM4上のBI
OS#1と機種依存しないマスクROM3上のBIOS
#2をRAM2へ展開する(STEP2d)。その後、
RAM2へ展開された全機能制御手段4aと基本機能制
御手段3aへ制御を移行し(STEP2e)し、各種ハ
ードウェアの初期化を行った後システムを起動する(S
TEP2f)。When the BIOS # 1 of the FPROM is not rewritten, the BI on the FPROM 4 is transferred by the RAM transfer means 4b.
BIOS on the mask ROM 3 independent of OS # 1 and model
# 2 is expanded in RAM2 (STEP2d). afterwards,
The control is transferred to the all-function control means 4a and the basic-function control means 3a developed in the RAM 2 (STEP 2e), various hardware is initialized, and then the system is started (S).
TEP2f).
【0019】図3はCPUから見たメモリマップであ
る。バンク0〜7はそれぞれ32KB(キロバイト)の
ブロックで構成されており、メモリ空間へはソフトウェ
ア制御のもとバンクごとに配置する。基本機能制御手段
3aはバンク4へ、RAM転送手段4bとBIOS使用
判別手段4cはバンク2へ、全機能制御手段4aはバン
ク1及び3へそれぞれ格納している。また、バンク0
は、システムの動作環境を設定するためのプログラムを
格納している。さらに、バンク5〜7は現状では未使用
であるが、将来的にはサウンド機能を制御するBIOS
等の付加的なシステム制御機能等を格納することができ
る。FIG. 3 is a memory map viewed from the CPU. Banks 0 to 7 are each composed of blocks of 32 KB (kilobytes), and are arranged in the memory space for each bank under software control. The basic function control means 3a is stored in the bank 4, the RAM transfer means 4b and the BIOS use determination means 4c are stored in the bank 2, and the all function control means 4a is stored in the banks 1 and 3, respectively. Also, bank 0
Contains a program for setting the operating environment of the system. Furthermore, banks 5 to 7 are currently unused, but in the future, a BIOS that controls sound functions.
It is possible to store additional system control functions and the like.
【0020】電源が投入されると、CPUの実行アドレ
スはFPROMのバンク2を指しており、バンク2から
プログラムが実行される。バンク2では、BIOS使用
判別手段4cによりFPROMのBIOS#1のチェッ
クサム値が正しいかどうか及びFPROMを強制的に書
き換えるかどうか判定した後、それらの判定結果に基づ
きシステムを起動する。この一連の処理が格納されてい
るバンク2のうち8KBは、システム接続時には電気的
消去が不可能となるようにシステムで保護している(I
NTEL MEMORY PRODUCTS 1992
P3−114等参照)。これは、前述のFPROM書
き換え処理を有するシステムによって誤って消去されて
しまった場合、システムが動作できなくなる事を防ぐた
めである。When the power is turned on, the execution address of the CPU points to bank 2 of the FPROM, and the program is executed from bank 2. In the bank 2, after the BIOS usage determining means 4c determines whether the checksum value of the BIOS # 1 of the FPROM is correct and whether the FPROM is forcibly rewritten, the system is activated based on the determination results. Of the banks 2 in which this series of processing is stored, 8 KB is protected by the system so that it cannot be electrically erased when the system is connected (I
NTEL MEMORY PRODUCTS 1992
(See P3-114 etc.). This is to prevent the system from becoming inoperable if it is accidentally erased by the system having the FPROM rewriting process described above.
【0021】実際にBIOSが稼働する場合、CPUア
ドレスのE8000H〜FFFFFHまでの96KBの
空間で稼働しなければならない。FPROM4上のBI
OS#1をRAMへ展開する場合、FPROM128K
Bのうちバンク1,3の64KBとマスクROMの12
8KBのうちバンク4の32KBの合計96KBをRA
M転送手段4bによりRAM2へ展開する。When the BIOS actually operates, it must operate in the space of 96 KB from the CPU address E8000H to FFFFFH. BI on FPROM4
When expanding OS # 1 to RAM, FPROM128K
64KB of banks 1 and 3 of B and 12 of mask ROM
RA of the total KB of 32 KB of bank 4 out of 8 KB
It is expanded in the RAM 2 by the M transfer means 4b.
【0022】メモリ空間にマスクROM3あるいはFP
ROM4を配置することで、CPUがそのメモリ空間に
対して読み込み動作を行うとマスクROM3あるいはF
PROM4上のデータを読み込み、CPUが書き込み動
作を行うとBIOS展開用のRAM2に対してデータの
書き込みが行われる。また、メモリ空間にBIOS展開
用のRAM2を配置するにあたり、そのメモリ空間に対
してCPUが読み込み動作を行うとRAM2上のデータ
を読み込むことができるが、CPUが書き込み動作を行
っても書き込みはできないように制御する。このように
してRAM上のデータをあたかもROM上のデータとし
て扱うことが可能となる。Mask ROM 3 or FP in the memory space
By arranging the ROM 4, the mask ROM 3 or the F
When the data on the PROM 4 is read and the CPU performs a write operation, the data is written to the RAM 2 for BIOS expansion. Further, when the RAM 2 for expanding the BIOS is arranged in the memory space, the data in the RAM 2 can be read when the CPU performs the read operation in the memory space, but the data cannot be written even when the CPU performs the write operation. To control. In this way, the data on the RAM can be treated as if it were the data on the ROM.
【0023】BIOSをROMからRAMへ展開する場
合、メモリ空間にROMを配置しておき、CPUはRO
Mのデータを読み込んだら同じメモリ空間のROMに対
してその読み込みデータを書き込む。CPUがROMへ
書き込む動作をすると、実際は前述のようにRAMへデ
ータが書き込まれる。このため、バンクを切り換える処
理はバンク1で行うのが最適である。なぜなら、仮にバ
ンク3でバンクを切り換えた場合、バンク0、バンク4
〜7のそれぞれのバンク切り換えは問題ないが、バンク
3とバンク2を切り換えると、バンク3で処理中にバン
ク2がメモリ空間に現れてしまうことになる。すると、
バンク3の処理が実行できないことになり、処理が継続
できなくなってしまうからである。バンク0、バンク
2、バンク4〜7についても同様の事がいえる。また、
バンク1のデータは同一アドレスのRAMに展開されて
いるため、メモリ空間をROMとRAMで切り換える処
理もバンク1で行うのがよい。When the BIOS is expanded from the ROM to the RAM, the ROM is arranged in the memory space and the CPU is the RO.
After reading the data of M, the read data is written in the ROM of the same memory space. When the CPU performs the writing operation to the ROM, the data is actually written to the RAM as described above. For this reason, it is optimal to perform the process of switching the bank in bank 1. This is because, if the bank is switched with bank 3, bank 0, bank 4
Although there is no problem in switching each of the banks 7 to 7, if the banks 3 and 2 are switched, the bank 2 will appear in the memory space during processing in the bank 3. Then,
This is because the processing of bank 3 cannot be executed and the processing cannot be continued. The same applies to Bank 0, Bank 2, and Banks 4 to 7. Also,
Since the data of the bank 1 is expanded in the RAM of the same address, it is preferable that the bank 1 also performs the process of switching the memory space between the ROM and the RAM.
【0024】図4はFPROM4上のBIOS#1を外
部記憶装置からのデータにより書き換えるときのフロー
チャートである。仮にFPROM4上に全機能制御手段
4aがないとすると、システムはチェックサム値が正し
くないと判断し、FPROM書き換え処理を行う。マス
クROM3上の基本機能制御手段3aを有するBIOS
#2をRAMに展開する(STEP4a)。そしてRA
Mへ制御を移行(STEP4b)し、FDC5が動作可
能となるようハードウェアの初期化を行い(STEP4
c)、FPROM書き込み手段を有するシステム(FP
ROM書き換えユーティリティー)をFDD6を介して
フロッピーディスクから読み込みRAMへ展開する(S
TEP4d)。その後、FPROM書き換えユーティリ
ティーへ制御を移行する(STEP4e)。FPROM
書き換えユーティリティーは、基本機能制御手段3aを
利用してFPROM上へ書き込むデータをフロッピーデ
ィスクから読み込み(STEP4f)、次にメモリ空間
へFPROMを配置して(STEP4g)FPROM書
き込み手段を使用してFPROMへBIOS#1を書き
込む(STEP4h)。FIG. 4 is a flowchart for rewriting the BIOS # 1 on the FPROM 4 with the data from the external storage device. If there is no full-function control means 4a on the FPROM 4, the system determines that the checksum value is incorrect and performs the FPROM rewriting process. BIOS having basic function control means 3a on the mask ROM 3
# 2 is expanded in RAM (STEP4a). And RA
The control is transferred to M (STEP4b), and the hardware is initialized so that the FDC 5 can operate (STEP4b).
c), a system having FPROM writing means (FP
ROM rewriting utility) is read from the floppy disk via FDD6 and expanded to RAM (S
TEP4d). After that, control is transferred to the FPROM rewriting utility (STEP 4e). FPROM
The rewriting utility reads the data to be written on the FPROM from the floppy disk by using the basic function control means 3a (STEP4f), then arranges the FPROM in the memory space (STEP4g) and uses the FPROM writing means to enter the FPROM into the BIOS. Write # 1 (STEP4h).
【0025】図5は本発明の応用例としての高性能なC
PUを制御するときのフローチャートである。動作速度
をより高速にするため、キャッシュ機能を備えたCPU
は、電源を投入してもCPUのもつキャッシュ機能が無
効のままであるため、CPUのもつ機能を充分に発揮で
きない。そこでCPUのキャッシュ機能をソフトウェア
で有効にする処理が必要となる。電源投入後、CPUの
状態を取得する。次に、キャッシュ以外の状態を保存し
たままキャッシュを有効にする。その状態をCPUへ設
定する。図1のシステムにおいて、CPUのみを高性能
なCPUに交換した場合、キャッシュ機能を有効にする
処理を備えたBIOSが必要となる。そこで、CPUを
変更したシステム上で、フロッピーディスクを用いてF
PROM上のBIOSを、CPUのキャッシュ機能を制
御する手段をもつBIOSに書き換えることにより、B
IOS ROMの交換なしに容易にシステムを高性能な
ものにすることができる。FIG. 5 shows a high performance C as an application example of the present invention.
It is a flowchart at the time of controlling PU. CPU with cache function to increase operating speed
, The cache function of the CPU remains invalid even when the power is turned on, so that the function of the CPU cannot be fully exerted. Therefore, a process for enabling the cache function of the CPU by software is required. After the power is turned on, the CPU status is acquired. Next, enable the cache while saving the states other than the cache. The state is set in the CPU. In the system of FIG. 1, when only the CPU is replaced with a high-performance CPU, a BIOS having a process for enabling the cache function is required. Therefore, on a system with a changed CPU, use a floppy disk to
By rewriting the BIOS on the PROM to the BIOS having means for controlling the cache function of the CPU, B
The system can easily be made high performance without replacing the IOS ROM.
【0026】図1のシステムにおいて、新たにI/Oポ
ートからアクセス可能なRAMを増設し、そのRAMを
フロッピーディスクとして処理する場合のBIOSの処
理を図6に示す。RAMをフロッピーディスクとして扱
うメリットは、フロッピーディスクよりも高速にアクセ
スができ、システムも物理的に小さくできる事にある。
また、アプリケーションやOSがRAMへアクセスする
場合もBIOSを経由して行う限りは、フロッピーディ
スクへアクセスすることと同一であるため、RAMを付
加したからといってアプリケーションやOSを変更する
必要がない。したがって、従来のアプリケーションやO
Sがそのまま使用でき、しかもパフォーマンスを向上で
きる。FIG. 6 shows the processing of the BIOS when a RAM accessible from the I / O port is newly added in the system of FIG. 1 and the RAM is processed as a floppy disk. The advantage of treating the RAM as a floppy disk is that it can be accessed faster than a floppy disk and the system can be made physically smaller.
Also, when the application or OS accesses the RAM, it is the same as accessing the floppy disk as long as the access is performed via the BIOS, so there is no need to change the application or OS even if the RAM is added. . Therefore, conventional applications and O
S can be used as is, and performance can be improved.
【0027】通常FDC1台が制御できるFDDは4台
である。このためOSがBIOSを経由してFDDをア
クセスする場合、FDDのユニット番号0〜3を指定し
てBIOSの処理を呼び出す。図1においてFDDは1
台であるからFDDへアクセスする場合は、ユニット番
号0を指定する。0以外(1〜3)は未接続の扱いとな
る。ここで新たに前述のRAMを付加し、フロッピーデ
ィスクとしてアクセスする場合、ユニット番号は1を指
定する。このユニット番号に従い、BIOSはユニット
番号0が指定されて呼び出された場合はFDCを操作し
てフロッピーディスクをアクセスし、ユニット番号1が
指定されて呼び出された場合はI/Oポートを操作して
RAMへアクセスする。このようにシステムの基本機能
はそのままにしておき新たに機能を付加する(フロッピ
ーディスクの用に扱えるRAMを付加する)場合BIO
Sの変更が必要となる。この場合も前述のCPUの変更
と同様にしてフロッピーディスクを用いてFPROM上
のBIOSをRAMへのアクセスをフロッピーディスク
としてアクセスする手段をもつBIOSに書き換えるこ
とにより、BIOS ROMの交換なしに容易にシステ
ムの機能を変更することができる。Normally, four FDDs can be controlled by one FDC. Therefore, when the OS accesses the FDD via the BIOS, the unit numbers 0 to 3 of the FDD are designated to call the BIOS processing. In Fig. 1, FDD is 1
Since it is a stand, the unit number 0 is specified when accessing the FDD. Other than 0 (1 to 3) is treated as unconnected. Here, when the above-mentioned RAM is newly added to access as a floppy disk, 1 is designated as the unit number. According to this unit number, the BIOS operates the FDC to access the floppy disk when the unit number 0 is specified and is called, and operates the I / O port when the unit number 1 is specified and called. Access the RAM. In this way, when basic functions of the system are left unchanged and new functions are added (RAM that can be used for floppy disk is added), BIO
It is necessary to change S. In this case as well, similar to the above-mentioned CPU change, by rewriting the BIOS on the FPROM using the floppy disk to the BIOS having a means for accessing the RAM as the floppy disk, the system can be easily replaced without replacing the BIOS ROM. The function of can be changed.
【0028】[0028]
【発明の効果】本発明によれば、システムの必要機能に
応じてBIOSを使い分けることができ、システム変更
によるBIOSのバージョンアップも容易に行える。According to the present invention, the BIOS can be selectively used according to the required function of the system, and the version of the BIOS can be easily upgraded by changing the system.
【図1】本発明の実施に使用する装置のブロック図。FIG. 1 is a block diagram of an apparatus used to implement the present invention.
【図2】本発明によるシステム起動時のフローチャー
ト。FIG. 2 is a flowchart at system startup according to the present invention.
【図3】本発明によるCPUから見たメモリマップ。FIG. 3 is a memory map viewed from a CPU according to the present invention.
【図4】本発明による外部記憶装置を利用してBIOS
を書き換えるフローチャート。FIG. 4 is a schematic diagram of a BIOS using an external storage device according to the present invention.
Flowchart to rewrite.
【図5】本発明の応用例によるCPUのキャッシュ制御
のフローチャート。FIG. 5 is a flowchart of cache control of a CPU according to an application example of the present invention.
【図6】本発明の応用例によるRAMをフロッピーディ
スクとして使用するフローチャート。FIG. 6 is a flowchart of using a RAM as a floppy disk according to an application example of the present invention.
1:CPU 2:ソフトウェアを実行するRAM 3:マスクROM 4:FPROM 5:FDC 6:FDD 7:FPROM書き換えキー 8:電源 9:電源ライン 10:システムバス 11:拡張バス 1: CPU 2: RAM for executing software 3: Mask ROM 4: FPROM 5: FDC 6: FDD 7: FPROM rewrite key 8: Power supply 9: Power supply line 10: System bus 11: Expansion bus
Claims (7)
部(以下BIOS#1)が格納された電気信号により書
換え可能なフラッシュPROMと、 前記BIOSの他の部分(以下BIOS#2)が格納さ
れた電気信号により書換え不可能なマスクROMと、 RAM転送手段により前記BIOSがロードされるBI
OS実行用のRAMとを有するコンピュータにおいて、 前記FPROMに格納され、前記BIOS#1の内容を
演算して前記コンピュータに適合するかを判別するBI
OS使用判別手段と、 前記BIOS#1が適合しない場合は、前記BIOS#
2により外部記憶装置より呼び出され、前記BIOS#
1の書換えを行なうフラッシュPROM書換え手段とを
有することを特徴とするコンピュータ。1. A flash PROM rewritable by an electric signal in which a part (hereinafter referred to as BIOS # 1) of a basic input / output control means (hereinafter referred to as BIOS) and an other part of the BIOS (hereinafter referred to as BIOS # 2) are provided. A mask ROM that cannot be rewritten by the stored electric signal, and a BI that the BIOS is loaded by the RAM transfer means.
In a computer having a RAM for OS execution, BI that is stored in the FPROM and operates the contents of the BIOS # 1 to determine whether the computer is suitable for the BI
When the OS usage determining means and the BIOS # 1 do not match, the BIOS #
2 is called from the external storage device by the BIOS #
And a flash PROM rewriting means for rewriting 1.
フラッシュPROM書換え手段にBIOS#1の書換え
を認識させる、フラッシュPROM書換えキーを有する
ことを特徴とする請求項1記載のコンピュータ。2. The computer according to claim 1, further comprising a flash PROM rewriting key for causing the flash PROM rewriting means to recognize the rewriting of the BIOS # 1 in preference to the BIOS usage determining means.
納された電気信号により書換え可能なフラッシュPRO
Mと、 前記BIOSの他の部分(以下BIOS#2)が格納さ
れた電気信号により書換え不可能なマスクROMと、 RAM転送手段により前記BIOSがロードされるBI
OS実行用のRAMとを有するコンピュータにおいて、 前記プログラム実行用のRAMは3領域に分割され、 複数バンクに分割された前記BIOS#1のうち、少な
くともシステム起動手段と、前記RAM転送手段と、前
記BIOS使用判別手段と、を含むバンクが割り当てら
れる第1のRAM領域と、 BIOS#1の他の一部のバンクが割り当てられる第2
のRAM領域と、 BIOS#1の残りのバンクと、複数のバンクに分割さ
れたBIOS#2全てのバンクが割り当てられる第3の
RAM領域とを有することを特徴とするコンピュータ。3. A flash PRO which is rewritable by an electric signal in which a part of BIOS (hereinafter, BIOS # 1) is stored.
M, a mask ROM in which other parts of the BIOS (hereinafter, BIOS # 2) are not rewritable by an electric signal stored therein, and a BI in which the BIOS is loaded by the RAM transfer means.
In a computer having a RAM for OS execution, the RAM for program execution is divided into three areas, and in the BIOS # 1 divided into a plurality of banks, at least a system boot means, a RAM transfer means, and A first RAM area to which a bank including the BIOS usage determining means is allocated, and a second RAM area to which another part of the bank of BIOS # 1 is allocated.
Computer, a remaining bank of BIOS # 1, and a third RAM area to which all banks of BIOS # 2 divided into a plurality of banks are allocated.
クされることを特徴とする請求項3記載のコンピュー
タ。4. The computer according to claim 3, wherein the system starting means is masked so that it cannot be rewritten.
数のバンク及び前記第3のRAM領域に割り当てられた
複数のバンクの切り換えは、前記第2のRAM領域に割
り当てられたBIOS#1に含まれるバンク切り換え手
段により行うことを特徴とする請求項4記載のコンピュ
ータ。5. The switching of the plurality of banks assigned to the first RAM area and the plurality of banks assigned to the third RAM area is performed by BIOS # 1 assigned to the second RAM area. The computer according to claim 4, wherein the operation is performed by included bank switching means.
CPUのキャシュメモリー制御手段を付加することを特
徴とする請求項1または2記載のコンピュータ。6. The computer according to claim 1, wherein the flash PROM rewriting means adds a cache memory control means of a CPU.
1個のFDC(フロッピーディスクコントローラ)によ
りRAMドライブを含めた5台以上のFDDを制御する
手段を付加することを特徴とする請求項1または2記載
のコンピュータ。7. The flash PROM rewriting means further includes means for controlling five or more FDDs including a RAM drive by one FDC (floppy disk controller). Computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4318874A JPH06161929A (en) | 1992-11-27 | 1992-11-27 | Computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4318874A JPH06161929A (en) | 1992-11-27 | 1992-11-27 | Computer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06161929A true JPH06161929A (en) | 1994-06-10 |
Family
ID=18103934
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4318874A Pending JPH06161929A (en) | 1992-11-27 | 1992-11-27 | Computer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06161929A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0969029A (en) * | 1995-08-31 | 1997-03-11 | Nec Corp | Doubled disk drive |
| JPH1027035A (en) * | 1996-07-12 | 1998-01-27 | Fujitsu Ltd | Information processing device |
| JP2005115937A (en) * | 2003-10-10 | 2005-04-28 | Dell Products Lp | Method of using feature flag to determine compatibility between bios revision and installed hardware during flash update |
| JP2006079259A (en) * | 2004-09-08 | 2006-03-23 | Juki Corp | Control device |
| US7076649B2 (en) | 1996-04-11 | 2006-07-11 | Renesas Technology Corp. | Disk drive and computer |
-
1992
- 1992-11-27 JP JP4318874A patent/JPH06161929A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0969029A (en) * | 1995-08-31 | 1997-03-11 | Nec Corp | Doubled disk drive |
| US7076649B2 (en) | 1996-04-11 | 2006-07-11 | Renesas Technology Corp. | Disk drive and computer |
| JPH1027035A (en) * | 1996-07-12 | 1998-01-27 | Fujitsu Ltd | Information processing device |
| JP2005115937A (en) * | 2003-10-10 | 2005-04-28 | Dell Products Lp | Method of using feature flag to determine compatibility between bios revision and installed hardware during flash update |
| JP2006079259A (en) * | 2004-09-08 | 2006-03-23 | Juki Corp | Control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3186905B2 (en) | Dual-endian firmware system for computer boot | |
| US6122748A (en) | Control of computer system wake/sleep transitions | |
| US6401198B1 (en) | Storing system-level mass storage configuration data in non-volatile memory on each mass storage device to allow for reboot/power-on reconfiguration of all installed mass storage devices to the same configuration as last use | |
| US6016402A (en) | Method for integrating removable media disk drive into operating system recognized as fixed disk type and modifying operating system to recognize as floppy disk type | |
| US5978862A (en) | PCMCIA card dynamically configured in first mode to program FPGA controlling application specific circuit and in second mode to operate as an I/O device | |
| US6282641B1 (en) | System for reconfiguring a boot device by swapping the logical device number of a user selected boot drive to a currently configured boot drive | |
| JPH04233624A (en) | Apparatus for protecting system utility in personal computer system | |
| KR100280637B1 (en) | Computer system capable of data update of fixed flash ROM and its control method | |
| JPH06187283A (en) | Card | |
| JPH0754463B2 (en) | BIOS protection device and method, system protection program protection device, and access prevention device | |
| WO1997014095A1 (en) | System for providing bios to host computer | |
| JPH07200112A (en) | Information processing system | |
| US20180095693A1 (en) | Information processing apparatus, information processing system, and method for controlling information processing apparatus | |
| JPH08272736A (en) | Apparatus and method for using an incompatible central processing unit in a computer system | |
| CN114661368B (en) | Chip and starting method thereof | |
| JPH06161929A (en) | Computer | |
| JPH0764795A (en) | Computer system | |
| US5754852A (en) | Apparatus for combining cellular telephone ring signals and PSTN ring signals | |
| JP2003029975A (en) | Os start-up method, os start-up system and program for os start-up | |
| JPH10283172A (en) | Flash rom data rewrite system | |
| JPH08147062A (en) | Computer password inquiry method | |
| EP4664278A1 (en) | Memory controller and mcu chip | |
| JP3424603B2 (en) | Numerical control unit | |
| JP2521020B2 (en) | Information processing system | |
| JP5343489B2 (en) | Computer system, legacy application execution method, and program |