JPH06314094A - Electronic apparatus and memory cartridge - Google Patents

Electronic apparatus and memory cartridge

Info

Publication number
JPH06314094A
JPH06314094A JP5098175A JP9817593A JPH06314094A JP H06314094 A JPH06314094 A JP H06314094A JP 5098175 A JP5098175 A JP 5098175A JP 9817593 A JP9817593 A JP 9817593A JP H06314094 A JPH06314094 A JP H06314094A
Authority
JP
Japan
Prior art keywords
data
unit
memory cartridge
electronic device
storage unit
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
JP5098175A
Other languages
Japanese (ja)
Inventor
P Caps Steven
ピー. キャプス スティーブン
H Dufron Raymond
エイチ. デュフロン レイモンド
N Bogas Edgar
エヌ. ボギャス エドガー
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.)
ARROW MICROTEX KK
NOISE TOIES Inc
Original Assignee
ARROW MICROTEX KK
NOISE TOIES Inc
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 ARROW MICROTEX KK, NOISE TOIES Inc filed Critical ARROW MICROTEX KK
Priority to JP5098175A priority Critical patent/JPH06314094A/en
Publication of JPH06314094A publication Critical patent/JPH06314094A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】 【目的】 メモリカートリッジが装着されていなくて
も、機能的で高レベルの動作を実行する電子装置を提供
する。 【構成】 CPU1は、メモリカートリッジ8の特定ア
ドレスのデータをアクセスすることで、メモリカートリ
ッジ8の装着/非装着を判定し、装着されている場合は
メモリカートリッジ8の所定アドレスから、非装着の場
合は内部ROM6の所定アドレスから、内部ROM6に
格納されたプログラムにしたがって、サウンドデータを
読出す。DEVO2は、読出されたサウンドデータに応
じて、ディジタルサウンド信号を出力する。
(57) [Abstract] [Purpose] To provide an electronic device that performs a functional and high-level operation even when a memory cartridge is not mounted. [Structure] The CPU 1 determines whether the memory cartridge 8 is mounted or not by accessing the data of a specific address of the memory cartridge 8, and when mounted, from the predetermined address of the memory cartridge 8 and when not mounted. Reads sound data from a predetermined address of the internal ROM 6 according to a program stored in the internal ROM 6. The DEVO 2 outputs a digital sound signal according to the read sound data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子装置およびメモリカ
ートリッジに関し、例えば、サウンドデータを記憶する
メモリカートリッジと、それを装着するスロットを備え
た電子装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device and a memory cartridge, for example, an electronic device having a memory cartridge for storing sound data and a slot for mounting the same.

【0002】[0002]

【従来の技術】従来、所定のスロットへメモリカートリ
ッジを装着すると、該メモリカートリッジに格納された
プログラムやデータが実行されるパーソナルコンピュー
タやゲームコンピュータなどの装置があった。
2. Description of the Related Art Conventionally, there have been devices such as personal computers and game computers in which a program or data stored in a memory cartridge is executed when the memory cartridge is mounted in a predetermined slot.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、次のような問題点があった。すなわち、上記
従来例においては、スロットへメモリカートリッジを装
着しない限り、プログラムやデータが実行されることは
なく、該メモリカートリッジが装着されていない装置
は、機能的な動作を何ら実行できないか、例え実行でき
たとしてもレベルの低い機能でしかなかった。
However, the above-mentioned conventional example has the following problems. That is, in the above-mentioned conventional example, programs and data are not executed unless a memory cartridge is installed in the slot, and it is not possible to execute a functional operation in a device in which the memory cartridge is not installed. Even if it could be executed, it was only a low-level function.

【0004】従って、これらの装置を購入しようとする
ユーザは、装置本体と同時にメモリカートリッジも購入
しなければならず、余分の出費を強いられた。また、こ
れらの装置を展示しようとする販売者は、これらの装置
の機能を説明するためには、メモリカートリッジを装置
本体に装着しておかなければならず、該メモリカートリ
ッジを盗まれる危険があった。
Therefore, a user who intends to purchase these devices has to purchase the memory cartridge at the same time as the main body of the device, which results in extra expense. In addition, a seller who wants to display these devices must have a memory cartridge installed in the main body of the device in order to explain the functions of these devices, and there is a risk of the memory cartridge being stolen. It was

【0005】[0005]

