Japanese
FAQNetwork/Modem
■ | Go forward
FAQ/Network/Modem

XBAND programming



What should I do if both players have no pad input for a match?

Q)
What should I do if both players have no pad input for a match?

A)
After the match is over, return to the XBAND menu. In this case, the result returned from the application to XBAND should be XBNetworkGameOver() instead of XBNetworkGameError() to indicate a tie between the two.

I would like to add a reset measure, but what should I do?

Q)
I would like to add a reset measure, but what should I do?

A)
Please refer to the sample software attached to XBAND_SDK_VER 1.01. By the way, to reset and open the CD tray, please send the predetermined reset code using XBExchangeGameData(), display a warning message, and then execute. The party receiving the reset code will

"My opponent has reset. I'm going back to XOS."

Please display a message like this and return to XOS.


What should I do if an error occurs when reading a CD and I cannot continue reading?

Q)
What should I do if my application encounters an error when reading a CD and cannot continue?

A)
Perform the same procedure as the reset countermeasure on the Saturn on which the error occurred.

Once XBInitXBAND() is entered, the process will not return.

Q)
Once XBInitXBAND() is entered, the process will not return.

A)
There are two possible causes:

  1. XBLIBNET.BIN is loaded to the wrong destination.

  2. XBLIBNET.BIN has been overwritten with IP etc.

When processing is transferred from XOS to the application side in SBL's SGL mode, it hangs.

Q)
I am creating software in SGL mode of SBL6.0, but when processing is transferred from XOS to the application side, it hangs up.

A)
Please change SEGA_SGL.A to the one attached to XBAND_SDK_VER 1.01.

Is it possible to call XOS once control is transferred to the application side?

Q)
Is it possible to call XOS once control is transferred to the application side?

A)
you can't. Due to the specifications of the DiscDispatchSystem (also known as demo software) used in XBAND, the menu section and game section have a parent-child relationship. Games are always called from XOS. Therefore, the use of XBAllowReturnToXOS(), which is described in the manual, cannot be prohibited.

Regarding compatible application check item 4.

Q)
Compatible application check item 4 on the ROM delivery note: "DMA must not be activated while the function Is it okay not to take it into consideration?

A)
The initial configuration of that function does not use DMA. Therefore, as long as you use the library as is, I don't think there will be any problems. However, please note that if you change the initial settings to put DMA into use and use SCL_OPEN and SCL_CLOSE, this may cause a problem.

How many bytes of data can be transferred with 1 int from the application's perspective?

Q)
How many bytes of data can be transferred with 1 int from the application's perspective?

A)
The maximum value of GameDataSize that can be set in XBOpenSession() is 14 bytes. (The modem FIFO is 16 bytes, and 2 bytes are used for error checking.)

If I use up the maximum 14 bytes, will there be any difference from when I use 4 bytes?

Q)
If I use up the maximum 14 bytes, will there be any difference from when I use 4 bytes?

A)
I can think of the following two points.

  1. Increased processing time for XBAND library

  2. The time required for sending and receiving (the time for SH to read/write to the modem's FIFO) and the time required for subsequent library processing will increase.
    Therefore, when transferring 4 bytes, for example, if the transfer was 1 int without any problems, processing may be delayed due to transfer of 14 bytes.

  3. About errors

  4. The probability of error occurrence is considered to be proportional to the amount of data transferred.
    (Errors may occur due to line conditions on the way)
    I also think that the time required for error correction (the screen will freeze momentarily) will increase.


■ | Go forward
FAQNetwork/Modem
Copyright SEGA ENTERPRISES, LTD. 1997