FAQNetwork / Modem
■ | Advance
FAQ / Network / Modem

XBAND programming



What should I do if both pad inputs are blank for one match?

Q)
What should I do if both pad inputs are blank for one match?

A)
After the match, return to the X BAND menu. In this case, the result returned from the application to XBAND should be a draw with XBNetworkGameOver () instead of XBNetworkGameError ().

I would like to take measures against resetting, what should I do?

Q)
I would like to take measures against resetting, what should I do?

A)
Please refer to the sample software attached to XBAND_SDK_VER 1.01. By the way, reset and open the CD tray should be executed after sending the predetermined reset code with XBExchangeGameData () and displaying a warning message. The side that received the reset code

"The opponent has reset. I will return to XOS."

Please display a message such as, and return to XOS.


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

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

A)
Perform the same processing as the reset countermeasure on the Saturn on the error occurrence side.

When I enter XBInitXBAND (), the process does not return.

Q)
When I enter XBInitXBAND (), the process does not return.

A)
There are two possible causes:

  1. The load destination of XBLIBNET.BIN is incorrect.

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

It hangs when the process shifts from XOS to the application side in SGL mode of SBL.

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

A)
Change SEGA_SGL.A to the one that came with 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)
can not. Due to the specifications of the DiscDispatch System (also known as demo demo software) used in XBAND, the menu section and the game section have a parent-child relationship. The game is always called from XOS. Therefore, XBAllowReturnToXOS () described in the manual cannot be prohibited.

Regarding the corresponding application check item 4.

Q)
Corresponding application of ROM delivery note Check item 4 "The DMA must not be started while executing the function XBNetworkGameError / Over." Regarding the use of the library functions SCL_VblankStart and SCL_VblankEnd in V-BLANK of SBL6.0 Is it okay to not take it into account?

A)
DMA is not used by default for that function. So, as long as you use the library as it is, I think there is no problem. However, please note that there will be a problem if you change the initial settings to use DMA and use SCL_OPEN and SCL_CLOSE.

How many bytes of data can be transferred with 1 int from the perspective of the app?

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

A)
The maximum 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, is there any difference from 4 bytes?

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

A)
The following two points can be considered.

  1. Increased processing time for XBAND library
    The time required for transmission and reception (the time for SH to R / W to the FIFO of the modem) and the time required for subsequent processing of the library will increase.
    Therefore, when transferring 4 bytes, for example, what was running without problems with 1 int was changed to 14 bytes, so it can be said that processing is lost.

  2. About the error
    The error probability is considered to be proportional to the amount of transferred data.
    (Errors occur due to line conditions on the way, etc.)
    Also, I think that the time required for error correction (the screen will stop for a moment) will increase.


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