Japanese
FAQDevelopment environment
BackForward
FAQ/Development environment

VCD/simple CD simulator related



I would like to know more about the operating model of VCD.

Q)
Please tell me about the operating model of VCD.

A)
IBM-PC/AT compatible machines undergo frequent model changes, and depending on the manufacturer, even if they have the same model name, the motherboard itself may be changed in the early and later stages of production.
in fact
"Another model"
In some cases, it may become .

Even we do not know all the models in circulation in the world, and such a thing is simply impossible.
If we can obtain the relevant model, we can test it to some extent to check whether it works, but unfortunately we cannot respond to all requests.

For this purpose, we conduct operation tests and designate models that can operate stably as recommended models.
If you wish to purchase a PC to host a VCD in the future, please purchase a VCD machine from Ado Electronics.


Please tell me how to operate VCD in CartDev+DevSaturn environment.

Q)
I have a question about virtual CDs.
Currently, it is being developed with CartDev + DevSaturn, but the only manuals I have are those that are compatible with Programming Box.
I tried using a sample program, but it starts up, but I can't confirm whether it's working or not.
We apologize for the inconvenience, but could you please tell us the following method?

  1. How to create a virtual CD file
  2. starting method
  3. How to confirm
  4. How to debug during use

A)
The following items assume that you have already installed the VCD tool.

1) How to create a virtual CD (VCD) file
VCD has two operating modes. One is direct DOS file access mode and the other is real-time emulation mode.
To finally create a self-booting disk, create a disk image.
For detailed creation instructions, please refer to

Please refer to the. The latter contains sample script files.
When writing scripts, special attention must be paid to the following:
The 1st read file is the first file that appears in the directory entry.
(When building a disc, files are sorted in ascending order of ASCII character code.)

2) How to start
CartDev is protected like the actual Saturn, and cannot be directly self-started with a write-once disc or VCD.
To avoid this, we offer something called SYSTEM DISC.
To release it, set the SYSTEM DISC before turning on the power to CartDev.
Set the VCD←→CD switching switch to the CD side.
When you turn on the power, it will start up and the Sega logo will be displayed on the screen.
If "COMPLETE" appears in the upper left corner of the screen after a while, protection has been cancelled.
Once released, the state remains valid until you reset the SMPC or turn off the power.
However, when using it on IRIX, due to the cartdev-server program, first kill the cartdev-server process, reset CartDev, and turn DevSaturn back on before removing protection.
Once released, if you want to use a VCD, set the VCD←→CD switching switch to the VCD side, press the reset button to restart, and the disk image prepared on the VCD side will be read. .
Please contact our sales representative for information on how to obtain the SYSTEM DISC.

3) How to confirm
The JVC-based sample attached to the VCD tool does not include a self-starting IP (Initialize Program).
The main focus is to confirm whether the VCD host can emulate data transfer normally.
When you actually create a disc image, you can create a CD-DA with tracks 2 to 5.
If you specify JVC.DSK when starting VCDEMU.EXE, start CartDev, and play CD-DA from the multiplayer screen, the VCD emulator will work if a 1KHz oscillation sound with a different audio level is played. doing. Perform fast forward playback, track jump/skip, A/B repeat playback, etc., and check if it works properly.
In many cases where files created by users with the assumption of self-starting do not work properly, it is most likely due to an improper creation of IP.BIN or a problem with the script writing.

4) How to debug during use
If you are creating a write-once CD one by one, you will need to perform a write operation every time there is a slight change in a file, but in the case of a VCD, you can update a portion of it by using VCDUTL.EXE even in real-time emulation mode. .
VCDEMU.EXE displays the commands executed to the CD drive on the screen one after another, and can also log them.
This allows you to check which file is currently being read, or check the contents of the disk image file that is currently being specified for emulation.
Also, since opening and closing of the CD tray can be emulated, you can also check whether you can reliably jump to multiplayer by checking the tray open.


An error occurs when running VCDBULID.

Q)
When I try to use VCDBUILD to create the files necessary to run VCD, the following message appears and I am returned to the command line.

