JPS58172751A - Program storing system - Google Patents

Program storing system

Info

Publication number
JPS58172751A
JPS58172751A JP57054250A JP5425082A JPS58172751A JP S58172751 A JPS58172751 A JP S58172751A JP 57054250 A JP57054250 A JP 57054250A JP 5425082 A JP5425082 A JP 5425082A JP S58172751 A JPS58172751 A JP S58172751A
Authority
JP
Japan
Prior art keywords
program
stored
circuit
ram
rom
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
JP57054250A
Other languages
Japanese (ja)
Inventor
Toshikimi Takagi
高木 利公
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 JP57054250A priority Critical patent/JPS58172751A/en
Publication of JPS58172751A publication Critical patent/JPS58172751A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To debug a program only in an RAM part, by allotting two memories, i.e. ROM and RAM in a double structure for the same address, and performing the batch processing of a program stored in the ROM at a machine word level even under operation of a machine. CONSTITUTION:A central controller 100 and a main storage device 300 are connected together by a main storage bus 210 and a main storage data bus 220, and the device 300 is provided with the ROM310, RAM320, decoder circuit 330, and switch circuit 340. In this ROM310, an initial program is stored and batch images in the same addresses as addresses to be batch-processed in the stored initial program are stored in the RAM320. When the controller 100 generates an address request, the batch processing of a program stored in the ROM310 is carried out at the machine word level by the decoder circuit 330 and switch circuit 340 to debug the program only in the RAM320.

Description

【発明の詳細な説明】 本発明は、プログラム蓄□積制御方式に:おける10グ
ラムの蓄積方式に関し、特に、マシン語レベルでのプロ
グラム修正が必要となるagoプログラム蓄積蓄積方間
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a 10-gram storage method in a program storage control method, and particularly to an AGO program storage method that requires program modification at the machine language level.

従来、マシン論レベルでのプログラム修正が必要となる
装置のプログラム蓄積は、RAMK収容されていた。こ
の丸め、プログラムの初期立ち上げ時にメモリロート°
時間がかが抄、マたプログラム暴走による破壊に弱く、
さらに修正部の管理も複雑になるという欠点があった。
Conventionally, programs for devices that require program modification at the machine theory level have been stored in RAMK. This rounding causes memory rotation at the initial startup of the program.
Time is weak to destruction caused by out-of-control programs,
Another drawback is that the management of the correction section becomes complicated.

本発明は、斯かる欠点に1みてなされたもので、マシン
話レベルでのパッチが行なわれた部分のみのプログラム
情報を、二重構成したメモリ部のRAMl1に収容する
ことにより、上記欠点を除去し、プログラムロート°時
は修正された部分のみtRムMIBに収容しローV時間
を短縮するとと4に、RAM部の情報を管理することに
よりノくツチの管理も行えるようKL&プログラム蓄積
方式を提供するものである。
The present invention was made in view of these drawbacks, and eliminates the above drawbacks by accommodating only the program information of the part that has been patched at the machine level in the RAM11 of the dual memory section. However, when the program is loaded, only the corrected part is stored in the tRM MIB to shorten the low V time. 4. In addition, the KL & program storage method is used so that the information in the RAM section can also be managed. This is what we provide.

即ち、本発明は、177語レベルでのプログラム修正が
必要となる装置のプログラムについてもメ峰すロード不
要なROMIIK収容するとと4K。
That is, the present invention can accommodate a 4K ROMIIK that does not require loading, even for device programs that require program modification at the 177-word level.

そのプログラム修正をシステム稼動状態で実現するため
、メモリ部をROMとRAMの二重構成とスルト共に、
同一アドレスに対してROMとRAMの二つのメモリを
割当てて、初期伏態のプログラムは二重構成メモリ部の
ROM部に収容し、ノくツチ等によるプログラム修正i
JRAM部に随時追加収容することKより、マシン飴レ
ベルでのプログラム修正が必要な装置1においても、R
OM収容プログラムの持つ特徴であるメモリロード不要
、プログラム暴走による破壊に強いという性質をプログ
ラムの大部分の領域に対して可能とし、さらにRAM部
のみを管理するととKよ)プログラムのバットによる変
更差分の管理が容易に行えるという特徴を持ちつつ、マ
シン稼動中にもマシン−レベルでのプログラム修正を可
能とした4のである。
In order to modify the program while the system is running, the memory section has a dual configuration of ROM and RAM, and both
Two memories, ROM and RAM, are allocated to the same address, and the initially hidden program is stored in the ROM section of the dual memory section, and the program can be modified by Nokutsuchi etc.
Because of the need to add additional memory to the JRAM section at any time, R
The characteristics of OM-accommodated programs, such as no need for memory loading and resistance to destruction due to program runaway, can be applied to most areas of the program, and if only the RAM section is managed (K), changes made by batting the program can be achieved. 4, which has the feature of easy management, and also allows program modification at the machine level even while the machine is in operation.

