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

Chapter 3 CD Emulator VCDEMU


3.1 Command specifications

command:
VCDEMU

Command name:
virtual cd emulator

Format:
VCDEMU file name body part [-l log file name] [-f RTI file name]
[-j jumper setting position] [-u update information file]
[-ib input buffer size] [-vb transfer buffer size]

argument:
Body part of file name: Body part of file targeted for CD emulation

function:

Example of use:
VCDEMUTSTGAME

Option specification:

-l:
A log information file is created with the specified file name and the log information is saved.

-f:
The disk configuration information file name becomes the specified file name.

-j:
Specify the jumper number of the VCD I/F board.
The value will be the same as the environment variable VCDIO.

-u:
Performs CD emulation by partially updating the CD image.
Specify the update information file output by VCDUTL.EXE.

-ib:
Specify the size of the input buffer.
The value that can be specified is an integer in the range of 2 to 8, and a 4K byte buffer is secured for each unit.
By default, an input buffer of 32K bytes (8 with the specified value) is reserved.

-vb :
Specify the size of the transfer buffer.
The number that can be specified is an integer value in the range of 14 to 37, which specifies the number of transfer buffers to be secured. (One transfer buffer is sector size)
By default, 37 transfer buffers are allocated. (It may be less depending on the system memory usage)
The allocated input buffer size and number of transfer buffers are displayed at the bottom right of the screen after the program starts as shown below.

Buffer:02/07
Here, the numerator represents the size of the input buffer (in 4K units) and the denominator represents the number of transfer buffers. The number of transfer buffers displayed is an integer value divided by 2.

●About the number of tracks and indexes that can be emulated
If you have a very large number of tracks or indexes within a track, you can use the two options above to reduce the buffer amount or balance the input and transfer buffers to save memory and ensure proper emulation. You will be able to do it.

However, the actual settings you need to make will vary depending on the amount of free space in the conventional memory of the PC compatible machine you are using, the length of the file name, etc. As a reference example, the following is a guideline when the free space of conventional memory is 585KB.

 Total number of indexes
 -ib setting value
 -vb setting value
 2000
 No settings required
 No settings required
 3000
 No settings required
 No settings required
 4000
 No settings required
 No settings required
 4500
 4
 No settings required
 5000
 2
 14

If you start the emulator program without setting the above options, the total number of tracks x number of indexes that can be emulated will be approximately 4000, and with the minimum setting of -ib 2 -vb 14, it will be approximately 5000. This works out to emulate a disk image with up to 99 tracks by default, about 40 indexes each, and with the buffer set to its minimum, about 50 indexes each.
With CD Builder, you can create a disc image with a maximum of 99 tracks x 99 indexes = approximately 10,000 track indexes, but the number of track indexes that can be emulated using the emulator program VCDEMU.EXE is limited to approximately 5,000. It will be.

●VCDEMU error message
Below are the error messages displayed by the Virtual CD emulator and their meanings. ** means any number, **** means any string. Error messages are displayed in red text on the screen.

Cannot allocate read buffer
Unable to secure buffer for reading data file

Cannot find RTI file ****
The specified RTI file was not found

Cannot find the beginning of TOC info.
The keyword indicating the start of TOC information was not found in the specified RTI file.

Cannot find the beginning of REL info.
The keyword indicating the start of correlation table information was not found in the specified RTI file.

Cannot allocate memory for ISO9660 file info.
Unable to secure memory to store ISO9660 file information

Cannot allocate memory for DOS file info.
Memory for storing DOS file information could not be secured.

Illegal relation table
There are inconsistencies in the correlation table information.

Cannot open log file = ****
Unable to open specified log file

Cannot find DOS file in track **
The DOS file corresponding to the specified address was not found in the track**

No File at this LSA **
A DOS file matching the specified absolute time was not found.

File< ****> cannot be opened
DOS file **** could not be opened

Illegal offset
An address exceeding the size of the disk image file was specified during real-time emulation.

Not read
Failed to read data from DOS file

Cannot read data from disk image file
Unable to read data correctly from disk image file

TOC is not loaded
An attempt was made to display the TOC without it being loaded.

REL table is not loaded
An attempt was made to display correlation table information before it has been loaded.


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