JPS596407B2 - Initial program loading method - Google Patents
Initial program loading methodInfo
- Publication number
- JPS596407B2 JPS596407B2 JP55079882A JP7988280A JPS596407B2 JP S596407 B2 JPS596407 B2 JP S596407B2 JP 55079882 A JP55079882 A JP 55079882A JP 7988280 A JP7988280 A JP 7988280A JP S596407 B2 JPS596407 B2 JP S596407B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- area
- loaded
- channel
- cpu
- 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.)
- Expired
Links
- 238000011068 loading method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
本発明は中央処理装置CPU側から初期プログラムをチ
ャネル装置に任意のアドレスと容量でローディングでき
るようにした初期プログラムローディング方式に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an initial program loading method that allows an initial program to be loaded from the central processing unit CPU side to a channel device at an arbitrary address and capacity.
従来の端末制御装置の構成の1例を第1図に示す。An example of the configuration of a conventional terminal control device is shown in FIG.
すなわち、CPUIから主メモリ2内の初期プログラム
を共通バスを介してチャネル装置CMC3にローディン
グする。CMC3は第2図の本発明の実施例で詳述する
ように、マイクロプロセッサMPUIIと固定メモリR
0M12と揮発性メモリRAM13より成り、従来はC
PUIからの初期プログラムローディングIPLコマン
ドをMPUIIに送り、このコマンドに基づきMPUI
IはROM12内の所定のプログラムにより、主メモリ
2内の固定領域に配置されるか、任意の領域に配置され
る初期プログラムをCMC3内のRAM13にローディ
ングするように処理する。そしてチャネルバスを介して
サブチャネル部のラインアダプタ(LA0)40、(L
AI)42・・・(LAT)43のいずれかが選択され
、その出力によりI/Oが駆動制御される。このような
初期プログラムのローディングにおいては、ローディン
グされる初期プログラムのローディングされるメモリ1
3の格納先頭アドレスと大きさ(容量)すなわちレング
スはチャネル装置3内のROM12に固定的に記憶され
ているから、たとえば、I/Oが増設される場合等ロー
ディングするべきプログラムが増加すると、ROM12
の領域のローディングプログラムも変更する必要があり
、簡単には実施できないという欠点がある。That is, the initial program in the main memory 2 is loaded from the CPU to the channel device CMC3 via the common bus. The CMC3 includes a microprocessor MPUII and a fixed memory R, as detailed in the embodiment of the invention in FIG.
Consists of 0M12 and volatile memory RAM13, conventionally C
Sends the initial program loading IPL command from the PUI to the MPUII, and based on this command the MPUI
I processes an initial program placed in a fixed area in the main memory 2 or placed in an arbitrary area by a predetermined program in the ROM 12 to be loaded into the RAM 13 in the CMC 3. Then, line adapters (LA0) 40, (L
One of AI)42...(LAT)43 is selected, and the I/O is driven and controlled by its output. In such initial program loading, the memory 1 of the initial program to be loaded is
Since the storage start address and the size (capacity), that is, the length of No. 3, are fixedly stored in the ROM 12 in the channel device 3, when the number of programs to be loaded increases, for example, when I/O is added, the ROM 12
It is necessary to change the loading program for the area, which has the disadvantage that it cannot be easily implemented.
本発明の目的はCPU側から増加分のプログラムをもチ
ャネル装置に簡単にローディングできるようにした初期
プログラムローディング方式を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide an initial program loading method that allows even additional programs to be easily loaded from the CPU side to a channel device.
前記目的を達成するため、本発明の初期プログラムロー
ディング方式は中央処理装置CPUの主メモリに格納さ
れたプログラムを該CPUとは共通バスにより結合され
たチャネル装置のチャネルメモリにローディングする方
式において、前記主メモリ内のローディングされるべき
プログラムが格納されている領域の先頭アドレスと、前
記チヤネルメモリ内のローデイングされるべき領域の先
頭アドレスと、該領域の大きさを示すレングスとをCP
Uよりチヤネル装置に指示する手段と、チヤネル装置に
前記先頭アドレスとレングスとに対応したチヤネルメモ
リの格納領域に前記プログラムをローデイングする回路
とを設け、チヤネル装置がCPUから指示された格納領
域に前記プログラムをローデイングすることを特徴とす
るものである。In order to achieve the above object, the initial program loading method of the present invention loads a program stored in the main memory of a central processing unit CPU into a channel memory of a channel device connected to the CPU by a common bus. The start address of the area in the main memory where the program to be loaded is stored, the start address of the area in the channel memory to be loaded, and the length indicating the size of the area.
means for instructing the channel device from U, and a circuit for loading the program into a storage area of the channel memory corresponding to the start address and length in the channel device, and the channel device loads the program into the storage area instructed by the CPU. It is characterized by loading a program.
以下本発明を実施例につき詳述する。The present invention will be described in detail below with reference to examples.
第2図は本発明の実施例の構成を示す説明図である。FIG. 2 is an explanatory diagram showing the configuration of an embodiment of the present invention.
同図において、CPUlと主メモリ2が共通バスを介し
てチヤネル部のCMC3に接続され、さらにチヤネルバ
スを介してサブチヤネル部の(LAO)41〜(LA7
)43に接続し/Oを制御することは第1図のとおりで
ある。In the figure, CPU1 and main memory 2 are connected to CMC3 of the channel section via a common bus, and further connected to (LAO) 41 to (LA7) of the subchannel section via the channel bus.
) 43 to control /O as shown in FIG.
CMC3は前述のようにマイクロプロセツサMPUll
を有し、そのデータバスに制御プログラムを記憶するR
OMl2とRAMl3を接続した外に、共通バスとデー
タバスの間のデータの入出力のためのレシーバRCl4
とドライバDRl6を設け、それぞれ直接路の外に本発
明の要部となるCPUコマンド指令用の書込み制御レジ
スタWCRl5とCPUコマンド終了通知用の読出し制
御レジスタRCRl7が挿入される。As mentioned above, CMC3 is a microprocessor MPUll.
and stores a control program on its data bus.
In addition to connecting OMl2 and RAMl3, there is a receiver RCl4 for data input/output between the common bus and the data bus.
and a driver DRl6, and a write control register WCRl5 for CPU command instruction and a read control register RCRl7 for CPU command completion notification, which are the main parts of the present invention, are inserted outside the direct path.
またデータバスとチヤンネルバスの間にはドライバ/レ
シーバDR/RC2Oが設けられる。さらに、CMC3
よりデータをCPUlに転送する際の割込み制御回路1
8と、MPUllのコマンドにより主メモリ2とRAM
l3間で直接データの転送を行なうように制御するDM
A制御回路19がそれぞれデータバスに接続される。Further, a driver/receiver DR/RC2O is provided between the data bus and the channel bus. Furthermore, CMC3
Interrupt control circuit 1 when transferring data to CPU1
8, and the main memory 2 and RAM by the MPUll command.
DM that controls direct data transfer between l3
A control circuits 19 are each connected to the data bus.
いま、CPUlのコマンドにより主メモリ2のレングス
LのアドレスAの領域の初期プログラムをCMC3のR
AMl3のアドレスBの領域にローデイングすみ場合、
まずWCRl5に第3図に示すように、コマンド種別の
外チヤネル装置のRAMl3のアドレスB領域、主メモ
リ2のアドレスA領域およびプログラムレングスLを示
すバイト数を書込む。これをMPUllが解読してコマ
ンド指示を行ない、DMA制御回路19を起動してRO
Ml2内の適用すべきローデイングプログラムのアドレ
スとレングスを制御することにより、主メモリ2のアド
レスA,レングスLをRAMl3のアドレスBにローデ
イングする。なお、サブチヤネル部のラインアダプタ(
LAO)41〜(LA7)43は何れも回線制御回路の
両側にドライバ/レシーバDR/RCを設けた構成が用
いられる。Now, the initial program in the area of address A of length L of main memory 2 is transferred to R of CMC3 by the command of CPU1.
If loading ends in the area of address B of AMl3,
First, as shown in FIG. 3, the address B area of the RAM 13 of the external channel device of the command type, the address A area of the main memory 2, and the number of bytes indicating the program length L are written in the WCRl5. The MPUll decodes this, issues a command instruction, activates the DMA control circuit 19, and performs the RO
By controlling the address and length of the loading program to be applied in M12, address A and length L of main memory 2 are loaded to address B of RAM I3. Please note that the line adapter (
LAO) 41 to (LA7) 43 each use a configuration in which driver/receivers DR/RC are provided on both sides of a line control circuit.
以上説明したように、本発明によれば、CPU側から初
期プログラムをチヤネル装置に任意のアドレスとレング
スを指定し、可変の位置にローデイングができるように
書込み制御レジスタを設けこの内容に基づきMPUが処
理を行なうことにより、従来のROMの制御プログラム
でアドレス、レングスが固定的であつたのに対し、可変
的なローデイングが可能となるから柔軟性に富んだ初期
プログラムのローデイングが可能となる。As explained above, according to the present invention, a write control register is provided so that an arbitrary address and length can be specified for an initial program to a channel device from the CPU side, and loading can be performed at a variable position. By performing this processing, whereas the address and length of a conventional ROM control program are fixed, variable loading becomes possible, so that the initial program can be loaded with great flexibility.
第1図は従来例の説明図、第2図は本発明の実施例の構
成を示す説明図、第3図は第2図の実施例の要部の説明
図であり、図中、1は中央処理装置CPUl2は主メモ
リ、3はチヤネル装置CMCl4l〜43はラインアダ
プタ、11はマイクロプロセツサMPUll2は固定メ
モリROMll3は不揮発性メモリRAMll4はレシ
ーバ、15は書込み制御レジスタ、16はドライバ、1
7は読出し制御レジスタ、18は割込み制御回路、19
はDMA制御回路、20はドライバ/レシーバを示す。FIG. 1 is an explanatory diagram of a conventional example, FIG. 2 is an explanatory diagram showing the configuration of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of main parts of the embodiment of FIG. Central processing unit CPUl2 is a main memory, 3 is a channel device CMCl4l-43 is a line adapter, 11 is a microprocessor MPUll2 is a fixed memory ROMll3 is a non-volatile memory RAMll4 is a receiver, 15 is a write control register, 16 is a driver, 1
7 is a read control register, 18 is an interrupt control circuit, 19
indicates a DMA control circuit, and 20 indicates a driver/receiver.
Claims (1)
ラムを該CPUとは共通バスにより結合されたチャネル
装置のチャネルメモリにローディングする方式において
、前記主メモリ内のローディングされるべきプログラム
が格納されている領域の先頭アドレスと、前記チャネル
メモリ内のローディングされるべき領域の先頭アドレス
と、該領域の大きさを示すレングスとをCPUよりチャ
ネル装置に指示する手段と、チャネル装置に前記先頭ア
ドレスとレングスとに対応したチャネルメモリの格納領
域に前記プログラムをローディングする回路とを設け、
チャネル装置がCPUから指示された格納領域に前記プ
ログラムをローディングすることを特徴とする初期プロ
グラムローディング方式。1 In a system in which a program stored in the main memory of a central processing unit CPU is loaded into a channel memory of a channel device connected to the CPU by a common bus, the program to be loaded in the main memory is stored. means for instructing a channel device from a CPU the starting address of an area, the starting address of an area to be loaded in the channel memory, and a length indicating the size of the area; a circuit for loading the program into a storage area of a channel memory corresponding to the program;
An initial program loading method characterized in that a channel device loads the program into a storage area instructed by a CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP55079882A JPS596407B2 (en) | 1980-06-13 | 1980-06-13 | Initial program loading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP55079882A JPS596407B2 (en) | 1980-06-13 | 1980-06-13 | Initial program loading method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS576921A JPS576921A (en) | 1982-01-13 |
JPS596407B2 true JPS596407B2 (en) | 1984-02-10 |
Family
ID=13702611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP55079882A Expired JPS596407B2 (en) | 1980-06-13 | 1980-06-13 | Initial program loading method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS596407B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4538224A (en) * | 1982-09-30 | 1985-08-27 | At&T Bell Laboratories | Direct memory access peripheral unit controller |
JPS61262955A (en) * | 1985-05-17 | 1986-11-20 | Fujitsu Ltd | Communication control device buffer management method |
-
1980
- 1980-06-13 JP JP55079882A patent/JPS596407B2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS576921A (en) | 1982-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5623622A (en) | Memory access control system which prohibits a memory access request to allow a central control unit to perform software operations | |
JP2579170B2 (en) | Memory card | |
JPS596407B2 (en) | Initial program loading method | |
JPS626269B2 (en) | ||
JPH022176B2 (en) | ||
JP3139310B2 (en) | Digital signal processor | |
JPH0357053A (en) | Down load control system for communication processing device | |
JP2002149626A (en) | Microcomputer | |
JP3168845B2 (en) | Digital signal processor | |
JPS61123244A (en) | Data communication processor | |
JP2533886B2 (en) | Data transfer method | |
JP2619385B2 (en) | DMA controller | |
JP2861125B2 (en) | Program load save method | |
JP2584903B2 (en) | External device control method | |
JPS6243408Y2 (en) | ||
JPH01309445A (en) | Data transfer system | |
JPH0237425A (en) | Digital signal processor | |
JPS62190544A (en) | Higher link unit for programmable controller | |
HU195889B (en) | Intelligent information storing system in particular to computers | |
JPH06348501A (en) | Program downloading method | |
JPS6028023B2 (en) | I/O instruction acceleration method | |
JPH0296853A (en) | System for checking holding main storage capacity | |
JPS60136853A (en) | Data transfer method | |
JPH08161253A (en) | Dma control method and dma controller | |
JPS581455B2 (en) | Input/output control method |