JPS61115147A - Batch system of program - Google Patents

Batch system of program

Info

Publication number
JPS61115147A
JPS61115147A JP59236693A JP23669384A JPS61115147A JP S61115147 A JPS61115147 A JP S61115147A JP 59236693 A JP59236693 A JP 59236693A JP 23669384 A JP23669384 A JP 23669384A JP S61115147 A JPS61115147 A JP S61115147A
Authority
JP
Japan
Prior art keywords
address
program
patch
batch
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
JP59236693A
Other languages
Japanese (ja)
Inventor
Teruo Ishikawa
石川 照夫
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP59236693A priority Critical patent/JPS61115147A/en
Publication of JPS61115147A publication Critical patent/JPS61115147A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/28Error detection; Error correction; Monitoring by checking the correct order of processing

Abstract

PURPOSE:To eliminate a defective contact and to improve reliability by writing and checking table data for converting an address and a batch program in an address converting RAM and in a batch RAM, respectively, and executing a main program after no error is recognized. CONSTITUTION:Where an address signal from a CPU1 specifies a batch address, the address converting RAM8 sets the batch RAM7 to the enable state through an AND circuit 12 and an address decoder 2 to the disable state, and inhibits data output from a program ROM3. As a result, the high order bit of the address signal is transmitted from the address converting RAM8 according to the converting table data, and a corresponding block area in the batch RAM7 is selected. The CPU1 reads a batch program in a batch ROM6, and writes its contents at a batch address. The data on the read-out program is written in the batch RAM1. Thus reliability can be improved compared with a conventional system which loads a program directly from a batch ROM mounted by an IC socket, etc.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムに誤りが6つfC場合にその誤り
を臨時的手段で修正するプログラムのパッチ方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program patching method for correcting six errors in a program using temporary means.

〔従来の技術〕[Conventional technology]

従来このようなプログラムの誤9、つまりバグの修正方
式としては、プログラムを格納している固定メモIJ 
(ROM)のチップそのものを修正したものに交換する
か、ま九はプログラムが可変メモIJ (RAM)に入
っている場合にはバグ直前の部分でジャンプ(jump
)命令などにより正しいプログラムルーチンへ移行させ
る方法がめったが、前者でにROMチップが半田付けの
場合には半田を除去して旧チップを取り外し、新チップ
に交換して半田付けする煩雑な作業が必要になる一方、
ICソケットt−使オ、ば大容量のROMがソケットに
装着状態で動作することとなり信頼性上好ましくなく、
ま、た後者でに本来不要なジャンプ命令等を実行させる
ロスが生じる。
Conventionally, as a method for correcting such program errors9, that is, bugs, the fixed memory IJ that stores the program
Either replace the (ROM) chip itself with a corrected one, or, if the program is in variable memory (RAM), jump at the part immediately before the bug.
) instruction, etc., but if the ROM chip is soldered, the complicated work of removing the solder, removing the old chip, replacing it with a new chip, and soldering it is very rare. While it becomes necessary,
If an IC socket is used, a large-capacity ROM will operate with it attached to the socket, which is unfavorable in terms of reliability.
Moreover, in the latter case, there is a loss in executing unnecessary jump instructions and the like.

そこで、CPUがパッチ情報を意識することなく自動的
に修正され友プログラムt−冥行でき、かつ信頼性の高
いパッチ方式として、主メモリに格納された主プログラ
ム中のバグを含む各部分に対応し7’Cハツチプログラ
ムを格納したパッチ用ROMを用い、主メモリ中の上記
バグを含む部分を格納したエリアがアドレス指定された
ときに、主アドレス・デコーダ金ディセーブルして主プ
ログラムメモリからのデータ出力を禁止するとともに、
当該メモリエリアを指定するCPU 2)≧らのアドレ
ス信号音、対応するパッチプログラムを格納し友パッチ
用ROM上の特定エリアを指定するアドレス信号に変換
することによってパッチプログラムが読込まれるように
し建方法が提案されている(特開昭55−1607号公
報)。
Therefore, as a highly reliable patch method that allows the CPU to automatically modify the patch information without being aware of the patch information, it is possible to patch each part of the main program stored in the main memory, including bugs. When a patch ROM containing a 7'C hatch program is used and the area in main memory containing the above bug is addressed, the main address decoder is disabled and data is read from the main program memory. In addition to prohibiting data output,
CPU that specifies the memory area 2) Stores the address signal sound of ≧, the corresponding patch program, and converts it into an address signal that specifies a specific area on the friend patch ROM so that the patch program is read. A method has been proposed (Japanese Unexamined Patent Publication No. 1607/1983).

