INDEX ▲ | STN-43 | STN-44 | STN-45 | STN-46 | STN-47 | STN-48 | STN-49

STN-46

Data Cartridge Manual Ver1.00


 issue number:
STN-46
 date of issue:
96/05/08
 media:
● Communication ○ CD-ROM ○ Cartridge ○ Other
 connection:
○ Program ● Hard ○ Manual ○ Tools ○ Game ○ Bug ○ Other
 Information distinction:
● New regulations ○ Change ○ Addition
 importance:
● Strict adherence ○ Recommendation ○ Reference ○ Other
 Attachment:
● None ○ Yes
 Subject supplement:

Contents

Data Cartridge Manual Ver1.00


■ 1. Overview

● Data cartridge
This data cartridge is a data ROM cartridge that uses the A bus to make up for the lack of memory in the main unit, and the address appears in the A-Bus CS0 (22000000H) area.

● Usage restrictions
The contents of the data cartridge are only data, and it is prohibited to put the program code regardless of whether it is directly executed or transferred.
This is because if a program is placed, it can become a security hole by creating a ROM that rewrites this part. Also, in future versions of Satan, we will not be able to access the inside of the cartridge without following certain procedures, so please adhere to this matter.

● Corresponding peripheral
Add "R" to the corresponding peripheral of the SYSTEM ID on the CD-ROM.

Example: When using Sega Saturn standard pad + data cartridge.

→ “JR △△△△△△△△△△△△△△” “△” = space (20H)

reference:
"Programmer's Guide / DISC Format Standard Specifications"
Boot system / supported peripherals

■ 2. Data cartridge SYSTEM ID

The following content describes the SYSTEM ID for the Sega Saturn data cartridge. Compared to the SYSTEM ID on the CD-ROM, some items may be unique to the data cartridge or may have different entries even with the same item name. Therefore, when entering the SYSTEM ID of the data cartridge, be sure to read this specification for all items. Please fill in while referring.

■ 3. SYSTEM ID structure

 0
 1
 2
 3
 4
 5
 6
 7
 8
 9
 A
 B
 C
 D
 E
 F
00H
 + 00H: Hardware identifier
10H
 + 10H: Manufacturer ID
20H
 + 20H: Item number
 + 2AH: Version number
30H
 + 30H: Release date
 + 38H: Device information
40H
 + 40H: Corresponding area symbol
 + 4AH: Backup RAM information
50H
 SEGA RESERVED Note 1
60H
 + 60H: Game name
70H
80H
90H
A0H
B0H
C0H
D0H
 SEGA RESERVED
E0H
 SEGA RESERVED
 + E4H: CHECK SUM
 SEGA RESERVED
F0H
 SEGA RESERVED

■ 4. Notation notes

● Available characters
All characters that can be used in the SYSTEM ID are ASCII code half-width alphanumeric characters. However, depending on the item, the use of "./-:" is permitted.