>PreProcess for VCDEMU <VCDPRE> Ver 3.10 Released at 30-Nov-1994
>Copyright (c) 1994 Victor Company of Japan, Limited (JVC)
>All right reserved.
>
>script file = bell.scr
>rti    file = bell.rti
>Parsing Scripts
>DOS/4G error (2001): exception 0Eh (page fault) at 180:00472E25
>TSF32: prev_tsf32 699C
>SS       188 DS       188 ES       188 FS         0 GS        20
>EAX        0 EBX 452E3334 ECX FFFFFFFF EDX 452E3335
>ESI   490188 EDI   49EF20 EBP   49EF0C ESP   49EEE8
>CS:IP  180:00472E25 ID 0E COD        0 FLG    10206
>CS=  180, USE32, page granular, limit FFFFFFFF, base        0, acc CF9B
>SS=  188, USE32, page granular, limit FFFFFFFF, base        0, acc CF93
>DS=  188, USE32, page granular, limit FFFFFFFF, base        0, acc CF93
>ES=  188, USE32, page granular, limit FFFFFFFF, base        0, acc CF93
>FS=    0, USE16, byte granular, limit        0, base       16, acc  0
>GS=   20, USE16, byte granular, limit     FFFF, base     ED70, acc 93
>CR0: PG:1 ET:1 TS:0 EM:0 MP:1 PE:1   CR2: 452E3334 CR3: 12000
>Crash address (unrelocated) = 1:00019E25

Currently, the free memory on this machine (Gateway 2000 DX4-66) is 590KB for conventional and 10MB for XMS.
Running VCDBUILD on another machine using the same script file produces the required information without any problems. Maybe you don't have enough memory? Or maybe the DOS version is old?
Could you please give me information on how much memory is required for VCDBUILD to work without any problems?

A)
This error is caused by a DOS extender error.
This seems to be caused by the CONFIG.SYS or AUTOEXEC.BAT environment.
As a countermeasure,

Try setting the environment variables DOS4G and DOS16M as you would with the Hitachi compiler.

example
Please make the following settings in AUTOEXEC.BAT.


SET DOS16M=0@2M:6M
SET DOS4G=quite


Regarding the operating environment of the simple emulator.

Q)
Is the recommended environment for the VCD system the same as the recommended environment for the simple CD emulator?

A)
The recommended environment for VCD uses an ISA bus VCD dedicated I/F card, so this problem occurs in areas that depend on the operating characteristics between PC models.
A simple SCSI/CD simulator does not have such severe limitations.
There is no problem if a regular SCSI card works.


Is it possible to play Cinapak and CD-DA with a simple CD simulator?

Q)
I tested the file loading sample program using SIMM and confirmed that it works using a simple CD simulator, but it does not return from GFS_Init.

  1. I used a graphics box, but will it work without a programming box?

  2. Please tell me in detail how to use the simple CD simulator.

A)

  1. Please consider that it basically doesn't work. The chips used in graphic boxes are often older versions than those used in programming boxes, and while this is not a problem when used exclusively for graphics, there are problems when used as a programming box. Please note that the simple CD function using SCSI cannot be used with CartDev + DevSaturn.

  2. how to use

    1. Turn dip switches 2-4 ON (lower side).

    2. Connect the PC and Programming Box with a SCSI cable.

    3. Start Programming Box.

    4. Reset the Programming Box immediately after turning on the PC.

    5. Check that the Programming Box is recognized as a SCSI device on the PC startup screen.

    6. After the Programming Box screen becomes multiplayer, stop it with Ctrl-C from ICE
      (Do not run 'G 400' at this time. Doing 'G 400' will reset the SCSI device)

    7. Load the program from ICE.

    8. Run CDSIM.EXE on your PC.

    9. Run the program on ICE.
      Also, when running CDSIM.EXE on the PC side, it is necessary to create a "correspondence file between CD file names and DOS file names".

      (example)
      The file "PCM1.DAT" on the CD corresponds to the file "\PCMDATA\FOO.PCM" on DOS, and the file "PCM2.DAT" on the CD corresponds to the file "\PCMDATA\BAR" on DOS. PCM" file,

      Contents of “CD_DOS.TXT”

      PCM1.DAT FOO.PCM[RET]
      PCM2.DAT BAR.PCM[RET]
      [EOF]
      CDSIM -fCD_DOS.TXT[RET]
      

      Please note that the simple CD simulator is limited to use for simple file access only.
      (Cannot be used for file interleaving or as a substitute for MODE2 tracks.)


