    Function

    nuDebConDisp
    nuDebConDispEX2

Syntax

    void nuDebConDisp(u32 flag)
    void nuDebConDispEX2(u32 flag)

Arguments

- flag determines whether or not to swap frame buffer when the task is completed
  NU_SC_SWAPBUFFER Swap frame buffer
  NU_SC_NOSWAPBUFFER Do not swap frame buffer

Return Value
None

Explanation
Displays the console window.

Displays the console output on the screen. All ASCII characters can be output.

This function internally creates a display list and starts the graphics task.

"flag" is the frame buffer swap flag passed to the argument of the nuGfxTaskStart function.

NuSystem can display up to four console windows. The settings that can be made for the console window include the window display position, window size, show/hide the window, and scroll on/off. The character attributes that can be set are the color and blink on/off.

The functions for these various settings are shown below.

Function Name | Function
--- | ---
nuDebConWindowSet | Set window position and size
nuDebConWindowPos | Set window position
nuDebConWindowSize | Set window size
nuDebConWindowShow | Show/hide window
nuDebConScroll | Scroll on/off
nuDebConTextColor | Change text color
nuDebConTextAttr | Set text attributes
nuDebConTextPos | Text display position
nuDebConClear | Clear the console window

These functions can also be used with the release-use library.

Please note that when the nuGfxInit function is not used, then the 0th microcode in the microcode structure array defined by the nuGfxSetUcode function is used.

High resolution has been supported since Ver 1.1. nuDebTaskPerfBar0EX2() supporting F3DEX2 was added from Ver 1.2. It is used when F3DEX_GBI_2 is declared with #define.

See Also
nuGfxInit
nuGfxTaskStart
nuGfxSetUcode
nuDebConWindowSet
nuDebConWindowPos
nuDebConWindowSize
nuDebConWindowShow
nuDebConScroll
nuDebConTextColor
nuDebConTextAttr
nuDebConClear