# Starlet: the ARM926EJ-S, and its relation to arm946es-python ## What is known (DOC, WiiBrew Hardware/Starlet unless named) - "NEC ARM926EJ-S SoC", internally the **IOP**; nicknamed Starlet by fail0verflow. - **Big-endian** "for compatibility with the Broadway"; ARM and Thumb. - Clocked at the Hollywood clock, 243 MHz. - 96 KB internal SRAM; IOS can lock part of MEM2 against Broadway. - Exception vectors at 0xFFFF0000 (high vectors). IOS uses the **undefined-instruction** vector as its syscall handler (a reserved instruction pattern) and also SWI. - Boots from boot0 in mask ROM ("about 1300 bytes of code out of 4K possible"; the Boot process page says 1.5K: **C3**, both approximate). - The page's links point at ARM's ARM926EJ-S TRM, the ARM9EJ-S TRM and the ARM Architecture Reference Manual (ARMv5). Not known from any pinned source: the **cache sizes** (the ARM926EJ-S's I- and D-caches are each configurable from 4 to 128 KB), whether **TCMs** are fitted and how big, the **MMU** use by IOS (IOS isolates processes, so the MMU is on: HYPOTHESIS), the core revision (r0p4 or r0p5), whether IOS ever enters **Jazelle** (no reason to: HYPOTHESIS, Jazelle state would be a trap to an unimplemented-handler at most), the AHB wait states of each device, and whether IOS idles in **wait-for-interrupt** (it matters for speed, domains-and-speed.md). These are U5-U8 in the brief. With no Wii, they can be settled only by IOS's own CP15 reads seen in an LLE run (player's firmware), by homebrew Starlet code (MINI reads them, but it is GPL: run as a program, never read), or by Aubrey's hardware if he ever has a Wii. ## How it relates to arm946es-python (the DS's ARM9) Both are ARM's ARM9E family, ARMv5TE(J), with the same five-stage integer pipeline lineage. They differ where it matters for a core: | | ARM946E-S (DS ARM9) | ARM926EJ-S (Starlet) | | --- | --- | --- | | Integer core | ARM9E-S | ARM9EJ-S: the ARM9E-S plus Jazelle (BXJ, the J bit) | | Architecture | ARMv5TE | ARMv5TEJ | | Memory protection | MPU: 8 regions, no translation | **MMU**: page tables, two TLBs, domains, fault status and address registers | | Caches | 4-way, set by Nintendo at 8 KB I / 4 KB D | 4-way, virtually indexed, virtually tagged (VIVT), sizes unknown for Starlet | | TCM | ITCM 32 KB, DTCM 16 KB | optional ITCM/DTCM, unknown on Starlet | | Bus | one AHB with a BIU, clock ratio 2 on the DS | separate instruction and data AHB masters (Harvard at the bus) | | Endianness on its board | little | **big** (BE-32, the CP15 B bit or a strap) | | CP15 | PU, TCM and cache control | MMU, TLB, cache control, a different register map | (The ARM926EJ-S column is DOC from the general description of the part; the TRM, ARM DDI 0198, could not be fetched: see below.) So the **integer core** is close to shared and the **memory system** is a different design. That is exactly the split arm946es-python's core-choice.md made against the ARM7TDMI, in the other direction: there the memory system was the reason for a new core. **Proposal (decision D3):** a separate CPU core, **`arm926ejs-python`** (package `arm926ejs_python`), as the CPU rule asks; it **pins arm946es-python** for the integer core (ARM and Thumb semantics, the ARM9E-S cycle rules, the exception model) if arm946es-python, when built, exposes its integer core apart from its memory system (a socket for "TCM, cache, PU and BIU"). arm926ejs-python then owns the MMU, the VIVT caches, the two AHB masters, BE-32 and the CP15 map. If arm946es-python does not separate them, the integer core is not copied: the ask goes to arm946es-python first, as "fixes start upstream" requires. Jazelle: in ARMv5TEJ, BXJ enters Jazelle state only when Jazelle is enabled and otherwise acts as BX (ARM ARM DDI 0100I, to re-read before building); *recommend* modelling entry to Jazelle state as an **unknown-behaviour trap** (logged, stops the run) until a judge says IOS needs it. **Who would use it.** Only the LLE path (ios-hle-lle.md) and homebrew Starlet programs (MINI, which is GPL source but would run as a built program from emu-tools-gpl2). In the HLE default, no Starlet instruction ever executes. That is why the core is late in the milestones and why it is not needed for the first build. ## Sources for the core (to check before use) - **ARM DDI 0198 (ARM926EJ-S TRM) and DDI 0222 (ARM9EJ-S TRM)**: ARM's documentation service, `documentation-service.arm.com`, serves its PDFs from a host whose robots.txt says `User-agent: * / Disallow: /` (read 2026-11-26). By the brief's rule this host is **set aside (site's wishes)** and was not fetched from. Copies on third-party manual sites are not ARM's and were not used. *Note for Aubrey:* arm946es-python's pinned TRMs (DDI 0201D, 0165B, 0240B) were fetched from the same host before the rule was added; whether to keep them, and whether Aubrey downloads DDI 0198 himself (verified by SHA-256, as for segaretro), is decision D10. - The ARM ARM (DDI 0100E/I), pinned by arm946es-python from university mirrors: the architecture, shared. - MAME's ARM9 devices (BSD-3-Clause files in a GPL-2.0+ project): arm946es-python keeps them closed (its decision 4); the same applies here. - skyeye-starlet (marcan, "very hacky Starlet emulator", SkyEye-derived, so GPL-2.0; licence NOASSERTION on GitHub): a closed box, never fetched.