
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
|
 |
malloc_memdsp
Format
#include <malloc.h>
int malloc_memdsp (unsigned char *s, int size)
Arguments
- s is the pointer to the character string
- size is the size of the character string divided by 60
Return Value
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)
Note This standard function comes with NuSystem.
|
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 January 1998
|
|