【課題を解決するための手段】本発明は、上記の課題を
解決するために、以下の構成を備える。すなわち、プロ
グラムにしたがって機能を実行する電子装置であって、
前記プログラムとデータとを格納する記憶手段と、前記
記憶手段に格納されたデータと異なるデータを格納した
記憶部を装着する装着手段と、前記装着手段の記憶部装
着状況を検出する検出手段と、前記検出手段の検出結果
に応じて前記記憶手段または前記装着手段に装着された
記憶部から前記記憶手段に格納されたプログラムにした
がってデータを読出す制御部と、前記制御部によって読
出されたデータを処理する処理部とを備えた電子装置に
する。
In order to solve the above-mentioned problems, the present invention comprises the following constitutions. That is, an electronic device that executes a function according to a program,
Storage means for storing the program and data, mounting means for mounting a storage part storing data different from the data stored in the storage means, and detection means for detecting a storage part mounting state of the mounting means, A control unit that reads data from the storage unit or a storage unit mounted on the mounting unit according to a detection result of the detection unit according to a program stored in the storage unit, and a data read by the control unit. An electronic device having a processing unit for processing.

【0006】また、プログラムにしたがって機能を実行
する電子装置に装着するメモリカートリッジであって、
前記電子装置によって処理される少なくとも1組のデー
タと、前記プログラムによって指示される特定のアドレ
スに該データの種類を示す特定のコードとを記憶するメ
モリカートリッジにする。
A memory cartridge mounted on an electronic device that executes a function according to a program,
The memory cartridge stores at least one set of data processed by the electronic device and a specific code indicating a type of the data at a specific address designated by the program.

【0007】[0007]

【作用】以上の構成によって、装着手段の記憶部装着状
況に応じて、記憶手段または該装着手段に装着された記
憶部から該記憶手段に格納されたプログラムにしたがっ
てデータを読出し、読出したデータを処理する電子装
置、および、電子装置によって処理されるデータと、該
電子装置のプログラムによって指示される特定のアドレ
スに該データの種類を示す特定のコードとを記憶するメ
モリカートリッジを提供できる。
With the above structure, the data is read from the storage means or the storage section mounted on the mounting means according to the program stored in the storage means according to the mounting status of the storage section of the mounting means, and the read data is read. An electronic device to be processed, data processed by the electronic device, and a memory cartridge storing a specific code indicating the type of the data at a specific address designated by a program of the electronic device can be provided.

【0008】例えば、以上の構成によって、メモリカー
トリッジが装着されていなくても、機能的で高レベルの
動作を実行する電子装置を提供できるので、装置本体と
同時にメモリカートリッジを購入する必要をなくして、
これらの装置を購入しようとするユーザの出費を低減す
ることができ、また、これらの装置の機能を説明するた
めにメモリカートリッジを装置本体に装着する必要をな
くして、これらの装置を展示する際の該メモリカートリ
ッジ盗難を防止することができる。
For example, with the above-described configuration, it is possible to provide an electronic device that performs a functional and high-level operation even if the memory cartridge is not mounted, so that it is not necessary to purchase the memory cartridge at the same time as the device body. ,
It is possible to reduce the expense of the user who purchases these devices, and it is not necessary to mount a memory cartridge in the device main body in order to explain the functions of these devices. It is possible to prevent the memory cartridge from being stolen.

【0009】[0009]

【実施例】以下、本発明にかかる一実施例の電子装置を
図面を参照して詳細に説明する。なお、以下の説明は、
電子楽器へ本発明を適用する具体例について説明する
が、本発明はこれに限定されるものではなく、本発明の
主旨を逸脱しない範囲で、種々の変形が実施できること
は明らかである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An electronic device according to an embodiment of the present invention will be described in detail below with reference to the drawings. In addition, the following explanation
A specific example of applying the present invention to an electronic musical instrument will be described, but the present invention is not limited to this, and it is obvious that various modifications can be made without departing from the gist of the present invention.

【0010】図1は本実施例の電子楽器の構成例を示す
ブロック図である。同図において、1はCPUで、例え
ば80C39などの公知のマイクロプロセッサであり、詳細
は後述するが、内部ROM6に格納されたプログラムに
従って、本実施例の動作を司る。2はディジタル音声P
CMチップ(以下「DEVO」という)で、後述するサ
ウンドデータをバッファリングし、サウンドデータに応
じた例えば8ビットのディジタル信号を出力する。な
お、DEVO2は、例えば、5ビットのプログラムバン
クレジスタ(不図示)と、8ビットのデータバンクレジ
スタ(不図示)とを備え、さらにデータをアクセスする
場合は、内蔵する2ビットカウンタ(不図示)のカウン
ト値をアドレス値のLSB側に加えてアドレスバス2a
へ出力する。
FIG. 1 is a block diagram showing a configuration example of the electronic musical instrument of this embodiment. In the figure, reference numeral 1 denotes a CPU, which is a well-known microprocessor such as 80C39, and the details of which will be described later govern the operation of this embodiment in accordance with a program stored in the internal ROM 6. 2 is digital voice P
A CM chip (hereinafter referred to as "DEVO") buffers sound data, which will be described later, and outputs, for example, an 8-bit digital signal corresponding to the sound data. The DEVO 2 includes, for example, a 5-bit program bank register (not shown) and an 8-bit data bank register (not shown). When accessing data, a built-in 2-bit counter (not shown) is provided. The count value of the address bus 2a is added to the LSB side of the address value.
Output to.

