Guidelines For Error-Handling; Error-Handling Policy With Optical Disc Drive Device Driver; Error Types That Developers Need To Resolve; Disc Cover Open Error - Nintendo GameCube Manuallines

Hide thumbs Also See for GameCube:
Table of Contents

Advertisement

3. Guidelines for Error-handling

3.1 Error-Handling Policy with Optical Disc Drive Device Driver

The error-handling policy of our optical disc drive device driver is "polling". No complicated error-
handling routine is needed. All the game developer needs to do is to poll the "error type" and show the
proper message on the screen.
For example, when the Nintendo GameCube
will wait for the Disc Cover to be closed, make sure the Nintendo GameCube
authorized Game Disc, and then perform the requested command. These processes are carried out
automatically. The programmer does not need to create a Disc Cover close wait routine or Game Disc
identification routine.

3.2 Error Types that Developers Need to Resolve

There are five "error types" that developers need to resolve.

Disc Cover Open Error

No disk Error

Wrong disk Error
Retry Error
Fatal Error
A description of each error type follows.
Note:
These errors are generated when the issued command cannot be processed normally for
some reason. They will not occur unless a command is issued. For example, even if the Disc
Cover is opened when no command has been issued, a "Disc Cover Open error" will not occur.
Additionally, the developer does not need to inform the game player about these status
changes when they do not generate errors.
3.2.1 Disc Cover Open Error
When the game player opens the Disc Cover of the optical disc drive, this error will occur. Display the
following message instructing the user to close the Disc Cover:
"The Disc Cover is open. If you want to continue the game, please close the Disc Cover."
3.2.2 No disk Error
This error occurs when the Disc Cover is closed, but the optical disc drive cannot find a
TM
Nintendo GameCube
appropriate Game Disc:
"Please insert the <Game Title> Game Disc."
Display a message like the above, and instruct the user to set a (proper) Game Disc. (Replace
"Luigi's Mansion" with a proper game name according to actual game name. Same applies to the
following.)
This error may also occur in the following situations:
-
The Game Disc is inserted upside down.
-
A game disc that is not a Nintendo GameCube
-
An extremely dirty Game Disc is inserted.
If the game has multiple Game Discs, please display some message like:
"Please insert <Game Title> Game Disc 1"
to clearly indicate which Game Disc must be inserted.
© 2001-2002 Nintendo of America Inc.
TM
Game Disc. Display the following message and instruct the user to insert the
Disc Cover is open, the optical disc drive device driver
TM
Game Disc, like an 8cm CD, is inserted.
5
Optical Disc Drive Guidelines
TM
Game Disc is an
DOL-06-0026-001-A5
Released: 4/18/02

Advertisement

Table of Contents
loading

Table of Contents