JPH07141658A - Cd-rom device - Google Patents

Cd-rom device

Info

Publication number
JPH07141658A
JPH07141658A JP31117593A JP31117593A JPH07141658A JP H07141658 A JPH07141658 A JP H07141658A JP 31117593 A JP31117593 A JP 31117593A JP 31117593 A JP31117593 A JP 31117593A JP H07141658 A JPH07141658 A JP H07141658A
Authority
JP
Japan
Prior art keywords
error
data
cpu
read
rom
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
JP31117593A
Other languages
Japanese (ja)
Inventor
Yoshio Motosako
芳夫 本迫
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.)
Hudson Soft Co Ltd
Original Assignee
Hudson Soft 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 Hudson Soft Co Ltd filed Critical Hudson Soft Co Ltd
Priority to JP31117593A priority Critical patent/JPH07141658A/en
Publication of JPH07141658A publication Critical patent/JPH07141658A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transmit an error rate to a main machine after final processing by providing a work area in a CD internal buffer RAM, counting the number of errors for every generation of error by error codes and totalling them in a ROM device. CONSTITUTION:The host machine issues an error count page of a mode selection command after initializing. A CPU for CD receives it by an SCSI controller, and initializes an error counting area in the internal buffer RAM. The CPU issues a read/write command and commands the read of a specified section. The CPU actuates a CD-ROM device, and processes reading information. When the error generates at this time, the CPU adds +1 to respective error count values in the RAM. When the read of the specified section is ended, the host machine reads the value of the error count page of the mode selection command. The CPU for CD receives the command by the SCSI controller, and transmits the value of the error counting area to an SCSI bus. The main machine displays respective error count values on a video to inform a user. When an error incapable of restoration generates, the processing is immediately ended, and shifted to the display of the error rate.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はCDを使用するゲーム機
やコンピュータで使用されるCD−ROM装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CD-ROM device used in a game machine or a computer using a CD.

【0002】[0002]

【従来の技術】光コンパクトディスク(CD)は、音声
をデジタルで録音再生することが可能な媒体として開発
され、忠実な音の再現と長時間連続再生が可能なCDオ
ーディオディスクとして普及した。さらに大容量と高速
アクセス性能に着目されて、記録媒体としての利用がす
すんでいる。
2. Description of the Related Art An optical compact disc (CD) was developed as a medium capable of digitally recording and reproducing voice, and has become popular as a CD audio disc capable of reproducing faithful sound and continuously reproducing for a long time. Furthermore, attention is paid to large capacity and high-speed access performance, and its use as a recording medium is advancing.

【0003】CDオーディオディスクのデータ構造につ
いて説明する。L/Rの音声信号をPCM変調して、1
6ビット×2チャンネルのデジタルデータを得る。6標
本区間のデジタルデータ24バイトが1フレーム単位と
なる。エラーの抑制を目的として、L/R12バイト単
位でデータ変換し、誤り訂正符号が入り、インターリー
ブされると、それぞれ8ビット×12のデータと8ビッ
ト×4のパリティになる。1フレームに1バイトのサブ
コードを加え、変調して得られたデジタル信号をCDに
記録する。
The data structure of a CD audio disc will be described. L / R audio signal is PCM modulated and 1
Obtain digital data of 6 bits × 2 channels. 24 bytes of digital data in 6 sample sections are in 1 frame units. For the purpose of suppressing errors, when data is converted in units of L / R 12 bytes, an error correction code is entered and interleaved, 8 bits × 12 data and 8 bits × 4 parity are respectively obtained. A 1-byte subcode is added to 1 frame, and a digital signal obtained by modulation is recorded on a CD.

【0004】98フレームが1つのサブコードブロック
を構成している。先頭の2バイトはサブコードヘッダ、
残り96バイトがサブコード8チャンネルとなる。サブ
コードのうち、24バイトは、読み出し制御に使われ、
ユーザデータの種別と絶対時間やサブコードフレーム番
号等、探索のためのアドレス情報が記録されている。1
つのサブコードブロックに付帯するデータは、2352
バイトの情報量に匹敵する。
98 frames form one subcode block. The first 2 bytes are the subcode header,
The remaining 96 bytes are the subcode 8 channels. Of the subcode, 24 bytes are used for read control,
Address information for searching, such as the type of user data, absolute time, and subcode frame number, is recorded. 1
The data attached to one subcode block is 2352.
Equivalent to the amount of information in bytes.

