Japanese
PROGRAMMER'S GUIDEVirtual CD System
BackForward
Virtual CD System User's Manual

2.Setup version



1.Main functions of VCD I/F board

The VCD I/F board (RT-V1A) is used to communicate commands and messages between the PC compatible machine and the CD block (RT-V1B) in the target box, and to transfer CD-ROM data from the PC compatible machine to the CD block. This is an ISA expansion board for PC compatible machines that sends out CD-DA data, etc.

  1. Communication with CD block

  2. It receives commands from the CD block, performs the specified processing according to the contents, and returns the status to the CD block.

  3. Communication with PC compatible machine body

  4. Among the commands from the CD block, necessary commands are extracted and sent to PC compatible machines. In contrast, the PC compatible machine itself returns data as necessary.

  5. Receive data from PC compatible device

  6. When a PLAY command is sent to a PC compatible device, the PC compatible device prepares CD-ROM data, CD-DA data, or R to W subcode data as necessary, but the VCDI/F board These data are received by the DMA controller.

  7. Send data to CD block

  8. Scramble the data imported in step 3 , convert it to serial data format, and send it out.


2.Data transfer speed

Only when transferring CD-ROM data, two transfer speeds, standard speed and double speed, are set according to the command sent from the CD block.


3. Jumper pin settings

[important]
VCD I/F board has

  1. ISA-IRQ settings (J3)
  2. ISA-DMA settings (J4)
  3. I/O address setting (J5)
  4. Diag settings (J6)

There are 4 jumper pins.

If the three function settings (J3) , (J4) , and (J5) overlap with those already set on the PC compatible machine you are using, the virtual CD may not start up or the PC compatible machine may hang. Doing so may cause problems such as

After understanding the settings of each PC compatible device, change the settings below only when it is absolutely necessary to change the settings of the VCD I/F board from the default state, such as when it overlaps with the DMA channel of a SCSI board. to hold. In this case, you will also need to change the values of the environment variables. If you install with the factory default settings, there is no need to set any environment variables after starting the PC compatible machine. Please refer to section 5.1 Preparation for startup for the procedure.

(1) ISA-IRQ settings (J3)
Select the interrupt request number for the PC by shorting it with a jumper. Default is set to IRQ10 .

 1-2 pin
 IRQ4(00)
 3-4 pin
 IRQ3(01)
 5-6 pin
 IRQ10(02)
Default
 7-8 pin
 IRQ11(03)
 9-10 pin
 IRQ12(04)
 11-12 pin
 IRQ15(05)

(2) ISA-DMA settings (J4)
Select the DREQ and DACK signal numbers for DMA transfer with the PC by shorting with jumpers. Default is set to DREQ5/DACK5 .

 1-2 pin & 3-4 pin
 DREQ5/DACK5(00)
Default
 5-6 pin & 7-8 pin
 DREQ6/DACK6(01)
 9-10 pin & 11-12 pin
 DREQ7/DACK7(02)

(3) Setting I/O address (J5)
By shorting with a jumper, select the I/O address of the I/F board as seen from a PC compatible machine. Default is set to 340H .

 1-2 pin & 3-4 pin & 5-6 pin
 340H(00)
Default
 3-4 pin & 5-6 pin
 350H(01)
 1-2 pin & 5-6 pin
 3E0H(02)
 5-6 pin
 300H(03)
 1-2 pin & 3-4 pin
 310H(04)
 3-4 pin
 320H(05)
 1-2 pin
 330H(06)
 open
 370H(07)

(4) Diag settings (J6)
The Diag setting function (J6) is used when manufacturing the board. You can leave it open.


4.Installation and connection to PC compatible machine

(1) Things to prepare

(2) Setup
Unpack the VCD I/F card (RT-V1A) and insert it securely into the expansion slot of the PC compatible machine you provided.

Connect the VCD I/F board's connection connector and the SEGASATURN programming box's virtual CD I/F connector using the included virtual CD I/F cable. Please set up the programming box and ICE according to the instructions in their respective manuals.


5. Execution with sample data

Check the operation of the virtual CD emulator that you have set up.
In the following explanation, [ENTER] on the command line you enter means to press the carriage return key. Also, △ means to separate with a space . Other parts enclosed in brackets [ ] indicate keys on the keyboard.

[Step 0-a]
Install the VCD I/F board on your PC. At this time, check the value of the next jumper number and make a note of it.

If the VCD I/F board is already installed, perform [Step 0-b]. Also, at this time, you may not need to set up the environment [Step 1]. Please read the instructions in [Step 1].

[Step 0-b]
Next, turn on the PC compatible computer and wait for MS-DOS to start up.
[Result] When MS-DOS starts up, the MS-DOS prompt will appear.

Once MS-DOS has started, proceed to the next step.

5.1 Preparation for startup

It does not work in Japanese mode, so change DOS to English mode. Please type the command as below.

[step 1]


C:\> CHEV△US[ENTER]
    ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

If you are in Japanese mode, the screen will flash and a prompt will appear at the top of the screen.

Next, set the environment variable VCDIO.
However, if you are already using a virtual CD emulator on a compatible PC, this setting may be set automatically when MS-DOS starts up, so please check with someone who has used it before. please do.
If it is already set, please skip this step and proceed from step 3 .

The value of the environment variable VCDIO must reflect the VCD I/F board settings, as mentioned in 3. Jumper pin settings.
In the example, we will set the default values for the VCD I/F board.

