|
|
|
|
|
|
||||||||||||||||||||||||||
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
|
![]() |
malloc_memdspFormat#include <malloc.h> int malloc_memdsp (unsigned char *s, int size) Arguments
The size used divided by 60 What This Function Does Makes 60 digits into 1 line for the specified one-dimensional character string, and returns information on the memory allocation area as character information. Note that the character string must be a multiple of 60x2. Example
#define MEMBCHECK_STRINGLEN 10
void dsp_memcheck (void)
{
int I, j;
char s[MEMCHECK_STRINGLEN*60];
i = malloc_memdsp (s, MEMCHECK_STRINGLEN);
for (j=0; j<I;j++) osSyncPrintf ("%s)
NoteThis standard function comes with NuSystem.
|
||||||||||||||||||||||||||||