Japanese
PROGRAMMER'S GUIDESimple CD simulator
■ | Go forward
Simple CD simulator

1.Introduction


■Introduction

The "Simple CD Simulator" includes a "SIMM system" that uses RAM on the target, and a "SCSI system" that can read DOS files on a SCSI hard disk. This debug support function is available from "Software Library/CD Library/File System Library".

●Notations used in this document
Gothic font represents the name. Example: CD Tools
[xxxx] represents a file name, DOS command name, or key name. Example: [cdsim.exe]
Underlines represent user input. Example: MFCAT[RET]
[RET] represents the return key input.
[\n] represents a line feed code.

■Development environment overview

●Hardware environment
┌─────────────┐   ┌─────┐    ┌───────┐ 
│Basic program│   │ TV  │    │Monitor│ 
│development  │   │     │    │       │ 
│tools        │   └──┬──┘    └───┬───┘ 
│ *PC         │ ┌────┴─────┐ ┌───┴───┐
│ *WS         │ │Target box│ │ PC/AT │
│ *ICE        ├─┤SIMM      │ │       │
│ *EVA        │ │SCSI I/F  ├─┤SCSI BD│
│ *ETC.       │ │          │ │       │
└─────────────┘ └──────────┘ └───────┘

●Software environment
┌───┐               ┌───┐          ┌───┐ 
│Basic program      │CD library    │CDSIM
│development tools  │/File system  │   │ 
│   │               │   │          │   │ 
└───┘               └───┘          └───┘ 
                            
┌───┐                       
│MFCAT                      
│   │                       
│   │                       
└───┘                       

●Hardware/Software list
Basic program development tools
There are no hardware or software restrictions for using the CD tool.
Choose from the recommended tools.

target box
SIMM and SCSI I/F are built-in as standard. (programming box)

IBM PC compatible
Recommended models for the CD tool, including HDD, SCSI board, and OS, will be announced separately.

Software library/CD library/file system
A file system for a simple CD simulator.
It is provided by SEGA as a software library .

MFCAT
A tool to create memory files.
It is provided by SEGA as a CD tool .

CDSIM
A PC application that loads files from a PC to a file system on a SCSI system.
It is provided by SEGA as a CD tool .

●Hardware/software required for each system
 SIMM
 SCSI
 Basic program development tools
 target box
 IBM PC compatible machine
 file system
 MFCAT
 CDSIM

Note
Even if you use a PC environment for the basic program development tools, please prepare a separate IBM PC compatible machine for the SCSI system.

■Hardware setup

The steps for setting up the hardware are shown below.

●Simple CD simulator/SIMM system

(1) Target preparation
If you are not using a SCSI system, turn dip switch SW2-4 to OFF.

(2) Turn on the power
Run the BOOT ROM before using it.

●Simple CD simulator/SCSI system

(1) Target preparation

  1. Set dip switch 2 as follows.
      1    2    3    4    5    6    7    8    OFF→Return the switch to the horizontal position
    [OFF][OFF][OFF][O N][ * ][   SCSI-ID   ]  O N→Push the switch downward
      |    |    |    |
      |    |    |    +------Using SCSI
      |    |    +-----------Using as a simple CD simulator
      +----+----------------Workstation type
                            OFF  OFF :  PC version
                            OFF  ON  : SUN version
                            ON   ON  :  HP version
    

    For HP version, set the SCSI-ID to a larger ID than the boot device.

  2. Make sure that the ICE emulation memory is not mapped.

(2) Preparing the PC

  1. Register the SCSI driver in [CONFIG.SYS].
    For workstations, set the TTY port you are using to not be used by the terminal.

  2. Install [cdsim.exe] into a directory included in PATH.

  3. Prepare the definition file and the actual file.

(3) Connection method

  1. Connect the target box's SCSI connector to the PC's SCSI connector with a SCSI cable.

  2. For workstations (SUN, HP), connect the RS-232C connector and the workstation's RS-232C connector with a cross RS232C cable.

(4) Turn on the power
(Target side)

  1. Turn on or reset power.

  2. Run the BOOT ROM.

  3. The SEGASATURN logo will be displayed.

(PC side)

  1. Wait until you see the SEGASATURN logo to power on or reset your PC.

  2. Run [cdsim.exe].

■Software setup

●How to install

  1. Please refer to the "Introduction Manual".
    [MFCAT.EXE] is located in the [SATURN\SEGABIN\BIN\] directory, and [CDSIM.EXE] is located in the [SATURN\SEGABIN\BINCD\] directory.

●How to set
Setting the PATH
If the installation directory is not set in the [PATH] environment variable, add it.

●How to start and shut down

Starting and stopping MFCAT
boot

  1. Start [mfcat.exe] from the DOS prompt.

    c:\> MFCAT[RET]
    

    The following display will appear.


    MFCAT ver 1.00 Copyright(c) 1995 SEGA
    usage: mfcat [-oOUTFILE] -fFLIST
            mfcat [-oOUTFILE] file file2 ...
    

end
It will close automatically.

Starting and stopping CDSIM

boot

  1. Start [cdsim.exe] from the DOS prompt.

    c:\> CDSIM[RET]
    

    The following display will appear.

    SUN startup example (when using PORT-A/SCSI ID 2)
    CDSIM -i/dev/ttya -o/dev/rsd2a (CR)

    HP startup example (when using PORT-0/SCSI ID 5)
    CDSIM i/dev/tty00 -o/dev/dsk/c201d5s0 (CR)


    CDSIM ver 1.00 Copyright(c) 1994 SEGA
    Check Syntax: CDSIM.DAT
    File Can't Open:CDSIM.DAT
    

end
It will automatically end with an error.
If it does not end automatically, press the [ESC] key to end it.
For SUN and HP, press [CTRL]+[C] to exit.

●Confirm installation
To confirm that it has been installed correctly, start the software after making the necessary settings, check the copyright notice, and then exit.


■ | Go forward
PROGRAMMER'S GUIDESimple CD simulator
Copyright SEGA ENTERPRISES, LTD., 1997