Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3131849B2 - Digital recorder - Google Patents
[go: Go Back, main page]

JP3131849B2 - Digital recorder - Google Patents

Digital recorder

Info

Publication number
JP3131849B2
JP3131849B2 JP03308425A JP30842591A JP3131849B2 JP 3131849 B2 JP3131849 B2 JP 3131849B2 JP 03308425 A JP03308425 A JP 03308425A JP 30842591 A JP30842591 A JP 30842591A JP 3131849 B2 JP3131849 B2 JP 3131849B2
Authority
JP
Japan
Prior art keywords
data
address
buffer
dma
transfer
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 - Fee Related
Application number
JP03308425A
Other languages
Japanese (ja)
Other versions
JPH05120846A (en
Inventor
宣男 飯塚
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP03308425A priority Critical patent/JP3131849B2/en
Publication of JPH05120846A publication Critical patent/JPH05120846A/en
Application granted granted Critical
Publication of JP3131849B2 publication Critical patent/JP3131849B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、音声信号等をデジタル
的に記録再生、更には、編集することが可能なデジタル
レコーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital recorder capable of digitally recording and reproducing an audio signal and the like, and further, capable of editing.

【0002】[0002]

【従来の技術】音声信号等を記録するのに大容量のハー
ドディスクや光磁気ディスク等の外部記録装置を用いる
ことが提案されている(例えば、本件出願人による特願
平2−123788号等)。この場合、音声信号は、A
/D変換器によりアナログ信号からデジタル信号に変換
され、一旦バッファメモリに記憶される。バッファメモ
リに記憶されたデジタルデータは、所定のタイミングで
ハードディスクに転送され、記録される。一方、読み出
し時においてもハードディスクから読み出されたデジタ
ルデータは、一旦バッファメモリに記憶され、所定のタ
イミングでバッファメモリから読み出され、D/A変換
器に入力される。D/A変換器によりデジタル信号から
アナログ信号に変換された音声信号は、スピーカ等に供
給される。ハードディスクのアクセスアドレスを制御す
ることにより、高度で柔軟な編集機能を有する装置を実
現することが出来る。
2. Description of the Related Art It has been proposed to use an external recording device such as a large-capacity hard disk or a magneto-optical disk for recording an audio signal or the like (for example, Japanese Patent Application No. 2-123788 by the present applicant). . In this case, the audio signal is A
The signal is converted from an analog signal to a digital signal by the / D converter, and is temporarily stored in the buffer memory. The digital data stored in the buffer memory is transferred and recorded on a hard disk at a predetermined timing. On the other hand, even at the time of reading, digital data read from the hard disk is temporarily stored in the buffer memory, read from the buffer memory at a predetermined timing, and input to the D / A converter. The audio signal converted from a digital signal to an analog signal by the D / A converter is supplied to a speaker or the like. By controlling the access address of the hard disk, an apparatus having an advanced and flexible editing function can be realized.

【0003】[0003]

【発明が解決しようとする課題】この様な装置を低コス
トで実現するには、ディスクアクセスのオーバーヘッド
を吸収するためのバッファメモリとしてのRAMを少し
でも小容量のものにする必要がある。一方、編集時にお
いて、例えば、きわめて短い時間間隔で多数回数ルーピ
ング再生の指定を行うと、ディスクアクセスが頻繁に行
われるため、余り小容量のバッファメモリではディスク
アクセスのオーバーヘッドを吸収することが出来ず、デ
ーター転送が間に合わなくなって、再生中に音とび等の
不都合が生じるという課題があった。
In order to realize such an apparatus at low cost, it is necessary to make the RAM as a buffer memory for absorbing the overhead of disk access at least a small capacity. On the other hand, during editing, for example, if a large number of looping playbacks are specified at extremely short time intervals, disk access is frequently performed, so a buffer memory with a very small capacity cannot absorb the disk access overhead. However, there has been a problem that data transfer cannot be made in time, causing inconveniences such as skipping of sound during reproduction.

【0004】特に外部記憶装置として、例えばハードデ
ィスクと光磁気ディスク等の異なるメディアを用いた場
合(ハードディスクの方が高速であり、光磁気ディスク
の方が低速である)には、それぞれのディスクに対する
転送レートの違いがあるので、バッファメモリの容量を
画一化することは困難である。特に、マルチトラック構
成のとき、各トラックがそれぞれハードディスク、光磁
気ディスクに固定化されておれば、それぞれ最適長のバ
ッファメモリを使用すればよいのであるが、各トラック
とメディアとを固定的に対応せず、さらにひとつのトラ
ック再生時にも異なるメディアをランダムアクセスする
ようにしたときは、リアルタイムで、最適長のバッファ
メモリを使用しないといけない。
[0004] In particular, when different media such as a hard disk and a magneto-optical disk are used as the external storage device (the hard disk is faster and the magneto-optical disk is slower), transfer to each disk is performed. Because of the difference in rates, it is difficult to standardize the capacity of the buffer memory. In particular, in the case of a multi-track configuration, if each track is fixed to a hard disk or a magneto-optical disk, respectively, it is only necessary to use a buffer memory of an optimum length, but each track is fixedly associated with a medium. When a different medium is randomly accessed even when one track is reproduced, a buffer memory having an optimal length must be used in real time.

【0005】また、編集時においては、オーバーヘッド
を吸収することが出来る編集であるのかどうかを判定す
ることが出来ず、実際に音を出して聞いてみた結果、オ
ーバーヘッドが吸収されていないと判定された場合、編
集操作を再度やり直さなければならない課題があった。
Also, at the time of editing, it is not possible to determine whether the editing is capable of absorbing the overhead, and as a result of actually listening to the sound, it is determined that the overhead is not absorbed. In such a case, there was a problem that the editing operation had to be performed again.

【0006】本発明は、この様な状況に鑑みて成された
もので、転送レートの異なる複数の外部記憶装置を用い
て記録動作と再生動作とを繰り返す編集作業を行う際の
オーバーヘッドを吸収する適切なバッファ容量を確保す
ることができるデジタルレコーダを提供することを目的
としている。
The present invention has been made in view of such circumstances, and uses a plurality of external storage devices having different transfer rates.
When performing editing work where recording and playback operations are repeated
Ensure adequate buffer capacity to absorb overhead
To provide a digital recorder that can
And

【0007】[0007]

【課題を解決するための手段】本発明は、入力データを
一時記憶手段に格納しつつ、当該一時記憶手段に格納さ
れた入力データを外部記録手段に転送して記録する一
方、この外部記録手段から読み出される記録データを一
時記憶手段に格納しつつ、当該一時記憶手段から記録デ
ータを読み出して再生するデジタルレコーダにおいて、
再生時には前記一時記憶手段の総記憶容量に占める読み
出し待ちの記録データ量から当該一時記憶手段の有効容
量を判定し、記録時には前記一時記憶手段の総記憶容量
に占める入力データ量から当該一時記憶手段の有効容量
を判定する判定手段と、この判定手段により判定された
有効容量に応じて、前記一時記憶手段に新たな記憶領域
をアドレッシングする割当手段とを備えることを特徴と
する。
According to the present invention , input data is
While storing in the temporary storage means,
Transfer the input data to external recording means for recording
On the other hand, the recording data read from the external recording
While storing in the time storage means, the recording data is stored from the temporary storage means.
In a digital recorder that reads and plays back data,
At the time of reproduction, the reading of the total storage capacity of the temporary storage
The effective capacity of the temporary storage means is
The amount is determined, and at the time of recording, the total storage capacity of the temporary storage means
From the amount of input data to the effective capacity of the temporary storage means
Determining means for determining
A new storage area in the temporary storage means according to the effective capacity.
Allocating means for addressing

【0008】[0008]

【0009】[0009]

【0010】[0010]

【作用】本発明によれば、再生時には読み出し待ちの記
録データ量から一時記憶手段の有効容量を、記録時には
入力データ量から一時記憶手段の有効容量を判定し、判
定された有効容量に応じて一時記憶手段に新たな記憶領
域をアドレッシングするので、一時記憶手段の記憶領域
を動的に変化させた有効利用が実現し、これにより転送
レートの異なる複数の外部記憶装置を用いて記録動作と
再生動作とを繰り返す編集作業を行う際のオーバーヘッ
ドを吸収する適切なバッファ容量を確保することが可能
になる。
According to the present invention, a record waiting to be read during reproduction is stored.
From the amount of recorded data, the effective capacity of the temporary storage means
Determine the effective capacity of the temporary storage means from the input data amount,
New storage area in temporary storage means according to the specified effective capacity
Addressing the storage area of the temporary storage means
Is effectively changed by dynamically changing
Recording operation using multiple external storage devices with different rates
Overhead when performing editing work that repeats the playback operation
It is possible to secure the appropriate buffer capacity to absorb the buffer
become.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【実施例】以下、この発明のデジタルレコーダの好適な
実施例を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the digital recorder according to the present invention will be described below with reference to the drawings.

【0014】〈全体構成〉図1は、本発明のデジタルレ
コーダの一実施例の全体構成を示しており、この実施例
においては、同時に3トラックまでの録音、再生動作が
出来るようになっている。全体は、図示のとおり、CP
U部(図中左側の部分)と、DMAユニット(音声記録
再生処理装置)(図中右側の部分)とにわかれる。
<Overall Configuration> FIG. 1 shows the overall configuration of an embodiment of a digital recorder according to the present invention. In this embodiment, recording and playback operations for up to three tracks can be performed simultaneously. . The whole is CP as shown
It is divided into a U part (left part in the figure) and a DMA unit (audio recording / reproducing processing device) (right part in the figure).

【0015】CPU部は、CPU1と、このCPU1の
動作を規定するプログラム(詳細は後述)を記憶したプ
ログラムROM2と、各種データを記憶するエリア、3
トラックのカレントポインタを記憶するエリア、ならび
にワークエリア等を含むRAM3と、CPU1のI/O
ポートに接続された周辺機器である各種ファンクション
キー、データ入力キー等を含むキーボード4、CRTあ
るいはLCDとそのドライバを含み各種表示を行う表示
装置5とを有する。
The CPU section includes a CPU 1, a program ROM 2 storing a program (to be described in detail later) for defining the operation of the CPU 1, an area storing various data,
A RAM 3 including an area for storing a current pointer of a track, a work area, and the like;
It has a keyboard 4 including various function keys and data input keys as peripheral devices connected to the port, a display device 5 including a CRT or LCD and its driver and performing various displays.

【0016】CPU1は、後述するようにリアルタイム
動作時(録音/再生等)において、DMAユニットのア
ドレスバス、データバスの空き時間に、必要に応じてD
MAユニットの各構成要素の制御を行ない、編集時にお
いて、データブロックの並べ換えや、ディスクアクセス
ポインタの操作等を行なう。キーボード4からは、後述
するように、各トラック(以下、Trとする)の録音/
再生モードの設定、スタート、ストップ、ロケート、編
集点の指定などが行える。プログラムROM2,RAM
3のアドレス端子には、アドレスバスを介してCPU1
からアドレス信号が送られ、その出力端子はデータバス
を介してCPU1にあるいはトランシーバ7に接続され
ている。
As will be described later, during real-time operation (recording / reproducing, etc.), the CPU 1 sets the address bus and the data bus of the DMA unit to idle time when necessary.
The components of the MA unit are controlled, and during editing, rearrangement of data blocks, manipulation of a disk access pointer, and the like are performed. Recording / recording of each track (hereinafter referred to as Tr) is performed from the keyboard 4 as described later.
You can set playback mode, start, stop, locate, and specify edit points. Program ROM2, RAM
3 is connected to an address terminal of the CPU 1 via an address bus.
And an output terminal thereof is connected to the CPU 1 or the transceiver 7 via the data bus.

【0017】すなわち、CPU部とDMAユニットとを
連結するために、バッファ6、トランシーバ7がDMA
ユニット内に設けられている。バッファ6はCPU1と
アドレスバスを介して接続され、更にDMAユニット内
のアドレスバスに連結される。トランシーバ7はCPU
1とデータバスを介して接続され、更にDMAユニット
内のデータバスに連結される。DMAユニット内には、
Tr1の為の音声入出力装置8−1、Tr2の為の音声
入出力装置8−2、Tr3の為の音声入出力装置8−3
が設けられていて、夫々には、アナログ音声信号が独立
に入出力可能となっている。
That is, in order to connect the CPU unit and the DMA unit, the buffer 6 and the transceiver 7
It is provided in the unit. The buffer 6 is connected to the CPU 1 via an address bus, and further connected to an address bus in the DMA unit. The transceiver 7 is a CPU
1 and a data bus, and further connected to a data bus in the DMA unit. In the DMA unit,
Audio input / output device 8-1 for Tr1, audio input / output device 8-2 for Tr2, audio input / output device 8-3 for Tr3
Are provided, and analog audio signals can be input and output independently of each other.

【0018】各音声入出力装置8−1〜8−3の内部に
は、A/D変換、D/A変換を選択的に実行する変換器
のほか、サンプリングノイズ除去用のローパスフィル
タ、更にサンプリング周期でクロックを発生するクロッ
ク回路などが含まれている。これらの音声入出力装置8
−1〜8−3においては、当該トラックがレコード(記
録)状態に設定されれば、外部からのアナログ音声信号
をサンプリング周期毎に適宜フィルタリングした後、A
/D変換して、デジタル音声データを得る。逆に当該ト
ラックがプレイ(再生)状態に設定されれば、予め読み
出されたデジタル音声データをサンプリング周期毎にD
/A変換して適宜フィルタリングした後、アナログ音声
信号として出力する。
Inside each of the audio input / output devices 8-1 to 8-3, there are provided a converter for selectively executing A / D conversion and D / A conversion, a low-pass filter for removing sampling noise, and a sampling device. A clock circuit that generates a clock with a period is included. These audio input / output devices 8
In -1 to 8-3, if the track is set to the record state, an external analog audio signal is appropriately filtered for each sampling period, and
/ D conversion to obtain digital audio data. Conversely, if the track is set to the play (playback) state, the digital audio data read in advance is
After being subjected to / A conversion and appropriately filtered, it is output as an analog audio signal.

【0019】Tr1〜Tr3の各音声入出力装置8−1
〜8−3は、データバスを介して対応するバッファ9−
1(BUF1)、バッファ9−2(BUF2)、バッフ
ァ9−3(BUF3)とそれぞれ接続され、デジタル音
声データの授受を行う。このバッファ9−1〜9−3は
Tr1〜Tr3に夫々対応しており、音声入出力装置8
−1〜8−3との間のデータ転送は、制御手段としての
DMAコントローラ10にて直接メモリアクセス(DM
A)方式により行われる。
Each audio input / output device 8-1 of Tr1 to Tr3
8-3 correspond to the corresponding buffers 9- via the data bus.
1 (BUF1), a buffer 9-2 (BUF2), and a buffer 9-3 (BUF3), respectively, for exchanging digital audio data. The buffers 9-1 to 9-3 correspond to Tr1 to Tr3, respectively.
Data transfer between -1 to 8-3 is performed by direct memory access (DM
A) The method is performed.

【0020】この各音声入出力装置8−1〜8−3は、
DMAコントローラ10に対し、レコーディング時に
は、サンプリング周期で音声入出力装置8−1〜8−3
からバッファ9−1〜9−3方向への1回のサンプリン
グに係るデジタルデータのDMA転送(シングル転送)
を要求(リクエスト)し(DRQ信号を送出し(Tr1
ではDRQ1、Tr2ではDRQ2、Tr3ではDRQ
3としてDMAコントローラ10に与えられる))、D
MAコントローラ10からの回答(アクノーレッジが、
Tr1ではDAK1、Tr2ではDAK2、Tr3では
DAK3としてDMAコントローラ10から与えられ
る)を受けて、実際のデータ転送が実行される。プレイ
時には、サンプリング周期でバッファ9−1〜9−3か
ら音声入出力装置8−1〜8−3方向への1回のサンプ
リングに係るデジタルデータのDMA転送(シングル転
送)の要求が、音声入出力装置8−1〜8−3からなさ
れ、上記した場合と同様にDMAコントローラ10によ
ってデータ転送が実行される。
Each of the audio input / output devices 8-1 to 8-3 includes:
At the time of recording, the audio input / output devices 8-1 to 8-3 are transmitted to the DMA controller 10 at a sampling period.
Transfer (single transfer) of digital data related to one sampling in the direction from the buffer to the buffers 9-1 to 9-3
Request (request) and send a DRQ signal (Tr1
DRQ1, DRQ2 for Tr2, DRQ for Tr3
3) to the DMA controller 10)), D
Answer from MA controller 10 (Acknowledge is
Tr1 receives DAK1, Tr2 receives DAK2, and Tr3 receives DAK3 as DAK3), and the actual data transfer is executed. At the time of play, a request for DMA transfer (single transfer) of digital data relating to one sampling from the buffers 9-1 to 9-3 in the direction of the audio input / output devices 8-1 to 8-3 in the sampling cycle is received by the audio input. Data is transferred from the output devices 8-1 to 8-3 by the DMA controller 10 in the same manner as described above.