How to use the simple CD simulator?

Q)
Is it possible to play Cinepak data and CDDA data with a simple CD simulator?

A)
Unfortunately, complex emulations such as CDDA playback and MODE2 tracks are not possible with simple CD simulators (both SIMM and SCSI).
As for simple movie playback, it is possible.


I want to use a simple SCSI system with SGL.

Q)
Please tell me how to use the SIMM system of the simple CD simulator.

A)
SIMM systems can be used in both Programming Box and CartDev + DevSaturn environments.

For Programming Box:
Up to 4 8MB SIMMs can be installed
Mounting address can be selected by dip switch

SW2 SIMMCART implementation address
 OFF
 :24000000H ~ 24FFFFFFH (16MB continuous)
 ON
 :22000000H ~ 23FFFFFFH (32MB consecutive)

For CartDev:
Up to two 8MB SIMMs can be mounted on the SIMM buffer cartridge (optional) (address fixed)
Implementation address is 24000000H to 24FFFFFFH (16MB continuous)

To access SIMM files from the GFS library, you need to set the storage address of the memory file in a global variable called 'GFMC_base'.
'GFMC_base' is defined within the library. In the user program

extern Sint8 *GFMC_base;

You can use it by declaring it.
Note that the storage location of the memory file does not necessarily have to be on SIMM memory.
If there is enough space in the work RAM, you can also load it there and use it.
To create a memory file, use a tool called MFCAT.EXE.
MFCAT.EXE is located in SATURN\SEGABIN\BIN or SATURN\SEGABIN\BINCD.

For details on how to use this tool, please refer to " Simple CD Simulator User's Manual/3. Command Description " in PROGRAMMER'S GUIDE VOL.1.


What are the conditions for using the simple SCSI system?

Q)
I am trying to access a SCSI hard disk using the GFS library using a simple CD simulator/SCSI system in SGL, but control is not returned to the caller after executing the GFS_Init function.
At this time, the PC on the SCSI system side is in a CDROM emulation state (is it in a normal state?).
The same program (GFSC_base value is different) is working normally on VCD system and SIMM system.
I wish I could figure out why the GFS_Init function doesn't return.
Are there settings required only for SCSI systems?

A)
Simple SCSI systems cannot be used with CartDev + DevSaturn.
This is possible with a simple SIMM system. (with optional buffer cartridge)
With CartDev + Programming Box, both are available.


Regarding the operation of virtual CD (things to check)

Q)
What should I check if I have trouble using a virtual CD?

A)

  1. Have you confirmed that it works with a sample program using a virtual CD?

  2. Does Virtual CD hang immediately after turning on the PC?
    After how many hours?

  3. Regarding the physical recording status of the hard disk for virtual CDs, is it regularly refreshed?
    (If there are many discontinuous areas, problems will occur in access timing.)
    Please note that the malfunction may be due to a poor connection of the cable, etc., so please try reconnecting the connector etc.


I installed a virtual CD on my PC and started VCDEMU.EXE, but it does not start properly.

Q)
I installed a virtual CD on my PC and started VCDEMU.EXE, but it does not start properly.

A)
Are the IRQ, DMA channel, and I/O address on the board set correctly?

Be careful of conflicts with other devices, especially DMA channels. Adaptec's SCSI card defaults to 5 channels, which conflicts with the VCD interface board's factory settings.
Also, setting the IRQ level of the VCD interface to a lower number than the SCSI interface may cause a hang.
If it is not recognized at all, please check the I/O address settings again.


BackForward
FAQDevelopment environment
Copyright SEGA ENTERPRISES, LTD. 1997