asccode asccode (tool command)

Obtains the character information data

Syntax

asccode (filename)

Description

asccode 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 LeoGetAAdr2function.

Specify a file name of a text file in the following format for the asccode argument.

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.1.2 of the N64 Disk Drive Programming Manual. 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,56150548,86874128,111626256,99756564,106207248,40212,24742420,21858836,0}; 
unsigned string1[]={ 
1585843223,1602787342,1634048014,1609795598,1487761176,1575459606,1602787342,1606576142,1609795598,1487761176,1520081942,1515952918,0}; 
unsigned string2[]={ 
3183115030,3210180624,3231606800,3221314326,3228067856,3127996184,3179973398,3210180624,3231606800,3233438228,3127996184,3151592214,3148446486,0}; 

See Also

LeoGetAAdr2

Revision History

04/30/1999 Changed Format