【0005】CDオーディオディスク再生装置は、デジ
タル信号処理を行う手段に、曲の頭出しや再生順序の設
定等、サブコードを利用したプログラム機能を備えてい
る。ディスク最内周にあるインデックスを手がかりに、
サブコードを探して復調し、サブコードの絶対時間によ
り目的のブロックを探索する。読み出したデジタル信号
を復調し、デインターリーブ、誤り訂正符号によりエラ
ー訂正し、デジタル信号処理を行い、デジタルデータを
得る。デジタルデータはD/Aコンバータで処理され、
音声信号として出力される。
The CD audio disc reproducing apparatus is provided with a program function using sub-codes, such as a cue of a music piece and setting of a reproduction order, as means for performing digital signal processing. Using the index on the innermost circumference of the disc as a clue,
The sub-code is searched for and demodulated, and the target block is searched by the absolute time of the sub-code. The read digital signal is demodulated, error correction is performed by deinterleaving and error correction code, and digital signal processing is performed to obtain digital data. Digital data is processed by D / A converter,
It is output as an audio signal.

【0006】光コンパクトディスクをコンピュータ記録
媒体として利用した代表的なものとして、物理フォーマ
ットが統一規格となったCD−ROMがある。CD−R
OMの物理フォーマットの規格を第1図に示す。物理フ
ォーマットはモード0、モード1、モード2の3種類の
モードが定められている。CD−ROMの1セクタは、
CDオーディオディスクのサブコードブロックに等しい
2352バイトのデータで構成され、各ブロックの先頭
にはブロック間の分離のために12バイトのブロック同
期信号(シンク)が置かれている。
A typical example of using an optical compact disc as a computer recording medium is a CD-ROM whose physical format is a unified standard. CD-R
The OM physical format standard is shown in FIG. As the physical format, three kinds of modes of mode 0, mode 1 and mode 2 are defined. One sector of CD-ROM is
It is composed of data of 2352 bytes which is equal to a subcode block of a CD audio disc, and a 12-byte block sync signal (sync) is placed at the head of each block for separating the blocks.

【0007】ブロック同期信号に続いて、ヘッダ4バイ
トが配され、ブロックアドレス3バイトとデータ記録モ
ードを示す1バイトからなる。モード0とモード2の場
合は残りの2336バイトがデータ領域となる。モード
0ではこのデータが全部0である。
After the block synchronization signal, 4 bytes of header are arranged, which consists of 3 bytes of block address and 1 byte indicating the data recording mode. In mode 0 and mode 2, the remaining 2336 bytes become the data area. In mode 0, this data is all 0s.

【0008】モード1はより正確な誤り訂正が要求され
るコンピュータデータに用いられる。プログラムデータ
や高圧縮率の画像データ等は、1ビットのエラーでも正
常な動作が得られなくなる。このようなデータは補間処
理できる画像データあるいは音響データとは異なり、エ
ラーが許されない。
Mode 1 is used for computer data that requires more accurate error correction. Program data, image data having a high compression rate, and the like cannot operate normally even with a 1-bit error. Unlike such image data or acoustic data that can be interpolated, such data is not allowed to have errors.

【0009】CD−ROMのデータの信頼性を高めるた
め、2336バイトのデータ構造に補助データの領域を
設定し、ユーザデータ2048バイトと補助データ28
8バイトに分けている。補助データの設定は、データ記
録モードをモード1に設定することによって定義され
る。補助データ288バイトは、エラー検出4バイト、
スペース8バイト、Pパリティ172バイトおよびQパ
リティ104バイトからなるエラー訂正276バイトと
なっている。
In order to improve the reliability of the data of the CD-ROM, an auxiliary data area is set in the data structure of 2336 bytes, and 2048 bytes of user data and 28
Divided into 8 bytes. The setting of auxiliary data is defined by setting the data recording mode to mode 1. 288 bytes of auxiliary data are 4 bytes for error detection,
The error correction is 276 bytes including 8 bytes of space, 172 bytes of P parity and 104 bytes of Q parity.

【0010】モード2は2336バイトがすべてユーザ
データとなるデータ構造を有し、補間処理でエラー訂正
が可能な画像・音響データ等を記録できる。ただし、一
般には、モード2のユーザデータ内に構造を定義して、
物理フォーマットを拡張し、各種データの時分割処理を
行う際などにモード2のデータ構造を利用している。プ
ログラムデータ等は、同じ符号の連続する冗長コードが
大変多く、読み取りエラーを生じやすい。そこで、ユー
ザデータにシンク、ヘッダ、さらに補助データを加えた
2352バイトのブロック中、シンクを残してスクラン
ブル処理をかけ、冗長コードを解消する。
Mode 2 has a data structure in which 2336 bytes are all user data, and image / sound data and the like that can be error-corrected by interpolation processing can be recorded. However, in general, define the structure in the user data of mode 2,
The physical format is expanded and the data structure of mode 2 is used when performing time division processing of various data. The program data and the like have a large number of consecutive redundant codes having the same code, and read errors are likely to occur. Therefore, in the block of 2352 bytes in which the sync data, the header data, and the auxiliary data data are added to the user data, the scrambling process is performed while leaving the sync data to eliminate the redundant code.