Type the following MS-DOS command.

[Step 2]


C:\> SET△VCDIO=020000[ENTER]
    ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾

The virtual CD emulator will not work properly if it is not compatible with the VCD I/F board. Also, please note that in some cases, PC compatible machines may hang up.

If the jumper setting is set to a value other than the default due to PC compatibility, the value of the environment variable will be different.
For example, if you set the interrupt number to 01, the channel number for DMA transfer to 02, and the input/output address of the VCD I/F board to 03, set the environment variables as follows.


C:\> SET△VCDIO=010203[ENTER]
    ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾ ‾

Install the sample program attached to the virtual CD emulator on a PC compatible machine.

Create a directory.

[Step 3]


C:\> MD△MYDIR[ENTER]
    ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
C:\> CD△MYDIR[ENTER]
    ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Copy the files from Disk.1 to that directory.


C:MYDIR> COPY △A:*.*[ENTER]
        ‾‾‾^‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Create sound data using the sample data generation utility VCDMKDAT.


C:MYDIR> VCDMKDAT[ENTER]
        ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Two sound data files will be created in the MYDIR directory that will be used for the following checks.

5.2 Startup and Shutdown

Start the virtual CD emulator. Please type the command as below.

[Step 4]

C:MYDIR> VCDEMU△JVC[ENTER]
        ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

The virtual CD emulator will start and the screen will be displayed.
The names of the specified disk image file, CD configuration information file, script file, and log information file are displayed on the screen.
If no log information file is specified, "No Log File" will be displayed.

The virtual CD emulator is waiting for a keystroke to confirm the message. When pressed, proceed.

[Step 5]

Press [ENTER] or [ESC].
The program begins loading the files it needs to run.

If loaded correctly,

[result]

===========Open New File =****.dat===============
===========All Data has been Read================
===========PAUSE2================================

It will be displayed like this.

The operating mode in the dialog box at the top right of the screen should be Direct. The operating mode is "Direct DOS File Access".
After this state, operations will be centered on the target box.

[Step 6]
Start the Sega Saturn program from ICE.

[Step 7]
Confirm that "VIRTUAL CD CHECK PRGRAM" is displayed on the Sega Saturn screen to confirm that the program has started successfully.

[Step 8]
Follow the instructions displayed on the screen to operate the pads and confirm that the CD-DA playback demo has finished.

■How to exit

[Step 9]
Press [SPACE] on the PC compatible machine running Virtual CD.

[Result] "Menu" on the top bar will be highlighted.

Pressing the cursor's [LEFT] and [RIGHT] keys will alternately highlight "Menu" or "Help", so make sure that Menu is highlighted.

[Step 10]
Press [ENTER] or the cursor [DOWN] key.

[Step 11]
Use the [DOWN] key to highlight the last menu item, Exit.

[Step 12]
Press the [ENTER] key.

This will exit the Virtual CD emulator.

5.3 Sample data specifications

■File structure

 JVC.SCR
sample script
 JVC.PRM
PRE/BUILD boot parameter file
 PAT_1.DAT
10KBYTE increment data
 PAT_10.DAT
130KBYTE increment data
 JVC.RTI
PRE / BUILD output information file
 JVC.PVD
PRE output information file
 JVC1.ABS
Ver. 1.02 Small sample program
 JVC1.INI
Sample execution command file
 SYSTBL.TSK
 SDDRV.TSK
sound initialization file
 NEWMAP.BIN
 VCDMKDAT.EXE
Create two sound data files in the current directory.
The amount of data is approximately 1.4MByte each.

■Check items

Check items are

There are three items.
The CD-ROM test is normal if the COMPLETE message is displayed for each item.
The CD-DA is normal if the sine wave (approximately 440Hz, -10dB) and square wave (approximately 440Hz, -10dB) sounds are played according to the message.

■Basic operation method

Operations are performed using only the A and B buttons on the pad. The A button executes that test item. Press the A button to move to the next item. If you do not want to execute that item, press the B button. Always return to the opening with the S button.

[Opening screen]
Press the A button to move to the first test item.

[1.CD-ROM directory read]
Displays the ISO9660 format directory. Only the first 8 entries of the root directory (including yourself and the parent, so effectively 6 entries) are displayed. Also displays directory attributes.
An OK message will be displayed when the file name and size are specified.
When the check is complete, COMPLETE will be displayed on the bottom line. If it is incorrect or unreadable, an error message will be displayed.

[2.CD-ROM data read]
Since we know the contents of ABCDEFG1.DAT and D10, we will check by reading the data and comparing them. When finished, COMPLETE will be displayed on the bottom line and you will be waiting for the A button to be pressed.

[3.CD-DA playback]
Play the sound using the data of tracks 2 and 3. Auto does some playback.

TNO, ATIME, and status are always displayed on the screen.
When finished, COMPLETE will be displayed on the bottom line and you will be waiting for the A button to be pressed.


6. Switching between virtual CD and CD drive

To switch between the virtual CD and the CD drive, there is a switch as shown in Figure 1 between the CD block and the CD drive. Both the virtual CD and the CD trays in the CD drive must be open when you operate this switch. To open a virtual CD, use the VCD emulator's menu selection.

If you operate the changeover switch without performing this operation, there will be an inconsistency between the track information held on the target machine and the CD drive (VCD).


BackForward
PROGRAMMER'S GUIDEVirtual CD System
Copyright SEGA ENTERPRISES, LTD. 1997