Programming Guide

### [ OS | GX | G2 | G3 | G3X ]
[ MI | FX | CP | PAD | TP ]
[ NVRAM | MIC | PM | PRC ]
[ RTC | SND | FS | SVC | EXT ]
[ CARD | CTRDG ]
[ WM | WBT | MB ]
[ Host I/O | Samples | Tool ]

### Operating System (OS)

[Full List / Function List]

Alarm

Arena

Cache

Context

Exceptions

Exclusive Access Control

Initialization

Interrupts

Memory Allocation

Message

Protection Unit

Reset

System Information

System State

TCM

Thread

Time

Timer

V-Count Alarm

- Debug

Assert

Character String Display

Function Call Trace

Function Cost Measurement

Operation Environment

Stack Overflow Check

### Graphics (GX/G2/G3/G3X)

[Full List / Function List]

##### General 2D/3D Graphics (GX)

<Common to the 2D Graphics Engines>

Initialization

Interrupts, etc.

Power Control

Releasing Allocation

Switching to LCDC

VRAM Bank Acquisition

VRAM Bank Allocation

<Main 2D Graphics Engine>

Display Mode

Display/Hide

Loading Resources (2D)

Loading Resources (3D)

Miscellaneous

OBJ Mapping Mode

Offset

<Sub 2D Graphics Engine>

Display Mode

Display/Hide

Loading Resources

Miscellaneous

OBJ Mapping Mode

##### 2D Graphics (G2)

<Common to the 2D Graphics Engines>

OAM

<Main 2D Graphics Engine>

BG Control

BG Display Priority Setting

BG Mosaic

BG Plane Affine Conversion

BG Plane Offset

Color Special Effects

Mosaic

Pointer Acquisition

Window Setting

<Sub 2D Graphics Engine>

BG Control

BG Display Priority Setting

BG Mosaic

BG Plane Affine Conversion

BG Plane Offset

Color Special Effects

Mosaic

Pointer Acquisition

Window Setting

##### 3D Geometry (G3*)

Control

Direct Write

Dynamic Creation of Display Lists

Geometry and Vertices

Geometry Command Cycle List

Geometry Visibility Tests

Lighting

Matrix and Viewport

Texture

Utility

##### 3D Graphics Control (G3X)

Clear Color

Edge Color

Enable/Disable Functions

Fog

Initialization

Miscellaneous

Offset Setting

Test Results and Calculation Results

Toon/Highlighting

Major Types and Macros

### Memory Interface (MI)

[Full List / Function List]

Byte Access

External Memory Control

Extracting Compressed Data

Memory Operation by CPU

Memory Operation by DMA

Memory Swap

Work RAM Settings

### Fixed Decimal (FX)

[Full List / Function List]

##### Data Type

Array/Vector Type

Fixed Decimal Type

##### Initialization

Initialization

##### Calculation

2x2 Matrix Calculation

3x3 Matrix Calculation

4x3 Matrix Calculation

4x4 Matrix Calculation

Calculation of Fixed Decimal

Calculation of Fixed Decimal (Asynchronous)

Vector Calculation

##### Macro

Macro for fx16 Type

Macro for fx32 Type

Macro for fx64 Type

Macro for fx64c Type

##### Constant

fx16 Type Constant Macros

fx32 Type Constant Macros

fx64c Type Constant Macros

### Coprocessor (CP)

[Full List / Function List]

Context Operation

Divider

Square Root Calculation Unit

### Controller (PAD)

[Full List / Function List]

### Subprocessor Peripheral Devices (SPI)

[Full List / Function List]

- Touch Panel (TP)

Auto-sampling

Callibration

Initialization

Pass/Fail Determination

Sampling with Request

Type/Structure

- Nonvolatile Memory(NVRAM)

- Microphone (MIC)

Auto-sampling

Initialization

Sampling

Type/Structure

- Power Management (PM)

Initialization

PMIC Operation

PMIC Status

Sleep

### Pattern Recognition (PRC)

[Full List / Function List]

Initialization

Input Pattern Operation

Input Point Processes

Pattern Sample DB Operation

Pattern Recognition

Type/Structure

### Real Time Clock (RTC)

[Full List / Function List]

Alarm

Date/Time

Initialization

Type/Structure

### Sound (SND)

Added to the NITRO-SYSTEM package.

### ROM File System (FS)

[Full List / Function List]

Archive

Constants

Directory Access

File Access

Initialization

Overlay

Type/Structure

### Supervisor Call (SVC)

[Full List / Function List]

Arithmetic Operation

Extracting Compressed Data

Interrupt Wait

Memory Operation

Miscellaneous

Wait

### Other Libraries (EXT)

[Full List / Function List]

Auto Test

### Card Module (CARD)

[Full List / Function List]

Backups

Constants

EEPROM Device

FLASH Device

General

Initialization

Removal Detection

ROM Access

Structure

### Game Pak Module (CTRDG)

[Full List / Function List]

Initialization

Removal Detection

Game Pak Types

AGB Cartridge Information

Data Transmission

### WM Block Transfer Library (WBT)

[Full List / Function List]

Initialization

Common

Parent Setting

Child Setting

Commands

Constant/Macro

Structure

### Wireless Manager (WM)

[Full List / Function List]

Constant

Infrastructure Mode Communication

Initialization

Initial Setting

Miscellaneous

MP Communication

Types/Structure

Tables/Information

### DS Download Play (Multiboot) Library (MB)

[Full List / Function List]

Initialization

Child (after multiboot)

Parent Device

Types/Structure

### Host I/O Library

Planned for support in the MCS library of the NITRO-SYSTEM package

### Sample Demos

Card Sample Demo

CP Sample Demo

CTRDG Sample Demo

DS Download Play (MB) Sample Demo

FS Sample Demo

FX Sample Demo

Graphics Sample Demo

MB Sample Demo

MI Sample Demo

Miscellaneous Sample Demos

OS Sample Demo

PAD Sample Demo

PRC Sample Demo

RTC Sample Demo

SPI Sample Demo

WBT Sample Demo

WM Sample Demo

### Tools / Commands

[Full List / Function List]

Demo Tools

ROM Image

Data Conversion Tools

NOA-06-8406-001-A7