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

   

nuDebConTextColor

Format
void nuDebConTextColor(u32 wndNo, u32 color)

Arguments
  • wndNo is the window number:

    • NU_DEB_CON_WINDOW0 for window 0
    • NU_DEB_CON_WINDOW1 for window 1
    • NU_DEB_CON_WINDOW2 for window 2
    • NU_DEB_CON_WINDOW3 for window 3

  • color is the character color (0 - 15)
Returned Value
none

What This Function Does
It changes the color of the text output to the console window. The change affects characters output after the function has been executed. Character color is specified with the values of 0 to 15. The color defined by each value is given in the following table:

ValueMacroColor
   
1
NU_DEB_CON_TEXT_BLACK
black
2
NU_DEB_CON_TEXT_BLUE
blue
3
NU_DEB_CON_TEXT_GREEN
green
4
NU_DEB_CON_TEXT_CYAN
cyan
5
NU_DEB_CON_TEXT_RED
red
6
NU_DEB_CON_TEXT_MAGENTA
magenta
7
NU_DEB_CON_TEXT_YELLOW
yellow
8
NU_DEB_CON_TEXT_WHITE
white
9
NU_DEB_CON_TEXT_LIGHTBLACK
light black (charcoal)
10
NU_DEB_CON_TEXT_LIGHTBLUE
light blue
11
NU_DEB_CON_TEXT_LIGHTGREEN
light green
12
NU_DEB_CON_TEXT_LIGHTCYAN
light cyan
13
NU_DEB_CON_TEXT_LIGHTRED
light red
14
NU_DEB_CON_TEXT_LIGHTMAGENTA
light magenta
15
NU_DEB_CON_TEXT_LIGHTWHITE
white
The window number denotes priority. The window with the highest number lays on top when windows are stacked. This function can use any of the libraries for this release.

See Also
nuGfxInit
nuGfxTaskStart
nuGfxSetUcode
nuDebConDisp
nuDebConWindowSize
nuDebConWindowPos
nuDebConShow
nuDebConScroll
nuDebConTextAttr
nuDebConClear



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