JPS5972689A - Program loading system - Google Patents

Program loading system

Info

Publication number
JPS5972689A
JPS5972689A JP18326182A JP18326182A JPS5972689A JP S5972689 A JPS5972689 A JP S5972689A JP 18326182 A JP18326182 A JP 18326182A JP 18326182 A JP18326182 A JP 18326182A JP S5972689 A JPS5972689 A JP S5972689A
Authority
JP
Japan
Prior art keywords
data
program
circuit
input
register
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.)
Granted
Application number
JP18326182A
Other languages
Japanese (ja)
Other versions
JPH0355908B2 (en
Inventor
Shizuo Inaba
静雄 稲葉
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.)
Pioneer Corp
Original Assignee
Pioneer Corp
Pioneer Electronic 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 Pioneer Corp, Pioneer Electronic Corp filed Critical Pioneer Corp
Priority to JP18326182A priority Critical patent/JPS5972689A/en
Publication of JPS5972689A publication Critical patent/JPS5972689A/en
Publication of JPH0355908B2 publication Critical patent/JPH0355908B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Abstract

PURPOSE:To erase the storage content with a simple constitution and to prevent erroneous erasure by controlling the erasure of the program instruction of a storage device and the load in response to the coincidence between input data and a prescribed data. CONSTITUTION:When the input data via an encoder 11 and a register 12 is coincident with a prescribed data such as data 00 not being the program data of a prescribed data generating circuit 20, a write control circuit 13 is controlled via a data comparison circuit 21, the data 00 is written in an address of a program data memory 16 accessed by an address generating circuit 15, and the data is erased substantially. Further, the circuit 21 transmits the input via the register 12 as it is as the program instruction when the comparison result is dissident, and this is loaded. Then, the storage content is erased with a simple constitution not requiring an erase switch and a memory clear control circuit and the erroneous erasure is prevented.

Description

【発明の詳細な説明】 本発明は、プログラムローディング方式に関し、特に所
定の演奏順序に従って複数の曲が演奏されるように一連
の動作を指令するプログラムを自動演奏プレーヤ等にお
ける記憶装置へ記憶させるプログラムローディング方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program loading system, and more particularly to a program for storing a program instructing a series of operations so that a plurality of songs are played in a predetermined playing order in a storage device of an automatic performance player or the like. Regarding loading method.

自動演奏プレーヤ等の一連の動作を指令するプログラム
における各命令は、例えば演奏する複数の曲の各々を特
定するデータ例えばレコード盤等の記録媒体に記録さ”
れな曲の記録順序を示す数値で形成され、特定した曲の
演奏指令となっている。
Each command in a program that instructs a series of operations of an automatic performance player or the like is recorded on a recording medium such as a record, for example, with data specifying each of a plurality of songs to be played.
It is made up of numerical values that indicate the recording order of the specified songs, and serves as a performance instruction for the specified song.

複数のかかる命令で形成されたプログラムを従来のプロ
グラムローディング方式によって記憶装置に記憶させる
プログラムローディング装置を第1図に示す0第1図に
おいてsw、 、 sw、 、 ・sw、は、O〜9ま
での10進数の各々に対応するデータを発生させるため
の数値大刀キースイッチである。キースイッチSWo%
 SW9の各々は一端が接地されておりかつ他端がエン
コーダ11の対応する入力端子の各々に接続されている
。キースイッチswo〜SW、のうちの1つを選択的に
押圧するとエンコーダ11の対応する入力端子に低レベ
ル信号が供給される。そうすると、エンコーダ11より
0〜9までの10進数の各々に対応しBCD (2進化
10進)コード化された4ピントのデータと例えば高レ
ベル信号からなるキー人力検知信号αとが出方される。
A program loading device for storing a program formed by a plurality of such instructions in a storage device using a conventional program loading method is shown in FIG. This is a numerical key switch for generating data corresponding to each decimal number. Key switch SWo%
Each of the SWs 9 has one end grounded and the other end connected to each of the corresponding input terminals of the encoder 11. When one of the key switches swo to SW is selectively pressed, a low level signal is supplied to the corresponding input terminal of the encoder 11. Then, the encoder 11 outputs 4-focus data encoded in BCD (binary coded decimal) corresponding to each decimal number from 0 to 9 and a key human force detection signal α consisting of, for example, a high level signal. .

