| |
Nintendo DS BIOS/Menu/Firmware/Whatever
zzo38 |
|
Registered user

Group: Members
Posts: 1621
Member No.: 2549
Joined: 21-August 06
Status: (0d)
![[--]](style_images/mfgg2_skin/warn_nosuspend.gif)

|
Every character? It don't see the katakana in there! I have the one with all of the characters: http://zzo38computer.cjb.net/images/nds_font.pngI also have one with a few more symbols that I added (I was making a Pokemon game for NDS but then I stopped doing it). http://zzo38computer.cjb.net/images/nds_font_ext.pngIn case you want it, here is the C code (I wrote it myself, but the letters are not close enough together, and if you know a few things about C programming then you might understand it, or you might not, the only non-standard command it uses is SCREEN_BASE_BLOCK, which is used to select the layer to write on): | CODE | void echo_chr(char row, char col, char pal, int c) { u16 *p; int x,y;
x=c*4; y=0; if(x>=1024) {x-=1024; y=2;} int z=row*2*64+(3*(col/2)+(col&1))*2;
p=(u16*)(SCREEN_BASE_BLOCK((col&1)+y)+z); *p=(x)|(pal*0x1000); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+y)+z+2); *p=(x+1)|(pal*0x1000); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+y)+z+64); *p=(x+2)|(pal*0x1000); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+y)+z+66); *p=(x+3)|(pal*0x1000);
p=(u16*)(SCREEN_BASE_BLOCK((col&1)+2-y)+z); *p=(y?64*4:31); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+2-y)+z+2); *p=(y?64*4:31); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+2-y)+z+64); *p=(y?64*4:31); p=(u16*)(SCREEN_BASE_BLOCK((col&1)+2-y)+z+66); *p=(y?64*4:31); }
|
This post has been edited by zzo38 on Dec 26 2006, 10:43 AM
--------------------
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
[ Script Execution time: 0.0897 ] [ 14 queries used ] [ GZIP Enabled ] [ Server Load: 2.43 ]
| |