〔発明が解決しようとする問題点] このような方法によれば、プログラム格納用の多くの王
メそリチップにまたがる複数のバグに対して1個のパン
チ用ROMとそれに対応するアドレス変換用ROM’を
用いるのみで対処でき、確かに従前の方法に比較して一
定の効果か期待できる。
[Problems to be Solved by the Invention] According to such a method, one punch ROM and a corresponding address conversion ROM are required for multiple bugs spread over many memory chips for program storage. It can be dealt with simply by using ', and we can certainly expect a certain degree of effectiveness compared to the previous method.

しかしながら、この方法におい又も、プログラムのバッ
チ冥抱回数か多い場合に[ハツチ用ROMを何回もつけ
換える必要が生じ、その場合作業性の上から通常はIC
ソケットに便用することとなる結果、その接触不要によ
る信頼性の問題がなお残存してしまうこととなる。
However, with this method, if the number of batches of programs is large, it becomes necessary to replace the Hatch ROM many times, and in this case, from the viewpoint of workability, it is usually necessary to replace the
As a result of using the socket for convenience, reliability problems still remain due to the need for contact.

〔問題点t−解決する次めの手段〕[Problem t-Next means to solve]

このような問題点を解決するため、に、本発明に、固定
的に接続され次メモリチップからなるパッチ用RAMお
よびアドレス変換用RAM k設け、着脱可能なパッチ
用メモ’J (ROM もしくにそれに相当する他の記
憶装置)には予め王プログラムメモリ中のバグを含む部
分全格納し友エリアのアドレス5 パッチ用RAM上の
特定エリアのアドレスに変換するテーブルデータお工び
パッチプログラムを格納しておき、プログラム興行時に
パッチ用メモリが装着されていれば、上記アドレス変換
用のテーブルデータをアドレス変換用RAMに、パッチ
プログラムをパッチ用RAM上の対応する各エリアにそ
れぞれ書込むとともにそれらのデータの誤りをチェック
し、誤りがないことを確認した上で生プログラムの実行
全開始するようにし友ものでるる。
In order to solve such problems, the present invention is provided with a patch RAM and an address conversion RAM k, which are fixedly connected and are composed of memory chips, and a removable patch memory chip (ROM or RAM). In the corresponding other storage device), all portions of the main program memory including bugs are stored in advance, address 5 of friend area is stored, table data is converted to the address of a specific area on patch RAM, and the patch program is stored. If the patch memory is installed when the program is released, write the table data for address conversion mentioned above to the address conversion RAM, write the patch program to each corresponding area on the patch RAM, and write those data. Check for errors, and after confirming that there are no errors, start running the raw program.

〔作 用〕[For production]

王メモリ上のバグを含’0%エリアのアドレスが指定さ
れ友場合には、当該アドレス信号にアドレス変換用RA
Mのテーブル上で当該アドレスに対応するパンチ用RA
M上のアドレス七指足するアドレス信号に変換され、生
メモリ上のバグを含むプログラムデータの代りに、正当
性をチェック済みのハツチプログラムが接続の1冥なパ
ッチ用  −RAMからロードされる。
If an address in the 0% area containing a bug in the memory is specified, the RA for address conversion is applied to the address signal.
Punch RA corresponding to the address on M's table
The address on M is converted into an address signal corresponding to seven fingers, and instead of the program data containing the bug in the raw memory, the correctness-checked Hatch program is loaded from the connection's random patch RAM.