エンコーダ11より出力された4ビツトのデータはレジ
スタ12に供給される。また、エンコーダj1より出力
されたキー人力検知信号αは書込ろ、制御回路13に供
給される。書込み制御回路13の書込み指令入力端子に
は一端が接地された書込み指令スイッチSW、□の他端
が接続されている。書込み指令スイッチSW、□を抑圧
することにより書込み指令入力端子に低レベル信号から
なる入力データ書込み指令信号すが供給される。また、
この書込み制御回路13にはメモリクリヤ制御回路14
より所定データ書込み指令信号Cが供給される。書込み
制御回路13は、キー人力検知信号αが供給されるとク
ロックパルスdをレジスタ2に供給しがっ入力データ書
込み指令信号すが供給されると所定時間に亘って出力バ
ノファ制御信号eをレジスタ12に供給すると共に書込
みアドレス発生指令信号fをアドレス発生回路15に供
給しかつ所定データ書込み指令信号Cが供給されると書
込みアドレス発生指令信号fをアドレス発生回路15に
供給する構成となっている。また、レジスタ12は例え
ば4ビット並列レジスタが2段接続された構成となって
おり、書込み制御回路13より供給されたクロックパル
スdによって前段のレジスタにエンコーダ]1より供給
されたデータをラッチしかつ後段のレジスタに前段のレ
ジスタの保持データをランチするようになっている。従
って、キースイッチsw1〜sw9の択一的な抑圧を2
回連続して行なうことによりレジスタ12に10進数2
桁分のデータが保持される。
The 4-bit data output from the encoder 11 is supplied to the register 12. Further, the key human force detection signal α output from the encoder j1 is supplied to the write control circuit 13. A write command input terminal of the write control circuit 13 is connected to a write command switch SW whose one end is grounded, and the other end of which is grounded. By suppressing the write command switch SW, □, an input data write command signal consisting of a low level signal is supplied to the write command input terminal. Also,
This write control circuit 13 includes a memory clear control circuit 14.
A predetermined data write command signal C is supplied. The write control circuit 13 supplies a clock pulse d to the register 2 when the key human power detection signal α is supplied, and outputs an output vanofer control signal e to the register 2 for a predetermined time when the input data write command signal is supplied. 12, a write address generation command signal f is also supplied to the address generation circuit 15, and when a predetermined data write command signal C is supplied, the write address generation command signal f is supplied to the address generation circuit 15. . The register 12 has a configuration in which, for example, two 4-bit parallel registers are connected, and the register 12 latches the data supplied from the encoder 1 to the register in the previous stage by the clock pulse d supplied from the write control circuit 13. The data held in the previous register is launched into the subsequent register. Therefore, the key switches sw1 to sw9 are selectively suppressed by 2
By doing this repeatedly, the decimal number 2 is stored in register 12.
Data for digits is retained.

次に、書込み指令スイッチSW、□が押圧されると書込
み制御回路13よりレジスタ12に出カバソファ制御信
号eが供給されると共に書込みアドレス発生指令信号f
がアドレス発生回路]5に供給される。
Next, when the write command switch SW, □ is pressed, the write control circuit 13 supplies the output buffer control signal e to the register 12, and the write address generation command signal f.
is supplied to the address generation circuit]5.

アドレス発生回路15は、例えば書込みアドレス発生指
令信号f及び読出しアドレス発生指令信号gによってカ
ウントアンプする4ビツトバイナリカウンタと、読出し
アドレス発生指令信号gによってトリガされる単安定マ
ルチバイブレータとを含んだ構成となっている。このア
ドレス発生回路15におけるバイナリカウンタの出力は
メモ1Ji5のアドレス入力端子に供給されている。ま
た、出方バッファ制御信号がレジスタ12に供給される
と、レジスタ12における出力バノファが活性化され、
前段のレジスタの出力で下位4ビツトが形成されかつ後
段のレジスタの出力で上位4ビツトが形成された8ピン
トのデータすなわちBCDコード化されたlO進数2桁
分りデータが出方バッファを介してデータバス17に送
出される。そして、データバス17に送出された10進
数2桁分のデータが自動演奏プレーヤの動作を指令する
命令としてアドレス発生回路15の出力によって指定さ
れるメモリ16における記憶場所に記憶される。
The address generation circuit 15 includes, for example, a 4-bit binary counter that counts and amplifies in response to the write address generation command signal f and the read address generation command signal g, and a monostable multivibrator that is triggered by the read address generation command signal g. It has become. The output of the binary counter in this address generation circuit 15 is supplied to the address input terminal of the memory 1Ji5. Further, when the output buffer control signal is supplied to the register 12, the output buffer in the register 12 is activated,
The 8-pin data, in which the lower 4 bits are formed by the output of the register in the previous stage and the upper 4 bits are formed by the output of the register in the latter stage, that is, the data for 2 digits of the BCD encoded lO base number, is transferred to the output buffer. It is sent to bus 17. Then, the two-digit decimal number data sent to the data bus 17 is stored in the storage location in the memory 16 specified by the output of the address generation circuit 15 as a command for instructing the operation of the automatic performance player.

