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