〔*施例〕[*Example]

第1図は本発明の一笑捲例を示すブロック図でめる。図
中1はCPU、2にアドレスデコーダ、3は主プログラ
ムを格納したプログラムROMでろ9、通常1CPU1
  からアドレスバス4にアドレス信号A1〜A16 
が送出されると、その上位ビットA12〜 A16 に
応じてアドレスデコーダ2はプログラムROM3のいず
れかのチップにチップイネーブル信号CE’に送出する
。これによ9、選択され次プログラムROM3上で、さ
らに上記アドレス信号の下位ピッ?A1〜All で指
定される特定エリアが選択され、そこに格納されたプロ
グラムデータが、図上省略した制御信号線に読出し信号
が与えられたときにデータバス5に出力される。
FIG. 1 is a block diagram showing an example of the present invention. In the figure, 1 is the CPU, 2 is the address decoder, and 3 is the program ROM that stores the main program.9, usually 1 CPU 1
Address signals A1 to A16 are sent from address bus 4 to address signals A1 to A16.
When the address decoder 2 sends the chip enable signal CE' to one of the chips in the program ROM 3 according to its upper bits A12 to A16. As a result, 9, the next program ROM 3 is selected, and the lower pin of the address signal is selected. A specific area designated by A1 to All is selected, and the program data stored there is output to the data bus 5 when a read signal is applied to a control signal line (not shown).

これに対し、6はICソケットにLり着脱可能なメモリ
チップに構成されたFROM からなるパッチ用ROM
、7に半田付は等により固定的に接続され次パッチ用R
AM、8は同じくアドレス変換用RAM、9はアドレス
選択回路、10にモード設定用フリップ7aツブ、11
は論理和回路、12は論理積回路、13はインバータで
るる。
On the other hand, 6 is a patch ROM consisting of FROM configured as a removable memory chip that can be attached to an IC socket.
, 7 is fixedly connected to R for the next patch by soldering etc.
AM, 8 is also a RAM for address conversion, 9 is an address selection circuit, 10 is a flip 7a knob for mode setting, 11
is an OR circuit, 12 is an AND circuit, and 13 is an inverter.

上記構成において、プログラムROM3t!、第2図に
示すように各チップ内がアドレス信号のビットA7〜A
ll で特定される複数のブロックエリア3Aによって
構成され、各ブロックエリアは、さらにアドレス信号の
下位ピッ)Al −A6で細かく特定されるlワード単
位のメモリエリアで構成される。つま9、本冥抱例でに
各ブロックヲ64ワードで構成しているが、このような
ブロックの割り付けに任意でるる。
In the above configuration, the program ROM3t! , as shown in FIG. 2, each chip contains bits A7 to A of the address signal.
It is constituted by a plurality of block areas 3A specified by ll, and each block area is further constituted by a memory area in units of 1 word, which is further specified by the lower bits of the address signal (Al-A6). Finally, in this example, each block is composed of 64 words, but such blocks can be allocated arbitrarily.

Oこで、例えばブロックアドレスB1で示されるブロッ
クエリアに格納されているフ゛aグラムデータXお工び
ブロックアドレスB2で特定されるブロックエリアに格
納されているプログラムデータYにバグが含まれる場合
、予めそれらのバグを修正したパッチプログラムデータ
X’ 、Y’ t−、パッチ用RAMT内のブロックア
ドレスB1′。
For example, if program data Y stored in the block area specified by block address B2 contains program data X stored in the block area indicated by block address B1, a bug is included. Patch program data X', Y't- whose bugs have been corrected in advance, and block address B1' in the patch RAMT.