【0011】図2はメモリをアクセスするアドレス値の
構成例を示す図である。同図(a)に示すように、CP
U1は、メモリに格納されたプログラムコードにアクセ
スする場合は、予めDEVO2のプログラムバンクレジ
スタに格納した5ビットと、内蔵するプログラムカウン
タ(以下「PC」という)の11ビットとによって、1
6ビットのアドレス値を構成する。同様に、CPU1
は、メモリに格納されたデータにアクセスする場合は、
予めDEVO2のデータバンクレジスタに格納した8ビ
ットと、データバスポートDBから出力する8ビット
と、DEVO2がLSB側へ付加する2つのビット(bi
t0,bit1)とによって、18ビットのアドレス値を構成
する。従って、CPU1は、DEVO2を通して、16
ビットのアドレス空間(64Kバイト)に格納されたプロ
グラムコードと、18ビットのアドレス空間(256Kバイ
ト)に格納されたデータとへ、それぞれアクセスするこ
とができる。なお、プログラムコードへのアクセスとデ
ータへのアクセスの切替えは、ラッチ10によって、C
PU1から出力されたアドレスラッチイネーブル信号AL
Eをラッチして、DEVO2へ供給することによって行
う。
FIG. 2 is a diagram showing a configuration example of address values for accessing the memory. As shown in FIG.
When accessing the program code stored in the memory, U1 uses the 5 bits previously stored in the program bank register of DEVO2 and the 11 bits of the built-in program counter (hereinafter referred to as “PC”) to set 1
Construct a 6-bit address value. Similarly, CPU1
To access the data stored in memory,
8 bits stored in advance in the data bank register of DEVO2, 8 bits output from the data bus port DB, and 2 bits added by DEVO2 to the LSB side (bi
t0, bit1) form an 18-bit address value. Therefore, the CPU 1 receives 16 through the DEVO 2.
The program code stored in the bit address space (64 Kbytes) and the data stored in the 18 bit address space (256 Kbytes) can be accessed respectively. It should be noted that the switching between the access to the program code and the access to the data is performed by the latch 10 by the C
Address latch enable signal AL output from PU1
This is done by latching E and supplying it to DEVO2.

【0012】なお、DEVO2がLSB側へ2つのビッ
ト(bit0,bit1)を付加するのは、CPU1によるデー
タアクセスを簡易化するためである。すなわち、各デー
タの開始を4の倍数のアドレス値に一致(つまり開始ア
ドレスのLSB側の2つのビットは‘0’)させること
によって、データのアドレスを合計16ビットで指示す
ることができ、8ビットのデータバスポートDBを備え
たCPU1には好都合になる。
The DEV0 2 adds two bits (bit 0, bit 1) to the LSB side in order to simplify the data access by the CPU 1. That is, by matching the start of each data with an address value that is a multiple of 4 (that is, the two bits on the LSB side of the start address are “0”), the address of the data can be designated by a total of 16 bits. It is convenient for the CPU 1 with the bit data bus port DB.

【0013】再び図1において、3はD/A変換器、4
は増幅器、5はスピーカで、DEVO2から出力された
ディジタル信号は、D/A変換器3でアナログ信号に変
換され、増幅器4で増幅された後、スピーカ5によって
再生演奏される。なお、本実施例において、増幅器4と
スピーカ5とは必ずしも必要ではなく、D/A変換器3
から出力されたアナログ信号を外部のオーディオアンプ
などへ送って、再生演奏することもできる。
Referring again to FIG. 1, 3 is a D / A converter, 4
The amplifier 5 is a speaker, and the digital signal output from the DEVO 2 is converted into an analog signal by the D / A converter 3, amplified by the amplifier 4, and then reproduced and played by the speaker 5. In the present embodiment, the amplifier 4 and the speaker 5 are not always necessary, and the D / A converter 3
The analog signal output from the can be sent to an external audio amplifier or the like for playback and performance.

【0014】6は内部ROMで、例えば128Kバイトのメ
モリ容量を備え、CPU1によって実行されるプログラ
ムコードと、DEVO2によって特定のサウンドを再生
演奏するサウンドデータとを記憶する。なお、内部RO
M6には、異なる複数のサウンドのサウンドデータが記
憶されていて、ユーザは、CPU1に接続された選択ス
イッチ(不図示)によって、所望のサウンドを選択する
ことができる。
An internal ROM 6 has a memory capacity of, for example, 128 Kbytes, and stores the program code executed by the CPU 1 and the sound data for reproducing and playing a specific sound by the DEVO 2. The internal RO
The sound data of a plurality of different sounds is stored in the M6, and the user can select a desired sound with a selection switch (not shown) connected to the CPU 1.

