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

## osInitRdb

Syntax

#include <ultra64.h>
void osInitRdb(u8 *sendBuf, u32 bufSize);
Arguments

- sendBuf is the pointer to the buffer to be used
- bufSize is the size of the buffer in bytes

Explanation
It sets up an outgoing buffer for the RDB debug port. Specifically, it provides a buffer to the RDB debug port handling routines. The buffer is used to increase efficiency of game-to-host debug data transfers. The buffer can be of any size but optimally it should be big enough to handle the maximum amount of data transferred at any one given time. For example, if your application prints out 40 lines of debugging info, each of 30 characters, then 1200 bytes would be optimal.
The following subsystems will use this buffer if it is available: osSyncPrintf, logging, profiling, debugging, and libultra host.

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 March 1998