osDriveRomInit osDriveRomInit (function)

Returns information concerning the necessary hardware settings when using the N64 Disk Drive ROM

Syntax

#include <ultra64.h>     /* ultra64.h */
OSPiHandle *osDriveRomInit(void);

Description

osDriveRomInit returns information concerning the necessary hardware settings when using the N64 Disk Drive's built-in ROM. This information includes:

  1. The PI domain in which it belongs
  2. The value for setting the PI bus

For details, see osEPiStartDma and osEPiStartDma.

The global data structure OSPiHandle is returned by this routine to function as a handler referenced by the EPI routine. When using the osEPi(Raw) function with the N64 Disk Drive ROM, please make sure to use the OSPiHandle structure that is obtained with the value returned by this function.

Note

The actual PI bus setting (initialization) is done by the EPI routine. This function simply returns a structure that has the information for initialization.

See also

osEPiRawStartDma, osEPiStartDma, and osCartRomInit

Revision History

04/30/1999 Changed Format