【0015】7はメモリスロットで、DEVO2によっ
て複数のサウンドデータを記憶した例えば128KバイトR
OMのメモリカートリッジ8を装着するためのものであ
る。なお、メモリカートリッジ8と内部ROM6とは、
通常、異なるサウンドデータが記憶されている。なお、
図3は内部ROM6とメモリカートリッジ8のマッピン
グの一例を示す図で、内部ROM6は‘0x0000’(16進
数)から‘0x1FFFF’に、メモリカートリッジ8は‘0x2
0000’から‘0x3FFFF’にそれぞれマッピングされてい
る。また、内部ROM6とメモリカートリッジ8の切替
については後述する。
Reference numeral 7 denotes a memory slot, which stores a plurality of sound data by DEVO2, for example, 128 Kbytes R
This is for mounting the OM memory cartridge 8. The memory cartridge 8 and the internal ROM 6 are
Usually, different sound data is stored. In addition,
FIG. 3 is a diagram showing an example of mapping between the internal ROM 6 and the memory cartridge 8. The internal ROM 6 is changed from “0x0000” (hexadecimal number) to “0x1FFFF”, and the memory cartridge 8 is changed to “0x2”.
It is mapped from 0000 'to' 0x3FFFF 'respectively. Switching between the internal ROM 6 and the memory cartridge 8 will be described later.

【0016】9はデコーダで、その入力側に接続された
演奏用のキーボードなどを構成する複数のスイッチ(例
えば16個)から入力された信号を所定ビット数(例え
ば4ビット)の信号に変換して、CPU1へ送る。デコ
ーダ9から信号を入力されたCPU1は、その信号の状
態、つまりキーボードの操作状況に応じて、内部ROM
6(またはメモリカートリッジ8)のリードアドレスを
制御して、DEVO2から出力されるディジタル信号に
変化を与える。従って、ユーザがキーボードなどを操作
すると、本実施例は、その操作に応じて演奏中のサウン
ドに色付け(例えばリフやパーカションを加える)を行
う。
Denoted at 9 is a decoder for converting a signal inputted from a plurality of switches (for example, 16 switches) constituting a keyboard for performance connected to the input side thereof into a signal having a predetermined number of bits (for example 4 bits). And sends it to the CPU 1. The CPU 1, which receives the signal from the decoder 9, receives the signal from the decoder 9, that is, the internal ROM depending on the state of the operation of the keyboard.
The read address of 6 (or the memory cartridge 8) is controlled to change the digital signal output from DEVO2. Therefore, when the user operates the keyboard or the like, in the present embodiment, the sound being played is colored (for example, riff or percussion is added) according to the operation.

【0017】次に、本実施例の動作の概要を説明する。
通常の動作において、CPU1は、内部ROM6の所定
アドレスからプログラムを読出して、該プログラムに指
示された内部ROM6(またはメモリカートリッジ8)
のアドレスからサウンドデータを読出す。該サウンドデ
ータはDEVO2にバッファリングされて、該サウンド
データに応じたサウンドが再生演奏される。
Next, an outline of the operation of this embodiment will be described.
In normal operation, the CPU 1 reads a program from a predetermined address of the internal ROM 6 and the internal ROM 6 (or the memory cartridge 8) instructed by the program.
Read sound data from the address. The sound data is buffered in DEVO2, and a sound corresponding to the sound data is reproduced and played.

【0018】さらに、CPU1は、デコーダ9から信号
が入力されると、該信号に応じて実行中のプログラムに
指示された内部ROM6(またはメモリカートリッジ
8)のアドレスから、サウンドデータを読出すので、ユ
ーザのキーボード操作などに応じたサウンドが再生演奏
される。次に、内部ROM6とメモリカートリッジ8の
切替について説明する。
Further, when a signal is input from the decoder 9, the CPU 1 reads the sound data from the address of the internal ROM 6 (or the memory cartridge 8) designated by the program being executed in response to the signal, A sound is played and played according to the user's keyboard operation. Next, switching between the internal ROM 6 and the memory cartridge 8 will be described.

【0019】本実施例はメモリスロット7にメモリカー
トリッジ8が挿入されている場合、メモリカートリッジ
8に格納されたサウンドデータの再生演奏を優先する。
つまり、本実施例は、起動時にメモリカートリッジ8の
存在を確認すると、メモリカートリッジ8のサウンドデ
ータにアクセスし、また、起動時にメモリカートリッジ
8の存在を確認できなかった場合は、内部ROM6のサ
ウンドデータにアクセスする。
In the present embodiment, when the memory cartridge 8 is inserted in the memory slot 7, the reproduction performance of the sound data stored in the memory cartridge 8 is given priority.
That is, in this embodiment, when the existence of the memory cartridge 8 is confirmed at the time of startup, the sound data of the memory cartridge 8 is accessed, and when the existence of the memory cartridge 8 cannot be confirmed at the time of startup, the sound data of the internal ROM 6 is accessed. To access.

