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
|
osPiGetCmdQueueFormat#include <ultra64.h> OSMesgQueue *osPiGetCmdQueue(void);What These Functions Do The osPiStartDma, osPiWriteIo, osPiReadIo, osCreatePiManager, and osPiGetCmdQueue functions provide high-level, managed access to the parallel (or peripheral) interface (PI). The PI is responsible for the transport of data between RDRAM and bulk-storage devices (BSD) such as ROM, RAM, CD-ROM, and other technologies. These functions provide "managed" control of the PI; they provide synchronization and mutual exclusion support when the PI is to be shared for simple peripheral IO. The use of these PI routines require that the operating system be correctly initialized. The osPiGetCmdQueue function returns a pointer to the command queue of the PI manager or NULL if the PI manager has not been started. Notes Nintendo strongly recommends that you use these high-level functions to manage PI access rather than using the raw, low-level functions. Be very careful when intermixing low-level (raw, unmanaged access) and high-level (managed access) PI functions. Without proper synchronization, this mix can cause an error in the PI because the PI can only support one IO operation at any one time. See Also osPiStartDma osPiWriteIo osPiReadIo osCreatePiManager osPiRawStartDma osSendMesg osJamMesg
|