【0021】このバッファ9−1〜9−3は、1回もし
くは複数回のデジタル音声データを記憶できる容量を持
ち、例えばRAMをTr1〜Tr3に3分割し、夫々リ
ングバッファ(最終アドレスと先頭アドレスとが仮想的
につながったバッファ)として使用することで、FIF
Oバッファとして機能するよう構成されている。このバ
ッファ9−1〜9−3に対するアドレス指定は、アドレ
スバスを介してDMAコントローラ10などよりなされ
る。すなわちDMA転送を行っているときはDMAユニ
ット内のアドレスバス、データバス、制御信号ラインは
DMAコントローラ10が専有することになる。
Each of the buffers 9-1 to 9-3 has a capacity capable of storing digital audio data once or a plurality of times. For example, the RAM is divided into three parts Tr1 to Tr3, and each of the buffers is divided into a ring buffer (last address and first address). Is used as a buffer that is virtually connected to the
It is configured to function as an O buffer. The addresses for the buffers 9-1 to 9-3 are specified by the DMA controller 10 or the like via an address bus. That is, when the DMA transfer is performed, the DMA controller 10 occupies the address bus, the data bus, and the control signal line in the DMA unit.

【0022】そしてバッファ9−1〜9−3はデータバ
スを介し、更にデバイスコントローラ11の制御に従っ
てハードディスク120や光磁気ディスク121等(以
下、単にディスク12と言う)のディスクとデータの授
受を行う。ディスク12とデバイスコントローラ11と
はデータバスとコントロール信号ラインとを介し連結さ
れ、ディスク12に対するリード/ライトアクセスが全
てデバイスコントローラ11によりなされる。各ディス
クは、Tr1〜Tr3の3トラック分の分割された記憶
エリアを有しており、バッファ9−1〜9−3とのデー
タ転送がDMAコントローラ10によりなされる。これ
は、デバイスコントローラ11が1つのデータブロック
を転送し終ると割込み(INT)をCPU1にかけ、次
のデータブロックの転送指示をCPU1に対し行うこと
によりなされる。CPU1は、デバイスコントローラ1
1からインタラプト信号INTが到来すると、DMAコ
ントローラ10、デバイスコントローラ11を所望の状
態に設定したり、プログラミングしたりした後、DMA
転送を行わせる。この動作の詳細は後に説明する。
The buffers 9-1 to 9-3 exchange data with disks such as the hard disk 120 and the magneto-optical disk 121 (hereinafter simply referred to as the disk 12) under the control of the device controller 11 via the data bus. . The disk 12 and the device controller 11 are connected via a data bus and a control signal line, and all read / write accesses to the disk 12 are performed by the device controller 11. Each disk has a storage area divided into three tracks of Tr1 to Tr3, and data transfer with the buffers 9-1 to 9-3 is performed by the DMA controller 10. This is done by the device controller 11 issuing an interrupt (INT) to the CPU 1 when the transfer of one data block is completed, and instructing the CPU 1 to transfer the next data block. CPU 1 is a device controller 1
When the interrupt signal INT is received from the CPU 1, the DMA controller 10 and the device controller 11 are set to desired states or programmed, and
Make the transfer. Details of this operation will be described later.

【0023】DMAコントローラ10はプレイ時にあっ
ては、ディスク12から予め指定された量(複数サンプ
リング周期分)のデジタル音声データを読み出した後、
バッファ9−1〜9−3のうちの指定されるバッファへ
DMA転送(ブロック転送)するよう動作し、レコード
時にあっては、指定されたバッファから予め指定された
量(複数サンプリング周期分)のデジタル音声データを
読み出してディスク12の指定される位置へDMA転送
(ブロック転送)するよう動作する。
When playing, the DMA controller 10 reads out a predetermined amount (for a plurality of sampling periods) of digital audio data from the disk 12 and then
It operates to perform DMA transfer (block transfer) to a designated buffer among the buffers 9-1 to 9-3, and at the time of recording, a predetermined amount (for a plurality of sampling periods) from the designated buffer. It operates to read digital audio data and perform DMA transfer (block transfer) to a designated position on the disk 12.

【0024】このディスク12とバッファ9−1〜9−
3との間のデータ転送の際は、デバイスコントローラ1
1よりDMAコントローラ10に対し要求信号DREQ
を出力し(DMAコントローラ10側ではDRQ4とし
て受取る)、転送可能となると逆に回答信号DACKを
受取る(DMAコントローラ10側ではDAK4として
出力する)ことで、実際の転送状態となる。
This disk 12 and buffers 9-1 to 9-
When transferring data to / from the device controller 1,
1 to the DMA controller 10 by request signal DREQ
Is output (received as DRQ4 on the DMA controller 10 side), and when the transfer becomes possible, the answer signal DACK is received (outputted as DAK4 on the DMA controller 10 side), whereby the actual transfer state is set.

【0025】このように、DMAコントローラ10は、
Tr1〜Tr3の音声入出力装置8−1〜8−3とバッ
ファ9−1〜9−3との間の3チャンネル(後述するC
H1〜CH3)のデータ転送と、順番に選択されたいず
れかのバッファ9−1〜9−3とディスクとの間の1チ
ャンネル(後述するCH4)のデータ転送との、計4チ
ャンネルの時分割データ転送動作をする。
As described above, the DMA controller 10
3 channels between audio input / output devices 8-1 to 8-3 of Tr1 to Tr3 and buffers 9-1 to 9-3 (C to be described later)
H1 to CH3) data transfer and one-channel (CH4) data transfer between one of the buffers 9-1 to 9-3 selected in order and the disk, for a total of four channels in time division. Perform data transfer operation.

【0026】CPU1は、DMAユニット内の各構成要
素の機能、作用を管理するために、アドレスバスを介し
バッファ6にアドレス信号を与えるほか、各構成要素の
指定信号をバッファ6を介しデコーダ13に供給して、
夫々の指定信号CSを、各音声入出力装置8−1〜8−
3、バッファ9−1〜9−3、DMAコントローラ1
0、デバイスコントローラ11に与える。同時に、トラ
ンシーバ7を介し、データバスを経由して種々のデータ
のやりとりがCPU1との間でなされる。
The CPU 1 supplies an address signal to the buffer 6 via an address bus and manages a designation signal of each component to the decoder 13 via the buffer 6 in order to manage the function and operation of each component in the DMA unit. Supply,
Each of the designation signals CS is transmitted to each of the audio input / output devices 8-1 to 8-
3, buffers 9-1 to 9-3, DMA controller 1
0, given to the device controller 11. At the same time, various data are exchanged with the CPU 1 via the transceiver 7 and the data bus.

【0027】更に、CPU1から各音声入出力装置8−
1〜8−3のIOWR端子にはレコード状態(ライト状
態)とするのかプレイ状態(リード状態)とするのかを
指定する指定信号WRが、バッファ6を介して与えられ
る。
Further, each of the voice input / output devices 8-
A designation signal WR for designating a record state (write state) or a play state (read state) is supplied to the IOWR terminals 1 to 8-3 via the buffer 6.

【0028】また、各バッファ9−1〜9−3、DMA
コントローラ10、デバイスコントローラ11に対して
もこの指定信号(ライト信号)WRと、別の指定信号
(リード信号)RDとがバッファ6を介してCPU1か
ら与えられ、夫々の構成要素からデータを読み出したり
逆にデータを書込んだりするようになる。また、DMA
コントローラ10からも、DMA転送状態にあってはこ
れらの指定信号RD、WRを出力するようになる。これ
らの信号と各構成要素の機能、動作の関係は後述する。
Each of the buffers 9-1 to 9-3, DMA
The designation signal (write signal) WR and another designation signal (read signal) RD are also supplied from the CPU 1 to the controller 10 and the device controller 11 via the buffer 6 to read data from the respective constituent elements. Conversely, data is written. Also, DMA
The controller 10 outputs these designation signals RD and WR in the DMA transfer state. The relationship between these signals and the function and operation of each component will be described later.

【0029】DMAコントローラ10は、DMA転送を
各構成要素間で行っているとき、DMA可能(イネーブ
リング)信号DMAENBを“1”にして出力する。そ
の結果、この信号DMAENBがインバータ16を介し
て与えられるアンドゲート14の出力は“0”となり、
バッファ6、トランシーバ7にはイネーブリング信号E
が“0”として与えられ、結局CPU部とDMAユニッ
トとのデータ、アドレスの授受はできなくなる。このと
き、アンドゲード15に“1”信号がデコーダ13より
与えられておれば、アンドゲート15の出力が“1”と
なってCPU1にウェイト信号WAITが供給される。
The DMA controller 10 sets the DMA enable signal DMAENB to "1" and outputs it when the DMA transfer is being performed between the constituent elements. As a result, the output of the AND gate 14 to which the signal DMAENB is applied via the inverter 16 becomes “0”,
The enabling signal E is supplied to the buffer 6 and the transceiver 7.
Is given as "0", so that data and addresses cannot be transferred between the CPU unit and the DMA unit. At this time, if a "1" signal is given to the AND gate 15 from the decoder 13, the output of the AND gate 15 becomes "1" and the wait signal WAIT is supplied to the CPU 1.

