Which of SHCLIB.LIB, SHCPIC.LIB and SHCNPIC.LIB should be linked?
Q)
There are three types of SHC standard libraries, SHCLIB.LIB, SHCPIC.LIB, and SHCNPIC.LIB. Which one should I link to?
A)
There are three types of SH C standard libraries, SHCLIB.LIB, SHCPIC.LIB, and SHCNPIC.LIB, but Sega Saturn's development uses SHCNPIC.LIB. This library is compatible with SH7600 series (SH2) and does not generate position independent code. The position independent code can be executed by arranging the program section at the time of linking at an arbitrary address, and it is not supported by Sega Saturn. Also, do not link multiple standard libraries when linking.
SHCLIB.LIB is a library for SH7000 series (SH1)
SHCPIC.LIB is a library for position independent code of SH7600 series.
Are there any points to note regarding the SH C compiler options when developing Sega Saturn?
Q)
Are there any points to note regarding the SH C compiler options when developing Sega Saturn?
A)
The SH C compiler defaults to output SH7000 series (SH1) code. Since the CPU of Sega Saturn is equivalent to SH7600 series (SH2), be sure to specify to output SH7600 series objects with the CPU option.
<Example>
shc -CPU = 7600 -def = _SH / i = segalib \ include / optimize = 1 /speed sample.c
* For WS (sun SPARC Station, HP9000 / 700 series, Hitachi 3050RX), use "/" to specify the path. It is the same as the path name description rule that is allowed to be used in each processing system.
The source file does not appear in the file list in GUISH.
Q)
When I try to view the source code using GUISH, the file does not appear in the file list.
A)
When debugging source code, you must specify the DEBUG option at compile time and link time, respectively. Please note that the source file will not be displayed if the DEBUG option is not specified or if only one is specified (only at compile time or link time).
I want to display 2-byte code characters such as Chinese characters in the source code with GUISH.
Q)
I want to display the Chinese characters of the source code with GUISH.
A)
Kanji codes can be displayed on the SPARC version and the IBM-PC version. It can be displayed by specifying the Chinese character font in the font setting of "View --Source Display ... --Setting ...".
When I start GUISH, the message "NO INTERFACE BOARD" is displayed.
Q)
When I start GUISH for E7000PC or EVA board, the message "NO INTERFACE BOARD" is displayed.
A)
It seems that the settings on the Windows side are not set correctly. Check if EMMExclude is set in the [386Enh] section of SYSTEM.INI. For the EMMExclude address, describe the address specified on the I / F board as a shared address. For details, refer to 3.4.2 “Installation method” for 7000PC in the E7000 SH7604 emulator manual.
I want to use GUISH for debugging both master and slave.
Q)
I'm developing with dual CPUs, can GUISH be used simultaneously with two E7000 PC ICE / EVA boards?
A)
Can not do. It can be used with IPI.EXE in a DOS window. In such cases, use the master and slave CPUs as GUISH and IPI, respectively, or vice versa. In Windows95, multiple DOS windows can operate in parallel, but it is unconfirmed whether IPI operates in DOS windows at the same time.