Request Lifecycle

  1. User application calls D3-TUI public API functions (e.g., d3tui_terminal_putc())
  2. Request enters core library modules through well-defined interfaces
  3. Terminal subsystem processes ANSI escape sequences and manages screen buffer
  4. Render subsystem converts text to hardware-accelerated PVR2 commands
  5. Font subsystem provides glyph rendering from texture atlases
  6. Input subsystem processes Dreamcast controller input and translates to terminal actions
  7. Memory subsystem manages VRAM allocations for textures and vertex buffers
  8. VMU subsystem handles auxiliary display output when connected
  9. SPECTRE integration layer translates generic hardware commands to PVR2-specific calls
  10. SHACHI patterns provide asset loading and conversion services for fonts and textures
  11. Debug subsystem provides runtime diagnostics and performance profiling
  12. Commands are executed on Dreamcast hardware: display output, input processing, VMU communication