Programming Guide

### Operating System (OS)

  [Full List/Function List /Overview]

  Initialization
  Reset
  System State
  TCM
  Protection Unit
  Exceptions
  Interrupts
  Timer
  Alarms
  V-Count Alarms
  Time
  Thread
  Exclusion Control
  Context
  Message
  Cache
  Arena
  Memory Allocation
  System Information

Debug
  Operating Environment
  character string display
  Assert
  Function Call Trace
  Function Cost Measurement
  Stack Overflow Check
  Arguments

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

  [[Full List/Function List]

General 2D/3D Graphics (GX)
  Common to the 2D Graphics Engines
    Power Control
    Initialization
    VRAM Bank Acquisition
    VRAM Bank Allocation
    Switching to LCDC
    Releasing Allocation
    Interrupts and Miscellaneous
  Main 2D Graphics Engine
    Display Mode
    Display/Hide
    Offset
    OBJ Mapping Mode
    Loading Resources (2D)
    Loading Resources (3D)
    Other
  Sub 2D Graphics Engine
    Display Mode
    Display/Hide
    OBJ Mapping Mode
    Loading Resources
    Other

2D Graphics (G2)
  [Full List/Function List]

Common to the 2D Graphics Engines
  OAM
Main 2D Graphics Engine
  BG Control
  Setting BG Display Priority Levels
  BG Mosaic
  Acquiring Pointers
  BG Plane Offset
  BG Plane Affine Conversion
  Setting Windows
  Mosaic
  Color Special Effects
Sub 2D Graphics Engine
  BG Control
  Setting BG Display Priority Levels
  BG Mosaic
  Acquiring Pointers
  BG Plane Offset
  BG Plane Affine Conversion
  Setting Windows
  Mosaic
  Color Special Effects

3D Geometry (G3*)
  [Full List/Function List]

  Geometry Command Cycle List
  Geometry And Vertices
  MatrixAndViewport
  Lighting
  Texture
  Control
  Geometry Visibility Determination
  Direct Write
  Utilities
  Dynamic Creation of Display Lists

3D Graphics Control (G3X)
  [Full List/Function List]

  Initialization
  Enabling and Disabling Each Function
  Toon/Highlighting
  Edge Color
  Fog
  Offset Settings
  Clear color
  Test Results and Calculation Results
  Other
  Main Types And Macros

### Memory Interface (MI)

  [[Full List/Function List]

  Memory operations by the CPU
  Memory operations by the DMA
  External Memory Control
  Work RAM Settings
  Memory Swap
  Expanding compressed data
  Byte Access
  Types, Structures

### Fixed Decimal (FX)

  [[Full List/Function List]

Data Type
  Fixed decimal type

Initialization
  Initialization

Calculation
  Calculation of Fixed Decimal
  Calculation of Fixed Decimal (Asynchronous)

Macro
  fx16 Type Macros
  fx32 Type Macros
  fx64 Type Macros
  fx64c Type Macros

Constant
  fx16 Type Constant Macros
  fx32 Type Constant Macros
  fx64c Type Constant Macros

Matrix (MTX)

  <Data Type>
  Matrix Type
  <Matrix Calculation>
  2x2 Matrix Calculation
  3x3 Matrix Calculation
  4x3 Matrix Calculation
  4x4 Matrix Calculation

Vector (VEC)

  <Data Type>
  Vector Type
  <Vector Calculation>
  Vector Calculation

### Co-Processor (CP)

  [Full List/Function List /Overview]

  Divider
  Square Root Calculator
  Context Operations

### Mathematical Functions (MATH)

  [Full List/Function List /Overview]

  Utility Functions
  Integer Operations
  Bit Operations
  Random Number-Related Features
  Fast Fourier Transforms
  Hash Value-Related Functions
  Message Digest Functions

### Controller (PAD)

  [[Full List/Function List]

### ARM7 Processor Peripheral Device (SPI)

  [[Full List/Function List]

Touch Panel (TP)

  Initialization
  Sampling with Request
  Auto-Sampling
  Calibration
  Pass/Fail Determination
  Type/Structures

Nonvolatile Memory (NVRAM)

Microphone (MIC)

  Initialization
  Sampling
  Auto-Sampling
  Type/Structures

Power Management (PM)

  Initialization
  PMIC Operation
  PMIC Status
  Sleep

### Pattern Recognition (PRC)

  [[Full List/Function List]

  Initialization
  Input Point Processing
  Sample Pattern DB Operations
  Input Pattern Operations
  Pattern Recognition
  Type/Structures

### Real Time Clock (RTC)

  [[Full List/Function List]

  Initialization
  Date, Time
  Alarms
  Conversions
  Type/Structures

### Sound (SND)

  [[Full List/Function List]

  Initialization
  ARM7 Command Processes
  Sequence Commands
  Channel Commands
  Capture Commands
  Alarm Commands
  Timer Commands
  Global Settings Commands
  Data Invalidation Commands
  Driver Information Commands
  Banks
  Get Information
  Utilities

### ROM File System (FS)

  [[Full List/Function List]

  Initialization
  File Access
  Directory Access
  Overlay
  Archive
  Constants
  Type/Structures

### Supervisor Call (SVC)

  [[Full List/Function List]

  Wait for Interrupt
  Waiting
  Memory Operations
  Expanding compressed data
  Arithmetic Operation
  Other

### CARD Module (CARD)

  [Full List/Function List /Overview]

  Initialization
  Common
  General Backup
  EEPROM Device
  FLASH Device
  FRAM Device
  ROM Access
  Removal Detection
  Constants
  Structure

### Game Pak Module (CTRDG)

  [[Full List/Function List]

  Initialization
  Removal Detection
  Classes of Game Paks
  AGB Cartridge Information
  Data Transfer
  AGB Backup Overview
  FLASH Device
  SRAM Device
  PHI Output Terminal

### Rumble Pak (VIB)

  [Full List/Function List /Overview]

  Function
  Structures
  Constants

### Wireless Driver Operation Control Library (WVR)

  [[Full List/Function List]

  Driver Operation Control
  Constants and Types

### Wireless Manager (WM)

  [[Full List/Function List]

  Initialization
  Initial Settings
  MP Communication
  Infrastructure Mode Communications
  Other
  Constants
  Types, Structures
  Figures and information

### WM Block Transfer Library (WBT)

  [Full List/Function List /Overview]

  Initialization
  Common
  Parent Device Settings
  Child Device Settings
  Commands
  Constants and Macros
  Structure

### Multiboot Library (MB)

  [[Full List/Function List]

  Initialization
  Child (after multi-boot)
  Parent
  Pseudo Multiboot Child
  Constants and Structures

### PictoChat Library (CHT)

  [[Full List/Function List]

  PictoChat Search

### Other Libraries (EXT)

  [[Full List/Function List]

  Auto-Test

### Environment resource management library (ENV)

  [Full List/Function List /Overview]

  Initialization
  Resource Set Configuration
  Obtaining Resources
  Class Configuration
  Conditional Searches

### Standard Library (STD)

  [[Full List/Function List]

  Charstring Functions

### Host I/O Library

  Support in the MCS library of the NITRO-SYSTEM package

### Sample Demos

  OS Sample Demo
  Graphics Sample Demos
  MI Sample Demo
  FX Sample Demo
  CP Sample Demo
  MATH Sample Demo
  PAD Sample Demo
  SPI Sample Demo
  PRC Sample Demo
  RTC Sample Demo
  SND Sample Demo
  FS Sample Demo
  Card Sample Demo
  CTRDG Sample Demo
  VIB Sample Demo
  WVR Sample Demo
  WM Sample Demo
  WBT Sample Demo
  MB Sample Demo
  CHT Demo
  ENV sample demo
  Miscellaneous Sample Demos

### Tools / Commands

  [[Full List/Function List]

  Features related to ROM images
  Data Conversion Tools
  Demo Tools

### Compiled Program

  [[Full List/Function List]

  Wireless-Related

### Related Information

  Description of Header Files
  Description of Compile Target

NTR-06-0023-001-A16

CONFIDENTIAL