【0011】スクランブル処理後は、CDオーディオデ
ィスクと同様に、誤り訂正符号を入れてインターリーブ
した後、サブコードを追加し、変調して得られたデジタ
ル信号をCD−ROMに記録する。
After the scramble process, like the CD audio disc, an error correction code is inserted and interleaved, a subcode is added, and a modulated digital signal is recorded in a CD-ROM.

【0012】サブコードは、CDオーディオディスクの
構造と一致し、8チャンネル×12バイトの大きさのも
のが1ブロックに1つ付加されている。そのうち2チャ
ンネルが読み出し制御に使われ、ユーザデータの種別と
絶対時間やサブコードフレーム番号等、探索のためのア
ドレス情報が記録されている。
The subcode corresponds to the structure of the CD audio disc, and one subchannel having a size of 8 channels × 12 bytes is added to one block. Of these, two channels are used for read control, and address information for searching, such as the type of user data, absolute time, and subcode frame number, is recorded.

【0013】CD−ROM再生装置は、コンピュータ、
CRTあるいはプリンタなどの画像表示手段、キーボー
ド等のデータ入力手段と、CD−ROM読み取り手段と
の組み合わせで構成される。コンピュータによるアドレ
ス指定を受けて、CD−ROM読み取り手段は、CDオ
ーディオディスクの再生と全く同様にデジタル信号処理
を行う。
The CD-ROM reproducing device is a computer,
An image display means such as a CRT or a printer, a data input means such as a keyboard, and a CD-ROM reading means are combined. In response to the address designation by the computer, the CD-ROM reading means performs digital signal processing in exactly the same manner as the reproduction of a CD audio disc.

【0014】得られたデジタルデータはスクランブルが
掛かっているため、データブロック中のシンクを検出し
てスクランブルを解除し、ヘッダアドレスを検出したの
ち、目的のブロックにアクセスする。ヘッダにあるデー
タ構造モードに応じて、補助データを利用したエラーの
検出と訂正が施された後、ユーザデータはコンピュータ
に読み込まれる。このような2段階のエラー訂正機能に
よりデータの信頼性を高めている。
Since the obtained digital data is scrambled, the sync in the data block is detected to descramble it, the header address is detected, and then the target block is accessed. After the error detection and correction using the auxiliary data is performed according to the data structure mode in the header, the user data is read into the computer. The reliability of data is enhanced by such a two-step error correction function.

【0015】CD−ROMは、デジタル信号処理につい
てはCDオーディオディスクと共通である。元来CD−
ROMはCDオーディオディスクから派生したものであ
るため、ほとんどのCD−ROM読み取り手段は、CD
オーディオディスクの再生装置を兼ねている。
The CD-ROM is common with the CD audio disc in digital signal processing. Originally CD-
Since the ROM is derived from the CD audio disc, most CD-ROM reading means are
It also serves as a playback device for audio discs.

【0016】CD−ROM再生装置はマルチメディアと
して活用され、プログラムデータとともに画像データ、
音響データを取り扱っている。CD−ROM読み取り手
段のデータ転送速度は、1ブロックにつき1/75秒を
基準としている。データ転送速度をCDオーディオディ
スクに一致させて、1/75秒を基準とすることによ
り、共用機としての利用が図られている。
The CD-ROM reproducing device is utilized as a multimedia, and image data as well as program data,
We handle acoustic data. The data transfer rate of the CD-ROM reading means is based on 1/75 second per block. By matching the data transfer rate to that of a CD audio disk and setting 1/75 second as a reference, it is used as a shared machine.

【0017】CRT等の画像表示手段は、水平同期およ
び垂直同期がそれぞれ約16kHz、約60Hzである
NTSC方式が普及している。CD−ROMとコンピュ
ータで構成したマルチメディアを用いて動画表示を行う
場合、CPUは1/60秒毎の垂直帰線期間に画像デー
タを処理して各画面データを用意する。CD−ROM読
みとり手段が1/75秒毎にデータを転送してくるた
め、画像データは専用の二次バッファに一時待機させ
て、垂直同期信号に等しいレートでバッファから読み出
すことにより、同期を図っている。
As the image display means such as a CRT, the NTSC system in which the horizontal synchronization and the vertical synchronization are about 16 kHz and about 60 Hz, respectively, is widely used. When displaying a moving image using a multimedia composed of a CD-ROM and a computer, the CPU prepares each screen data by processing the image data in the vertical blanking period every 1/60 seconds. Since the CD-ROM reading means transfers data every 1/75 second, the image data is temporarily held in a dedicated secondary buffer and is read from the buffer at a rate equal to the vertical synchronizing signal to achieve synchronization. ing.

