N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

osCartRomInit

Format
#include <ultra64.h>
OSPiHandle *osCartRomInit


What This Function Does
It returns the required hardware status information when you are using the ROM Emulator. Specifically, it returns the domain that belongs to the bus setting value.

For details, please see osEPiRawStartDma or 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.

Note
The EPI routine actually does the bus Initialization. This function (osCartRomInit) just returns information needed to initialize a structural unit.

See Also
osEPiRawStartDma
osEPiStartDma



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998