【0030】つまり、CPU1が、DMAユニットを管
理するために、バッファ6、トランシーバ7を開かせる
べくデコーダ13に所定の信号を与えているとき、つま
りアンドゲート14の一入力端にデコーダ13より
“1”信号を供給しているとき(CPU1がバッファ9
−1〜9−3、DMAコントローラ10、デバイスコン
トローラ11、音声入出力装置8−1〜8−3のいずれ
かにアクセスするためのアドレス信号を出力すると、デ
コーダ13の出力はアクティブとなりアンドゲート1
4、15の夫々の一入力端への出力は“1”となる)、
DMA転送を開始するとCPU1にはウェイト(WAI
T)がかかり、DMA転送が優先して実行された後、ウ
ェイト解除にともなってCPU1の動作が再開される。
That is, when the CPU 1 supplies a predetermined signal to the decoder 13 in order to open the buffer 6 and the transceiver 7 in order to manage the DMA unit, that is, the decoder 13 outputs "1" to one input terminal of the AND gate 14. 1 ”signal is supplied (the CPU 1
-1 to 9-3, the DMA controller 10, the device controller 11, and the address signal for accessing any of the audio input / output devices 8-1 to 8-3, the output of the decoder 13 becomes active and the AND gate 1
The output to one input terminal of each of 4 and 15 is "1"),
When the DMA transfer starts, the CPU 1 waits (WAI
T), and after the DMA transfer is executed with priority, the operation of the CPU 1 is restarted with the release of the wait.

【0031】また、逆にDMAコントローラ10がDM
A転送を実行しているときに、CPU1が例えばDMA
コントローラ10をアクセスしようとしても、アンドゲ
ート15よりウェイト信号WAITが与えられCPU1
の実行サイクルは途中で引き延ばされて、バッファ6、
トランシーバ7はその間閉じられることになる。
Conversely, the DMA controller 10
When executing the A transfer, the CPU 1
Even if an attempt is made to access controller 10, wait signal WAIT is supplied from AND gate 15 and CPU 1
Execution cycle is extended halfway, buffer 6,
Transceiver 7 will be closed during that time.

【0032】結局、CPU1が、DMAユニットの各構
成要素にアクセスできるのは、 CPU1がDMAユニットの各構成要素をアクセスす
るためのアドレスを出した。 信号DMAENBがインアクティブ(“0”)つまり
DMAユニットのデータバスが空いている。 の2つの条件を満足するときであるが、CPU1は上述
したように、ゲート14、15の作用によっていつDM
Aユニットにアクセスするかを考慮することなく処理を
すすめることができる。
After all, the reason why the CPU 1 can access each component of the DMA unit is that the CPU 1 has issued an address for accessing each component of the DMA unit. The signal DMAENB is inactive ("0"), that is, the data bus of the DMA unit is free. Is satisfied when the two conditions are satisfied, but as described above, the CPU 1
Processing can be advanced without considering whether to access the A unit.

【0033】また、CPU1は、キー入力やコントロー
ルデータのトリガに応じて直ちにDMAユニットの動作
状態を変えたい場合、DMAコントローラ10に対し
て、DMAコントローラ10の状態がどのような状態で
あってもDMA転送を中断する指令DMAENDを出力
することができる(これは、DMAコントローラ10に
はEND信号として与えられる)。
When the CPU 1 wants to immediately change the operation state of the DMA unit in response to a key input or a trigger of control data, the CPU 1 is not limited to the DMA controller 10 regardless of the state of the DMA controller 10. A command DMAEND for interrupting the DMA transfer can be output (this is given to the DMA controller 10 as an END signal).

【0034】〈DMAコントローラ10の要部構成〉次
に、DMAコントローラ10の一構成例を説明する。D
MAコントローラ10は、1バスサイクルが数百ナノ秒
である転送能力をもつ。従って、3トラック分のサンプ
リングデータを転送する時間は1から2マイクロ秒とな
る。
<Main Configuration of DMA Controller 10> Next, an example of the configuration of the DMA controller 10 will be described. D
The MA controller 10 has a transfer capability in which one bus cycle is several hundred nanoseconds. Therefore, the time for transferring the sampling data for three tracks is 1 to 2 microseconds.

【0035】サンプリング周波数fsを48KHzとし
たとき、1サンプリング時間の間隔は約21マイクロ秒
となり、サンプリング時間間隔のほとんどは、バッファ
9−1〜9−3とデバイスコントローラ11、ディスク
12との間のデータ転送及びCPU1から各構成要素の
プログラミング時間にあてることが可能となる。
When the sampling frequency fs is 48 KHz, one sampling time interval is about 21 microseconds, and most of the sampling time interval is between the buffers 9-1 to 9-3, the device controller 11, and the disk 12. The time for data transfer and the programming time of each component from the CPU 1 can be allocated.

【0036】さて、その具体例の主要構成は、図2に示
されている。このDMAコントローラ10は、アドレス
バスと接続される入力側(IN)のアドレスバッファ1
01と出力側(OUT)のアドレスバッファ102を有
する。入力側のアドレスバッファ101に与えられるア
ドレス信号によって、レジスタセレクタ103の指定内
容が変化し、アドレスレジスタ104とコントロールレ
ジスタ105とに存在する所望のレジスタが指定される
ことになる。
FIG. 2 shows the main configuration of the specific example. The DMA controller 10 has an input (IN) address buffer 1 connected to an address bus.
01 and an output side (OUT) address buffer 102. The contents specified by the register selector 103 change according to the address signal applied to the input side address buffer 101, and the desired registers existing in the address register 104 and the control register 105 are specified.

【0037】アドレスレジスタ104、コントロールレ
ジスタ105には4つのチャンネルCH1〜CH4のエ
リアがあり、チャンネルCH1〜CH3は、バッファ9
−1〜9−3との間のDMA転送を行うためのレジスタ
であり、チャンネルCH4は、バッファ9−1〜9−3
のうちの指定したバッファとディスク12との間のDM
A転送を行うためのレジスタである。アドレスレジスタ
104内の各チャンネルCH1〜CH4のレジスタは、
対応するバッファ9−1〜9−3及び指定されたバッフ
ァのカレントアドレスとスタートアドレスとを少なくと
も記憶するエリアを有し、コントロールレジスタ105
の各チャンネルCH1〜CH4のエリアには、例えば、
DMA転送の方向を指定するコントロールデータが記憶
される。
The address register 104 and the control register 105 have areas of four channels CH1 to CH4.
This is a register for performing DMA transfer between -1 to 9-3, and the channel CH4 has buffers 9-1 to 9-3.
Between the specified buffer and the disk 12
This is a register for performing A transfer. The registers of the channels CH1 to CH4 in the address register 104 are as follows.
The control register 105 has an area for storing at least the current addresses and start addresses of the corresponding buffers 9-1 to 9-3 and the designated buffer.
In the area of each of the channels CH1 to CH4, for example,
Control data for designating the direction of the DMA transfer is stored.

【0038】このアドレスレジスタ104、コントロー
ルレジスタ105の内容は、データバッファ106を介
してデータバスに対して入出力可能となっている。そし
て、これらの各構成要素を制御しているのが、タイミン
グコントロールロジック107と、サービスコントロー
ラ108、チャンネルセレクタ109である。
The contents of the address register 104 and the control register 105 can be input / output to / from a data bus via a data buffer 106. These components are controlled by the timing control logic 107, the service controller 108, and the channel selector 109.

【0039】サービスコントローラ108は、ハードロ
ジックもしくはマイクロプログラム制御構成となってい
て、タイミングコントロールロジック107からの信
号、音声入力装置8−1〜8−3、デバイスコントロー
ラ11からのDMA要求信号DRQ1〜DRQ4や、C
PU1からのDMA中断指令END(DMAEND)を
受けとり、上記各構成要素に対する回答(アクノーレッ
ジ)信号DAK1〜DAK4、DMA転送中を示すDM
A可能(イネーブリング)信号DMAENBを出力する
ほか、タイミングコントロールロ107に対し各種指令
を出したり、チャンネルセレクタ109に対しチャンネ
ルセレクト信号を出力したりする。チャンネルセレクタ
109は、アドレスレジスタ104、コントロールレジ
スタ105の中の各チャンネルCH1〜CH4に対応す
るレジスタを選択的に指定する。
The service controller 108 has a hardware logic or microprogram control structure, and receives signals from the timing control logic 107, audio input devices 8-1 to 8-3, and DMA request signals DRQ1 to DRQ4 from the device controller 11. And C
Upon receiving a DMA suspend command END (DMAEND) from PU1, answer (acknowledge) signals DAK1 to DAK4 for the above-described components, and a DM indicating that DMA transfer is in progress
In addition to outputting the A enable (enabling) signal DMAENB, it also issues various commands to the timing controller 107 and outputs a channel select signal to the channel selector 109. The channel selector 109 selectively designates a register corresponding to each of the channels CH1 to CH4 in the address register 104 and the control register 105.

【0040】タイミングコントロールロジック107
は、デコーダ13からの指定信号CS、コントロールレ
ジスタ105からのコントロール信号、サービスコント
ローラ108からの制御信号を受けて、アドレスバッフ
ァ102、データバッファ106の入出力制御をするほ
か、アドレスインクリメンタ110を動作させて、アド
レスレジスタ104の中の指定されたチャンネルのカレ
ントアドレスレジスタをインクリメントし、該チャンネ
ルに割り当てられたバッファの最終アドレスになったな
ら、該チャンネルに割り当てられたバッファの開始アド
レスにリセットする。
Timing control logic 107
Receives the designation signal CS from the decoder 13, the control signal from the control register 105, and the control signal from the service controller 108, controls the input / output of the address buffer 102 and the data buffer 106, and operates the address incrementer 110. Then, the current address register of the designated channel in the address register 104 is incremented. When the current address register reaches the final address of the buffer assigned to the channel, the current address register is reset to the start address of the buffer assigned to the channel.

【0041】またバッファのエリア情報を管理・制御す
るために監視手段としてのエリアデータレジスタ111
とエリアデータバッファ112が用いられている。
An area data register 111 as monitoring means for managing and controlling buffer area information.
And the area data buffer 112 are used.

【0042】エリアデータレジスタ111及びエリアデ
ータバッファ112の内部には、該チャンネルに割り付
けられたバッファエリアのトップ(先頭)及びテイル
(末尾)アドレスが記憶される。アドレスインクリメン
タ110はカレントアドレスをインクリメントする毎
に、現在サービスを行なっているチャンネルのエリアデ
ータレジスタ111を参照し、アドレスのインクリメン
ト結果がテイルアドレスに達したなら、バッファを循環
させるためにトップアドレスにリセットする。あるい
は、このテイルアドレスからトップアドレスへの変更
は、後述するように、DMAコントローラ10のプログ
ラム制御処理によってもよい(図6、6−16,6−1
7参照)。
In the area data register 111 and the area data buffer 112, the top (head) and tail (end) addresses of the buffer area allocated to the channel are stored. Each time the address incrementer 110 increments the current address, the address incrementer 110 refers to the area data register 111 of the channel currently being serviced, and if the increment result of the address reaches the tail address, the address is incremented to the top address to circulate the buffer. Reset. Alternatively, the change from the tail address to the top address may be performed by a program control process of the DMA controller 10 as described later (FIGS. 6, 6-16, 6-1).
7).

【0043】<CPU1の全体動作>以下に、本実施例
の動作について説明する。CPU1の動作を示すフロー
チャートが図3及び図4に示されている。これはプログ
ラムROM2に記憶されたプログラム(ソフトウェア)
によるもので、図3はメインルーチンを示し、図4は、
デバイスコントローラ11からのインタラプト信号IN
Tの到来に応答して実行するインタラプトルーチンを示
している。
<Overall Operation of CPU 1> The operation of this embodiment will be described below. 3 and 4 are flowcharts showing the operation of the CPU 1. This is the program (software) stored in the program ROM 2
FIG. 3 shows a main routine, and FIG.
Interrupt signal IN from device controller 11
7 shows an interrupt routine executed in response to the arrival of T.