B2’で特定されるブロックエリア7Aに書込むととも
に、アドレス変換用RAM 8 に上記プログラムRO
M3上のブロックアドレスBl、B2t−それぞれ対応
するパッチ用RAMr上のブロック7ドレスBl’、8
2’ に変換するアドレス変換テーブル全役け、プログ
ラムROM3  内のプログラムデータX、Yの代りに
パッチ用RAMT内のパッチプログラムデータX’ 、
Y’が読出されるようにする。次に、この動作について
詳細に説明する。
While writing to the block area 7A specified by B2', the above program RO is written to the address conversion RAM 8.
Block addresses Bl, B2t on M3 - corresponding block 7 addresses Bl', 8 on patch RAMr
2', patch program data X', in patch RAMT instead of program data X, Y in program ROM3.
Let Y' be read. Next, this operation will be explained in detail.

はじめに、プログラムROM3 に格納した王プログラ
ムに上述した工つなバグがる9、パッチの必要がめる場
合には、電源切断時にパッチ用ROM6t−装着する。
First, if there is a bug in the main program stored in the program ROM 3 and a patch is required, the patch ROM 6t is loaded when the power is turned off.

パッチ用ROM6  には、予め7′ログラムROMa
  内の上記バグを含む各ブロックエリアのアドレス、
クー19パツチアドレスをそれぞれパッチ用RAMT上
の特定ブロックアドレスに対応させるアドレス変換用の
テーブルデータと、バグを含む各ブロックデータに対応
するパッチプログラムデータ、さらに後述するキーワー
ドが、それぞれ所定のメモリエリアに格納してるる。な
お、各パッチアドレスは、パッチ用RAM 7上に任意
に割付けられる。パッチの必要がなけれは、もちろん何
も装着する必要にない。
The patch ROM6 contains 7' program ROMa in advance.
The address of each block area containing the above bug in,
Table data for address conversion that makes each Ku19 patch address correspond to a specific block address on the patch RAMT, patch program data corresponding to each block data including a bug, and keywords to be described later are stored in respective predetermined memory areas. It's stored in. Note that each patch address is arbitrarily allocated on the patch RAM 7. Of course, if you don't need a patch, you don't need to wear anything.

次に、電源を投入すると、図示しないイニシャルリセッ
ト回路からマスタクリア信号CLRが出力される。この
信号はモード設定用7リツブフロツブ10のリセット端
子Rに反転して加夕られ、この信号が解除され友初期状
態ではモード設定フリップフロップ10にリセット状態
となる。したかつてそのQ出力によりアドレス変換用R
AM 8にテイセーブルされ、一方、アドレス選択回路
9にセレクト信号Sが「0」のとき入力アドレス信号の
うち下位ビットAl−Al0 t−出力することから、
アドレス変換用RAM8に通常のRAMとして薔込み可
能となる。つまジ、アトシスデコーダ2全通して論理回
路11に10」の信号を4えれば、WaS和回路11の
出力が「0」となりアドレス変換用RAM8 が選択さ
れる。
Next, when the power is turned on, a master clear signal CLR is output from an initial reset circuit (not shown). This signal is inverted and applied to the reset terminal R of the seven-rib flip-flop 10 for mode setting, and this signal is released and the mode setting flip-flop 10 is reset in the initial state. Once the Q output was used for address conversion
AM 8, and on the other hand, when the select signal S is "0" to the address selection circuit 9, the lower bits Al-Al0 t- of the input address signal are outputted.
The address conversion RAM 8 can be used as a normal RAM. Finally, if a signal of 10 is passed through the Atsys decoder 2 and sent to the logic circuit 11, the output of the WaS summation circuit 11 becomes 0, and the address conversion RAM 8 is selected.