● Fill in
  • Fill in all left-justified unless instructed to do so. Do not put a space in front.
  • Unless otherwise instructed, all vacant parts are ASCII code 20H.

    ● Definition of expressions
    The "△" and "space" used in the explanation are ASCII code 20H. Double-byte characters are used in the text of this manual for easy viewing.

    ● Other definitions
    Be sure to fill the "RESERVED" area with 00H.
    <Note 1>: Fill this area with space (20H).

    ■ 5. Description of each item

    ● Hardware identifier (start address: 00H)

    Definition:
    Enter the unique ID of the data cartridge
    Available characters:
    Uppercase letters only
    word count:
    16 characters
    Entry rules:
    Be sure to enter " SEGA SATURN △ DATA △"

    ● Manufacturer ID (start address: 10H)

    Definition:
    SEGA fills in the specified manufacturer ID
    Available characters:
    Alphanumeric characters only
    word count:
    16 characters
    Entry rules:
    • For SEGA brand → 16 characters of "SEGA △ ENTERPRISES"
    • In the case of licensee → 16 characters of "SEGA △ TP △ KAISHA-A"
      Enter the unique company code given to each licensee in KAISHA-A
    • Example: “SEGA △ TP △ T-999 △△△”
      The underlined part, "T-999", is an example of a company code, and the remainder is filled with spaces so that it must be 16 characters.

    ● Product number (starting address: 20H)

    Definition:
    Enter the item number specified by SEGA.
    Available characters:
    Alphanumeric characters only.
    word count:
    10 characters
    Entry rules:
    Fill the space with space.
    Entry example:
    • For SEGA brand titles → "GS-0909 △△△"
    • For licensee titles → "T-99901G △△"
    caution:
    Be sure to fill the remainder with spaces to make 10 characters.

    ● Version number (start address: 2AH)

    Definition:
    Enter the version number of the data cartridge.
    Available characters:
    Uppercase "V", number, "." Period
    word count:
    6 characters
    Entry rules:
    Starting with "V", 1 digit number, ".", 3 digit number.
    The release version becomes V1.000, and the version number will increase every time the version changes.

    Entry example:
    • For sample ROM → V0.802
    • For master ROM → V1.000
    • In case of version upgrade → V2.011

    Note 1:
    The final version number is not necessarily the master release V1.000. If any changes such as additions or corrections occur after the initial release, please update the version number as well.

    Note 2:
    This version number is different from the version number on the CD-ROM.

    ● Release date (start address: 30H)

    Definition:
    Enter the date when the master ROM was created.
    Available characters:
    Numbers only.
    word count:
    8 characters
    Entry rules:
    Enter in the order of year, month, and day.
    The year should be 4 digits and the month and day should be 2 digits each.
    Entry example:
    In the case of May 6, 1997 → "19970506"

    ● Device information (start address: 38H)

    Definition:
    Data cartridge device information. Enter the device type and its capacity.
    Available characters:
    Half-width alphanumeric characters and spaces.
    word count:
    8 characters
    Entry rules:
    The device is left-justified by one uppercase letter, the capacity is in Mbit units, the number is right-justified by three digits, and the empty space is filled with spaces.
    Entry example:
    • In case of ROM only and capacity 16MBit → "R △ 16 △△△△"
    • In case of ROM8MBit + SRAM 4MBit → "R △△ 8S △△ 4"
    Device list:
    R : ROM
    S : SRAM
    D : DRAM
    F : FRAM

    ● Corresponding area symbol (start address: 40H)

    Definition:
    Enter the area symbol of the area where you want the application to work.
    Available characters:
    Only uppercase letters specified in the area symbol list below.
    word count:
    10 characters
    Entry rules:
    Multiple entries are possible. In case of multiple entries, fill in the area symbols and alien symbols together and do not separate them with spaces or commas.
    Fill the sky with space.
    Area symbol list:
    J :Japan
    T : Asia NTSC (Taiwan, Philippines, South Korea)
    U : North America (USA, Canada), Latin America NTSC (Brazil)
    E : Europe PAL, Southeast Asia PAL, Latin America PAL
    Entry example:
    For applications running in Japan, Taiwan and South Korea:
    “JT △△△△△△△△”

    ● Backup RAM information (start address: 4AH)

    Definition:
    Fill in the device information of the backup RAM.
    Available characters:
    Half-width alphanumeric characters
    word count:
    6 characters
    Entry rules:
    When installing backup RAM in the same cartridge in the case of cartridge software.
    Enter a total of 6 characters using 3 digits (decimal number) half-width number + unit + space + access method.
    Unit description:
    • For megabit → "M"
    • For kilobits → "K"
    Description of access method:
    • In bytes, for odd addresses → "O"
    • For even-numbered addresses in bytes → "E"
    • When accessing in word units → "W"
    * If you do not use the backup RAM, enter a space for all 6 characters.
    Entry example:
    • Backup unused → “△△△△△△”
    • 64K bit odd address → "064K △ O"
    • 256K bit even address → "256K △ E"
    • 1 megabit address → "001M △ W"

    ● Game name (start address: 60H)

    Definition:
    Enter the game name.
    Available characters:
    Alphanumeric characters only. Spaces can be used in the game name.
    When listing multiple titles, " /-: " can be used as the delimiter between titles.
    word count:
    112 characters
    Entry rules:
    If the names differ depending on the sales area, a plurality of different title names may be listed.
    There is no detailed rule for multiple entries, but enter so that the title can be identified by looking at this part.
    Fill the empty space with space.
    Entry example:
    For multiple titles:
    • (Example 1) → "TITLE1 / TITLE2"
    • (Example 2) → "J: TITLE1 △△ U: TITLE2"
    caution:
    Fill the sky with space (20H).

    ● Checksum (start address: E4H)

    Definition:
    Enter the checksum value of the data cartridge
    Available characters:
    Binary value
    word count:
    8 digits
    Entry rules:
    Hexadecimal 8 digits (32bit length)
    Entry example:
    A13B04F3H
    Method of calculation:
    See " Check procedure 4) " below.

    ■ 6. how to access

    When booting from a CD, after initializing the hardware, perform the following checks on the data cartridge. This check is performed by the application by checking the contents of each item of SYSTEM ID described in the data cartridge. If an error occurs in the check contents, display an error message and stop the program.

    ● Caution
    Check the following while the program is stopped. Be sure to move to the multiplayer screen when each check is taken.

    1) Soft reset (ABC + start)
    2) Hardware reset
    3) Tray open

    ● Error message
    "The data cartridge is not inserted properly.
    Turn off the power and reinsert the data cartridge.
    "

    Please refer to the attached document for the display layout sample.

    ● Check procedure
    The address of the data cartridge appears in the A-Bus CS0 (22000000H) area. In the following explanation, this address is described as an offset value.

    1) Check the “SEGA SATURN △ DATA △” in the hardware identifier (+ 00H) of the data cartridge.

    2) Check the manufacturer ID (+ 10H), product number (+ 20H), and corresponding area (40H).

    3) Set the weight of SCU.
    Since 150ns ROM is used, 3 clocks are required, and for the setting value, set 13301FF0H in the A-Bus setting register (25FE00B0H).

    For CS1, leave the 1FF0H set in the BOOT ROM.

    reference:
    "HARDWARE MANUAL / SCU User's Manual"
    ◆ A-Bus setting register

    4) Data cartridge checksum calculation
    The calculation method is to add an integer in 16-bit units from the data cartridge address + 100H to the end, and use the lower 32 bits of the total as the checksum value.
    Compare this calculated value with the contents of the checksum (+ E4H) in the data cartridge SYSTEM ID.

    Addresses + 000H to + 0FFH are included in the SYSTEM ID area and are not included in the calculation.

    5) If the above checks are OK, check the backup RAM and transfer control to the game program. There are no particular restrictions on subsequent access.
    However, the above-mentioned "1. Overview- ● Usage restrictions " is strictly adhered to.

    ■ 7. Message layout (reference example)


  • INDEX ▲ | STN-43 | STN-44 | STN-45 | STN-46 | STN-47 | STN-48 | STN-49
    Copyright SEGA ENTERPRISES, LTD., 1997