【0044】まず図3において、キーボート4によりセ
ットされているモードが、プレイ/レコードモードなの
か、エディット(編集)モードなのかをジャッジする
(ステップ3−1)。もし、エディットモードであると
すると、3−2に進み、編集するトラックやポイント、
どのような編集をするのか(例えば、ある時間指定した
ポイントに録音した音のタイミングを前後にずらした
り、修正、削除したりすること)をCPU1は判断し、
そのためのコントロールデータを生成しRAM3に記憶
させたり(3−3)、各種編集作業を実行した上で、再
度3−1にもどる。
First, in FIG. 3, it is judged whether the mode set by the keyboard 4 is the play / record mode or the edit (edit) mode (step 3-1). If it is in the edit mode, the process proceeds to 3-2, and the track or the point to be edited,
The CPU 1 determines what kind of editing is to be performed (for example, shifting, correcting, or deleting the timing of a sound recorded at a designated point for a certain time),
Control data for this is generated and stored in the RAM 3 (3-3), and after performing various editing operations, the process returns to 3-1 again.

【0045】この編集作業は、特に詳述しないが、デバ
イスコントローラ11とDMAコントローラ10とに対
するディスク12からの読み出しアクセスポイントのプ
ログラムや、RAM3への転送、RAM3を用いての各
種編集、そして編集後のデジタル音声データのディスク
12への再格納作業、アクセスポイントの指定等を、C
PU1の制御下で実行する。
Although this editing operation is not described in detail, a program of an access point for reading from the disk 12 to the device controller 11 and the DMA controller 10, transfer to the RAM 3, various editing using the RAM 3, and post-editing The operation of restoring the digital audio data to the disk 12 and the designation of the access point
It is executed under the control of PU1.

【0046】さて、CPU1が、現在プレイ/レコード
モードであるとジャッジすると、3−1から3−4に進
み、3つあるトラックの夫々の動作モードをキーボード
4の入力指示に従って設定し、3−5において、A/D
変換、D/A変換のいずれの動作を各音声入出力装置8
−1〜8−3が実行するのか、バッファ6、デコーダ1
3を介して指定信号CSを順次送出しながらIOWRを
与えてセッティングする。いま、例えば、Tr1につい
ては、プレイ状態(従ってD/A変換動作状態)、Tr
2及びTr3は夫々レコード状態(従ってA/D変換動
作状態)とする。図10に、このようなモード設定した
場合の概略動作の概念図を示す。
When the CPU 1 judges that the current mode is the play / record mode, the process proceeds from 3-1 to 3-4, and the operation mode of each of the three tracks is set according to the input instruction of the keyboard 4, and In 5, the A / D
Conversion or D / A conversion is performed by each audio input / output device 8.
-1 to 8-3 execute, buffer 6, decoder 1
The IOWR is given and set while sequentially transmitting the designation signal CS via 3. Now, for example, for Tr1, the play state (therefore, the D / A conversion operation state), Tr1
2 and Tr3 are each in the record state (therefore, the A / D conversion operation state). FIG. 10 is a conceptual diagram of a schematic operation when such a mode is set.

【0047】そして、3−5では、DMAコントローラ
10に対し、各Tr1〜Tr3についてのバッファ9−
1〜9−3のアドレスを初期化する。つまり、図2のア
ドレスバッファ101、レジスタセレクタ103、チャ
ンネルセレクタ109等により、チャンネルCH1〜C
H3の各レジスタ(アドレスレジスタ104、コントロ
ールレジスタ105)を指定しながら、データバッファ
106を介して初期設定データを入力設定する。
In 3-5, the DMA controller 10 sends a buffer 9-
The addresses 1 to 9-3 are initialized. That is, the channels CH1 to CH1 are controlled by the address buffer 101, the register selector 103, and the channel selector 109 in FIG.
The initial setting data is input and set via the data buffer 106 while specifying each register of the H3 (the address register 104 and the control register 105).

【0048】ここで、バッファ9−1〜9−3は、リン
グバッファとして循環的に使用されるようになってお
り、初期状態としては、各バッファ9−1〜9−3のス
タートアドレスとカレントアドレスとは一致するようセ
ットされる。
Here, the buffers 9-1 to 9-3 are cyclically used as ring buffers. Initially, the buffers 9-1 to 9-3 correspond to the start addresses of the buffers 9-1 to 9-3. Set to match the address.

【0049】続いてCPU1は3−6の処理を実行し、
RAM3内の作業(ワーク)メモリエリアに所在するデ
ィスク12の各トラックTr1〜Tr3に対応するディ
スクアクセスポインタを初期設定する。
Subsequently, the CPU 1 executes the processing of 3-6,
A disk access pointer corresponding to each of the tracks Tr1 to Tr3 of the disk 12 located in the work (work) memory area in the RAM 3 is initialized.

【0050】次にCPU1は、各音声入出力装置8−1
から8−3のA/D変換動作又はD/A変換動作を開始
させる(3−7)。続いて、3−8において、ソフトウ
ェア割込みをかけて、デバイスコントローラ11が、デ
ィスク12とバッファ9−1〜9−3のいずれかとの間
のデータ転送のプログラム要求(デバイスコントローラ
11がCPU1に対してインタラプトINTをかけるこ
と)を行なったとき(後述)と同じ処理を実行する。
Next, the CPU 1 controls each audio input / output device 8-1.
To start the A / D conversion operation or D / A conversion operation of 8-3 (3-7). Subsequently, in 3-8, a software interrupt is issued, and the device controller 11 issues a program request for data transfer between the disk 12 and any of the buffers 9-1 to 9-3 (the device controller 11 issues a request to the CPU 1). The same processing as that performed when interrupt INT is performed (described later) is performed.

【0051】具体的には、図4に示したフローチャート
に従った動作を3−8で実行することになる。例えば、
いまの場合、Tr1について、ディスク12からデジタ
ル音声データをバッファ9−1にDMA転送するため
に、DMAコントローラ10のチャンネルとしてTr1
に対応するチャンネルCH1を決定する(4−1)。続
いて、このCH1のスタートアドレス(前述のとおり3
−5で初期設定されている)をCH4のスタートアドレ
スとしてコピーする(4−2)。このときのDMAコン
トローラ10側の動作は後述する。続いて、いまの場合
CH1のスタートアドレスとカレントアドレスからデー
タ転送数を算出する(4−3)。
Specifically, the operation according to the flowchart shown in FIG. 4 is executed in 3-8. For example,
In this case, Tr1 is used as a channel of the DMA controller 10 in order to DMA-transfer digital audio data from the disk 12 to the buffer 9-1.
Is determined (4-1). Subsequently, the start address of this CH1 (3 as described above)
(Initial setting at -5) is copied as the start address of CH4 (4-2). The operation of the DMA controller 10 at this time will be described later. Then, in this case, the number of data transfers is calculated from the start address of CH1 and the current address (4-3).

【0052】いま、初期状態であるので、Tr1に関し
てバッファ9−1には何らこれまでデータ転送が行われ
ておらず、従って、バッファ9−1のメモリエリア全て
にディスク12からデータ転送してやることができる。
勿論、複数のトラックが、プレイ時にあるのであれば、
早期にディスク12から複数のバッファに予め記憶され
たデジタル音声データを転送しなければならないので、
1つのバッファにフルにデータ転送を行わず、次々とD
MA転送が各トラックについて行われるようにすること
もできる。あるいは、必要なバッファ9−1〜9−3に
対しディスク12から予めフルにデータ転送をした後、
プレイ/レコード動作を同期スタートしてもよい。
Since this is the initial state, no data has been transferred to the buffer 9-1 for Tr1 so far, so that data transfer from the disk 12 to the entire memory area of the buffer 9-1 is not possible. it can.
Of course, if there are multiple tracks when playing,
Since the digital audio data previously stored in the plurality of buffers must be transferred from the disk 12 at an early stage,
Without transferring data to one buffer in full, D
MA transfer may be performed for each track. Alternatively, after the data is completely transferred from the disk 12 to the necessary buffers 9-1 to 9-3 in advance,
The play / record operation may be started synchronously.

【0053】次に、4−4において、いまの場合CH1
のカレントアドレスの内容を、CH4のスタートアドレ
スにコピーする。いまの場合は結局初期アドレスがスタ
ートアドレスとなる。このように、CPU1は、4−1
〜4−4において、DMAコントローラ10に対して各
設定/制御を行なった上で、次に4−5に進み、このC
H1のエリアデータをCH4のエリアデータレジスタ1
11にコピーして、4−6に進む。4−6においてRA
M3の作業メモリよりいまTr1のディスクアクセスポ
インタを取り出し、更に4−7において、DMAコント
ローラ10のコントロールレジスタ105のCH1のエ
リアの内容に従って得られるTr1の動作モード(いま
プレイモード)と、このTr1についてのディスクアク
セスポインタと、4−3で決定したディスク12からバ
ッファ9−1へのデータ転送数とによって、デバイスコ
ントローラ11をプログラミングする。このときのデバ
イスコントローラ11側の動作は後に詳述する。
Next, in 4-4, in this case CH1
Is copied to the start address of CH4. In this case, the initial address is eventually the start address. As described above, the CPU 1 sets 4-1
After performing each setting / control on the DMA controller 10 in 4 to 4-4, the process proceeds to 4-5.
The H1 area data is stored in the CH4 area data register 1.
11 and proceed to 4-6. RA in 4-6
The disk access pointer of Tr1 is now taken out from the working memory of M3. Further, at 4-7, the operation mode of Tr1 (now play mode) obtained according to the contents of the area of CH1 of the control register 105 of the DMA controller 10, and the Tr1 The device controller 11 is programmed based on the disk access pointer and the number of data transfers from the disk 12 to the buffer 9-1 determined in 4-3. The operation of the device controller 11 at this time will be described later in detail.

【0054】その結果、デバイスコントローラ11は、
いまの場合ディスク12からバッファ9−1の方向への
DMA転送を、DMAコントローラ10に要求(DRE
Qを出力)し、DMAコントローラ10は対応するDM
A転送を実行することになる。この動作についても後に
詳述する。
As a result, the device controller 11
In this case, a DMA transfer from the disk 12 to the buffer 9-1 is requested to the DMA controller 10 (DRE).
Q), and the DMA controller 10
A transfer will be performed. This operation will be described later in detail.

【0055】続いて、4−8において、CPU1はRA
M3の作業メモリ内のTr1のディスクアクセスポイン
タを、上述した転送処理を実行した結果ディスクアクセ
スポインタがとるであろう値まで更新する。つまり、上
述の説明からわかるとおり、ディスク12とバッファ9
−1の間のデータ転送はこの後、DMAコントローラ1
0が全て実行することになり、CPU1はこのDMA転
送が完了したときにディスク12のアクセスポインタが
とる値を、4−8でセットするのである。そして、メイ
ンルーチン(図3)にリターンする。
Subsequently, in 4-8, the CPU 1 sets the RA
The disk access pointer of Tr1 in the working memory of M3 is updated to a value that the disk access pointer will take as a result of executing the above-described transfer processing. That is, as can be seen from the above description, the disk 12 and the buffer 9
-1 after this, the DMA controller 1
0 is executed, and the CPU 1 sets the value taken by the access pointer of the disk 12 at 4-8 when the DMA transfer is completed. Then, the process returns to the main routine (FIG. 3).

【0056】後の説明でも明らかになるとおり、最初の
割込みルーチン(図4)が起動されて、デバイスコント
ローラ11が一度動かされると、あとは、CPU1が指
定したデータブロックの転送が終了するたびに、デバイ
スコントローラ11から割込みがなされる(INT信号
がCPU1に与えられる)ので、CPU1が行なうの
は、録音/再生動作の終了になったか、キー入力があっ
たかまたはコントロールデータに指示しておいたトリガ
がかかったかの判断を行なうのみである。
As will be apparent from the following description, once the first interrupt routine (FIG. 4) is activated and the device controller 11 is operated once, thereafter, every time the transfer of the data block designated by the CPU 1 is completed, Since the interrupt is issued from the device controller 11 (the INT signal is given to the CPU 1), the CPU 1 executes the trigger which has ended the recording / playback operation, has received a key input, or has instructed the control data. It only determines whether or not it has occurred.

【0057】すなわちCPU1は、3−9において、デ
ィスクアクセスポインタ(RAM3)を参照し、メモリ
エリアオーバーか否かつまり終了か否かをジャッジし
(3−10)、YESの場合は、各音声入出力装置8−
1〜8−3のA/D変換、D/A変換動作を停止させ
(3−11)、NOの場合は、コントロールデータやキ
ー入力状態を参照し(3−12)、もし変化がなけれ
ば、ディスクアクセスポインタをチェックすべく3−9
の処理へ戻り、以下3−9〜3−13を繰り返す。
That is, the CPU 1 refers to the disk access pointer (RAM3) in 3-9 to judge whether or not the memory area is over, that is, whether or not to end (3-10). Output device 8-
The A / D conversion and D / A conversion operations of 1 to 8-3 are stopped (3-11), and if NO, the control data and key input state are referred to (3-12). 3-9 to check disk access pointer
And the following 3-9 to 3-13 are repeated.

