Returns information regarding the hardware settings necessary when using a cartridge
#include <ultra64.h> /* ultra64.h */ OSPiHandle *osCartRomInit(void)
osCartRomInit returns information regarding the hardware settings necessary when using a cartridge. Specifically, it returns
For details, please see osEPiStartDma, osEPiStartDma.
OSPiHandle is a global data structural unit returned by this routine. It functions as a handle to be referenced by the EPI (expanded peripheral interface) routine. When the osEPi(Raw) function is used for the ROM Emulator, the OSPiHandle structural unit to be used is determined by the value returned by the osCartRomInit function.
The EPI routine actually does the bus Initialization. This function (osCartRomInit) just returns information needed for initialization in a structure.
osEPiRawStartDma, osEPiStartDma
1999/04/30 Changed Format