Miles Sound System SDK 7.2a

RAD_IOPGetFileHandleToIOPMemory

The function RAD_IOPGetFileHandleToIOPMemory creates a file handle that can be used to read from IOP memory.

U32 RAD_IOPGetFileHandleToIOPMemory(
  VOID_PTR IOP_address
);

In Parameters

IOP_address
Specifies the address in IOP memory that you want to start reading from.

Returns

File handle to the IOP memory.

Discussion

This function creates a file handle that can be used to read asynchronously from IOP memory.

You can copy data from the IOP to the SPU by using these kinds of file handles and then using the async read function with the appropriate destination pointer type.

You don't have to close this type of file handle.


Group: The RAD_IOP API for the Sony PS2
Related Functions: AIL_open_stream, RAD_IOPQueueAsyncOpenFile, RAD_IOPQueueAsyncReadAtBottom, RAD_IOPQueueAsyncReadAtTop
Related Basic Types: U32, VOID_PTR

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.