【0058】そして、3−13において何らかの変化が
あると、3−13から3−14に進み、CPU1は、D
MA転送を一時中断して、新たな設定をすべく、DMA
コントローラ10に対するDMA中止指令(DMAEN
D)を出力する。続けて、新たな入力指示等に従って、
DMAコントローラ10、音声入出力装置8−1〜8−
3をプログラムし(3−15)、再びDMA動作を再開
すべく3−16に進み、上述した3−8と同様図4のル
ーチンを実行した後、3−9へ戻る。
If there is any change in 3-13, the process proceeds from 3-13 to 3-14, and the CPU 1
To temporarily suspend MA transfer and make new settings, DMA
DMA stop command (DMAEN) to the controller 10
D) is output. Then, according to new input instructions, etc.,
DMA controller 10, audio input / output devices 8-1 to 8-
3 (3-15), proceed to 3-16 to restart the DMA operation again, execute the routine of FIG. 4 similarly to 3-8 described above, and then return to 3-9.

【0059】このように、CPU1は、プレイ/レコー
ド時にあっては、3−4〜3−8の初期設定を行なった
後は、3−9、3−10、3−12、3−13更に3−
14〜3−16を繰り返し実行し、キーボード4での変
更指示(例えばあるトラックについてポーズ(A/D、
D/Aの中断)あるいはパンチイン・アウト(A/D、
D/Aの動作の切換)等)や、編集時に得たコントロー
ルデータの変化に応答して、即時にDMA転送制御を中
断し、プログラムを変更した上で、再び同様の処理を実
行するよう動作する。
As described above, at the time of play / recording, the CPU 1 performs the initial setting of 3-4 to 3-8, and then performs 3-9, 3-10, 3-12, and 3-13. 3-
14 to 3-16 are repeatedly executed, and a change instruction on the keyboard 4 (for example, pause (A / D,
D / A interruption) or punch-in / out (A / D,
In response to a change in the control data obtained at the time of editing, the DMA transfer control is immediately interrupted, the program is changed, and the same processing is executed again. I do.

【0060】<音声入出力装置8−1〜8−3の動作>
次に図5を参照して、音声入出力装置8−1〜8−3の
動作状態を説明する。このフローチャートは、マイクロ
プログラム制御によるものであっても、ハードロジック
制御によるものであってもよく、機能実現手段は種々選
択できる。
<Operation of Audio Input / Output Devices 8-1 to 8-3>
Next, an operation state of the audio input / output devices 8-1 to 8-3 will be described with reference to FIG. This flowchart may be based on microprogram control or hard logic control, and various means for implementing functions can be selected.

【0061】さて、5−1においてCPU1から当該音
声入出力装置の指定信号CSが到来している(アクティ
ブとなっている)か否かジャッジし、YESならば5−
2において、CPU1より動作状態(レコード、プレ
イ、ストップ等)が設定される。これは図3のCPU1
のメインルーチンの中の3−5、3−15に応答してな
される。そして、5−1においてNOの判断がなされる
と5−3において、当該音声入出力装置8−1〜8−3
がレコード状態であるのかプレイ状態であるのか判断
し、レコード状態と判断されると、5−3から5−4〜
5−9の処理へ進み、プレイ状態と判断されると5−1
0〜5−15の処理へ進む。
At 5-1 it is judged whether or not the designation signal CS of the voice input / output device has arrived from the CPU 1 (active).
In 2, the CPU 1 sets an operation state (record, play, stop, etc.). This is the CPU 1 in FIG.
In response to 3-5 and 3-15 in the main routine. Then, if a determination of NO is made in 5-1, in 5-3, the voice input / output devices 8-1 to 8-3 are used.
Is in a record state or a play state.
Proceeds to the processing of 5-9, and if it is determined that the playing state is reached, 5-1
It proceeds to the processing of 0-5-15.

【0062】先ずレコード状態に設定された音声入出力
装置(いまの場合音声入出力装置8−2、8−3)の動
作を説明する。5−4において、サンプリング時刻とな
ったか否か判断し、サンプリング時刻となるまで、この
5−4をくりかえす。なお、サンプリング時刻の判断
は、音声入出力装置8−1〜8−3の内部に夫々ハード
タイマをもってその出力によって行ってもよく、あるい
は共通なハードタイマを設けてその出力に従って各音声
入出力装置が動作するようにしてもよい。後の説明から
も理解されるとおり、各音声入出力装置8−1〜8−3
のサンプリング周波数を別々にすることも可能である。
First, the operation of the audio input / output devices set in the record state (the audio input / output devices 8-2 and 8-3 in this case) will be described. At 5-4, it is determined whether or not the sampling time has come, and this 5-4 is repeated until the sampling time comes. The determination of the sampling time may be performed by the output of a hard timer in each of the audio input / output devices 8-1 to 8-3, or a common hard timer may be provided and each audio input / output device may be provided in accordance with the output. May operate. As will be understood from the following description, each of the audio input / output devices 8-1 to 8-3.
It is also possible to use different sampling frequencies.

【0063】さて、5−4において、YESの判断がな
されると、与えられるアナログ音声信号は、5−5でサ
ンプルホールド(S/H)され、A/D変換される。続
いてて、5−6において、DMAコントローラ10に対
してDMA転送要求DRQをアクティブにして出力す
る。
When the determination of YES is made in 5-4, the applied analog audio signal is sampled and held (S / H) in 5-5 and A / D converted. Subsequently, in 5-6, the DMA controller 10 activates and outputs the DMA transfer request DRQ to the DMA controller 10.

【0064】DMAコントローラ10は、この要求信号
DRQを受けとり、DMA転送を行うべく、その回答信
号DAKを出力する(この場合の詳細動作は後述す
る)。従って、音声入出力装置8−1〜8−3(いまの
場合レコード状態である音声入出力装置8−2又は8−
3)は、5−7の判断がYESとなると、5−8に進
み、A/D変換して得たデジタル音声データをデータバ
スに出力し、対応するバッファ9−1〜9−3(いまの
場合バッファ9−2又は9−3)へ送る。そして、5−
9にて、DMA転送要求DRQをインアクティブにす
る。従って、いまの場合、音声入出力装置8−2、8−
3にあっては、サンプリング周期毎に、外部から与えら
れるアナログ音声信号をデジタル音声信号に変換し、後
述するようにDMAコントローラ10にて夫々指定され
るバッファ9−2、9−3のカレントアドレスに転送す
る。
The DMA controller 10 receives the request signal DRQ and outputs an answer signal DAK for performing DMA transfer (the detailed operation in this case will be described later). Therefore, the audio input / output devices 8-1 to 8-3 (the audio input / output devices 8-2 or 8-
3) If the determination at 5-7 is YES, the process proceeds to 5-8, where the digital audio data obtained by A / D conversion is output to the data bus, and the corresponding buffers 9-1 to 9-3 (now Is sent to the buffer 9-2 or 9-3). And 5-
At 9, the DMA transfer request DRQ is made inactive. Therefore, in this case, the audio input / output devices 8-2, 8-
3, the analog audio signal supplied from the outside is converted into a digital audio signal for each sampling period, and the current addresses of the buffers 9-2 and 9-3 specified by the DMA controller 10 are described later. Transfer to

【0065】また、5−3においてプレイ状態と判断さ
れると、5−10に進み、DMAコントローラ10対し
DMA転送要求DRQをアクティブにし、DMAコント
ローラ10から回答信号DAKの到来を待って(5−1
1)、データバス上のデジタル音声データを取込み(5
−12)、上記要求DRQをインアクティブにする(5
−13)。このときのDMAコントローラ10の動作は
後述するが、いまの場合、Tr1に対応するバッファ9
−1のカレントアドレスの内容(これはすでにディスク
12のTr1のエリアの内容が転送記録されている)
が、以上の操作で音声入出力装置8−1に入力設定され
ることになる。そして、サンプリング時刻となったか否
か判断する(5−14)。このサンプリング時刻の到来
の検出は、5−4において述べた場合と同様に行なわれ
る。
If it is determined in step 5-3 that the player is in the play state, the process proceeds to step 5-10 to activate the DMA transfer request DRQ to the DMA controller 10 and wait for an answer signal DAK from the DMA controller 10 (step 5-5). 1
1) fetch digital audio data on the data bus (5
-12), the request DRQ is made inactive (5)
-13). The operation of the DMA controller 10 at this time will be described later, but in this case, the buffer 9 corresponding to Tr1
-1 current address content (this is the content of the Tr1 area of the disk 12 already transferred and recorded)
Are input and set to the voice input / output device 8-1 by the above operation. Then, it is determined whether or not the sampling time has come (5-14). The detection of the arrival of the sampling time is performed in the same manner as in the case described in 5-4.

【0066】そして、5−14でYESとなると5−1
5に進みD/A変換及びローパスフィルタリングを実行
した上でアナログ音声信号を外部に出力する。
If the answer is YES in 5-14, 5-1
Proceed to 5 to execute D / A conversion and low-pass filtering, and then output an analog audio signal to the outside.

【0067】以上レコード状態の場合と、プレイ状態の
場合との1つのサンプリング時刻における動作を説明し
たが、5−9、5−15の各処理の終了後5−1に戻
り、以下同様にして次々とサンプリング時刻に対する処
理を実行する。
The operation at one sampling time in the case of the record state and the case of the play state has been described above. However, the processing returns to 5-1 after the completion of each processing of 5-9 and 5-15, and so on. The processing for the sampling time is executed one after another.

【0068】<DMAコントローラ10の動作>次に、
図6を参照してDMAコントローラ10の動作を説明す
る。この図6のフローチャートは、図2のサービスコン
トローラ108がマイクロプログラム制御で動作するの
を表わしているとしてもよく、あるいは、ハードロジッ
クでDMAコントローラ10が機能実現をしているとし
てもよい。
<Operation of DMA Controller 10>
The operation of the DMA controller 10 will be described with reference to FIG. The flowchart of FIG. 6 may represent that the service controller 108 of FIG. 2 operates under microprogram control, or the function of the DMA controller 10 may be realized by hard logic.

【0069】先ず、6−1において、CPU1からの指
定信号CSが到来している(アクティブとなっている)
か否かを判断し、YESならば、6−2において、リー
ド信号RD、ライト信号WRのいずれがCPU1から与
えられているかを判断し、リード信号RDならば6−3
に進みアドレスバスを介して与えられるアドレス信号に
て指定されるレジスタ104、105の内容をデータバ
スを介して出力してCPU1がリードできるようにし、
逆にライト信号WRならば6−4に進み、指定したレジ
スタにデータバスを介して所望のデータを入力設定する
ことになる。この6−3、6−4の処理は、CPU1の
メインルーチンの3−5、3−15などの処理に対応す
る。従って、6−4の処理によって図2の各レジスタ1
04、105には所望のデータがセットされることにな
る。
First, in 6-1, the designation signal CS from the CPU 1 has arrived (it is active).
It is determined whether the read signal RD or the write signal WR is given from the CPU 1 in 6-2 if YES, and if the read signal RD, 6-3
To output via the data bus the contents of the registers 104 and 105 designated by the address signal given via the address bus so that the CPU 1 can read the contents.
Conversely, if it is a write signal WR, the process proceeds to 6-4, and desired data is input and set to the designated register via the data bus. The processes of 6-3 and 6-4 correspond to processes of 3-5 and 3-15 of the main routine of the CPU 1. Accordingly, each register 1 in FIG.
Desired data is set in 04 and 105.

【0070】そして、このようなCPU1からのDMA
コントローラ10に対するアクセスやプログラムが終る
と指定信号CSはインアクティブとされ、6−1から6
−5に処理は進むことになる。
The DMA from the CPU 1
When the access to the controller 10 or the program is completed, the designation signal CS is made inactive, and 6-1 to 6
The process proceeds to -5.

【0071】6−5では、各音声入出力装置8−1〜8
−3からDMA転送要求DRQ1〜DRQ3がきている
か、デバイスコントローラ11からDMA転送要求DR
EQ(DRQ4)がきているかを判断し、もし、いずれ
かから要求が来ていると6−6に進み、DMA可能信号
DMAENBを“1”(アクティブ)にし、DMAユニ
ット内のアドレスバスとデータバスをDMAコントロー
ラ10が専有するようにし、CPU1からのアクセスを
受け付けなくする。続いて、複数の要求に際しては、チ
ャンネルCH1〜CH4の順の優先順位に従って、チャ
ンネルを選択する(6−7)。
In 6-5, each of the audio input / output devices 8-1 to 8-8
-3, the DMA transfer requests DRQ1 to DRQ3 have been received, or the device controller 11
It is determined whether or not the EQ (DRQ4) has arrived. If there is a request from any of them, the process proceeds to 6-6, the DMA enable signal DMAENB is set to "1" (active), and the address bus and the data bus in the DMA unit are set. Is made exclusive to the DMA controller 10 and access from the CPU 1 is not accepted. Subsequently, for a plurality of requests, a channel is selected according to the priority order of the channels CH1 to CH4 (6-7).