【0020】図4は内部ROM6とメモリカートリッジ
8との切替手順の一例を説明するフローチャートで、本
実施例の電源スイッチがオンになるとCPU1によって
実行されるものである。同図において、CPU1は、ス
テップS1でCPU1やDEVO2内の各レジスタなど
の初期化を行い、ステップS2でDEVO2のプログラ
ムバンクレジスタに‘0x00’を設定し、ステップS3で
例えばメモリバンクを切替ることによって該プログラム
バンクレジスタをイネーブルにする。
FIG. 4 is a flow chart for explaining an example of a switching procedure between the internal ROM 6 and the memory cartridge 8, which is executed by the CPU 1 when the power switch of this embodiment is turned on. In the figure, the CPU1 initializes the CPU1 and each register in the DEVO2 in step S1, sets "0x00" in the program bank register of the DEVO2 in step S2, and switches the memory bank, for example, in step S3. Enable the program bank register.

【0021】続いて、CPU1は、ステップS4で割込
みを許可する。なお、該割込みは本実施例を複数台用意
して、同時に共通のベースサウンドを再生演奏する場合
の同期をとるためなどに使用する。続いて、CPU1
は、ステップS5でDEVO2のデータバンクレジスタ
に‘0x80’を設定した後、ステップS6で、データポー
トから‘0x05’を出力することによって、ロケーション
5(アドレス‘0x20014’)のデータを読込む。
Subsequently, the CPU 1 permits the interruption in step S4. Note that the interrupt is used to prepare a plurality of the present embodiments and synchronize them when reproducing a common bass sound at the same time. Then, CPU1
Sets "0x80" in the data bank register of DEVO2 in step S5, and then outputs "0x05" from the data port in step S6 to read the data in location 5 (address "0x20014").

【0022】続いて、CPU1は、ステップS7で、読
込んだデータを判定して、該データが‘0x54’であれば
ステップS8へ進み、また、該データが‘0x54’でなけ
ればステップS13へ進む。すなわち、アドレス‘0x20
014’はメモリカートリッジ8の空間を指し、該アドレ
スから読込んだデータが‘0x54’であれば、メモリカー
トリッジ8が有ると判断する。
Subsequently, the CPU 1 determines the read data in step S7, and if the data is "0x54", the process proceeds to step S8. If the data is not "0x54", the process proceeds to step S13. move on. That is, address' 0x20
014 'indicates the space of the memory cartridge 8, and if the data read from the address is "0x54", it is determined that the memory cartridge 8 exists.

【0023】メモリカートリッジ8が有ると判断した場
合、CPU1は、ステップS8で、データポートから
‘0x00’を出力してロケーション0(アドレス‘0x2000
0’)のデータを読込み、ステップS9で、読込んだデ
ータを判定して、該データが‘0x4E’であればステップ
S14へ進み、また、該データが‘0x4E’でなければス
テップS10へ進む。すなわち、アドレス‘0x20000’
はメモリカートリッジ8の空間を指し、該アドレスから
読込んだデータが‘0x4E’であれば、メモリカートリッ
ジ8は試験用であると判断する。なお、試験用のメモリ
カートリッジ8は、本実施例の製造終了時における動作
確認などに使用するもので、ステップS14で、CPU
1は試験手順を実行する。
When it is determined that the memory cartridge 8 is present, the CPU 1 outputs "0x00" from the data port and outputs the location 0 (address "0x2000" in step S8).
0 ') data is read, the read data is determined in step S9, and if the data is'0x4E', the process proceeds to step S14. If the data is not '0x4E', the process proceeds to step S10. . That is, address '0x20000'
Indicates the space of the memory cartridge 8, and if the data read from the address is “0x4E”, it is determined that the memory cartridge 8 is for testing. The test memory cartridge 8 is used for confirming the operation at the end of manufacturing of this embodiment.
1 executes the test procedure.