【0018】CDオーディオディスク、CD−ROMと
もにサブコードには6チャンネル×12バイトの空きが
ある。ここに文字データあるいは画像データを入れるこ
とにより、画面表示機能の付加あるいは補充が行われて
いる。CDオーディオディスクであっても、再生装置に
データを文字や画像に変換する回路とCRT等を備える
ことにより、画面表示が可能となっている。
In both the CD audio disc and the CD-ROM, the subcode has a space of 6 channels × 12 bytes. By inserting character data or image data here, a screen display function is added or supplemented. Even a CD audio disc can be displayed on the screen by providing a circuit for converting data into characters and images, a CRT, etc. in the reproducing device.

【0019】[0019]

【発明が解決しようとする課題】従来のCD−ROM装
置は、重大エラーが発生し、CDデータが使えないよう
な場合には、エラー表示があった。しかし、処理速度遅
くなったとか、エラーが発生しても修復が可能なエラー
についてはなんの表示も警告もなかった。このために、
原因がつかめないまま問題のCDを使用し続けるような
ことがあった。
In the conventional CD-ROM device, an error is displayed when a serious error occurs and the CD data cannot be used. However, there was no indication or warning about errors that could be repaired even if an error occurred, such as slow processing speed. For this,
There were times when I continued to use the CD in question without knowing the cause.

【0020】本発明はCDのエラーをきめ細かく集計
し、それをエラー発生率として解析し、利用者に知らせ
ることのできる装置を目的とする。
It is an object of the present invention to provide a device capable of finely tabulating CD errors, analyzing the results as an error occurrence rate, and notifying the user.

【0021】[0021]

【課題を解決するための手段】本発明のCD−ROM装
置は、CDのエラーをCD−ROM装置内で集計し、処
理の最後にエラー発生率としてホストマシンに伝える。
このために、CD内部バッファRAM内にワークエリア
を設け、エラー発生ごとにエラーコード別でエラーカウ
ントを取る。
The CD-ROM device of the present invention collects CD errors in the CD-ROM device and notifies the host machine as an error rate at the end of processing.
For this reason, a work area is provided in the CD internal buffer RAM, and an error count is taken for each error code each time an error occurs.

【0022】[0022]

【実施例】本発明を図2に示すCD−ROMを含むCD
−ROM装置を例にとり、エラー発生率をホストマシン
で表示するまでの手順を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is a CD including a CD-ROM shown in FIG.
The procedure until the error rate is displayed on the host machine will be described using the ROM device as an example.

【0023】1.ホストマシンはMODE SELEC
Tコマンドのエラーカウントページを初期化してから、
発行する。
1. The host machine is MODE SELECT
After initializing the error count page of the T command,
Issue.

【0024】2.CD用CPUはそのコマンドをSCS
Iコントローラで受け、CD内部バッファRAM内のエ
ラーコウント用ワークエリアを初期化する。
2. The CD CPU sends the command to the SCS
Received by the I controller, the work area for error count in the CD internal buffer RAM is initialized.

【0025】3.次にホストマシンは、PLAYコマン
ドかREADコマンドを発行して指定区間の読み込みを
指示する。
3. Next, the host machine issues a PLAY command or a READ command to instruct reading of the designated section.

【0026】4.CD用CPUはSCSIコントローラ
でコマンドを受け、CD−ROM駆動装置を動かして、
そこで読み取ったデータの処理をする。
4. The CPU for CD receives the command by the SCSI controller, operates the CD-ROM drive device,
Then, the read data is processed.

【0027】5.この間にC1、C2等のエラーが発生
した場合は、CD内部バッファRAM(ワークエリア)
内の各エラーカウント値を+1する。
5. If an error such as C1 or C2 occurs during this period, the CD internal buffer RAM (work area)
Each error count value in is incremented by one.

【0028】6.指定区間の読み込みが終わったら、ホ
ストマシンはMODE SENSEコマンドのエラーカ
ウントページの値を読む。
6. After reading the specified section, the host machine reads the value of the error count page of the MODE SENSE command.