【0072】続いて、選択したチャンネル(いま、例え
ばCH2)のカレントアドレス(アドレスレジスタ10
4のCH2のカレントアドレスレジスタの内容)をアド
レスバスに出力する(6−8)。そして選択したチャン
ネル(いま、例えばCH2)のコントロールレジスタ1
05の内容を参照し、DMA転送をいずれの方向へ行う
か決定し(6−9)、もしバッファ9−1〜9−3から
他の要素(I/O)への転送なら6−10から6−11
へ進んで、バッファ9−1〜9−3のうちの選択してい
るバッファに対しリード信号RDを与え、逆に他の要素
(I/O)からバッファ9−1〜9−3への転送ならば
6−12に進み、当該バッファに対してライト信号WR
を与える。
Subsequently, the current address (address register 10) of the selected channel (now, for example, CH2) is set.
4 (the content of the current address register of CH2) is output to the address bus (6-8). Then, the control register 1 of the selected channel (now, for example, CH2)
05, it is determined in which direction the DMA transfer is to be performed (6-9). If the data is to be transferred from the buffers 9-1 to 9-3 to another element (I / O), the processing is to be performed from 6-10. 6-11
Then, the read signal RD is given to the buffer selected from among the buffers 9-1 to 9-3, and conversely, the transfer is performed from another element (I / O) to the buffers 9-1 to 9-3. If so, the process proceeds to 6-12, and the write signal WR is sent to the buffer.
give.

【0073】しかる後、回答信号DAKをアクティブに
する(6−13)。その結果、いまの場合、Tr2の音
声入出力装置8−2は、5−7、5−8(図5)の処理
によって、サンプリングした音声データを、データバス
に送出し、バッファ9−2のカレントアドレスのエリア
に、DMAコントローラ10が書込むことになる。6−
14では、データ転送が終了したので、上記リード信号
RD又はライト信号WR、回答信号DAKをインアクテ
ィブにし、6−15で、当該チャンネル(いまCH2)
のカレントアドレス(図2のアドレスレジスタ104
内)の内容を+1するか、またはバッファ開始アドレス
にリセットする。この6−15の動作により、バッファ
9−1〜9−3に対して新たなサンプリング音声データ
が書込まれる都度、あるいは新たに音声データが読出さ
れる都度アップカウントされることになる。
After that, the answer signal DAK is activated (6-13). As a result, in this case, the audio input / output device 8-2 of the Tr2 sends out the sampled audio data to the data bus by the processing of 5-7 and 5-8 (FIG. 5), and outputs the data to the buffer 9-2. The DMA controller 10 writes data in the area of the current address. 6-
In 14, since the data transfer is completed, the read signal RD or the write signal WR and the answer signal DAK are made inactive, and in 6-15, the corresponding channel (now CH 2)
Current address (address register 104 in FIG. 2)
(1) or reset to the buffer start address. By the operation of 6-15, the count is incremented each time new sampled audio data is written into the buffers 9-1 to 9-3 or each time new audio data is read.

【0074】DMAコントローラ10は、6−15の処
理を行なった後、6−16に進み、該当するチャンネル
のテイルアドレスがカレントアドレス以下か否かをジャ
ッジして、もしもNOならば6−1に戻り、YESなら
ば6−17に進んで、カレントアドレスをそのチャンネ
ルのトップアドレスに置換し、6−1に戻る。即ち、こ
れにより、バッファ9−1乃至9−3がリング状に使用
される。
After performing the processing of 6-15, the DMA controller 10 judges whether the tail address of the corresponding channel is lower than the current address or not, and if not, the processing proceeds to 6-1. Returning, if YES, proceed to 6-17, replace the current address with the top address of the channel, and return to 6-1. That is, thereby, the buffers 9-1 to 9-3 are used in a ring shape.

【0075】例えばTr2とTr3の音声入出力装置8
−2、8−3よりデータ転送要求がDMAコントローラ
10に対してなされており、これまでにTr2について
のみデータ転送の実行をしていたとすると、続く6−5
においてはYESの判断がなされる。以下Tr3に関し
て、音声入出力装置8−3からバッファ9−3の方向へ
のデータ転送が、6−7〜6−10、6−12〜6−1
7を実行することにより上記した場合と同様にしてなさ
れる。
For example, audio input / output device 8 for Tr2 and Tr3
Assuming that a data transfer request has been made to the DMA controller 10 from -2 and 8-3, and data transfer has been executed only for Tr2, the following 6-5
Is determined to be YES. Hereinafter, regarding Tr3, data transfer from the audio input / output device 8-3 to the buffer 9-3 is performed in the following manner: 6-7 to 6-10, 6-12 to 6-1.
7 is performed in the same manner as described above.

【0076】このようなデータ転送が完了すると6−5
から6−18に進み、DMA可能信号を“0”(インア
クティブ)にして、DMAユニット内のデータバス、ア
ドレスバスをDMAコントローラ10が専有するのを中
止し、CPU1からのアクセスを受付けられるようにす
る。
When such data transfer is completed, 6-5
From 6 to 18, the DMA enable signal is set to "0" (inactive), the DMA controller 10 stops occupying the data bus and address bus in the DMA unit, and the access from the CPU 1 can be accepted. To

【0077】以上Tr2、Tr3に関し、音声入出力装
置8−2、8−3から夫々対応するバッファ9−2、9
−3へのデータ転送について説明したが、Tr1につい
ては、逆に、バッファ9−1から音声入出力装置8−1
へのデータ転送がDMAコントローラ10によってなさ
れる。これに応答し、DMAコントローラ10は、上記
した場合と同様に6−5〜6−7を実行し、6−8にお
いて、バッファ9−1の読み出すべきアドレスを示すア
ドレスデータをアドレスバスを介して与える。6−9、
6−10の実行により、6−11に進み、今回はバッフ
ァ9−1に対し読み出し信号RDを与え、6−13で回
答信号DAKを“1”とする。
With respect to Tr2 and Tr3, the audio input / output devices 8-2 and 8-3 transmit the corresponding buffers 9-2 and 9-3, respectively.
The data transfer to the audio input / output device 8-1 has been described above.
Is transferred by the DMA controller 10. In response, the DMA controller 10 executes 6-5 to 6-7 in the same manner as described above, and in 6-8, sends the address data indicating the address to be read from the buffer 9-1 via the address bus. give. 6-9,
By executing 6-10, the process proceeds to 6-11, in which the read signal RD is supplied to the buffer 9-1, and the answer signal DAK is set to "1" at 6-13.

【0078】その結果、バッファ9−1の指定アドレス
のデジタル音声データは、データバスを介して、Tr1
の音声入出力装置8−1へ転送され取込まれることにな
る。しかる後、6−14乃至6−17の処理を経て6−
1へ戻る。
As a result, the digital audio data at the designated address of the buffer 9-1 is transferred to the Tr1 via the data bus.
To the voice input / output device 8-1. Thereafter, through the processes of 6-14 to 6-17, 6-
Return to 1.

【0079】また、DMAコントローラ10は、ディス
ク12とバッファ9−1〜9−3との間のデータ転送も
行う。この場合は、チャンネルCH4のアドレスレジス
タ104、コントロールレジスタ105が使用される。
この動作は、CPU1のインタラプトルーチン(図4)
の実行によって、DMAコントローラ10に対する設定
/制御動作4−1〜4−4、デバイスコントローラ11
に対するプログラミング動作4−5、4−6の後、実行
される。
The DMA controller 10 also performs data transfer between the disk 12 and the buffers 9-1 to 9-3. In this case, the address register 104 and the control register 105 of the channel CH4 are used.
This operation is performed by the interrupt routine of the CPU 1 (FIG. 4).
, The setting / control operations 4-1 to 4-4 for the DMA controller 10 and the device controller 11
Are executed after programming operations 4-5 and 4-6 for.

【0080】このDMAコントローラ10に対するCP
U1の設定/制御動作4−1〜4−4に対応して、DM
Aコントローラ10は、6−3、6−4の処理を行な
う。即ち、CPU1は今回チャンネルCH4によってデ
ータ転送するトラックを決定し、そのトラックに対応す
るバッファのスタートアドレス(つまり前回当該バッフ
ァとディスク12とのデータ転送を行ったブロックデー
タの次のアドレス)をCH4のスタートアドレスレジス
タ(図2のアドレスレジスタ104内)にセットし、こ
のトラックについての今回のデータ転送数をスタートア
ドレスとカレントアドレス(前回データ転送をディスク
12との間で行った後に歩進したアドレス)との差から
CPU1は得るとともに、このトラックについてのカレ
ントアドレスをスタートアドレスにコピーする。
The CP for the DMA controller 10
According to the setting / control operations 4-1 to 4-4 of U1, the DM
The A controller 10 performs the processing of 6-3 and 6-4. That is, the CPU 1 determines the track to which the data is to be transferred by the current channel CH4, and sets the start address of the buffer corresponding to the track (that is, the address next to the block data for which the data was previously transferred between the buffer and the disk 12) to CH4. The start address register (in the address register 104 in FIG. 2) is set in the start address register, and the current data transfer number for this track is set to the start address and the current address (the address that has been incremented after the previous data transfer with the disk 12). The CPU 1 obtains the current address of the track from the difference from the start address and copies the current address to the start address.

【0081】CPU1は、動作中のトラックに対応する
バッファ9−1〜9−3とディスク12との間のデータ
転送を各トラック毎に順番に行うようになり、各トラッ
ク毎に、前回のデータ転送(ブロック転送)に続くデー
タ転送を行うようになる。そして、CPU1は、4−
5、4−6によってデバイスコントローラ11に対しプ
ログラミングを行った上で、実際の転送要求をデバイス
コントローラ11から発生させて、DMA転送を開始さ
せる。
The CPU 1 performs data transfer between the buffers 9-1 to 9-3 corresponding to the operating track and the disk 12 sequentially for each track, and for each track, the previous data is transferred. Data transfer following transfer (block transfer) is performed. Then, the CPU 1
After the device controller 11 is programmed according to steps 5 and 4-6, an actual transfer request is generated from the device controller 11, and the DMA transfer is started.

【0082】DMAコントローラ10では、6−5にお
いて、デバイスコントローラ11から転送要求があるこ
とを検知すると、上記と同様にして6−6〜6−9を実
行した後、バッファ9−1〜9−3からディスク12方
向へのデータ転送の要求か、ディスク12からバッファ
9−1〜9−3方向へのデータ転送の要求か6−10に
おいて判断し、前者ならば6−11へ、後者ならば6−
12へ進んだ後、6−13〜6−17の各処理を実行す
る。
When the DMA controller 10 detects that there is a transfer request from the device controller 11 in 6-5, the DMA controller 10 executes 6-6 to 6-9 in the same manner as described above, and then executes the buffers 9-1 to 9-. 6-10, a request for data transfer from the disk 3 to the disk 12 or a request for data transfer from the disk 12 to the buffers 9-1 to 9-3. 6-
After proceeding to 12, each processing of 6-13 to 6-17 is executed.

【0083】このディスク12とバッファ9−1〜9−
3とのデータ転送については、デバイスコントローラ1
1の動作も大きく関連するので、後に更に説明する。そ
して、DMA転送が完了すると、要求信号DRQ1〜4
が到来しなくなり、6−5から6−18へ進み、DMA
可能信号DMAENBを“0”(インアクティブ)とす
る。
This disk 12 and buffers 9-1 to 9-
3 is transferred to the device controller 1
The operation 1 is also closely related, and will be further described later. When the DMA transfer is completed, the request signals DRQ1 to DRQ4
No longer arrives, proceed from 6-5 to 6-18, DMA
The enable signal DMAENB is set to “0” (inactive).

【0084】<デバイスコントローラ11の動作>次
に、図7を参照してデバイスコントローラ11の動作を
説明する。このデバイスコントローラ11は、ハードロ
ジックによっても、マイクロプログラム制御によっても
よく、いずれにしても図7の動作フローを機能実現す
る。
<Operation of Device Controller 11> Next, the operation of the device controller 11 will be described with reference to FIG. This device controller 11 may be realized by hardware logic or microprogram control, and in any case, implements the operation flow of FIG.

【0085】まず、CPU1から指定信号CSが与えら
れているか判断する(7−1)。これは、CPU1のイ
ンタラプトルーチン(図4の4−5、4−6)にて与え
られる。NOの場合は元に戻るが、YESの場合は7−
2に進み、CPU1からリード信号RDが与えられてい
るか、ライト信号WRが与えられているか判断し、リー
ド時には7−3でデバイスコントローラ11内部の指定
データ(アドレスレジスタの内容等)をデータバスを介
してCPU1へ出力する。
First, it is determined whether the designation signal CS is given from the CPU 1 (7-1). This is given by the interrupt routine of the CPU 1 (4-5, 4-6 in FIG. 4). In the case of NO, it returns to the original, but in the case of YES, 7-
Then, it is determined whether the read signal RD or the write signal WR is supplied from the CPU 1 at the time of reading, and at the time of reading, the designated data (contents of the address register, etc.) inside the device controller 11 is transferred to the data bus at 7-3. Output to CPU1 via