【0024】メモリカートリッジ8が試験用でなかった
場合、CPU1は、ステップS10で、再びステップS
8で読込んだデータを判定して、該データが‘0x6E’で
あればステップS11へ進み、また、該データが‘0x6
E’でなければステップS13へ進む。すなわち、ステ
ップS8で読込んだデータが‘0x6E’であれば、サウン
ドデータが格納されたメモリカートリッジ8であると判
断し、また、それ以外のデータであれば正規のメモリカ
ートリッジ8ではないと判断する。すなわち、正規のメ
モリカートリッジ8でなかった場合、CPU1は内部R
OM6に格納されたサウンドデータを使用する。
If the memory cartridge 8 is not for testing, the CPU 1 returns to step S10 in step S10.
The data read in 8 is judged, and if the data is '0x6E', the process proceeds to step S11, and if the data is '0x6E'.
If not E ', the process proceeds to step S13. That is, if the data read in step S8 is '0x6E', it is determined that the memory cartridge 8 stores sound data, and if it is other data, it is determined that the memory cartridge 8 is not a regular memory cartridge 8. To do. That is, if the memory cartridge 8 is not a proper memory cartridge 8, the CPU 1
The sound data stored in OM6 is used.

【0025】サウンドデータが格納されたメモリカート
リッジ8であった場合、CPU1は、ステップS11で
DEVO2のプログラムバンクレジスタに‘0x10’を設
定し、ステップS12でデータポートへ‘0x10’を出力
する。すなわち、CPU1は、ステップS15で、内部
ROM6のアドレス‘0x8000’以降に格納されたプログ
ラムコードにしたがって、メモリカートリッジ8のロケ
ーション16(アドレス‘0x20040’)以降に格納され
たサウンドデータを読出し、DEVO2は該サウンドデ
ータによって再生演奏を行う。
If the memory cartridge 8 stores sound data, the CPU 1 sets "0x10" in the program bank register of the DEVO 2 in step S11, and outputs "0x10" to the data port in step S12. That is, in step S15, the CPU 1 reads the sound data stored at the location 16 (address '0x20040') or later of the memory cartridge 8 according to the program code stored at the address '0x8000' or later of the internal ROM 6, and the DEVO 2 reads Playback performance is performed according to the sound data.

【0026】また、ステップ13に進んだ場合、CPU
1はDEVO2のデータバンクレジスタに‘0x0D’をセ
ットする。すなわち、CPU1は、ステップS15で、
内部ROM6のアドレス‘0x0000’以降に格納されたプ
ログラムコードにしたがって、内部ROM6のアドレス
‘0x3400’以降に格納されたサウンドデータを読出し、
DEVO2は該サウンドデータによって再生演奏を行
う。
If the process proceeds to step 13, the CPU
1 sets "0x0D" in the data bank register of DEVO2. That is, the CPU 1 at step S15
According to the program code stored in the internal ROM 6 at addresses '0x0000' and later, the sound data stored in the internal ROM 6 at addresses '0x3400' and later are read out,
The DEVO 2 performs a reproduction performance by the sound data.

【0027】なお、上記の説明および図において、特定
のアドレスやデータを示して説明を行ったが、本実施例
はこれに限定されるものではなく、任意のアドレスやデ
ータを設定できることはいうまでもない。以上説明した
ように、本実施例によれば、メモリカートリッジ8が装
着されていない場合は、内部ROM6に格納されたサウ
ンドデータを再生演奏し、さらに、メモリカートリッジ
8が装着された場合は、これを自動的に検出して、メモ
リカートリッジ8に格納されたサウンドデータを再生演
奏する電子楽器などの電子装置を提供できる。
In the above description and drawings, specific addresses and data have been shown, but this embodiment is not limited to this, and it goes without saying that arbitrary addresses and data can be set. Nor. As described above, according to the present embodiment, when the memory cartridge 8 is not mounted, the sound data stored in the internal ROM 6 is reproduced and played, and when the memory cartridge 8 is mounted, the sound data is reproduced. It is possible to provide an electronic device such as an electronic musical instrument that automatically detects the sound and reproduces and plays the sound data stored in the memory cartridge 8.

【0028】[0028]

【発明の効果】以上、本発明によれば、装着手段の記憶
部装着状況に応じて、記憶手段または該装着手段に装着
された記憶部から該記憶手段に格納されたプログラムに
したがってデータを読出し、読出したデータを処理する
電子装置、および電子装置によって処理されるデータ
と、該電子装置のプログラムによって指示される特定の
アドレスに該データの種類を示す特定のコードとを記憶
するメモリカートリッジとを提供でき、例えば、メモリ
カートリッジが装着されていなくても、機能的で高レベ
ルの動作を実行する電子装置を提供できるので、装置本
体と同時にメモリカートリッジを購入する必要をなくし
て、これらの装置を購入しようとするユーザの出費を低
減したり、また、これらの装置の機能を説明するために
メモリカートリッジを装置本体に装着する必要をなくし
て、これらの装置を展示する際の該メモリカートリッジ
盗難を防止するなどの効果がある。
As described above, according to the present invention, the data is read from the storage unit or the storage unit mounted on the mounting unit according to the program stored in the storage unit according to the mounting state of the storage unit of the mounting unit. An electronic device for processing the read data, and a memory cartridge for storing the data processed by the electronic device and a specific code indicating the type of the data at a specific address indicated by a program of the electronic device. Since it is possible to provide an electronic device that performs a functional and high-level operation even if the memory cartridge is not installed, it is possible to provide these devices without the need to purchase the memory cartridge at the same time as the device main body. Memory cartridges to reduce spending on purchasing users and to explain the features of these devices Eliminating the need to attached to the main body, there are effects such as preventing the memory cartridge theft when Display these devices.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明にかかる一実施例の電子楽器の構成例を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of an electronic musical instrument according to an embodiment of the present invention.

