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
  Messages
  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 Allocation
    VRAM Bank Acquisition
    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
  Matrix and Viewport
  Lighting
  Textures
  Control
  Geometry Visibility Determination
  Direct Write
  Utility
  Dynamic Creation of Display Lists

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

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

### Memory Interface (MI)

  [[Full List/Function List]

  CPU Memory Operations
  DMA Memory Operations
  External Memory Control
  Work RAM Settings
  Memory Swap
  Expanding Compressed Data
  Byte Access
  Types and 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 Function
  Integer Operations
  Bit Operations
  Random Number-Related Features
  Sort-Related Functions
  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
  Types and Structures

Nonvolatile Memory (NVRAM)

Microphone (MIC)

  Initialization
  Sampling
  Auto-Sampling
  Types and 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
  Types and Structures

### Real Time Clock (RTC)

  [[Full List/Function List]

  Initialization
  Date, Time
  Alarms
  Conversions
  Types and 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
  Getting Information
  Utility

### ROM File System (FS)

  [[Full List/Function List]

  Initialization
  File Access
  Directory Access
  Overlay
  Archive
  Constants
  Types and Structures

### Supervisor Call (SVC)

  [[Full List/Function List]

  Wait for Interrupt
  Waiting
  Memory Operations
  Expanding Compressed Data
  Arithmetic Operations
  Other

### CARD Module (CARD)

  [Full List/Function List /Overview]

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

### Game Pak Module (CTRDG)

  [[Full List/Function List]

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

### Rumble Pak (VIB)

  [Full List/Function List /Overview]

  Functions
  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 and 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
  Structures

### 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
  Resource Acquisition
  Class Configuration
  Conditional Searches

### Standard Library (STD)

  [[Full List/Function List]

  Charstring Functions
  Character Code Conversion Functions
  Types and Structures

### Host I/O Library

  Supported in the MCS library of the NITRO-SYSTEM package

### Sample Demos

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

### Tools / Commands

  [[Full List/Function List]

  Tools Related to ROM Images
  Data Conversion Tools
  Demo Tools

### Compiled Programs

  [[Full List/Function List]

  Wireless-Related

### Related Information

  Description of Header Files
  Description of Compile Target

CONFIDENTIAL