# SIF: the EE-IOP channel Sources: ps2tek "Subsystem Interface (SIF)", "SIF DMA", "SIF RPC" (tier 3); EEUM §5.1 for the EE's DMA channels 5-7 ("the SBUS has three DMA channels ... in cooperation with the corresponding SBUS DMA") (DOC). ## Hardware - **Mailbox registers**, seen by both CPUs (EE at 1000F200h, IOP at 1D000000h): MSCOM (written by the EE), SMCOM (written by the IOP), MSFLG and SMFLG (semaphore-like flag words: one side sets bits, the other clears them by writing them; BIOS uses 10000h "SIF initialised", 20000h "SIFCMD initialised", 40000h "IOP booted"), SIF_CTRL (mostly unknown; bit 19 used for PS1 mode), SIF_BD6 (unknown) (ps2tek "SIF Registers"). - **FIFOs and DMA**: SIF0 (IOP to EE: IOP DMA ch. 9 fills, EE DMA ch. 5 drains, destination chain), SIF1 (EE to IOP: EE ch. 6 fills, IOP ch. 10 drains), SIF2 (both, used for the PS1-mode GPU) (EEUM §5.1; ps2tek). A transfer started on one side with an empty FIFO waits until the other side fills it (ps2tek "SIF DMA"). - **Interrupts**: INT_SBUS on the EE's INTC (bit 1), and the IOP's DMA interrupts through DICR/DICR2 (ps2tek). ## Software (for orientation, not for the specification) SIF CMD and SIF RPC (servers and clients across the two CPUs) are BIOS and SDK software built on these registers and DMA (ps2tek "SIF RPC"). The board models only the hardware; the BIOS runs as itself. ## Timing and the domain boundary The SIF is **the channel between domains A (EE) and D (IOP)** (domains.md). Both sides poll the mailbox flags in loops during boot and RPC; SIF DMA moves data in qwords with FIFO back-pressure. The FIFO depths and per-qword costs are **U33**; the timing of a flag write becoming visible to the other CPU is **U34**. Polling rates set the synchronisation cost (execution-architecture.md).