キースイッチswo−sw9の択一的抑圧を2回連続し
て行なったのちスイッチSW、□を抑圧するという操作
を所定回数繰り返すことにより所定の演奏順序に従って
自動演奏がなされるように一連の動作を指令するプログ
ラムがメモ1月6に記憶される。
By repeating the operation of selectively suppressing key switches swo-sw9 twice and then suppressing switches SW and □ a predetermined number of times, a series of operations is performed so that automatic performance is performed according to a predetermined performance order. The commanding program is stored in memo January 6th.

ここで、キースイッチswo−sw9の誤操作等によっ
て誤ったプログラムが記憶された場合等においてメモリ
16の記憶内容を消去したいとき一端が接地されたクリ
ヤスイッチSW、2を押圧すると、スイッチ5W12の
他端より低レベル信号からなるクリヤ指令信号りがメモ
リクリヤ制御回路14に供給される。メモリクリヤ制御
回路14は、クリヤ指令信号りが供給されたとき所定時
間間隔をもって所定データ書込み指令信号Cを書込み制
御回路13に所定回数供給すると共に2桁の10進数”
 oo ”に対応しBCDコード化された8ビツトのデ
ータをデータバス17に送出するように構成されている
。このため、クリヤスイッチ5W12の押圧操作によっ
てアドレス発生回路15におけるカウンタがカウントア
ンプしてプログラムが記憶されるべきメモリ16におけ
る記憶場所を指定するアドレスが順次変化してプログラ
ムが記憶されていた場所に順次データ゛00”が書込ま
れ、メモリ16の記憶内容が消去される。
Here, when a wrong program is stored due to an erroneous operation of the key switch swo-sw9, etc., and if you want to erase the stored contents of the memory 16, press the clear switch SW, 2 whose one end is grounded, and the other end of the switch 5W12 A clear command signal consisting of a lower level signal is supplied to the memory clear control circuit 14. The memory clear control circuit 14 supplies a predetermined data write command signal C to the write control circuit 13 a predetermined number of times at predetermined time intervals when the clear command signal C is supplied, and also outputs a two-digit decimal number.
oo'' and is configured to send 8-bit data encoded in BCD to the data bus 17. Therefore, when the clear switch 5W12 is pressed, the counter in the address generation circuit 15 counts and amplifies the program. The address designating the storage location in the memory 16 where the program is to be stored changes sequentially, and data "00" is sequentially written to the location where the program was stored, and the stored contents of the memory 16 are erased.

メモリ16にプログラムが誤りなく記憶されたのち例え
ば自動演奏スタートスイッチ(図示せず)が押圧される
と、自動演奏プレーヤの制御回路(図示せず)より読出
し指令信号が読出し制御回路18に供給される。そうす
ると、読出し制御回路18より読出しアドレス発生指令
信号gがアドレス発生回路15に供給される。アドレス
発生回路15において、読出しアドレス発生指令信号g
によってバイナリカウンタがカウントアツプすると共に
単安定マルチバイブレークがトリガされて例えば所定時
間幅の高レベル信号iがこの単安定マルチバイブレータ
のQ出力端子より出力されてメモ1月6のリード・ライ
ト制御入力端子及び出カバソファ回路19のクロック入
力端子に供給される。そうすると、メモ1月6は所定時
間に亘って読出しモードとなり、アドレス発生回路15
のアドレス出力によって指定される場所に記憶されてい
る命令が読出されてデータバス17に送出される。この
読出された命令は、アドレス発生回路15より出力され
た所定時間幅の高レベル信号iの例えば消滅時に出力バ
ノファ回路19に保持される。そして、この出力バッフ
ァ回路19に保持された命令が自動演奏プレーヤの制御
回路(図示せず)に供給される。
For example, when an automatic performance start switch (not shown) is pressed after the program is stored in the memory 16 without error, a read command signal is supplied to the read control circuit 18 from the control circuit (not shown) of the automatic performance player. Ru. Then, the read address generation command signal g is supplied from the read control circuit 18 to the address generation circuit 15. In the address generation circuit 15, a read address generation command signal g
As the binary counter counts up, the monostable multi-vibrator is triggered and, for example, a high-level signal i with a predetermined time width is output from the Q output terminal of this monostable multivibrator. and is supplied to the clock input terminal of the output sofa circuit 19. Then, the memo January 6 is in the read mode for a predetermined period of time, and the address generation circuit 15
The instruction stored at the location specified by the address output of is read out and sent to the data bus 17. This read command is held in the output bannofer circuit 19 when, for example, the high level signal i of a predetermined time width outputted from the address generation circuit 15 disappears. The commands held in the output buffer circuit 19 are then supplied to a control circuit (not shown) of the automatic performance player.