この状態で、CPUI  は第3図に示すようなイニシ
ャライズ処理を行なう。丁なわち、CPU 1σ、はじ
めにパッチ用ROM6からキーワードを読込む(ステッ
プ1ot)。これに、パッチ用ROMの存在を確認する
ためで、所定のキーワード、例夕ば全ビットが「1.1
のデータでるるか否か全判断しくステップ102) 、
正しいキーワードでるる場合にのみステップ103〜1
09 ’i実行する。
In this state, the CPUI performs initialization processing as shown in FIG. That is, the CPU 1σ first reads a keyword from the patch ROM 6 (step 1ot). In order to confirm the existence of the patch ROM, a predetermined keyword, for example, if all bits are "1.1
Step 102)
Steps 103-1 only if the correct keyword appears
09 'i Execute.

正しいキーワードでなければ、さらに当該データの全ビ
ットがsO″でるるか否かt−判断しくステップ110
)、’o″で6ればパッチ用ROM&が装着されていな
いことでろるから、そのままイニシャライズ処理を終え
る。全ビット%O#でになく、シかも正しいキーワード
でもなければエラー処理を行なって停止する(ステップ
1ll)。
If the keyword is not correct, it is further determined whether all bits of the data are sO'' (step 110).
), if 'o'' is 6, it means that the patch ROM & is not installed, so the initialization process will be finished.If all bits are not %O#, but it may not be the correct keyword, it will perform error processing and stop. (Step 1ll).

そこで、正しいキーワードでめった場合Kに、CPUI
  Uパッチ用ROM中のアドレス情報、つまりプログ
ラムROM3上のバグを含むブロックアドレスをパッチ
用RAMT中の所定アドレスに変換するアドレス変換用
テーブルデータ全読出しくステップ103)、その内容
をアドレス変換用RAM8 に書込む(ステップ104
)。次に、CPolはアドレス・デコーダ2t−介して
モード設定用フリップフロップ10のセット端子に「l
jの信号を送出し、これをセットする(ステップ105
)。
So, if you rarely use the correct keyword, you can
Read all the address conversion table data for converting the address information in the U patch ROM, that is, the block address containing the bug in the program ROM 3 to a predetermined address in the patch RAMT (Step 103), and save the contents to the address conversion RAM 8. Write (step 104
). Next, CPol is sent to the set terminal of the mode setting flip-flop 10 via the address decoder 2t.
j signal and set it (step 105
).

これによ9、rlJのQ出力がアドレス選択胞路9のセ
レクト端子Sに加えられ、CPU1  からのアドレス
信号のうちの上位ビットA7〜A16がアドレス変換用
RAM8に出力されるようになるとともに、rOJのQ
出力が論理積回路12の1入力にm見られ、他の入力に
アドレス変換用RAM8からrOJが加えられればパッ
チ用RAM7にrOJのチップイネーブル信号を送出し
得る状態となって、アドレス変換用RAM8がアドレス
・デコーダとして機能するようになる。つ着9、CPU
1からのアドレス信号にエフパッチアドレスが指定され
た場合、アドレス変換用RAM8 は論理積回路12を
介してパッチ用RAM7t−イネーブル状態とするとと
もにインバータ13を介してアドレス・デコーダ2をデ
ィセーブル状態とし、プログラムROM 3からのデー
タ出力を禁止する。その結果、変換用テーブルデータに
従ってアドレス変換用RAM8からアドレス信号の上位
ピッ) A’7〜A′11が送出され、これにLクバッ
チ用RAM T内の対応するブロックエリアが選択され
る。ブロックエリア内のアドレスIf’i、CPU1 
 から1iri与見られるアドレス信号の下位ビットA
1〜A6  Kよって指定される。
As a result, the Q output of rlJ is applied to the select terminal S of the address selection circuit 9, and the upper bits A7 to A16 of the address signal from the CPU 1 are output to the address conversion RAM 8. Q of rOJ
If the output is seen at one input of the AND circuit 12, and rOJ is added from the address conversion RAM 8 to the other input, the chip enable signal of rOJ can be sent to the patch RAM 7, and the address conversion RAM 8 now functions as an address decoder. Arrival 9, CPU
When the F-patch address is specified in the address signal from 1, the address conversion RAM 8 enables the patch RAM 7t through the AND circuit 12, and disables the address decoder 2 through the inverter 13. , prohibits data output from program ROM 3. As a result, the upper bits A'7 to A'11 of the address signal are sent out from the address conversion RAM 8 in accordance with the conversion table data, and the corresponding block area in the L batch RAM T is selected. Address If'i in block area, CPU1
The lower bit A of the address signal given 1iri from
Designated by 1 to A6K.

