![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
osWriteHostFormat#include <ultra64.h> void osWriteHost(void *vAddr, s32 nbytes); Arguments
The osReadHost, osWriteHost, osTestHost, osAckRamromRead, and osAckRamromWrite routines allow the game to transfer data back and forth from a host application to/from RDRAM. They work in concert with the host-to-target IO functions (uhOpenGame, uhCloseGame, uhReadGame, uhWriteGame, uhReadRamrom, and uhWriteRamrom) on the host side. The osWriteHost routine attempts to copy nbytes of data from the game beginning at vAddr to the host. In this case, the operation should be paired on the host side with the uhReadGame function using the same byte count. Either the host or the game will block until the rendezvous is complete. Note that the rmon debugging program must be running to manage the low-level synchronization. See uhOpenGame for an example that shows how to correctly initiate and use a connection from the host. See Also osReadHost osTestHost osAckRamromRead osAckRamromWrite uhReadGame uhOpenGame uhCloseGame uhReadGame uhWriteGame uhReadRamrom uhWriteRamrom
|