以上の如〈従来のプログラムローディング方式による装
置においてはメモ1月6の記憶内容を消去するためにク
リヤスインチ5W12が必要となっているので、操作ス
イッチが多くなって機器の小型化に際して設計上の制約
が多くなると共に操作スイッチが誤操作され易くなって
最悪の場合メモ1月6の記憶内容が誤消去されてしまう
という不都合が発生することとなる。
As mentioned above, in devices using the conventional program loading method, a Clear Inch 5W12 is required to erase the memory contents of Memo January 6, which increases the number of operation switches and creates design constraints when downsizing the device. As the number of notes increases, it becomes easier for the operation switch to be operated erroneously, and in the worst case, the stored contents of the memo January 6 may be erased by mistake.

そこで、本発明の目的は記憶装置の記憶内容を消去する
ための操作スイッチを不要としかつ記憶装置の記憶内容
の誤消去を防止することができるプログラムローディン
グ方式を提供することである0 本発明によるプログラムローディング方式は、入力デー
タと所定データとを比較してこれら入力データと所定デ
ータとが一致したときのみ記憶装置の記憶内容を消去す
ることを特徴としている。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a program loading method that does not require an operation switch for erasing the contents of a storage device and can prevent the contents of a storage device from being erased accidentally. The program loading method is characterized by comparing input data with predetermined data and erasing the contents of the storage device only when the input data and the predetermined data match.

以下、本発明の実施例につき第2図乃至第4図を参照し
て詳細に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 2 to 4.

第2図に示す如くキースイッチswo−sw9.書込み
指令スイッチSW1□、エンコーダ11.レジスタ12
、書込み制御回路13.アドレス発生回路15.メモリ
16.データバス17.読出し制御回路18.出カバソ
ファ回路19は第1図と同様に接続されている。
As shown in FIG. 2, the key switch swo-sw9. Write command switch SW1□, encoder 11. register 12
, write control circuit 13. Address generation circuit 15. Memory 16. Data bus 17. Read control circuit 18. The output sofa circuit 19 is connected in the same manner as in FIG.

しかしながら、本例においてはBCDコード化された8
ビツトの所定データを出力する所定データ発生回路20
が設けられている。この所定データ発生回路20の出力
はデータ比較回路21に供給されている。データ比較回
路21は、レジスタ12の出力が有するビットパターン
と所定データ発生回路20の出力が有するビットパター
ンとが一致したとき所定時間間隔をもって所定データ書
込み指令信号Cを書込み制御回路3に所定回数供給する
と共に2桁の10進数゛00”に対応する8ビツトのB
CDコード化されたデータをデータバス17に送出し、
両ビットパターンが一致しなかったときレジスタ12の
出力をデータバス17に送出するように構成されている
However, in this example, the BCD coded 8
Predetermined data generation circuit 20 that outputs predetermined bit data
is provided. The output of this predetermined data generation circuit 20 is supplied to a data comparison circuit 21. The data comparison circuit 21 supplies a predetermined data write command signal C to the write control circuit 3 a predetermined number of times at predetermined time intervals when the bit pattern of the output of the register 12 and the bit pattern of the output of the predetermined data generation circuit 20 match. At the same time, the 8-bit B corresponding to the 2-digit decimal number "00"
Sends the CD encoded data to the data bus 17,
The register 12 is configured to send the output of the register 12 to the data bus 17 when the two bit patterns do not match.

以上の構成において、所定データ発生回路20より出力
されるデータが自動演奏プレーヤの一連の動作を指令す
るプログラムにおける命令になり得ないデータすなわち
例えば10進数°゛OO” に対応するデータとなるよ
うにすれば、第1図の装置と同様にキースイッチswo
−sw9の択一的抑圧を2回連続して行なったのちスイ
ッチSW、、を押圧するという操作を所定回数繰り返す
ことにより一連の動作を指令するプログラムがメモ1,
116に記憶される。
In the above configuration, the data output from the predetermined data generation circuit 20 is data that cannot be a command in a program that instructs a series of operations of the automatic performance player, that is, data that corresponds to the decimal number °゛OO'', for example. Then, like the device in Figure 1, press the key switch swo.
- Memo 1 is a program that commands a series of operations by repeating the operation of selectively suppressing SW9 twice and then pressing switch SW, , for a predetermined number of times.
116.

