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

   

asccode

Format
asccode (filename)

What This Tool Does
It gets the character information data about an ASCII character. This character information data comprises the DDROM storage address and the character width, height and alignment, all compressed into 32 bits of data for use by the LeoGetAAdr2 function.

Command Line Options
The command line options specify the text file names by using this format:
  • 0, Super Mario 64
  • 5, Wave Race 64
  • 11, Mario Kart 64
The values 0, 5, and 11 each express a different font number (font#). To learn more about font# values, see Chapter 9 of the N64 Disk Drive Programmer's Guide. For example, if the file name is "string," then typing the following on the command line:
% asccode string
results in the creation of a file named string.c that contains the following array of character information data:

unsigned string0[]={
67336724, 114259726, 107715344, 93558800, 111626256, 40212, 561550548, 86874128, 111626256, 99756564, 1??????????????????????
unsigned string1[]={
1585843223, 1602787342, 1634048014, 1609795598, 1487761176, 1575459606, 1606576142, 1609??????????????????
unsigned string2[]={
3183115030, 3210180624, 3231606800, 3212314326, 3228067856, 3127996184, 3179973398, 3210180624, 32316????????????????


See Also
LeoGetAAdr2


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