#78507 - sofakng - Fri Apr 07, 2006 7:45 pm
Here is a snippet of my code:
If I do an iprintf() then it will print text to the top screen. How do I get the text to print to the top OR bottom screen? Are there more functions aside from iprintf() for printing text?
Also, is there any tutorials on using the subpixel font that is found on these forums?
Thanks!
Code: |
videoSetMode(MODE_0_2D | DISPLAY_BG0_ACTIVE); videoSetModeSub(MODE_0_2D | DISPLAY_BG0_ACTIVE); vramSetBankA(VRAM_A_MAIN_BG_0x6000000); vramSetBankC(VRAM_C_SUB_BG_0x6200000); SUB_BG0_CR = BG_MAP_BASE(31); BG_PALETTE_SUB[255] = RGB15(31,31,31); consoleInitDefault((u16*)SCREEN_BASE_BLOCK_SUB(31), (u16*)CHAR_BASE_BLOCK_SUB(0), 16); |
If I do an iprintf() then it will print text to the top screen. How do I get the text to print to the top OR bottom screen? Are there more functions aside from iprintf() for printing text?
Also, is there any tutorials on using the subpixel font that is found on these forums?
Thanks!