また、所定データ発生回路20より出力されているデー
タと同一のデータがレジスタ】2に保持されるようにキ
ースイッチ5Wo−8W9の択一的抑圧を2回連続して
行なったのちスイッチSW、□を抑圧すると、データ比
較回路21において比較されるデータが一致してデータ
比較回路21より書込み制御回路13に所定データ書込
み指令信号Cが所定時間間隔をもって所定回数供給され
かつ2桁の10進数゛00”に対応する8ビツトのBC
Dコード化されたデータ、がデータバス17に送出され
る。そうすると、第1図の装置においてクリヤスイッチ
SW、。が押圧:されたときと同様にアドレス発生回路
15におけるカウンタがカウントアツプしてプログラム
が記憶されるべきメモ1月6における記憶場所を指定す
るアドレスが順次変化してプログラムが記憶されていた
記憶場所に順次データ゛00”が書込まれてメモリ16
の記憶内容が消去される。また、自動演奏プレーヤの制
御回路(図示せず)より読出し指令信号が読出し制御回
路18に供給されると第1図の装置と同様にメモ1月6
に記憶されている命令が読出されて出カバソファ回路1
9に保持される。この出力バンファ回路19に保持され
た命令が自動演奏プレーヤの制御回路(図示せず)に送
出される。
In addition, after selectively suppressing the key switches 5Wo-8W9 twice in succession so that the same data as the data output from the predetermined data generation circuit 20 is held in the register 2, the switches SW, □ When the data is suppressed, the data compared in the data comparison circuit 21 match, and the data comparison circuit 21 supplies the write control circuit 13 with a predetermined data write command signal C a predetermined number of times at a predetermined time interval, and a two-digit decimal number ゛00 8-bit BC corresponding to “
D-coded data is sent to the data bus 17. Then, in the apparatus shown in FIG. 1, the clear switch SW. The counter in the address generation circuit 15 counts up in the same way as when ``is pressed'', and the memory location where the program was stored is changed in sequence. Data “00” is sequentially written to the memory 16.
The memory contents of will be erased. Further, when a read command signal is supplied to the read control circuit 18 from the control circuit (not shown) of the automatic performance player, the memo
The instructions stored in are read out and output from the cover sofa circuit 1.
It is held at 9. The command held in the output bumper circuit 19 is sent to a control circuit (not shown) of the automatic performance player.

以上の動作において、メモリ16の記憶内容の消去がな
されるのはプログラムを形成する各命令をメモ1月6に
記憶させるときと同様に数値入力キースイッチswo−
sw9及び書込み指令スイッチSW、□を操作すること
によってレジスフ12よりデータ比較回路21に送出さ
れたデータが所定データと一致したときであるので、ク
リヤスイッチ等の記憶内容消去用の操作スイッチが不要
となって操作スイッチの個数を減少させることができる
故に機器の小型化が容易になると共に誤操作が減少する
という効果が期待できる。また、複数の操作スイッチを
所定の手順で操作したときのみメモリ16の記憶内容が
消去されるので、誤操作による記憶内容の誤消去を防止
することができるという効果も期待できることとなる。
In the above operation, the contents of the memory 16 are erased by pressing the numeric input key switch swo- in the same way as when each instruction forming the program is stored in the memo 6.
This is when the data sent from the register 12 to the data comparison circuit 21 by operating sw9 and the write command switch SW, □ matches the predetermined data, so there is no need for an operation switch such as a clear switch for erasing the stored contents. Since the number of operation switches can be reduced, it is possible to easily downsize the device and reduce erroneous operations. Furthermore, since the stored contents of the memory 16 are erased only when a plurality of operation switches are operated in a predetermined procedure, it is possible to expect the effect that erroneous erasure of the stored contents due to erroneous operations can be prevented.

第3図は、本発明によるプログラムローディング方式に
よって自動演奏プレーヤに一連の動作を指令するプログ
ラムを記憶装置に記憶させる装置をマイクロコンビーー
タを用いて構成した例を示すブロツク図である。第3図
において、タイミングパルス発生回路30よりキーマト
リクス31の入力信号線の各々に互いに発生時刻の異な
るタイミングパルスが供給されている。入力信号線とそ
れぞれ交差する出力信号線は操作スイッチ検出回路32
の入力端子に接続されている。入力信号線と出力信号線
との各交点には押圧操作されることによって両信号線を
接続するようにキースイッチSWo〜SW9及び書込み
指令スイッチSW、、が設けられている。スイッチ5W
o−8W9及びSW、、のうちのいずれか1つが抑圧操
作されると互いに発生時刻の異なるタイミングパルスの
うちの1つが操作スイッチ検出回路320入力端子のう
ちの1つに供給される。
FIG. 3 is a block diagram showing an example in which a microconbeater is used to configure a device for storing in a storage device a program that instructs an automatic performance player to perform a series of operations using the program loading method according to the present invention. In FIG. 3, timing pulses having different generation times are supplied from a timing pulse generation circuit 30 to each input signal line of a key matrix 31. In FIG. The output signal lines that intersect with the input signal lines are connected to the operation switch detection circuit 32.
is connected to the input terminal of At each intersection of the input signal line and the output signal line, key switches SWo to SW9 and a write command switch SW are provided so as to connect the two signal lines when pressed. switch 5W
When any one of o-8W9 and SW is suppressed, one of the timing pulses having different generation times is supplied to one of the input terminals of the operation switch detection circuit 320.

