# MCPX: the southbridge, its APU and DSPs, USB, IDE, network, legacy PC devices Evidence tags as in the methodology; xboxdevwiki pages by title and pinned revision. ## What the MCPX holds The MCPX ("Media and Communications Processor for Xbox", NVIDIA) is the southbridge: the APU and the ACI (sound), two OHCI USB controllers, the IDE controller, the Ethernet MAC, the SMBus controller, the LPC bridge (flash on 1.0-1.4 boards is parallel; LPC on 1.6), the PC-compatible legacy block (8259 PICs, 8254 PIT, 8237 DMA, RTC/CMOS, A20, PC speaker pin), and the **hidden 512-byte boot ROM** (`MCPX` r7417; `PCI` r6609). Revisions: MCPX B2 on 1.0 boards (with the USB daughterboard "bodge" for a silicon bug), D1 on 1.1 and later with the revised ROM (`Hardware Revisions` r7412). NVIDIA's public nForce MCP material (the "Technical Brief: NVIDIA nForce MCP Audio Processing Unit", linked from `APU`) describes the PC sibling; it was not fetched (the link is to nvidia.com/attach/9004; decision X8). ## The APU (`APU` r7415, `DSP` r6690, `ACI` r5765, `Xbox ADPCM` r6643) - **Voice processor (VP)**: fixed function; up to 256 voices (the wiki cites 256 and 64 from two sources), each with an input format (8-bit, 16-bit, 24-bit, Xbox ADPCM), eight target bins with volumes, HRTF, LFO, pitch (16-bit signed, p = 4096 log2(f/48000)), DLS2 low-pass or parametric EQ, I3DL2 reverb for 3D voices, two DAHDSR envelopes counting at 1,500 Hz. Voices live in RAM in linked lists (2D, 3D, MP). Output: 32 mono bins into the GP's MIXBUF. - **Audio frames**: 32 samples at 48 kHz, so **1,500 frames per second**, 0.667 ms each. All processing in 24-bit PCM. - **GP and EP DSPs**: two programmable DSPs of the same architecture, "probably Parthus MediaStream DSP cores (probably the 24-bit DSP2420 'Mozart' core)", "similar to Motorola DSP56362 (DSP56300 family)" (`DSP`). GP: 4096 words P, 4096 X, 2048 Y, the MIXBUF at X:$001400 (992 words found working of a probable 1024). EP: 4096 P, 3072 X, 256 Y. The GP "seems to run at 160 MHz" (`APU`). Each has a DMA engine driven by command blocks in X memory (formats, interleave, circular scratch buffers: tested on hardware by the wiki's author, with many "?" fields), four output and two input FIFOs into RAM, and the frame interrupt. DirectSound loads the GP's effects code and the EP's AC-3 encoder; the boot animation uses a different DirectSound with the EP disabled. - **ACI**: AC'97, "similar to the AMD-768 ACI" through MMIO; 16-bit stereo PCM at 48 kHz (wiki: very likely, not confirmed) and S/PDIF, fed by the EP's FIFOs (or the GP's during the boot animation). - MAME's `xbox` machine models the GP as a Motorola DSP56362 at 10 MHz with a DSP56362 bootstrap ROM (OBSERVED, `mame -listxml xbox`): a stand-in, not evidence of the part. ### The chip rule for the DSPs The DSPs are programmable processors running code that DirectSound uploads: CPU-class cores by the family's rule ("CPUs always get their own core"). Nothing in the family implements the DSP56300 architecture today. Their exact identity is a HYPOTHESIS (the wiki says "probably" twice). The DSP56300 family's manual is public (NXP's `DSP56300FM.pdf`, linked from `DSP`; not fetched tonight: nxp.com's robots.txt has no AI rules, its document terms not checked). Decision X6 in the handoff brief. ## USB (`USB` r7298) Two OHCI 1.0a controllers at FED00000h (USB0, IRQ 1: the four controller ports through on-board hubs) and FED08000h (USB1, IRQ 9: not wired out on retail units). Register values read from a retail 1.6 unit are on the wiki. Devices: the Xbox controller (a USB HID-like device with its own descriptors: `Xbox Input Devices` r7426, 49 KB of reverse-engineered detail), memory units (USB mass storage), the communicator, the DVD remote's receiver. OHCI is a public specification (OHCI 1.0a): tier 2 for the host controller, tier 3 for the Xbox's devices. ## IDE (`PCI` r6609, `Hard Drive` r7037, `DVD Drive` r7194) One channel used: the hard disk as master, the DVD drive (ATAPI) as slave, bus-master DMA through the controller at FF60h. ATA/ATAPI are public T13 standards (the wiki cites the ACS-2 draft): tier 2 for the protocol. Details in storage.md. ## Network An nForce MAC at FEF00000h with an external PHY (`Network` r6875). Xbox Live is gone; system link between consoles is the only use left. Proposed: a stub that reports no link until a board milestone needs more (decision X9). ## Legacy PC devices 8259 pair, 8254 PIT, RTC/CMOS, 8237 DMA as on a PC (`Memory` I/O map). The kernel's timer interrupt comes from the PIT (HYPOTHESIS: the `Porting an Operating System to the Xbox HOWTO` page, not pinned, gives the Xbox's PIT frequency; to pin and read). ## The boot ROM 512 bytes at FFFFFE00h at reset, hidden by a PCI configuration write; versions 1.0 (RC4-decrypts the second-stage loader) and 1.1 (TEA-verifies a flash boot loader that decrypts it). It runs an "x-code" interpreter over a table in the flash that initialises the chipset. See firmware-and-secrets.md for what that means for this repository.