# What the Wii adds, and how it pins the GameCube work The Wii is a GameCube with a second half. Everything a GameCube game can touch is still there, at a higher clock; everything new hangs off a second bus that only the Starlet fully owns. So the Wii board **pins** the GameCube work and adds its own half; it never copies a GameCube block. GameCube Phase 0 state when this page was written (2026-11-26, read late in this session): `../gamecube-python` and `../gekko-python` hold fetched references (YAGCD's chapters; IBM's Gekko user's manual of 2000-05, the 750CL user's manual v1.0, Motorola's 32-bit programming environments manual) and no documents or commits yet. The names below (`gamecube_python`, `gekko_python`) follow the family's naming rule and are proposals until those briefs land; reconcile them then (decision D1). ## 1. Broadway is a Gekko row, not a new core | | Gekko (GameCube) | Broadway (Wii) | Source | | --- | --- | --- | --- | | Clock | 486 MHz | 729 MHz (486 MHz in GameCube mode) | Hardware/Broadway; Broadway/Clock Speed Control | | Bus to memory | 162 MHz | 243 MHz (162 MHz in GameCube mode) | Hardware/Broadway | | L1 / L2 | 32 + 32 KB 8-way; 256 KB L2 | the same | Hardware/Broadway; Gekko UM 2000-05 (in ../gekko-python/reference) | | Paired singles, GQR0-7, HID2, locked cache, DMA, write-gather pipe | yes | yes | Broadway/Registers; Gekko UM | | HID4 (SPR 1011) | no | yes ("seem to be new"); its top bit "H4A" is unreliable to clear, per SDK strings | Broadway/Registers | | PVR | "83410" (WiiBrew, citing a forum post) | "87102" (the same post) | Hardware/Broadway; **contradiction C1** below | | BATs | four instruction and four data | the 750CL has four more of each (IBAT4-7, DBAT4-7, SPR 560-575), enabled by HID4's SBE bit; whether Broadway has them is HYPOTHESIS (U2) | 750CL UM (HID4 table, SPR list); gekko-python validation.md names them as a Broadway difference | IBM's 750CL user's manual (fetched by ../gekko-python) documents a commercial 750 with paired singles, the locked cache and DMA, and an HID4 "that controls the enhanced features in the 750CL design". It is the nearest public document to Broadway, but IBM does not say Broadway is a 750CL: treat it as DOC for the 750CL and HYPOTHESIS for Broadway. **C1.** Gekko's own manual (2000-05, Implementation Note on the PVR) gives the processor version as 0x7000, "early releases ... may have 0x0008", revision from 0x0100. WiiBrew's "83410" reads as PVR 0x00083410 (version 0x0008). Shipped GameCubes may carry the early-style value; only a hardware read decides (gekko-python's business; the Wii row takes WiiBrew's 0x00087102 marked DOC, single forum source). **Proposal:** gekko-python gains a **machine row** `broadway` (PVR, HID4 present, the HID4 bit behaviour, nothing else) and the board sets the clock. Every instruction, cycle count and cache rule is Gekko's, unless a Wii test shows otherwise. This is the chip rule working as intended: one CPU core, two users. No `broadway-python`. ## 2. Hollywood's legacy half is Flipper, pinned from gamecube-python The GX, VI, PI, MI, AI, DSP interface, DI, EXI and SI are Flipper's blocks: "almost identical to the GameCube DI interface" (Hardware/Drive Interface), "similar to that of the GameCube's Flipper, except running at a higher clock" (Hardware/GX). The Wii board composes **gamecube-python's block classes**, with a `hollywood` row that differs in: 1. **Clocks**: GX and the system bus at 243 MHz, the DSP at 121.5 MHz; 162 and 81 MHz in GameCube mode (Wii Hardware; Hardware/Macronix DSP; HW_CLOCKS SPEED). 2. **Address width**: Flipper masks the upper 6 address bits of DMA addresses. Hollywood masks only 3 when HW_COMPAT bits are set, so DMA reaches MEM2 at 0x10000000: VI frame buffer addresses (bit 18), DSP_DMA_START_ADDR (bit 16; DSP_AR_DMA_MMADDR always masks 6), CP FIFO registers (bit 13), DIMAR (bit 12), EXInMAR (bit 11) (Hardware/Hollywood Registers, HW_COMPAT). Clear, they behave "like Flipper". 3. **ARAM is gone.** The GameCube's 16 MB ARAM chip does not exist; the DSP reaches MEM1 or MEM2 instead. In GameCube mode "the bottom 16 MB of MEM2 is used to emulate ARAM" (Memory map). So gamecube-python's ARAM must be a **socket** (a memory object the DSP's ARAM DMA talks to), which the Wii fills with a MEM2 window. Its timing on the Wii (GDDR3 behind Hollywood's memory controller, against the GameCube's ARAM) is unknown: U3. 4. **Two addresses for the legacy blocks.** DI, SI and EXI also appear on the AHB, in Hollywood's register space (DI at 0x0d806000; Hardware/Drive Interface). HW_AIPPROT's ENAHBIOPI chooses: clear, they answer at their Flipper addresses; set, on the AHB, and the old addresses stop working (Hardware/Hollywood Registers). The block is one object; the board's bus decides where it answers. The PPC's access to DI is "Conditional" (the same page's box). 5. **Interrupts**: Hollywood's interrupt controller (Hardware/Hollywood IRQs) feeds the legacy PI as IRQ 14 and drives Broadway's external interrupt through the PI, so gamecube-python's PI needs one more interrupt input. In Wii mode the reset button is Hollywood IRQ 17, and DI, SI and EXI also appear as Hollywood IRQs 18-20. 6. **MEM1** is the same 24 MB of 1T-SRAM, moved inside the package (Memory map; Wii Hardware: separate or combined dies by revision). Whether its timing changed is U4. 7. **Video**: HW_VIDIM and HW_VISOLID (dimming and a solid colour, Starlet-side), and HW_VI1CFG (set when the game region is JP) sit outside the VI (Hardware/Hollywood Registers). They apply after the VI's output: the board composes them on its side. **The ask of gamecube-python** (to record in its brief, not to do here): - clocks taken from a row, never constants in the blocks; - the DMA address mask per block from a row (and switchable at run time from HW_COMPAT); - ARAM as a socket; - the PI's interrupt inputs as a list, with one more line for Hollywood; - every block reachable at a base address the board chooses; - the DSP core (the Macronix DSP is a CPU by the chip rule: its own core repository, if gamecube-python's Phase 0 agrees) with its clock from the row. **Chip rule check.** Flipper's blocks now have a second family user (this board; the Triforce arcade board in MAME's `sega/triforce.cpp` would be a third). The rule allows an extraction (`flipper-python`). *Recommend* not yet: pin **gamecube-python** and compose its blocks, as n64-python's brief does for the iQue and Aleck64 boards, and extract only if a third family board is built (decision D2). ## 3. What the Wii adds All of it is new, none of it is in gamecube-python, and none of it is reachable in GameCube mode (MIOS "locked down all of the Wii's hardware", Wii architecture overview): - **Starlet**, an ARM926EJ-S, with its 96 KB SRAM, the boot0 mask ROM and its mirrors ([starlet.md](starlet.md)); - **the AHB and Hollywood's register file** at 0x0d800000 (Broadway sees a subset at 0x0d000000): IPC, the Starlet timer, the dual interrupt controller, GPIOs, the bus protection registers (HW_AHBPROT, HW_SRNPROT, HW_AIPPROT), resets, clocks and PLLs, OTP, I2C to the AV encoder, HW_VERSION ([hollywood.md](hollywood.md)); - **MEM2**, 64 MB GDDR3, with a Starlet-only window IOS keeps at the top; - **NAND** (and its interface), **AES-128-CBC** and **SHA-1** engines, **OTP**, **SEEPROM** ([firmware-keys-nand.md](firmware-keys-nand.md)); - **USB** (EHCI, two OHCIs), the internal **Bluetooth** dongle on OHCI1, **SD** (SDHCI), **Wi-Fi** (BCM4318 on SDIO) ([bluetooth-wiimote.md](bluetooth-wiimote.md), [disc-and-late-io.md](disc-and-late-io.md)); - **the Wii disc**: partitions, tickets, AES-CBC encrypted clusters with SHA-1 hash trees, read by IOS through DI with the drive's new commands; - **IOS** as the boundary between the game and all of the above ([ios-hle-lle.md](ios-hle-lle.md)); - the MX23L4005's Wii duties: eject and disc-change flags over EXI, power-button wiring (Hardware/MX23L4005). ## 4. GameCube backward-compatibility mode How the console gets there, from the pinned pages (DOC unless marked): 1. The System Menu launches **BC** (title 1-256, `ES_LaunchBC`). BC is a boot1-like loader: it lowers Broadway's and Hollywood's clocks, then verifies and loads boot2 (BC). Lowering the clock needs Starlet code and Broadway turned off: set FX in HW_CLOCKS, clear RSTB_DSKPLL, set SPEED, set RSTB_DSKPLL, clear FX (Broadway/Clock Speed Control). Result: Broadway 486 MHz, Hollywood 162 MHz, the GameCube's clocks. 2. **boot2** sees the lowered clock (syscall 55 returns 162) and launches **MIOS** (title 1-257) instead of an IOS (MIOS). 3. **MIOS** maps the legacy blocks back at their Flipper addresses (HW_AIPPROT ENAHBIOPI clear: "Needs to be clear for PPC to read the EXI boot registers"), sets up MEM2's bottom 16 MB as ARAM, clears HW_COMPAT bit 9 so the SI runs at GameCube timing (Hardware/Hollywood Registers), and runs its own PowerPC code: "a full copy of the GC IPL, slightly modified for the Wii", which reads and runs the disc's apploader (MIOS). 4. **MIOS patches some games** as they load (its v10 hooks a DVD callback and the apploader's close: The Wind Waker and its Collector's Edition (GZL, PZL), Smuggler's Run: Warzones (GSR), a Tony Hawk patch), and blocks one Datel disc ID (MIOS version table). A Wii in GameCube mode therefore does **not** run every GameCube game exactly as a GameCube does; the patched titles differ by design. 5. Afterwards "MIOS does not do much": it watches the power button (Hollywood IRQs 11 and 15) and reboots to the System Menu through boot2 (MIOS). **What GameCube mode means for the boards:** - **It is a machine row, entered by reboot.** Nothing in the Wii half is reachable once MIOS runs, and the switch needs Broadway off (step 1). So `rvl-001-gc` is the GameCube machine with the `hollywood` row's GameCube settings: gamecube-python's board, Hollywood-flavoured (162 MHz, ARAM in MEM2, the Wii's controller ports and memory card slots, no serial ports 1 and 2, so no broadband adapter or modem: HYPOTHESIS, from the Wii having no such ports; check before building). - **The functional boot** for `rvl-001-gc`: the state MIOS leaves (as gamecube-python's functional IPL leaves the GameCube's), plus **MIOS's patch list as data** (DOC from the MIOS page), switchable by the row so the same disc can be run "as on a GameCube" and "as on a Wii". Running Nintendo's MIOS itself needs the player's NAND (LLE, later). - **The gate for GameCube mode is gamecube-python's gate**, re-run on the `hollywood`-GC row, plus the patched titles. Any difference between the two rows on an unpatched game is either a Hollywood difference (U3, U4) or a bug. - **It pins**: gekko-python (the CPU, its `gekko` row in GameCube mode: the PVR then is still Broadway's, HYPOTHESIS: the chip does not change identity when slowed), gamecube-python (blocks and board), and the DSP core. Rows not to build: the Family Edition (RVL-101) and the Wii mini (RVL-201) have no GameCube mode (start-here.md); the vWii's GameCube mode does not exist.