そうすると、操作スイッチ検出回路31において抑圧操
作された操作スイッチが特定されてその操作スイッチに
対応した4ビツトのBCDコード化されたデータが出力
される。この4ピントのデータは入力ポート33に供給
されてランチされる。入力ポート33には自動演奏プレ
ゝ−ヤの制御回路(図示せず)より読出し指令信号も供
給される。この入力ポート32より、4ビツトのデータ
をランチしたか否かを示す情報、数値入力キースイッチ
及び書込み指令スイッチのうちのいずれが押圧されたか
を示す情報、読出し指令信号が供給されたか否かを示す
情報と共にラッチした4ピントのデータを含む8ピント
のデータがデータバス34を介してプロセンサ35に取
り込まれる。プロセンサ35は、ROM36 、 RA
M37と協働して取込んだデータを処理する。
Then, the operation switch detecting circuit 31 identifies the operation switch that has been suppressed and outputs 4-bit BCD encoded data corresponding to that operation switch. This 4-pin data is supplied to the input port 33 and launched. A read command signal is also supplied to the input port 33 from a control circuit (not shown) of the automatic performance player. From this input port 32, information indicating whether 4-bit data has been launched, information indicating which of the numerical input key switch and write command switch has been pressed, and information indicating whether a read command signal is supplied. The 8-pin data including the 4-pin data latched together with the information shown is taken into the processor sensor 35 via the data bus 34. Pro sensor 35, ROM36, RA
Processes the captured data in cooperation with M37.

そして、プロセッサ35はRAM 37の所定領域をプ
ログラムメモリ領域としてそこに自動演奏プレーヤの一
連の動作を指令するプログラムを記憶させ、プログラム
メモリ領域の記憶内容を消去し、またはプログラムメモ
リ領域に記憶されて(・る命令を読出して出力ポート3
8を介して自動演奏プレーヤの制御回路(図示せず)に
送出する。尚、プロセッサ35のアドレス出力はアドレ
スノくス39を介して入力ポート33 、 ROM3G
 、 RAM37 、出力ポート38の各々に供給され
ている。
Then, the processor 35 uses a predetermined area of the RAM 37 as a program memory area to store therein a program that instructs a series of operations of the automatic performance player, erases the stored contents of the program memory area, or erases the contents stored in the program memory area. (Read the command to output port 3
8 to a control circuit (not shown) of the automatic performance player. Note that the address output of the processor 35 is sent to the input port 33 and the ROM 3G via the address node 39.
, RAM 37, and output port 38.

第3図に示された本発明による装置の動作の一部を第4
図のフローチャートを参照しつつ説明する。操作スイッ
チが抑圧操作されたか否カ・の判定等を含むスイッチ入
力処理動作をなす(第3図81)。抑圧操作された操作
スイッチが数値人カスイノチであるか否かを判定する(
同図32)。数値人カスインチが抑圧操作されたときは
入力ポート33より取込んだデータに含まれているノく
イナリコード化された4ビツトのデータをRAM370
プログラムメモリ領域以外の所定の場所)て設定された
8ビツト分の記憶容量を有するノくノファに既に書込ま
れている4ビツトのデータが消去されないように書込み
(同図33)、Slに戻る。抑圧操作されたスイッチが
数値人カッ、インチでなかったときは書込み指令スイッ
チが抑圧操作されたのか否かを判定しく同図S4J、書
込み指令スイッチが抑圧操作されたのでなければSlに
戻る。抑圧操作されたスイッチが書込み指令スイッチで
あったときはバッファに2桁の10進数″00″に対応
するデータが書込まれているか否かを判定する(同図8
5)。バッファにパOO”に対応するデータが書込まれ
ていたときはRAM 37におけるプログラムメモリ領
域における記憶内容を消去しく同図36)、Slに戻る
。バッファに00”に対応するデータが書込まれていな
かったときはRAM 37におけるプログラムメモリ領
域にバッファに書込まれていたデータを命令として書込
む(同図37)。その後、プログラムメモリ領域内の記
憶場所を指定するためのアドレス値に1を加え(同図8
8)、Slに戻る。
A part of the operation of the device according to the invention shown in FIG.
This will be explained with reference to the flowchart shown in the figure. The switch input processing operation includes determining whether or not the operation switch has been suppressed (FIG. 3, 81). Determine whether the suppressed operation switch is a numerical value or not (
Figure 32). When the numerical character input is suppressed, the 4-bit data contained in the data taken in from the input port 33 is stored in the RAM 370.
The 4-bit data that has already been written to the memory having a storage capacity of 8 bits set in a predetermined location other than the program memory area is written so as not to be erased (33 in the same figure), and returns to Sl. . If the suppressed switch is not a numerical value of 1 or 2 inches, it is determined whether the write command switch has been suppressed or not in step S4J of the same figure, and if the write command switch has not been suppressed, the process returns to S1. If the suppressed switch is a write command switch, it is determined whether data corresponding to the two-digit decimal number "00" has been written into the buffer (see Figure 8).
5). If the data corresponding to "00" has been written in the buffer, the memory contents in the program memory area in the RAM 37 are erased (FIG. 36) and the process returns to Sl.The data corresponding to "00" is written in the buffer. If not, the data written in the buffer is written in the program memory area of the RAM 37 as an instruction (see FIG. 37). Then, add 1 to the address value for specifying the storage location in the program memory area (see Figure 8).
8), return to Sl.

