Simple Controller Pak menu
#include <libnos.h> int nosPakMenu (OSMesgQueue *siMessageQ, OSMesgQueue *retraceMessageQ);
nosPakMenu is a Controller Pak menu application. The game player can use this menu to check game notes registered in a Controller Pak, to check how any pages are being used and how many are left over, and to delete unnecessary game notes.
siMessageQ must be an initialized message queue associated with OS_EVENT_SI events, and retraceMessageQ must be an initialized message queue associated with vertical retraces. To learn how to make these associations, see osSetEventMesg and osViSetEvent.
The user must press the START button on the Controller in order to activate this menu. The menu will not open if the START button is not pressed or if a Controller Pak is not inserted in the Controller.
The values returned as error codes for this function are shown in the table below:
|When the Controller Pak is not inserted||0|
|When an error occurs in the Controller Pak menu||1|
|When the Controller Pak is OK, but the START button is not pressed||2|
|When "Exit" is selected in the Controller Pak menu||3|
04/30/1999 Changed Format