【0029】7.CD用CPUはSCSIコントローラ
でそのコマンドを受け、エラーカウント用ワークエリア
の値をSCSIコントローラを通して、SCSIバスに
送る。
7. The CPU for CD receives the command by the SCSI controller and sends the value of the work area for error counting to the SCSI bus through the SCSI controller.

【0030】8.ホストマシンは各エラーカウント値を
ビデオディスプレイに表示して、この装置を使用してい
るユーザーにCD−ROM装置のエラー発生回数として
伝える。
8. The host machine displays each error count value on the video display and informs the user using this device as the number of error occurrences of the CD-ROM device.

【0031】以上の手順を簡略的に示したのが図3のフ
ローチャートである。一般にエラー修復で修復不可能な
エラーが発生した場合には、処理は直ちに終了してエラ
ー発生率表示処理に移る。ただし処理によっては修復不
可能なエラーが発生しても処理の続行がされる場合があ
るので、図ではその判定は省いてある。
The flow chart of FIG. 3 simply shows the above procedure. Generally, when an unrecoverable error occurs in error recovery, the process immediately ends and moves to the error occurrence rate display process. However, depending on the processing, even if an unrecoverable error occurs, the processing may be continued, so that determination is omitted in the figure.

【0032】[0032]

【発明の効果】本発明の装置を用いることによって、エ
ラーの詳細がユーザーに知らされ、それによって後のC
DやCDデータの改善となる情報が得られる。とくにエ
ラーは発生していても修復されているデータについては
今までは何の情報も得られなかったのが、本発明によっ
て詳しくわかり、問題点の把握が容易になるなどの効果
がある。
By using the device according to the invention, the user is informed of the details of the error, whereby the subsequent C
Information that can improve D and CD data can be obtained. In particular, although no information has been obtained so far about the data which has been repaired even if an error has occurred, the present invention has the effect of making it possible to understand in detail and to easily understand the problem.

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

【図1】CD−ROMのデータフォーマット構造の説明
図である。
FIG. 1 is an explanatory diagram of a data format structure of a CD-ROM.

【図2】本発明の装置におけるCD−ROM装置とホス
トマシンへとの関係図である。
FIG. 2 is a relationship diagram between a CD-ROM device and a host machine in the device of the present invention.

【図3】本発明のCD−ROM装置によるエラー発生率
表示のフローチャートである。
FIG. 3 is a flowchart showing an error occurrence rate display by the CD-ROM device of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CD内部バッファRAM内にワークエリ
アを設け、エラー発生ごとにカウントする手段を備えた
ことを特徴とするCD−ROM装置。
1. A CD-ROM device comprising a work area provided in a CD internal buffer RAM and means for counting each occurrence of an error.
JP31117593A 1993-11-17 1993-11-17 Cd-rom device Pending JPH07141658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31117593A JPH07141658A (en) 1993-11-17 1993-11-17 Cd-rom device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31117593A JPH07141658A (en) 1993-11-17 1993-11-17 Cd-rom device

Publications (1)

Publication Number Publication Date
JPH07141658A true JPH07141658A (en) 1995-06-02

Family

ID=18013992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31117593A Pending JPH07141658A (en) 1993-11-17 1993-11-17 Cd-rom device

Country Status (1)

Country Link
JP (1) JPH07141658A (en)

Similar Documents

Publication Publication Date Title
JP3308954B2 (en) Synchronization information detection method for decoding information recorded in burst cutting area
KR0148290B1 (en) Reproduction apparatus with a time display function
JPH087540A (en) Transmitting or recording method, reproducing method and reproducing device for information
CN1130787A (en) Different track searching method for video compact disc recording/reproducing system and apparatus thereof
JPH0552718B2 (en)
JP2622828B2 (en) Recording medium playback method
JPH07141658A (en) Cd-rom device
JP3426302B2 (en) CD-ROM playback device
JPH08195035A (en) Information recording method, reproducing method recording device and reproducing device
JPH0552717B2 (en)
JPH0793901A (en) Cd-rom apparatus
JPH07141765A (en) Cd-rom reproducing system
JPH07175745A (en) Cd-rom data processing method
JPH07153175A (en) Cd-rom reproducing device
JP2859050B2 (en) Information playback device
JP2000173183A (en) Disk recording and reproducing device and disk reproducing device
JP2600585B2 (en) Disk recording medium
JPH07176137A (en) Cd reproducing device
JP3637604B2 (en) Information reproducing apparatus and method
JPH07210997A (en) Reproducing method for cd data
JPH07287877A (en) Recording medium for cd mastering
JP2542977B2 (en) Recording method
JPH07226062A (en) Device for reproducing multi-media data
JPH07272415A (en) Recording medium and reproducer thereof
JPH07220399A (en) Compact disk data arrangement method