以上の如き装置におし・でも、自動演奏プレーヤの一連
の動作を指令するグログラムを記憶するメモリの記憶内
容の消去は、書込み指令スイッチが押圧されたときバッ
ファに10進数゛00”に対応するデータが書込まれて
いた場合になされるので、第2図の装置と同様な効果が
得られることとなる。
However, when the above-mentioned device is installed, the contents of the memory that stores the program that commands a series of operations of the automatic performance player can be erased by writing a decimal number "00" into the buffer when the write command switch is pressed. Since this is done when data has been written, the same effect as the device shown in FIG. 2 can be obtained.

尚、上記実施例においては入力データが10進数の’0
0”Ic対応するデータであった場合にメモリの記憶内
容が消去されるとしたが、自動演奏プレーヤの如き機器
以外の10進数”oo”が意味を有する機器例えば演算
装置における記憶装置にプログラムをロードする場合に
は例えば10進数°゛99″の如き最大値に対応するデ
ータが入力されたときにメモリの記憶内容が消去される
ようにしても良い。
In the above embodiment, the input data is decimal '0'.
It is assumed that the contents of the memory will be erased if the data corresponds to 0"Ic, but if the program is not written to the storage device of a device such as an automatic performance player where the decimal number "oo" has a meaning, for example, an arithmetic device. In the case of loading, the contents of the memory may be erased when data corresponding to the maximum value, such as the decimal number "99", is input.