以下、本発明t−図1iiFK示す実施例に基づいて説
明する。
The present invention will be described below based on an embodiment shown in FIG. 1iiFK.

@1lli!3Fi本発明の一実一例を示す構成図であ
り、プログラム蓄積制御方式装置のうち中央制御lll
装置と主記憶装置部分に1当するものである。
@1lli! 3Fi is a configuration diagram showing an example of the present invention, and is a configuration diagram showing an example of the central control system of the program storage control method device.
This corresponds to the device and main memory portion.

憚アドレスバス210及び主記憶データバス220によ
り相互に接続された中央制御装置100と主記憶装置3
00とを備えて成り、且つ、主記憶装置300には、R
OM回路310、RAM回路320、デコーダ回路33
0及びスイッチ回路340とを有して構成される。
The central control unit 100 and the main memory device 3 are connected to each other by an address bus 210 and a main memory data bus 220.
00, and the main storage device 300 includes R.
OM circuit 310, RAM circuit 320, decoder circuit 33
0 and a switch circuit 340.

上記ROM回路310及びRAM回路320 Fi、各
々主記憶アドレスバス210 t−介して中央制御装置
100と接続されている。一方、スイッチ回路340は
、主配憶データバス220を介して中央制御装置100
と接続されている。そして、骸スイッチ回路340と上
記ROM回路310及びRAM回路320とは、各々デ
ー−パス311 、321を介して接続されている。父
、スイッチ回路340とデコーダ回路330との間及び
RAM回路320とデコーダ回路330との間け、それ
ぞれ結lm1331 、322を介して接続されている
The ROM circuit 310 and RAM circuit 320 Fi are connected to the central controller 100 via the main memory address bus 210 t-, respectively. On the other hand, the switch circuit 340 connects the central controller 100 via the main storage data bus 220.
is connected to. The skeleton switch circuit 340 and the ROM circuit 310 and RAM circuit 320 are connected via data paths 311 and 321, respectively. The switch circuit 340 and the decoder circuit 330 and the RAM circuit 320 and the decoder circuit 330 are connected via connections 1331 and 322, respectively.

次に1本発明プログラム蓄積力式の動作について説明す
る。
Next, the operation of the program storage force type according to the present invention will be explained.

ROM回路310には、すでに初期プログラダが記憶さ
れており、ROM回% 310 K収容された初期プロ
グラムのうちパッチ対象となるアドレスと同じアドレス
のRAM回路320KFi、パッチイメージが9ビ憶さ
れているものとする。なおRAM回路320 Kパッチ
イメージを記憶させるKij、ソフトスイッチ父はハー
ドスイッチによりメモリ10チクジヨンをはずした後、
通常のメモリライトを行なえばよい。ここで、中央制御
装置100より、あるアドレス値の鯖み出し曽求が、ア
ドレスバス2101に介して主記憶装9300 K対し
て行なわれると、ROM回路310とRAM回路320
は、各々データバス311と321を介して対応するメ
モリ値をスイッチ回路340に伝える。
The initial programmer is already stored in the ROM circuit 310, and among the initial programs stored in the ROM 310K, the RAM circuit 320KFi at the same address as the address to be patched, and the patch image stored in 9B. shall be. In addition, the RAM circuit 320 is used to store the K patch image, and the soft switch father removes the memory 10 chip using the hard switch.
Just do a normal memory write. Here, when the central control unit 100 requests the main memory 9300K for a certain address value via the address bus 2101, the ROM circuit 310 and the RAM circuit 320
communicate the corresponding memory values to switch circuit 340 via data buses 311 and 321, respectively.

一方、デコーダ回路330は% RAM回路320にパ
ッチイメージが配憶されているか否かt判定し、パッチ
イメージが配憶されている場合のみスイッチ回路340
にシいて主配憶データバス220とデータバス321が
接続され、パッチイメージが記憶されていないときは主
記憶データバス220とデータバス311が接続される
ように、結@ 331を介してスイッチ回路340 K
指示をあたえる。データ回路330 Kよるパッチイメ
ージが記憶されているか舎かは、RAM回路320の特
定ビットで判定するか、RAM回路320が記憶してい
るメモリ値が特定値、たとえばallo、以外かで判定
する。
On the other hand, the decoder circuit 330 determines whether or not a patch image is stored in the RAM circuit 320, and only when the patch image is stored, the switch circuit 340
The main storage data bus 220 and the data bus 321 are connected when the patch image is stored, and the switch circuit is connected via the connection @ 331 so that the main storage data bus 220 and the data bus 311 are connected when no patch image is stored. 340K
Give instructions. Whether a patch image by the data circuit 330K is stored is determined by a specific bit of the RAM circuit 320, or by whether the memory value stored in the RAM circuit 320 is other than a specific value, such as allo.