次いでCPU1 に、パッチ用ROM5  内のパッチ
プログラムに!込み(ステップ106)、−’t17)
内容をバンチアドレスに書込む(ステップ107)。
Next, to CPU1, to the patch program in patch ROM5! including (step 106), -'t17)
Write the contents to the bunch address (step 107).

上に説明し之ところに従い、このデータはパッチ用RA
M1 に書込まれる。
As explained above, this data is
Written to M1.

次に、CPU1  iこのパッチアドレスに書込んだデ
ータ、つ′!クバッチ用RAM7に格納され友パッチプ
ログラムを読込み、もとの書込みデータと比較する(ス
テップ108)。コレハパッチ用RAM7 に格納され
次データの正当性をチェックするためで、両データが一
致丁れば(ステップ109)、イニシャライズ処理を終
了してE7’ elグラムの実行t−開始する。両デー
タが一致しなければエラー処理を行なって停止する(ス
テップ111)。
Next, CPU1 i writes the data written to this patch address. The friend patch program stored in the patch RAM 7 is read and compared with the original written data (step 108). This is to check the validity of the next data stored in the RAM 7 for the core patch. If both data match (step 109), the initialization process is completed and the execution of the E7' elgram is started. If both data do not match, error processing is performed and the process is stopped (step 111).

主プログラムの実行に、第2図においてプログラムRO
M3  中のPIから顆次行なわれるが、バグを含むブ
ロックデータXt−格納したブロックエリアを指定する
アドレス信号が送出され次場合にHパッチ用RAMT 
内のバッチプログラムデータX′が、同じくブロックデ
ータYt−格納したブロックエリアを指定するアドレス
信号が送出され次場合にはパッチプログラムデータY′
が読込まれる。
To execute the main program, the program RO in FIG.
This is carried out sequentially from the PI in M3, but an address signal specifying the block area where the block data Xt containing the bug is stored is sent.
If the batch program data X' in the same block data Yt-is sent and the address signal designating the stored block area is sent, then the patch program data Y'
is loaded.

このように半田付は等により固定的に接続され之パツf
用RAM7 ”r用い、パッチプログラムをそのパッチ
用RAM7に格納にして正当性をチェックし、以後にこ
のパッチ用RAM7 からパッチプログラムを実行する
ようにしfc交め、ICソケット等により装着されるパ
ッチ用ROMから!接パッチ10グラムtl−1接ロー
ドする従来の方式に比較して信頼性が向上する。
In this way, the soldering is fixedly connected by etc.
The patch program is stored in the patch RAM 7 to check its validity, and thereafter the patch program is executed from this patch RAM 7. Reliability is improved compared to the conventional method of directly loading a 10-gram tl-1 patch from the ROM.

なお、バッチ用RAMT内の各ブロックエリアに格納す
るパッチプログラムX’ 、Y’ i、直接に王プログ
ラム中のバグを含むプログラムデータX、Yの代りをす
る専用プログラムであってもよいし、またジャンプ命令
全入れておいて任意のアドレスに飛ばすようなものとし
てもよい。
Note that the patch programs X' and Y'i stored in each block area in the batch RAMT may be dedicated programs that directly replace program data X and Y containing bugs in the king program, or It is also possible to include all jump instructions and jump to any address.

マ念、パッチアドレスおよびパッチプログラム等のバッ
チ情報はパッチ用ROM6に格納する代りに他の記憶装
置、例えばフロッピィラ2りなどに格納しておき、そこ
から所定のRAMに書込むようにしてもよい。
Batch information such as memories, patch addresses, and patch programs may be stored in another storage device, such as the floppy disk 2, instead of being stored in the patch ROM 6, and written to a predetermined RAM from there.