また、本例においては入力データが2桁の10進数に対
応するBCDコード化された8ビツトのデータであると
したが、入力データが2桁の16進数又は2桁の8進数
にそれぞれ対応した8ビット又は6ピツトのデータとな
る場合も本発明を適用することができ、また入力データ
の桁数が2桁ではな(3桁或いは4桁となる場合も本発
明を適用することができる。
In addition, in this example, the input data is BCD encoded 8-bit data that corresponds to a 2-digit decimal number, but it is also assumed that the input data corresponds to a 2-digit hexadecimal number or a 2-digit octal number. The present invention can be applied even when the data is 8 bits or 6 pits, and the present invention can also be applied when the number of digits of input data is not 2 digits (3 digits or 4 digits).

以上詳述した如く本発明によるプログラムローディング
方式によれば入力データと所定データとを比較してこれ
ら入力データと所定データとが一致したときプログラム
がロードされる記憶装置の記憶内容が消去されるので、
記憶内容消去用の操作スイッチが不要となって機器の小
型化が容易になると共に誤操作が減少するという効果が
期待できる。また、複数の操作スイッチを所定の手順で
操作したときのみ記憶内容が消去されるので、記憶内容
の誤消去を防止することができるという効果も期待でき
る。
As detailed above, according to the program loading method according to the present invention, input data and predetermined data are compared, and when the input data and the predetermined data match, the memory contents of the storage device into which the program is loaded are erased. ,
Since an operation switch for erasing memory content is no longer necessary, it is possible to expect the effects that the equipment can be easily downsized and erroneous operations are reduced. Furthermore, since the stored contents are erased only when a plurality of operation switches are operated in a predetermined procedure, it is possible to expect the effect that erroneous erasure of the stored contents can be prevented.

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

第1図は、従来のプログラムローディング方式によって
プログラムを記憶装置に記憶させる装置を示すブロック
図、第2図は、本発明の一実施例を示すブロック図、第
3図は、本発明の他の実施例を示すブロック図、第4図
は、第3図に示した装置の動作を示すフローチャートで
ある。 主要部分の符号の説明 11・・・エンコーダ    12・・・レジスタ13
・・・書込み制御回路  15・・・アドレス発生回路
16・・・メモリ20・・・所定データ発生回路21・
・・データ比較回路 30・・・タイミングパルス発生回路 31・・・キーマトリクス 32・・操作スイッチ検出回路  33・入力ポート3
5・・・プロセッサ       36・・・ROM3
7・・ RAM 出願人  パイオニア株式会社 代理人  弁理士 藤 村 元 彦
FIG. 1 is a block diagram showing an apparatus for storing a program in a storage device using a conventional program loading method, FIG. 2 is a block diagram showing one embodiment of the present invention, and FIG. 3 is a block diagram showing another embodiment of the present invention. FIG. 4, a block diagram showing the embodiment, is a flowchart showing the operation of the apparatus shown in FIG. 3. Explanation of codes of main parts 11...Encoder 12...Register 13
...Write control circuit 15...Address generation circuit 16...Memory 20...Predetermined data generation circuit 21.
・Data comparison circuit 30 ・Timing pulse generation circuit 31 ・Key matrix 32 ・Operation switch detection circuit 33 ・Input port 3
5... Processor 36... ROM3
7. RAM Applicant Pioneer Co., Ltd. Agent Patent Attorney Motohiko Fujimura

Claims (1)

【特許請求の範囲】[Claims] 所定の演奏順序に従って複数の曲が演奏されるように一
連の動作を指令するプログラムを自動演奏プレーヤ等に
おける記憶装置へ記憶させるプログラムローディング方
式であって、入力データと所定データとを比較するステ
ップと、前記入力データが前記所定データと一致したと
き前記記憶装置の記憶内容を消去するステップと、前記
入力データと前記所定データとが一致し、なかったとき
前記入力データを前記プログラムにおける命令として前
記記憶装置に記憶させるステップとを含むことを特徴と
するプログラムローディング方式。
A program loading method for storing a program instructing a series of operations so that a plurality of songs are played according to a predetermined playing order in a storage device of an automatic performance player, etc., the step of comparing input data and predetermined data. , erasing the storage contents of the storage device when the input data matches the predetermined data; and when the input data and the predetermined data do not match, storing the input data as an instruction in the program; A program loading method comprising the step of storing the program in a device.
JP18326182A 1982-10-19 1982-10-19 Program loading system Granted JPS5972689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18326182A JPS5972689A (en) 1982-10-19 1982-10-19 Program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18326182A JPS5972689A (en) 1982-10-19 1982-10-19 Program loading system

Publications (2)

Publication Number Publication Date
JPS5972689A true JPS5972689A (en) 1984-04-24
JPH0355908B2 JPH0355908B2 (en) 1991-08-26

Family

ID=16132567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18326182A Granted JPS5972689A (en) 1982-10-19 1982-10-19 Program loading system

Country Status (1)

Country Link
JP (1) JPS5972689A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63181184A (en) * 1987-01-21 1988-07-26 Matsushita Electric Ind Co Ltd Optical disk reproducing device
US6617706B2 (en) 1998-11-09 2003-09-09 Ngk Spark Plug Co., Ltd. Ignition system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63181184A (en) * 1987-01-21 1988-07-26 Matsushita Electric Ind Co Ltd Optical disk reproducing device
US6617706B2 (en) 1998-11-09 2003-09-09 Ngk Spark Plug Co., Ltd. Ignition system

Also Published As

Publication number Publication date
JPH0355908B2 (en) 1991-08-26

Similar Documents

Publication Publication Date Title
JP2008523468A (en) Non-volatile recording medium erasing system and method
JPH0828053B2 (en) Data recording method
US5724544A (en) IC memory card utilizing dual eeproms for image and management data
JPS62182954A (en) Data processing apparatus and method containing memory with coincidence circuit
US20060120235A1 (en) System and method of erasing non-volatile recording media
JPS5972689A (en) Program loading system
JP2000501872A (en) Processing system and method for reading and reproducing information in a RAM structure
US5911031A (en) IC card memory for recording and reproducing audio and/or video data concurrently or separately and a control method thereof
JPS6019538B2 (en) Program writing method
EP0217348B1 (en) Memory connected state detecting circuit
JPH0547189A (en) Memory card device
JPS5931157B2 (en) Data storage device storage content protection device
JPS5831005B2 (en) Electronics
US5542092A (en) Method and system for setting bus addresses in order to resolve or prevent bus address conflicts between interface cards of a personal computer
US4658376A (en) Magnetic bubble file system
JP2910466B2 (en) External storage device
JP2558335B2 (en) Write control device for storage device
JPH065008A (en) Testing method for magnetic disk device
JPH0612270A (en) Test circuit
JPH0430632B2 (en)
JPS59232395A (en) Musical sound setter
JPS62168241A (en) Microprogram controller
JPH0812728B2 (en) Data recording / reproducing apparatus and data recording / reproducing method
KR950027814A (en) Flash Cards for Digital Song Accompaniment Systems
JPS6225343A (en) Digital signal recording device