本発明は以上説明し次ように1メモリ部t−ROMとR
AMの二重構成とし、マシン語レベルのパッチをRAM
に1行なうことにより、蓄積プログラムtROMに収容
することによる特徴を保持しつつシステム稼動中にもパ
ッチ投入を可能にする効果がある。また、すべてのプロ
グラムがパッチ作成され良状態も可能なのて、システム
開発時点では、ROM5K収容される初期プログラムが
未作成でもRAM部のみでプログラムデパックを可能と
する効果もある。
The present invention has been described above, and as follows, one memory section t-ROM and R
Dual AM configuration, machine language level patches are stored in RAM
By doing this once, there is an effect that it is possible to input the patch even while the system is running while maintaining the characteristics of storing the program in the storage program tROM. In addition, since all programs can be patched and in good condition, it is possible to depack programs only in the RAM section even if the initial program accommodated in the ROM 5K has not been created at the time of system development.

【図面の簡単な説明】 凛1図は本発明プログラム蓄槽方式の一実施例を示すブ
ロック図である。 100・・・中央制御装fi   210・・・主配憶
アドレスバス220・・・生11:l憶デー−パス 3
00・・・主配憧装鎗310・・・ROM回路  32
0・・・RAM回路330・・・デコーダ回路  34
0・・・スイッチ回路311.321・・・データバス
 322 、331・・・結線出願人  日本電気株式
会社
[Brief Description of the Drawings] Figure 1 is a block diagram showing an embodiment of the program storage tank system of the present invention. 100... Central control unit fi 210... Main storage address bus 220... Raw 11: Memory data path 3
00...Main attachment 310...ROM circuit 32
0...RAM circuit 330...Decoder circuit 34
0...Switch circuit 311.321...Data bus 322, 331...Connection applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] プログラムを蓄積するメモリ部をROMとRAMの二重
構成とすると共に、同一アドレスに対してROMとRA
Mの二つのメモリを割当てて%ROMK収容されたプロ
グラムに対してマシン語レベルでのパッチをマシン稼動
中に一行なえるよう構成したことを特徴とするプログラ
ム蓄積方式。
The memory section that stores programs has a dual structure of ROM and RAM, and ROM and RAM are connected to the same address.
A program storage method characterized in that it is configured such that a program stored in %ROMK can be patched in one line at the machine language level while the machine is running by allocating two M memories.
JP57054250A 1982-04-01 1982-04-01 Program storing system Pending JPS58172751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57054250A JPS58172751A (en) 1982-04-01 1982-04-01 Program storing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57054250A JPS58172751A (en) 1982-04-01 1982-04-01 Program storing system

Publications (1)

Publication Number Publication Date
JPS58172751A true JPS58172751A (en) 1983-10-11

Family

ID=12965298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57054250A Pending JPS58172751A (en) 1982-04-01 1982-04-01 Program storing system

Country Status (1)

Country Link
JP (1) JPS58172751A (en)

Similar Documents

Publication Publication Date Title
JPS59185083A (en) Addressing apparatus for memory pack
US7836293B1 (en) Accelerated deserialized boot implementation for a multiprocessor system
JPH0212541A (en) Computing system and operation thereof
JPH09330151A (en) Card
US4095268A (en) System for stopping and restarting the operation of a data processor
US10176131B1 (en) Controlling exclusive access using supplemental transaction identifiers
US5127096A (en) Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes
US6934537B2 (en) Radio communication device, method of and program for rewriting boot program therefor
JPS58172751A (en) Program storing system
JPS6342294B2 (en)
JPH0355918B2 (en)
US6029210A (en) Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state
JPH1139212A (en) Microcomputer
JPH1131068A (en) Reset vector switching method and information processor using the switching method
JPS59116866A (en) Storage device of computer system
JP2001101084A (en) Memory device with error detecting and correcting function and error detecting and correcting device
JP3001464B2 (en) Microprocessor device
JPS58213353A (en) Forced loop circuit
JPS605369A (en) Memory control system
JPH08185354A (en) Memory managing device
JPS58182731A (en) Initialization controlling system of storage device
JPH0226252B2 (en)
JPS62166455A (en) Memory device
JPS6014435B2 (en) Storage device
JPH04257030A (en) Rom patch system