【図2】本実施例のメモリをアクセスするアドレス値の
構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of an address value for accessing a memory of this embodiment.

【図3】本実施例の内部ROMとメモリカートリッジの
マッピングの一例を示す図である。
FIG. 3 is a diagram showing an example of mapping between an internal ROM and a memory cartridge of this embodiment.

【図4】本実施例の内部ROMとメモリカートリッジと
の切替手順の一例を説明するフローチャートである。
FIG. 4 is a flowchart illustrating an example of a switching procedure between an internal ROM and a memory cartridge according to the present exemplary embodiment.

【符号の説明】[Explanation of symbols]

1 CPU 2 ディジタル音声PCMチップ(DEVO) 3 D/A変換器 4 増幅器 5 スピーカ 6 内部ROM 7 メモリスロット 8 メモリカートリッジ 9 デコーダ 10 ラッチ 1 CPU 2 Digital Audio PCM Chip (DEVO) 3 D / A Converter 4 Amplifier 5 Speaker 6 Internal ROM 7 Memory Slot 8 Memory Cartridge 9 Decoder 10 Latch

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G11C 27/00 C 6866−5L (72)発明者 スティーブン ピー. キャプス アメリカ合衆国 カリフォルニア州 94062 ウッドサイド, ロバータ ドラ イブ 125, ノイズ トイズ インク内 (72)発明者 レイモンド エイチ. デュフロン アメリカ合衆国 カリフォルニア州 94062 ウッドサイド, ロバータ ドラ イブ 125, ノイズ トイズ インク内 (72)発明者 エドガー エヌ. ボギャス アメリカ合衆国 カリフォルニア州 94062 ウッドサイド, ロバータ ドラ イブ 125, ノイズ トイズ インク内Continuation of the front page (51) Int.Cl. 5 Identification number Office reference number FI Technical indication location G11C 27/00 C 6866-5L (72) Inventor Stephen P. Caps, USA 94062 Roberta Drive 125, Woodside, Noise Toys, Inc. (72) Inventor Raymond H. Duflon, USA 94062 Woodside, Roberta Drive 125, Noise Toys, Inc. (72) Inventor Edgar N. Bogas United States California 94062 Woodside, Roberta Drive 125, Noise Toys Inc.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プログラムにしたがって機能を実行する
電子装置であって、 前記プログラムとデータとを格納する記憶手段と、 前記記憶手段に格納されたデータと異なるデータを格納
した記憶部を装着する装着手段と、 前記装着手段の記憶部装着状況を検出する検出手段と、 前記検出手段の検出結果に応じて前記記憶手段または前
記装着手段に装着された記憶部から前記記憶手段に格納
されたプログラムにしたがってデータを読出す制御部
と、 前記制御部によって読出されたデータを処理する処理部
とを有することを特徴とする電子装置。
1. An electronic device for executing a function according to a program, comprising: a storage unit that stores the program and data; and a mounting unit that stores a storage unit that stores data different from the data stored in the storage unit. A storage unit of the mounting unit, a detection unit for detecting a mounting state of the storage unit, and a program stored in the storage unit from the storage unit or the storage unit mounted in the mounting unit according to a detection result of the detection unit. Therefore, an electronic device having a control unit for reading data and a processing unit for processing the data read by the control unit.
【請求項2】 前記検出手段は記憶部の特定アドレスの
データにアクセスすることによって前記装着手段に前記
記憶部が装着されているか否かを判定することを特徴と
する請求項1記載の電子装置。
2. The electronic device according to claim 1, wherein the detection unit determines whether or not the storage unit is attached to the attachment unit by accessing data at a specific address of the storage unit. .
【請求項3】 前記検出手段は記憶部の特定アドレスの
データにアクセスすることによって前記装着手段に記憶
部が装着されているか否かと装着された記憶部の種類と
を判定することを特徴とする請求項1記載の電子装置。
3. The detection means determines whether or not the storage means is attached to the attachment means and the type of the attached storage portion by accessing data of a specific address of the storage portion. The electronic device according to claim 1.
【請求項4】 前記制御部は、 前記検出手段によって前記装着手段に前記記憶部が装着
されていると判定された場合は該記憶部からデータを読
出し、 前記判定手段によって前記装着手段に前記記憶部が装着
されていないと判定された場合は前記記憶手段からデー
タを読出すことを特徴とする請求項2または請求項3記
載の電子装置。
4. The control unit reads data from the storage unit when the detecting unit determines that the storage unit is attached to the mounting unit, and the determination unit stores the data in the mounting unit. 4. The electronic device according to claim 2, wherein when it is determined that the unit is not attached, the data is read from the storage unit.
【請求項5】 前記処理手段は前記制御手段によって読
出されたデータを処理してディジタルサウンド信号を出
力することを特徴とする請求項1または請求項4記載の
電子装置。
5. The electronic device according to claim 1, wherein the processing means processes the data read by the control means and outputs a digital sound signal.
【請求項6】 前記記憶部はメモリカートリッジである
ことを特徴とする請求項1から請求項5の何れかに記載
の電子装置。
6. The electronic device according to claim 1, wherein the storage unit is a memory cartridge.
【請求項7】 プログラムにしたがって機能を実行する
電子装置に装着するメモリカートリッジであって、 前記電子装置によって処理される少なくとも1組のデー
タと、前記プログラムによって指示される特定のアドレ
スに前記データの種類を示す特定のコードとを記憶する
ことを特徴とするメモリカートリッジ。
7. A memory cartridge mounted on an electronic device that performs a function according to a program, the at least one set of data being processed by the electronic device, and the data at a specific address designated by the program. A memory cartridge, which stores a specific code indicating a type.
【請求項8】 前記特定のコードがサウンドデータを示
す場合、前記電子装置は前記データを読出して処理する
ことによってディジタルサウンド信号を出力することを
特徴とする請求項7記載のメモリカートリッジ。
8. The memory cartridge according to claim 7, wherein when the specific code indicates sound data, the electronic device outputs a digital sound signal by reading and processing the data.
【請求項9】 前記データの開始アドレスは4の倍数に
一致することを特徴とする請求項7または請求項8記載
のメモリカートリッジ。
9. The memory cartridge according to claim 7, wherein the start address of the data matches a multiple of 4.
JP5098175A 1993-04-23 1993-04-23 Electronic apparatus and memory cartridge Pending JPH06314094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5098175A JPH06314094A (en) 1993-04-23 1993-04-23 Electronic apparatus and memory cartridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5098175A JPH06314094A (en) 1993-04-23 1993-04-23 Electronic apparatus and memory cartridge

