colored printf text
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm
colored printf text
is there anyway to color the text the psp outputs? if so how?
youll have to be more specific...if you mean the text printed to the pc console via psplink, then yes, if you know how to work with ansi escape codes, like this:
google for 'ansi escape codes' and you should find a few docs that list the different ansi control commands.
if you mean pspDebugScreenPrintf, have a look in pspdebug.h, theres a few functions that control text and background color, cursor position, etc.
Code: Select all
// output to psplink console, move cursor up one before printing the text
printf("\033[1Alook ma, only one line!\n");
if you mean pspDebugScreenPrintf, have a look in pspdebug.h, theres a few functions that control text and background color, cursor position, etc.
Last edited by MrMr[iCE] on Sun Feb 25, 2007 12:44 am, edited 1 time in total.