さらに、パッチ用RAM7 に書込んだデータの正当性
のチェック法は任意でろジ、例えばチェックサム(ch
ecksum )、パリティチェック(parft7 
check )など他のチェック法を用いてもよい。
Furthermore, the validity of the data written to the patch RAM 7 can be checked by any method, such as a checksum (ch
ecksum), parity check (parft7
Other checking methods such as check) may also be used.

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

以上説明したように、本発明によれば、固定的に接続ざ
nたパッチ用RAM ’Z’用い、パッチプログラムを
はじめに単なるデータとしてこれに書込んでその正当性
をチェックし友上で、以後このパッチ用RAMからパッ
チプログラムを実行する:うにしfc、之め、ICソケ
ット等により装着されるパッチ用ROMから直接ロード
する従来の方式に比較して信頼性が向上する。その場合
、作業としては予めバッチ情報を格納しfc、ROMt
Icソケットにより装着するなど従来と同様の簡単な作
業で済み、t*cPU自体は主プログラムの冥行におい
てパッチ用メモリの存在を全く意識することなくパッチ
プログラムを使用することができる利点は保持される。
As explained above, according to the present invention, a fixedly connected patch RAM 'Z' is used, and a patch program is first written to it as mere data, its validity is checked, and thereafter Executing the patch program from this patch RAM improves reliability compared to the conventional method of directly loading the patch ROM from the patch ROM attached via an IC socket or the like. In that case, the work is to store batch information in advance in fc, ROMt.
The t*cPU itself retains the advantage of being able to use patch programs without being aware of the existence of patch memory while running the main program. Ru.

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

第1図は本発明の一実施例を示すブロック図、第2囚に
プログラムROMとパッチ用RAMのメモリ空間の構成
を示す図、第3図はCPUにおけるイニシャライズ処理
動作を示すフローチャートでるる。 1・・・・CPU、  2・SO・アドレス・デコーダ
、3・・・・プログラムROM、  4−Φ・φアドレ
スバス、5−・・・データバス、6・・・Φバフ−?用
ROM、7・・・・パッチ用RAM、8・Φ−・アドレ
ス変換用RAM、9・・・・アドレス選択回路、10・
・・・モード設定用フリップフロップ。 特許出願人 山武ハネウェル株式会社 ち、理 八 山川政樹(ほか2名) 第1図 手続補正書(自発) 1.事件の表示 昭和59年 特 許 願第236693号2、発明の名
称 プログラムのバッチ方式 3、補正をする者 事件との関係    特  許  出願人名称(氏名)
  (666)山武ノ・ネウエル株式会社5、補正の対
象 (1)明細書第5頁第18行の「ロード」を「実行」と
補正する。 (2)  同省第14頁第17行の「ロード」を「実行
」と補正する。 以上
FIG. 1 is a block diagram showing one embodiment of the present invention, the second figure is a diagram showing the structure of the memory space of the program ROM and patch RAM, and FIG. 3 is a flow chart showing the initialization processing operation in the CPU. 1... CPU, 2... SO address decoder, 3... program ROM, 4-Φ/φ address bus, 5-... data bus, 6... Φ buff-? ROM for use, 7...RAM for patching, 8...RAM for address conversion, 9...address selection circuit, 10...
...Flip-flop for mode setting. Patent Applicant Yamatake Honeywell Co., Ltd. Chi, Osamu Hachi Masaki Yamakawa (and 2 others) Figure 1 Procedural Amendment (Voluntary) 1. Display of the case 1982 Patent Application No. 236693 2, Name of the invention Program batch method 3, Person making the amendment Relationship with the case Patent Applicant name (name)
(666) Yamatake Newell Co., Ltd. 5, Subject of amendment (1) Amend "load" on page 5, line 18 of the specification to "execute". (2) "Load" in line 17 of page 14 of the Ministry of the Ministry of Finance is corrected to "execute". that's all