Publications (1)

Publication Number Publication Date
JPH06314094A true JPH06314094A (en) 1994-11-08

Family

ID=14212709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5098175A Pending JPH06314094A (en) 1993-04-23 1993-04-23 Electronic apparatus and memory cartridge

Country Status (1)

Country Link
JP (1) JPH06314094A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61179514A (en) * 1984-08-20 1986-08-12 Hitachi Ltd Single-phase on-load tap changing transformer
JPS62273691A (en) * 1986-05-22 1987-11-27 Canon Inc Electronic apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61179514A (en) * 1984-08-20 1986-08-12 Hitachi Ltd Single-phase on-load tap changing transformer
JPS62273691A (en) * 1986-05-22 1987-11-27 Canon Inc Electronic apparatus

Similar Documents

Publication Publication Date Title
US5252775A (en) Automatically up-dated apparatus for generating music
JP4470242B2 (en) Semiconductor memory card
JP3133106B2 (en) Microprocessor control unit
CA2049300C (en) Digital sound source device and external memory cartridge used therefor
JPH10133762A (en) Computer with soft selection function
WO2000013089A1 (en) Storage, processor, and processing method
US6891955B1 (en) Audio volume control for computer systems
JPH06314094A (en) Electronic apparatus and memory cartridge
US5911031A (en) IC card memory for recording and reproducing audio and/or video data concurrently or separately and a control method thereof
EP0920013B1 (en) A combined set for digital audio distribution
JP4655545B2 (en) Memory card and playback device
US7685592B2 (en) Method and device for updating program functions corresponding to a version flag
JP2950461B2 (en) Tone generator
JP3323877B2 (en) Sound generation control device
JP2608631B2 (en) How to secure audio equipment
KR0124612B1 (en) Processing apparatus and method for caption and accompaniment music in karaoke system
JPH0721700A (en) Error correction memory device
JP2003050746A (en) Device and method for protecting copyright in personal computer
US20030058748A1 (en) Interface apparatus that can reproduce audio data by itself
KR0175553B1 (en) Integrated education device using compact disk and its implementation method
JP2003044057A (en) Music score distribution system and music score distribution method
JP2006065505A (en) Memory card and playback device
JPH0122157Y2 (en)
HK1021848B (en) A combined set for digital audio distribution
KR970029008A (en) Computer system with voice password function and control method thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19961022