System Architecture & Subsystems
The Sega Saturn is renowned for its heterogeneous multi-processor architecture. Daphnis approaches emulation with modular subsystem design, deterministic synchronization, and rigorous adherence to primary hardware references.
CPU
Master SH-2 (SH7604)
Primary 32-bit RISC processor driving main system state
Independent custom CPU core implementation with substantial instruction pipeline, exception handling, and direct memory bus coupling.
- 28.6 MHz operation
- 16 general 32-bit registers
- Substantial instruction coverage
- Exception & interrupt handling
Slave SH-2 (SH7604)
Secondary RISC coprocessor for parallel calculations
Secondary CPU architecture coupled via internal bus arbitration for mathematics, physics, and rendering support.
- Dual-CPU symmetric multiprocessing
- Shared bus arbitration
- Co-processor synchronization
System / Control
SCU (System Control Unit)
Interrupt controller and 3-level DMA engine
Central routing hub coordinating hardware interrupts from all internal peripherals (VDP, CD, SMPC) and multi-level direct memory access transfers.
- Level 0 / 1 / 2 DMA engines
- Priority interrupt arbiter
- DSP arithmetic pipeline support
SMPC (System Manager & Peripheral Control)
Power sequencing, RTC, and controller input management
4-bit microcontroller emulator handling INTBACK queries, real-time clock state, reset vectors, and authentic peripheral command interaction.
- INTBACK peripheral command protocol
- RTC registers & backup RAM
- Region & power management
Memory & Interconnect Bus
Segmented address space with authentic wait states
Accurate memory map routing across Work RAM High (1MB), Work RAM Low (1MB), BIOS ROM, cartridge space, and hardware I/O registers.
- Work RAM-H (1MB) & Work RAM-L (1MB)
- Cache-through & cached mirrors
- Strict byte, word & longword bus cycles
Storage & Media
CD Block (Hitachi SH-1 Subsystem)
Intelligent CD-ROM controller and transfer pipeline
Emulation of the dedicated sub-CPU orchestrating spindle control, sector buffer partitioning, sector filtering, and PIO/DMA data stream delivery.
- HIRQ status and transfer flags
- Selector & partition buffer system
- Sector acquisition & filtering
- PIO data register transfers
DiscImage Subsystem
Storage-agnostic physical media mapping architecture
High-precision physical media abstraction layer supporting authentic FAD (Frame Address) sector lookups, ISO 9660 directory parsing, and raw disc byte inspection.
- Deterministic FAD sector calculation
- ISO 9660 volume and path-table parser
- Byte-for-byte media validation
Graphics
VDP1 (Video Display Processor 1)
Sprite, polygon, and distorted quad rendering engine
Command-list driven texture mapping and quadrilateral rasterization processor operating into dual framebuffers.
- Command table interpreter
- Textured quad & sprite rasterizer
- Dual 256KB VRAM framebuffers
VDP2 (Video Display Processor 2)
Multi-layer tile, bitmap, and rotation plane compositing
Complex background processor supporting multiple simultaneous scrolling planes, affine matrix transforms, color calculation, and transparency blending.
- 5 background planes (NBG0-3, RBG0)
- Affine rotation & scaling matrices
- Per-plane priority and color blending
Audio
SCSP (Yamaha YMF292 / FH1)
32-channel PCM sound processor with integrated DSP
Audio subsystem featuring 32 programmable audio slots, integrated digital signal processor for effects, and dedicated Motorola 68EC000 sound CPU.
- 32 independent sound slots
- FM & PCM playback support
- Dedicated 68EC000 sound driver bus
DiscImage & Physical Sector Representation
The CD Block subsystem is engineered to decouple physical file packaging from host filesystem assumptions. All addressing operates with deterministic Frame Address (FAD) translation and verified sector extraction.
Verified byte-for-byte exactness against original PAL media images using optical lead-in calculations (FAD = LBA + 150).
Autonomous directory traversal and Primary Volume Descriptor extraction without guest code dependencies.
Non-invasive tracing hooks for sector acquisition, buffer partitioning, and data transfer completion verification.