【0086】また、ライト信号WRが与えられていると
きは7−2から7−4に進み、今回DMAコントローラ
10のチャンネルCH4にてDMA転送するバッファと
ディスク12とのデータ転送方向を設定し、7−5に
て、アクセスするディスク12のアクセスポイントを設
定する。これは、CPU1がRAM3から得ている当該
トラックのアクセスポインタによる(図4、4−5)。
When the write signal WR is given, the process proceeds from 7-2 to 7-4, and the data transfer direction between the buffer and the disk 12 for DMA transfer on the channel CH4 of the DMA controller 10 this time is set. At 7-5, an access point of the disk 12 to be accessed is set. This is based on the access pointer of the track obtained by the CPU 1 from the RAM 3 (4-5 in FIG. 4).

【0087】続いて7−6において、転送データ数(デ
ジタル音声データ数)をデバイスコントローラ11の内
部カウンタに設定する。この転送データ数は、CPU1
のインタラプトルーチンのなかの4−6にて得ている。
Subsequently, in step 7-6, the number of transfer data (the number of digital audio data) is set in the internal counter of the device controller 11. This transfer data number is determined by the CPU 1
In the interrupt routine 4-6.

【0088】このように、7−4〜7−6を実行するこ
とによってCPU1の制御のもとでデバイスコントロー
ラ11はプログラムされ、その後デバイスコントローラ
11はDMAコントローラ10に対しデータ転送の要求
をする(7−7)。このことからも理解されるとおり、
CPU1は、デバイスコントローラ11からインタラプ
ト信号INTを受けると、次のトラックに対応する(つ
まり、いまTr1〜Tr3は全て動作中とすると、Tr
1、Tr2、Tr3、Tr1、……の順で)DMA転送
の設定、制御をDMAコントローラ10に対し実行し、
デバイスコントローラ11をプログラムする。その後、
CPU1はデバイスコントローラ11とDMAコントロ
ーラ10とから離れて、相互のインタラクションで実際
のDMA転送を実行させる。
As described above, by executing 7-4 to 7-6, the device controller 11 is programmed under the control of the CPU 1, and thereafter, the device controller 11 requests the DMA controller 10 for data transfer ( 7-7). As you can see from this,
Upon receiving the interrupt signal INT from the device controller 11, the CPU 1 corresponds to the next track (that is, if all of Tr1 to Tr3 are operating now,
1, in the order of Tr2, Tr3, Tr1,...
Program the device controller 11. afterwards,
The CPU 1 is separated from the device controller 11 and the DMA controller 10 to execute an actual DMA transfer by mutual interaction.

【0089】デバイスコントローラ11は、7−7の次
に7−8へ進み、DMAコントローラ10から回答信号
DACK(DAK4)を受けとる(図6、6−13参
照)まで7−8を繰り返す。7−8の判断がYESとな
ると7−9に進み、DMAコントローラ10のCH4の
動作によって、1サンプルのデジタル音声データの転送
が行われ、7−6にて設定した転送カウンタを1だけダ
ウンカウントする(7−10)。続く7−11におい
て、予め設定していた転送データ数分のデータ転送が完
了したか上記転送カウンタの内容に従ってジャッジし、
NOならば再び7−8へ戻る。従って、DMAコントロ
ーラ10においては、デバイスコントローラ11から設
定したデータ数の転送(ブロック転送)が終了するま
で、転送要求DRQ4を続けて受けとることになり、こ
の転送要求に従って6−5〜6−15の処理(図6)を
実行し、それに応答する形でデバイスコントローラ11
側では7−8〜7−11の処理を実行する。
The device controller 11 proceeds to 7-8 after 7-7, and repeats 7-8 until receiving the answer signal DACK (DAK4) from the DMA controller 10 (see 6-13 in FIG. 6). If the determination at 7-8 is YES, the process proceeds to 7-9, where the operation of CH4 of the DMA controller 10 transfers one sample of digital audio data, and the transfer counter set at 7-6 is down-counted by one. (7-10). In the following 7-11, judgment is made according to the contents of the transfer counter as to whether the data transfer for the number of transfer data set in advance is completed,
If NO, return to 7-8 again. Therefore, the DMA controller 10 continuously receives the transfer request DRQ4 until the transfer (block transfer) of the number of data set from the device controller 11 is completed, and according to this transfer request, 6-5 to 6-15 The device controller 11 executes the processing (FIG. 6) and responds thereto.
The side executes the processes of 7-8 to 7-11.

【0090】そして、転送終了が7−11にて判断され
ると、7−12に進み、デバイスコントローラ11から
DMAコントローラ10に対してのデータ転送の要求D
REQ(DRQ4)を“0”(インアクティブ)とす
る。そして、次のトラックに関してディスク12とバッ
ファ9−1〜9−3のいずれかとのデータ転送を行わせ
るために、デバイスコントローラ11はCPU1へイン
タラプト信号INTを与える(7−13)。これに応答
して、CPU1はインタラプトルーチン(図4)を実行
することは上述したとおりである。
When the end of the transfer is determined in step 7-11, the process proceeds to step 7-12, in which a request D for data transfer from the device controller 11 to the DMA controller 10 is issued.
REQ (DRQ4) is set to “0” (inactive). Then, the device controller 11 sends an interrupt signal INT to the CPU 1 to cause the data transfer between the disk 12 and any of the buffers 9-1 to 9-3 for the next track (7-13). In response to this, the CPU 1 executes the interrupt routine (FIG. 4) as described above.

【0091】<エリアデータの書換え>次にDMAコン
トローラ10のエリアデータバッファ112の内容がエ
リアデータレジスタ111に転送される動作を図8のフ
ローチャートに従って説明する。これはDMAコントー
ラ10の内部のハードロジックもしくはマイクロプログ
ラム制御によるものであってもよく、機能実現手段は種
々選択できる。
<Rewriting of Area Data> Next, the operation of transferring the contents of the area data buffer 112 of the DMA controller 10 to the area data register 111 will be described with reference to the flowchart of FIG. This may be based on hardware logic or microprogram control inside the DMA controller 10, and various means for realizing functions can be selected.

【0092】勿論、この処理は割り込みによるCPU1
のソフト処理とすることもできる。まず、前提として図
9のようにバッファ9−1乃至9−3に各トラックが割
り付けられていたとする。図8のステップ8−0でバッ
ファ9−1乃至9−3のいずれかのエリア(アドレス)
書換え要求が発生したと判定されたとき、8−1ではそ
れらの中から最も小さいトラックの番号(9−1,9−
2,9−3の順)のDMAチャンネルを選択する。これ
は上位のアドレスに割り付けられたトラックバッファか
ら順に処理していくことを意味する。
Of course, this processing is executed by the CPU 1
Software processing. First, it is assumed that each track is allocated to the buffers 9-1 to 9-3 as shown in FIG. In step 8-0 in FIG. 8, one of the areas (addresses) of the buffers 9-1 to 9-3
When it is determined that a rewrite request has occurred, the number of the smallest track (9-1, 9-
(In the order of 2, 9-3). This means that processing is performed sequentially from the track buffer assigned to the upper address.

【0093】次に、書換え要求はさらにテイルアドレス
とトップアドレスの書換え要求に別れるので、8−2で
それを判定する。テイル書換え要求があると判定された
とき、次に8−3以降のステップでバッファ内のデータ
の格納状態がテイルまたはトップアドレスを書換え可能
な状態かを判断する。すなわちそのチャンネルのスター
トアドレスとカレントアドレスとが スタートアドレス>カレントアドレス の関係を有していれば、データの格納状態では図10
(1)のようであることを意味するので、この条件だけ
から判断すればエリアの境界を変更できることになる。
この条件を満足しない場合にはトップアドレス、テイル
アドレス共に書換え不可能なので8−0に戻り、最初か
らやり直す。
Next, the rewrite request is further divided into a tail address and a top address rewrite request. When it is determined that there is a tail rewrite request, it is next determined in step 8-3 and thereafter whether the data storage state in the buffer is a state in which the tail or top address can be rewritten. That is, if the start address of the channel and the current address have a relationship of start address> current address, the data storage state shown in FIG.
This means that it is as shown in (1), so that judging only from this condition, the boundary of the area can be changed.
If this condition is not satisfied, the top address and the tail address cannot be rewritten, and the process returns to 8-0 and starts over from the beginning.

【0094】スタートアドレスがカレントアドレスより
大きいとき、次に8−4においてスタートアドレスとエ
リアデータバッファ112のテイルアドレス(新テイル
アドレス)との大小関係が比較され、 スタートアドレス<エリアデータバッファ112のテイ
ルアドレス (新テイルアドレス)であればアドレスを書き換えるこ
とができるので、8−5に進む。しかしながら、スター
トアドレスの方が新テイルアドレスより大きい場合、図
10(1)に示すように書換え不能となる。従って、8
−2または8−4のジャッジがNOの場合には、トップ
アドレスについての処理(8−7)に進む。
If the start address is larger than the current address, the magnitude relationship between the start address and the tail address of the area data buffer 112 (new tail address) is compared next at 8-4, where start address <tail address of the area data buffer 112. If it is an address (new tail address), the address can be rewritten, so the process proceeds to 8-5. However, if the start address is larger than the new tail address, rewriting becomes impossible as shown in FIG. Therefore, 8
If the judgment of -2 or 8-4 is NO, the process proceeds to the process (8-7) for the top address.

【0095】なお、ここまででテイルアドレスの書換え
が現在よりも大きくなる場合についての判定は行なって
いないが、アドレスの書換えは上位のアドレスのトラッ
クバッファから9−1,9−2,9−3へ順番に書き換
えていくので、一つのトラックバッファについての書換
えが済むまでは次のトラックバッファのエリアは変更さ
れないことになる。従って、テイルが大きくなるとき
は、先の順番のn−1チャンネルのトラックバッファの
トップの書換えが終了していることになり、かかる判定
が不要となるのである。
Up to this point, no determination has been made as to the case where the tail address rewrite becomes larger than the current one. However, the address rewrite is performed from the track buffer of the higher address in the order of 9-1, 9-2, 9-3. Since the rewriting is performed in order, the area of the next track buffer is not changed until the rewriting of one track buffer is completed. Therefore, when the tail becomes large, it means that the rewriting of the top of the track buffer of the (n-1) th channel in the previous order has been completed, and such a determination is unnecessary.

【0096】8−2乃至8−4のすべての条件を満足し
た場合には、8−5でそのチャンネルのテイルアドレス
をエリアデータバッファ112に記憶されているテイル
アドレス(新アドレス)に置換する。そして書換えが終
了したので、8−6でそのチャンネルのテイルアドレス
の書換え要求をクリアする。
If all the conditions of 8-2 to 8-4 are satisfied, the tail address of the channel is replaced with the tail address (new address) stored in the area data buffer 112 at 8-5. Then, since the rewriting is completed, the rewriting request of the tail address of the channel is cleared in 8-6.

【0097】次に8−7ではトップアドレスの書換え要
求があるか否かをジャッジし、もしもトップアドレスの
書換え要求があるときには8−8に進む。8−8ではカ
レントアドレスがエリアデータバッファ112のトップ
アドレス(新トップアドレス)よりも小である場合(図
10(2))には、トップアドレスの書換えは不可能な
のでこれを判別し、 カレントアドレス>エリアデータバッファ112のトッ
プアドレス (新トップアドレス)を満足していれば8−9に進む。
Next, at 8-7, it is judged whether or not there is a top address rewrite request. If there is a top address rewrite request, the process proceeds to 8-8. In 8-8, if the current address is smaller than the top address (new top address) of the area data buffer 112 (FIG. 10 (2)), it is impossible to rewrite the top address, so that it is determined. > If the top address (new top address) of the area data buffer 112 is satisfied, go to 8-9.

【0098】8−9ではトップアドレスを書き換えた時
にn+1チャンネルのトラックバッファの境界に食い込
むか否かを判別するためエリアデータレジスタ111の
トップアドレスとエリアデータバッファ112のトップ
アドレスとを比較し、 エリアデータレジスタ111のトップアドレス>エリア
データバッファ112のトップアドレス を満足するならば8−10に進み、そうでなければ8−
10をスキップして8−11に進む。
In step 8-9, the top address of the area data register 111 is compared with the top address of the area data buffer 112 in order to determine whether or not the top address is rewritten, so as to determine whether or not to go into the boundary of the n + 1 channel track buffer. If the top address of the data register 111> the top address of the area data buffer 112 is satisfied, the process proceeds to 8-10.
Skip 10 and go to 8-11.

【0099】8−10では図10(3),(4)に示す
ように、そのチャンネルのトップアドレスの書換えによ
って後のn+1チャンネルのトラックバッファに影響を
及ぼすことがないかを判別するために、現在のチャンネ
ルの次のチャンネルのスタートアドレスと現在のチャン
ネルのカレントアドレスを比較し、そのスタートアドレ
スがカレントアドレスよりも小さく、かつスタートアド
レスが新トップアドレスよりも小さい場合にのみ8−1
1に進む。図10(3)に示すように、n+1チャンネ
ルのスタートアドレスがカレントアドレスよりも小さか
ったり、図10(4)に示すように、n+1チャンネル
スタートアドレスが新トップアドレスより小さいとき
は、n+1チャンネルのデータが影響を受けるため、書
換えはできないことになる。
In step 8-10, as shown in FIGS. 10 (3) and 10 (4), in order to determine whether rewriting the top address of the channel does not affect the track buffer of the subsequent channel (n + 1), The start address of the channel next to the current channel is compared with the current address of the current channel. Only when the start address is smaller than the current address and the start address is smaller than the new top address, 8-1.
Proceed to 1. As shown in FIG. 10 (3), when the start address of the n + 1 channel is smaller than the current address, or as shown in FIG. 10 (4), the start address of the n + 1 channel is smaller than the new top address. The data cannot be rewritten because it is affected.

【0100】8−11では、現在のチャンネルのエリア
データレジスタ111のトップアドレスをエリアデータ
バッファ112のトップアドレスで置換し、書換えが完
了したので、8−12でそのチャンネルのトップアドレ
ス書換え要求をクリアする。
At 8-11, the top address of the area data register 111 of the current channel is replaced with the top address of the area data buffer 112, and the rewriting is completed. Therefore, at 8-12, the top address rewriting request of the channel is cleared. I do.

【0101】なお、8−10の条件を満足してnチャン
ネルのトップを書き換えたときは、直ちにn+1チャン
ネルのテイルアドレスの書換えを行なうべきだが、この
動作フローはn+1のデータ格納状態が変化するより十
分に早いので、n+1チャンネルのテイルアドレスの書
換えは、次のループで行なう様にしても問題はない。
When the top of the n channel is rewritten while satisfying the conditions of 8-10, the tail address of the n + 1 channel should be rewritten immediately. However, this operation flow is different from the case where the data storage state of the n + 1 changes. Since it is sufficiently fast, there is no problem if the tail address of the (n + 1) th channel is rewritten in the next loop.

【0102】<トラックバッファのエリア決定>図11
は、各トラックへのバッファ割り付け要求を発生するた
めのCPUの処理であり、タイマ等の手段で定期的また
は間欠的に起動されるが、ディスク転送割り込みのあと
で起動されるようにしても良い。
<Determination of Track Buffer Area> FIG.
Is a process of the CPU for generating a buffer allocation request to each track, and is started periodically or intermittently by means such as a timer, but may be started after a disk transfer interrupt. .

【0103】CPU1は、11−1においてDMAコン
トローラ10のアドレスレジスタ104からバッファ9
−1乃至9−3のスタートアドレスとカレントアドレス
を読み取る。次に、11−2において読み取ったスター
トアドレスとカレントアドレスからバッファ9−1乃至
9−3の余裕度(有効容量)を演算する。この余裕度
は、再生動作を行っているバッファにおいてはバッファ
の総容量に対する未発音量(既に書き込まれてはいる
が、まだ読み出されていないデータ量)で表わすことが
出来る。また、記録動作を行っているバッファにおいて
は、バッファの総容量に対する未録音量(まだデータが
書き込まれていない領域の容量)で表すことが出来る。
いずれの場合においてもこの余裕度は、カレントアドレ
スをC、スタートアドレスをS、バッファの総容量をN
とする場合、カレントアドレスがスタートアドレスより
大きい時、 (N−(C−S))/N で表わされ、スタートアドレスがカレントアドレスより
大きい時、 (S−C)/N で表すことが出来る。この様にして余裕度が求められる
とCPU1は、11−3において、各トラックバッファ
のエリアを決定する。
The CPU 1 reads the buffer 9 from the address register 104 of the DMA controller 10 in 11-1.
The start address and the current address of -1 to 9-3 are read. Next, the margin (effective capacity) of the buffers 9-1 to 9-3 is calculated from the start address and the current address read in 11-2. In the buffer performing the reproducing operation, the margin can be represented by the unsound amount (the data amount which has been written but not read yet) with respect to the total capacity of the buffer. In a buffer performing a recording operation, it can be represented by an unrecorded amount (capacity of an area where data has not yet been written) with respect to the total capacity of the buffer.
In any case, this margin is determined by setting the current address to C, the start address to S, and the total capacity of the buffer to N.
When the current address is larger than the start address, it can be expressed by (N- (CS)) / N, and when the start address is larger than the current address, it can be expressed by (SC) / N. . When the margin is obtained in this way, the CPU 1 determines the area of each track buffer in 11-3.

【0104】11−3においてエリア決定が行なわれた
後、11−4に進み、変更するトラックバッファのエリ
ア情報(トップアドレス及びテイルアドレス)をDMA
コントローラのエリアデータバッファ112に書き込
む。このようにしてエリアデータバッファ112に書き
込まれたデータが、上述したようにしてエリアデータレ
ジスタ111に転送されることになる。
After the area is determined in 11-3, the process proceeds to 11-4, where the area information (top address and tail address) of the track buffer to be changed is stored in the DMA.
Write to the area data buffer 112 of the controller. The data written in the area data buffer 112 in this manner is transferred to the area data register 111 as described above.

【0105】このように、バッファへの負荷は、編集操
作後の再生動作において変動するものであるが、編集し
たデータを再生しつつ録音する場合などにおいては、再
生バッファへの負荷のかかり方で、録音用バッファへの
負荷も変化するなど、DMA転送動作全体が各バッファ
に変動を与えるので、録音動作のバッファ状態もリアル
タイムでトップ及びテイルアドレスを変更することが出
来る。
As described above, the load on the buffer fluctuates in the reproducing operation after the editing operation. However, in the case where the edited data is recorded while being reproduced, the load on the reproducing buffer depends on the load. Since the entire DMA transfer operation fluctuates in each buffer, for example, the load on the recording buffer also changes, the buffer state of the recording operation can also change the top and tail addresses in real time.

【0106】[0106]

【発明の効果】以上のように本発明によれば、再生時に
は読み出し待ちの記録データ量から一時記憶手段の有効
容量を、記録時には入力データ量から一時記憶手段の有
効容量を判定し、判定された有効容量に応じて一時記憶
手段に新たな記憶領域をアドレッシングするので、一時
記憶手段の記憶領域を動的に変化させた有効利用が実現
し、これにより転送レートの異なる複数の外部記憶装置
を用いて記録動作と再生動作とを繰り返す編集作業を行
う際のオーバーヘッドを吸収する適切なバッファ容量を
確保することができる。
As described above , according to the present invention, during reproduction,
Indicates that the temporary storage means is effective based on the amount of recording data waiting to be read.
When recording, determine whether or not temporary storage
Determines the effective capacity and temporarily stores it according to the determined effective capacity
Addressing the new storage area to the means
Effective use by dynamically changing the storage area of storage means
This allows a plurality of external storage devices with different transfer rates
Edit operation to repeat recording and playback operations using
Buffer capacity to absorb the overhead
Can be secured.

【0107】[0107]

【0108】[0108]

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

【図1】本発明のデジタルレコーダの一実施例の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a digital recorder according to the present invention.

【図2】図1におけるDMAコントローラの一実施例の
構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of one embodiment of a DMA controller in FIG. 1;

【図3】図1のCPU1のメインの動作を説明するフロ
ーチャートである。
FIG. 3 is a flowchart illustrating a main operation of a CPU 1 of FIG. 1;

【図4】図1のCPU1のインタラプトルーチンの動作
を説明するフローチャートである。
FIG. 4 is a flowchart illustrating the operation of an interrupt routine of CPU 1 of FIG. 1;

【図5】図1の音声入出力装置8−1乃至8−3の動作
を説明するフローチャートである。
FIG. 5 is a flowchart illustrating the operation of the audio input / output devices 8-1 to 8-3 in FIG. 1;

【図6】図1のDMAコントローラ10の動作を説明す
るフローチャートである。
FIG. 6 is a flowchart illustrating an operation of the DMA controller 10 of FIG. 1;

【図7】図1のデバイスコントローラ11の動作を説明
するフローチャートである。
FIG. 7 is a flowchart illustrating an operation of the device controller 11 of FIG. 1;

【図8】図1のDMAコントローラ10のエリアデータ
レジスタの動作を説明するフローチャートである。
FIG. 8 is a flowchart illustrating an operation of an area data register of the DMA controller 10 of FIG. 1;

【図9】バッファ9−1乃至9−3に対する容量の割り
つけを説明する図である。
FIG. 9 is a diagram for explaining allocation of capacity to buffers 9-1 to 9-3.

【図10】図8の処理に関連してバッファのエリア変換
を説明する図である。
FIG. 10 is a diagram illustrating area conversion of a buffer in connection with the processing in FIG. 8;

【図11】図1のDMAコントローラ10にエリアデー
タを書き込む処理を説明するフローチャートである。
FIG. 11 is a flowchart illustrating a process of writing area data to the DMA controller 10 of FIG. 1;

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

1 CPU 2 ROM 3 RAM 8−1乃至8−3 音声入出力装置 9−1乃至9−3 バッファ 10 DMAコントローラ 11 デバイスコントローラ 12 ディスク DESCRIPTION OF SYMBOLS 1 CPU 2 ROM 3 RAM 8-1 to 8-3 Audio input / output device 9-1 to 9-3 Buffer 10 DMA controller 11 Device controller 12 Disk

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G11B 27/034 G06F 5/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G11B 27/034 G06F 5/06

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力データを一時記憶手段に格納しつ
つ、当該一時記憶手段に格納された入力データを外部記
録手段に転送して記録する一方、この外部記録手段から
読み出される記録データを一時記憶手段に格納しつつ、
当該一時記憶手段から記録データを読み出して再生する
デジタルレコーダにおいて、 再生時には前記一時記憶手段の総記憶容量に占める読み
出し待ちの記録データ量から当該一時記憶手段の有効容
量を判定し、記録時には前記一時記憶手段の総記憶容量
に占める入力データ量から当該一時記憶手段の有効容量
を判定する判定手段と、 この判定手段により判定された有効容量に応じて、前記
一時記憶手段に新たな記憶領域をアドレッシングする割
当手段と を備えることを特徴とするデジタルレコーダ。
And storing the input data in a temporary storage means.
First, the input data stored in the temporary storage
Recording to the external recording means.
While storing the read record data in the temporary storage means,
Read the recorded data from the temporary storage means and reproduce it
In a digital recorder, the readout of the total storage capacity of the temporary storage means at the time of reproduction is performed.
The effective capacity of the temporary storage means is
The amount is determined, and at the time of recording, the total storage capacity of the temporary storage means
From the amount of input data to the effective capacity of the temporary storage means
Determining means for determining, and according to the effective capacity determined by the determining means,
Addressing a new storage area in the temporary storage means
A digital recorder comprising the above means .
JP03308425A 1991-10-28 1991-10-28 Digital recorder Expired - Fee Related JP3131849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03308425A JP3131849B2 (en) 1991-10-28 1991-10-28 Digital recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03308425A JP3131849B2 (en) 1991-10-28 1991-10-28 Digital recorder

Publications (2)

Publication Number Publication Date
JPH05120846A JPH05120846A (en) 1993-05-18
JP3131849B2 true JP3131849B2 (en) 2001-02-05

Family

ID=17980901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03308425A Expired - Fee Related JP3131849B2 (en) 1991-10-28 1991-10-28 Digital recorder

Country Status (1)

Country Link
JP (1) JP3131849B2 (en)

Also Published As

Publication number Publication date
JPH05120846A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
JP2979100B2 (en) Digital recorder
US5974015A (en) Digital recorder
JP3024327B2 (en) Digital recorder
JP3055220B2 (en) Digital recorder
JP3252172B2 (en) Digital recorder
US5559779A (en) Digital audio recorder using external memory medium and leading portion audio data memory
US5642492A (en) Digital recorder employing punch-in and punch-out processes
JP3131849B2 (en) Digital recorder
JP2916533B2 (en) Digital multi-track recorder
JPH04232666A (en) Digital recorder
US5680378A (en) Digital recorder for recording/reproducing events formed by dividing audio data in a designated order
JP3055221B2 (en) Digital recorder
JP3028667B2 (en) Digital recorder
JPH04117688A (en) digital recorder
JPH04232684A (en) Digital recorder
JP2979154B2 (en) Digital recorder
JP3230756B2 (en) Digital recorder
JP3055222B2 (en) Digital recorder
JP3298655B2 (en) Digital recorder
JPH04369754A (en) digital recorder
JP3539802B2 (en) Information storage device
JP3114299B2 (en) Digital recorder
KR100744053B1 (en) Data reproducing apparatus having command reservation function and control method thereof
CN100480978C (en) HDD control apparatus
JP2004086439A (en) Data recording / reproducing apparatus and data read / write control method for hard disk drive

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees