JPS6339063A - Program executing method - Google Patents

Program executing method

Info

Publication number
JPS6339063A
JPS6339063A JP18392386A JP18392386A JPS6339063A JP S6339063 A JPS6339063 A JP S6339063A JP 18392386 A JP18392386 A JP 18392386A JP 18392386 A JP18392386 A JP 18392386A JP S6339063 A JPS6339063 A JP S6339063A
Authority
JP
Japan
Prior art keywords
program
memory card
card
ram
main body
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
JP18392386A
Other languages
Japanese (ja)
Inventor
Shinichi Yamada
信一 山田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP18392386A priority Critical patent/JPS6339063A/en
Publication of JPS6339063A publication Critical patent/JPS6339063A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To enable programing even if a memory card storing the program is taken out of a main body, by using an IPL of the main body to transfer the program of the memory card to a RAM of the main body. CONSTITUTION:When a power supply of a device is applied, the IPL works to initialize each input/output port of the device. Then the IPL reads a memory card 100 connected to the device and transfers a program to a RAM 3 of the device from the card 100 to have a jump to the head address of the program on the RAM 3. In such a way, the program is carried out on the RAM 3 and therefore the card 100 that is supplied the program can be removed. Then another memory card is set and the data produced by the program of said card can be recorded on the card.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はIC等を用いたメモリーカード上のプログラム
の実行方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a method for executing a program on a memory card using an IC or the like.

く従来の技術〉 IC等を使ったメモリーカードは従来データの記録用と
して使用されてきた。R近の半導体技術の向上によ)、
ICH使りたメモリカードの容量が大きくなり、データ
記録用としてだけでなく。
Conventional Technology Memory cards using ICs and the like have conventionally been used for recording data. Due to the improvement of recent semiconductor technology),
The capacity of memory cards using ICH has increased, and they can be used not only for data recording.

メモリカード自体にグQグラム′Ik書き込み、メモリ
ーカード上でプログラムを実行している。
A program is written on the memory card itself and a program is executed on the memory card.

〈発明が解決しようとする問題点〉 従来の技術ではメモリーカード上でグaダラムt−実行
するため、該カードをスロットから取りはずすことがで
きず、そのためそのプログラムで生成されたデータを−
F)がうメモリカードに記録することはできなかった。
<Problems to be Solved by the Invention> In the conventional technology, since the program is executed on a memory card, the card cannot be removed from the slot, and therefore the data generated by the program cannot be removed from the slot.
F) It was not possible to record on the memory card.

本命FIAa、このような問題に鑑み1本体からプログ
ラムの収納しであるメモリーカードを取シ外してもプロ
グラムを実行できるプログラム実行方法を提供すること
を目的とする。
In view of these problems, the main object of the FIAa is to provide a program execution method that allows the program to be executed even if the memory card that stores the program is removed from the main body.

く問題点を解決するための手段〉 上記問題点t−解決するなめ!′C,本発明は1本体の
工PIJ(イニシャルプログラムローダ)がメモリーカ
ードのプログラムを本体のRAMに転送したのち、RA
M上でプログラムを実行することを特徴とする。
Means to solve the above problems> Steps to solve the above problems! 'C, In the present invention, after the PIJ (initial program loader) of one main unit transfers the program on the memory card to the RAM of the main unit,
The feature is that the program is executed on M.

〈実施例〉 以下に本発明の詳細な説明する。<Example> The present invention will be explained in detail below.

第1図に本発明が適用される装置のブロック図を示す、
2はROMでイニシャルプログラムローダ(以下工PL
と略す)、装置の周辺機器である入力装置6と表示装置
5と印字装置7を制御する基本プログラムとそのイ/メ
ーフエイス、および割込制御プログラムの3つが格納さ
れる。3はRAM、4はメモリーカードスロットで、こ
hを通じて交換可能なメモリーカード11が接続される
FIG. 1 shows a block diagram of an apparatus to which the present invention is applied.
2 is a ROM and an initial program loader (hereinafter referred to as PL)
), a basic program for controlling the input device 6, display device 5, and printing device 7, which are peripheral devices of the device, its interface, and an interrupt control program are stored. 3 is a RAM, and 4 is a memory card slot, through which an exchangeable memory card 11 is connected.

これらにシステムパスlOヲ通じて中央処理装置l(以
下CPUと略す)に接続される。
These are connected to a central processing unit l (hereinafter abbreviated as CPU) through a system path lO.

第2図にメモリーカード11のへツター一部の構成を示
す、メモリーカード11内の的えば○QOO番地から2
バイト11はメモリーカードの樵類が書かれていてこれ
で適用される装置、メモリーカードの容量書込可/不可
などを識別できる。
Figure 2 shows the configuration of a part of the memory card 11.
Byte 11 contains the information of the memory card, which allows you to identify the device to which it is applied and whether or not the capacity of the memory card is writable.

0002番地から2バイト12は装置のRAM3に転送
されるべきプログラムのメモリーカード内の先頭アドレ
スが書かれている。0004番地から2バイト13は転
送されるべきプログラムの大きさが書かれている。00
06番地から2パイ) 14はプログラムを転送すべき
RAM3の先頭アドレスが書かれていて、工PIIはプ
ログラムの転送終了後このアドレスにジャンプする。
In 2 bytes 12 from address 0002, the start address in the memory card of the program to be transferred to the RAM 3 of the device is written. In 2 bytes 13 from address 0004, the size of the program to be transferred is written. 00
06 to 2 pi) 14 is written the start address of RAM 3 to which the program should be transferred, and the engineering PII jumps to this address after the program transfer is completed.

次に1本発明の動rF、を第3図のフローチャートを用
いクク説明する。
Next, the operation rF of the present invention will be explained in detail using the flowchart shown in FIG.

装置の電源を投入すると工PLがはたらき、まず、装置
の各入出力ボート(図示せず)を初期化する( 31 
) 、その後、接続されているメモリーカード11を読
みにいき、その情報をもとにメモリーカード11から、
装置のRAM3にプログラムを転送しな(32,33)
のち、RAM3上のプログラムの先頭番地にジャンプす
る(34)、このように装置のRAM3上でプログラム
を実行するため、プログラムを供給したメモリーカード
11内置から取)外しても差しつかえなく、別のメモリ
ーカードを差し込むことにより、そのプログラムで生成
されたデータをそのメモリーカードに記録することがで
きる。
When the power to the device is turned on, the engineering PL comes into operation and first initializes each input/output board (not shown) of the device (31
), then goes to read the connected memory card 11, and based on that information, reads from the memory card 11,
Do not transfer the program to RAM3 of the device (32, 33)
Afterwards, the program jumps to the first address of the program on RAM 3 (34). In order to execute the program on RAM 3 of the device in this way, there is no problem even if it is removed from the memory card 11 that supplied the program. By inserting a memory card, data generated by the program can be recorded on the memory card.

又、上記の実施列では、メモリーカード11のヘッダー
部の構成を第2図のようKしたが1本発明は、これに限
定されるものではなく、○OQO番地からスタートしな
くても良いし、又11〜14の順番を変えても良いし、
又、 11〜14を連続的に割ル付けなくても良い。
Further, in the above embodiment, the configuration of the header section of the memory card 11 is shown in FIG. 2, but the present invention is not limited to this, and may not start from the , or you can change the order of 11 to 14,
Further, it is not necessary to assign numbers 11 to 14 consecutively.

又、メモリーカード11が誓、き込み可能なものの場合
には、必要に応じて、CPUIよシヘツダ一部の12〜
14を書き換えてやることにより、効率的なメモリ利用
等ができる。飼えば、 14を誓き換えることによ5.
RAM3におけるロード領域を可変にでき、空き領域を
見つけてそのつど、ロード領域を変更できメモリの効率
的な利用が実現できる。
In addition, if the memory card 11 is a writeable one, the CPU and some of the headers 12-
By rewriting 14, efficient memory usage, etc. can be achieved. If you keep it, 5.
The load area in the RAM 3 can be made variable, and the load area can be changed each time a free area is found, allowing efficient use of memory.

又、メモリカードとしては1列えば工Cカード、レーザ
ーカード等の的が考えられる。
Further, as a memory card, if there is one row, targets such as an engineering C card, a laser card, etc. can be considered.

〈発明の効果〉 本発明は1以上説明したように、メモリーカードのプロ
グラムti装置のRAM上で実行するため、装置のメモ
リカードのスロットからプログラムをロードしたメモリ
ーカードを抜いて1代わフにデータの記録に別のメモリ
ーカードを使用Tることかできる。したがって、本発明
によれば、メモリーカード上のプログラムによりて処理
されたデータが大量であっても、そのデータを容易に記
録できる。
<Effects of the Invention> As explained above, in the present invention, a program of a memory card is executed on the RAM of the device, so the memory card loaded with the program is removed from the memory card slot of the device, and the data is transferred to the disk instead. You can use another memory card for recording. Therefore, according to the present invention, even if a large amount of data is processed by a program on a memory card, the data can be easily recorded.

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

第1図は1本発明が適用される装置の−EHJ を示す
ブロック図である。′第2図は、第1図のメモリーカー
ド100のヘッダー部の構成yk説明する図である。第
3図は1本発明の動作を示すフローチャートである。 100・・メモリーカード 以   と 出M人 セイコーエプソン株式会社 第2図 第3図
FIG. 1 is a block diagram showing -EHJ of an apparatus to which the present invention is applied. 'FIG. 2 is a diagram illustrating the structure of the header portion of the memory card 100 of FIG. 1. FIG. 3 is a flowchart showing the operation of the present invention. 100...Memory card and M person Seiko Epson Co., Ltd. Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] メモリカードのヘッダー部に、該メモリカード内に格納
されるプログラムの該メモリカード上の先頭アドレスを
示す領域、本体装置上の主記憶装置へ転送されるべき前
記プログラムの容量を示す領域、前記プログラムが前記
主記憶装置上にロードされる際の前記主記憶装置上の先
頭アドレスを示す領域を備え、電源投入後、イニシャル
プログラムローダーが前記各領域に示される値に従がい
前記メモリカード内のプログラムを前記主記憶装置上に
ロードすることを特徴とするプログラムの実行方法。
In the header portion of the memory card, an area indicating the start address on the memory card of the program stored in the memory card, an area indicating the capacity of the program to be transferred to the main storage device on the main body device, and the program is provided with an area indicating the start address on the main memory when the program is loaded onto the main memory, and after power is turned on, the initial program loader follows the values shown in each area and loads the program in the memory card. A method for executing a program, comprising loading the program into the main storage device.
JP18392386A 1986-08-05 1986-08-05 Program executing method Pending JPS6339063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18392386A JPS6339063A (en) 1986-08-05 1986-08-05 Program executing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18392386A JPS6339063A (en) 1986-08-05 1986-08-05 Program executing method

Publications (1)

Publication Number Publication Date
JPS6339063A true JPS6339063A (en) 1988-02-19

Family

ID=16144176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18392386A Pending JPS6339063A (en) 1986-08-05 1986-08-05 Program executing method

Country Status (1)

Country Link
JP (1) JPS6339063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0316764A (en) * 1989-06-14 1991-01-24 Tokyo Electric Co Ltd Printing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0316764A (en) * 1989-06-14 1991-01-24 Tokyo Electric Co Ltd Printing device

Similar Documents

Publication Publication Date Title
EP0740254A3 (en) Microprocessor and method for setting up its peripheral functions
WO1998052159A2 (en) Multi-application ic card with delegation feature
US6588010B1 (en) Computer system and method of modifying program in the computer system
JPS6339063A (en) Program executing method
JP3923546B2 (en) IC card
JP3512252B2 (en) Information recording medium with built-in CPU
JP3234850B2 (en) Startup method of recording / reproducing device
JPH01162902A (en) Compact program generating device for pc
JPH1091593A (en) Data processor provided with microprocessor and optional calculation unit
JPH09259029A (en) Control system for storage device using eeprom
JPH04205694A (en) Electronic device provided with information storage device
RU15798U1 (en) COMPUTER SYSTEM
JPH0219990A (en) Ic card
JPH02236754A (en) Information processor
JPS60230238A (en) Microprogram control device
JPH0240760A (en) Information processor
JPH03268300A (en) Data processor
JPS59106017A (en) Testing of input/output controller
JPS6175984A (en) Integrated circuit card
JP2961781B2 (en) Data processing device
JP2862151B2 (en) Programmable controller
JPS63250749A (en) Dumping system
JPS63229552A (en) Microprogram loading system
JP2004038285A (en) Portable electronic equipment and processing method for portable electronic equipment
EP0382529A3 (en) Microprocessor having store buffer