Claims (1)

【特許請求の範囲】[Claims] 固定的に接続されたパッチ用可変メモリおよびアドレス
変換用可変メモリを備え、かつ着脱可能なパッチ用メモ
リに、主プログラム中のバグを含む部分を格納した主メ
モリ中の各エリアのアドレスを上記パッチ用可変メモリ
中の各エリアのアドレスに対応させるテーブルデータお
よびパッチプログラムを格納しておき、主プログラムの
実行時にパッチ用メモリが装着されていれば、予め上記
テーブルデータをアドレス変換用可変メモリに書込みか
つパッチプログラムをパッチ用可変メモリの対応エリア
に書込んでこれらのデータの正当性をチェックした後に
主プログラムの実行を開始するものとし、主メモリ中の
上記バグを含む部分を格納した各エリアがアドレス指定
されたときに、主アドレス・デコーダをディセーブルし
て主メモリからのデータ出力を禁止するとともに上記ア
ドレス信号を上記アドレス変換用可変メモリ内のテーブ
ル上で対応するパッチ用可変メモリ中の各エリアを指定
するアドレス信号に変換することによ9、対応するパッ
チプログラムが実行されるようにしたことを特徴とする
プログラムのパッチ方式。
The address of each area in the main memory that stores the part containing the bug in the main program is stored in the removable patch memory, which is equipped with a fixedly connected variable patch memory and a variable memory for address conversion. Store table data and patch programs that correspond to the addresses of each area in the variable memory for address conversion, and if the patch memory is installed when the main program is executed, write the above table data to the variable memory for address conversion in advance. And after writing the patch program to the corresponding area of the patch variable memory and checking the validity of these data, the execution of the main program is started, and each area in the main memory that stores the part containing the above bug is When an address is specified, the main address decoder is disabled to prohibit data output from the main memory, and the address signal is sent to each address in the corresponding patch variable memory on the table in the address translation variable memory. 9. A program patching method characterized in that by converting an address signal into an address signal specifying an area, a corresponding patch program is executed.
JP59236693A 1984-11-12 1984-11-12 Batch system of program Pending JPS61115147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59236693A JPS61115147A (en) 1984-11-12 1984-11-12 Batch system of program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59236693A JPS61115147A (en) 1984-11-12 1984-11-12 Batch system of program

Publications (1)

Publication Number Publication Date
JPS61115147A true JPS61115147A (en) 1986-06-02

Family

ID=17004369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59236693A Pending JPS61115147A (en) 1984-11-12 1984-11-12 Batch system of program

Country Status (1)

Country Link
JP (1) JPS61115147A (en)

Similar Documents

Publication Publication Date Title
JP2682700B2 (en) IC card
CA1037159A (en) Processing link control system for data processing equipment
JPS61182160A (en) Data processing device
JPS61115147A (en) Batch system of program
JPS58211232A (en) Microcomputer output circuit
JPS62279598A (en) Read only memory
JPS5842545B2 (en) Memory card block selection method
JPS59197946A (en) Memory device
JPS59168528A (en) Initial program loading system
JP2680013B2 (en) External I / O control circuit of programmable controller
JPS5947624A (en) Loading system of system program
JP2557102B2 (en) Method for checking large capacity RAM and its peripheral circuits
JPS61195438A (en) Information processor
JP2768677B2 (en) Test control circuit for single-chip microcomputer
JPS6029854A (en) Memory control system
JPS63285642A (en) Microprocessor control system
JPS60112148A (en) Memory device
JPS62297954A (en) Memory control system
JPH04257030A (en) Rom patch system
JPS62216059A (en) Check system for storage device
JPS60130153A (en) Semiconductor ic device
JPS60241144A (en) Memory block selection circuit
JPH0535605A (en) Memory controller
JPS6133557A (en) Main memory device
JPS6061841A (en) Control system of program evaluating device