osInitRdb osInitRdb (function)

osInitRdb

Sets up an outgoing buffer for the rdb debug port

Syntax

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

Arguments

sendBuf
the pointer to the buffer to be used

bufSize
the size of the buffer in bytes

Description

This 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.

Features

The following subsystems will use this buffer if it is available:

osSyncPrintf, logging, profiling, debugging, libultrahost

Revision history

1999/04/30 Changed format