Japanese
FAQDevelopment environment
Back | ■
FAQ/Development environment

others


What are SBL and SGL?

Q)
Sega Saturn's development system has SBL and SGL, but how are they different?

A)
There are two main types of environments for developing software for the Sega Saturn.

SBL (Software Library) has been developed based on Hitachi's C compiler SH C, which has been used for a long time.
The feature is that it is a hardware-oriented library set, which allows the user to directly access various devices and achieve maximum speedup.
Also, since most of the library sources are open to the public, it is possible to freely customize them according to the user's requirements.
Currently, SBL is compatible with the gcc compiler and incorporates some of the SGL features described below.
(However, since the SGL bundled with SBL is an old one, functions added to future SGLs may not necessarily be usable with SBL.)
The original purpose of this library is to serve as a sample of how to handle the Sega Saturn at the hardware level.

SGL (Sega 3D Game Library) is specialized for developing games that display 3D images, and has an OpenGL-like interface.
It is possible to use various powerful processes without having to be aware of detailed operations at the hardware level.
Along with this, we have migrated the processing system to a GNU-based one and are preparing a gcc cross compiler that outputs SH2 code.


About the bin←→S28 converter.

Q)
Is there a converter for BIN->S28 or S28->BIN?

A)
A mutual converter for COFF, S28, and BIN is called objcopy (sh-objcopy in the SGI version), which is available here.
The format is

objcopy(sh-objcopy) -O Output format Input file name Output file name

It becomes.
The output formats that can be specified include binary, srec, and sh-coff .
(However, it is not possible to convert a binary file to an object file with symbols such as coff. In this case, SGI can output it using a tool called bin2coff provided by SGI.)


Please tell me the specifications of S format.

Q)
Please tell me the specifications of S format.

A)
The S format specifications are written on page 90 of the H Series Linkage Editor Manual.


Which PC do you recommend for development equipment?

Q)
We are considering both connecting a machine purchased by our company to an ICE and connecting it as a VCD machine.
It seems that some models may not be able to use it properly, so if you have confirmed that it works or have any reports, please let me know.

A)

1) When using it as an ICE machine.
Basically it works on all models.
(However, it is virtually impossible to test all compatible machines released so far, so we cannot guarantee that it will work on all models, but there are almost no reports of PC cases where ICE does not work. Not.)

2) When used as a virtual CD machine
Please do not use the virtual CD with any device other than the VCD compatible models sold by Ado Electronics.
This is because virtual CD machines require strict access timing, so even if the model number is slightly different from the machine recommended here, it may not work.
(However, we have not tested this on all compatible machines, so we cannot say with certainty that it will not work on any models other than those recommended, but at present, it is possible that you are using a model other than those recommended here.) If so, we will not be able to provide support.)


addcdw doesn't work.

Q)
I'm trying to use addcdw.exe , but it doesn't work.
in particular,

-master =xxx

When you specify

(0): An unknown error has occurred [fe81]

is displayed and I can't write. (However, I have only checked the operation with -t added)
-debug seems to work. (This is also only an operation check with -t added)
Since segacdw.exe is in a working environment, there seems to be no problem with the hardware.
If you have any idea what might be causing the malfunction, please let me know.

A)
When you start up your PC, the SCSI device is checked, and the model number and firmware version of the CD writer are displayed.
If the firmware version displayed at this time is older than 1.07, it will not work properly.


I want to make a copy of the Write Once CD.

Q)
Is there a way to copy a write-once CD-R?
Please let me know if there is any software that can also copy CDDA data.

A)
there is no. The only option is to create a disc image and burn it again, or use a piece of hardware called a CD duplicator.


What should I be careful about when porting from NTSC to PAL?

Q)
Please tell me the settings of the tools necessary for PAL conversion, changes to the software, and points to note.

A)
The biggest difference between NTSC and PAL is the vertical synchronization time of 1/60 seconds (NTSC) and 1/50 seconds (PAL).

At this time, in game programs that operate based on V-BLANK (NTSC), the game progress speed will be 5/6 and slow.
Also, the aspect ratio of the dots changes as the vertical synchronization time changes. (The screen appears to be crushed in the vertical direction)
From these points, the precautions when converting from NTSC to PAL are as follows:

Also, regarding movie playback such as Cinepak and TrueMotion, there is no need to make any corrections regarding the tempo since they also have time information.
However, since the aspect ratio changes, it is necessary to perform processing to prevent the image from being distorted (for example, playing it in VDP2 and using VDP2's scaling function).

Of course, these things can also be said in the case of PAL → NTSC .
If possible, try to port from PAL, which requires more processing, to NTSC, and most of the burden on the programmer will be alleviated, but it may be better to be aware of both NTSC and PAL in advance. not.


When creating a CD with a Yamaha writer, noise appears between CDDA tracks.

Q)
When I create a write-once disc using a Yamaha writer (CDW-100E), noise appears between the CDDA tracks.

A)
There are reports that these symptoms occur with CDE-100 firmware versions older than 1.07.
You can check the version by reading the Inquiry from the SCSI adapter and displaying the vendor.
The manufacturer name, model name, revision, etc. appear, and the number that appears at the end is the version.

If it is an older version, please contact Sophia Systems if you purchased it, or Yamaha directly if you purchased it from someone else.


Back | ■
FAQDevelopment environment
Copyright SEGA ENTERPRISES, LTD. 1997