# Start here: the PlayStation on one page Evidence tags as in the methodology; "psx-spx" is `reference/src/psx-spx/docs/` at `6d7d1bc` (tier 3, facts only, not clean-room: its README says parts derive from Sony's SDK documents); "psxdev" is ogamespec's CC0 reverse-engineering repository (die photos, board tracing, chip data sheets). ## The machine (DIE/DOC: psxdev `wiki_eng/`, psx-spx) | Part | Chip(s) | Where it lives in the family | | --- | --- | --- | | CPU: CW33300 (MIPS R3000A) + COP0 + i-cache + scratchpad + GTE | CXD8530 / CXD8606 (IC103) | **r3000a-python** (the core) | | MDEC, DMA (7 ch), interrupt controller, 3 root counters, SIO0/SIO1, memory control, PIO | same CPU chip | psx-python (memory-mapped peripherals) | | GPU, 1 MB VRAM (2 MB on PSone variants) | CXD8514Q (v0, early) / CXD8561Q/BQ/CQ, CXD9500Q (v2) | psx-python `gpu/` | | SPU, 512 KB sound RAM, 24 voices, reverb | CXD2922 / CXD2925 | psx-python `spu/` | | CD-ROM: sub-CPU (MC68HC05-family "SUB CPU" / mechacon, IC304), decoder (CXD1199BQ / CXD1815Q, later in the SPU), DSP (CXD2510 / CXD2545), 32 KB sector buffer | several | psx-python `cdrom/` (cdrom.md: high-level first) | | Controllers and memory cards on SIO0 | pads; memory card MCU (Sanyo 435857, psxdev `docs/`) | psx-python `sio/` | | BIOS ROM 512 KB | per model (bios.md) | supplied by the player | Clocks (DOC psx-spx "GPU Timings"): CPU 33.8688 MHz (44,100 x 768); GPU video clock 53.693175 MHz (NTSC consoles) / 53.203425 MHz (PAL), whatever mode the GPU is set to; SPU one sample every 768 CPU cycles (44.1 kHz); CD 75 sectors/s (150 at double speed). ## Memory map (DOC psx-spx `memorymap.md`) ``` KUSEG KSEG0 KSEG1 00000000h 80000000h A0000000h 2 MB main RAM (mirrored to 8 MB by the BIOS's DRAM setting) 1F000000h 9F000000h BF000000h 8 MB expansion 1 (DEV0) 1F800000h 9F800000h -- 1 KB scratchpad (the CPU core's) 1F801000h 9F801000h BF801000h 4 KB I/O ports 1F802000h 9F802000h BF802000h 8 KB expansion 2 (DEV8) 1FA00000h 9FA00000h BFA00000h 2 MB expansion 3 (DEV1) 1FC00000h 9FC00000h BFC00000h 512 KB BIOS ROM FFFE0130h cache control (the CPU core's) ``` I/O (psx-spx `iomap.md`): 1F801000h memory control, 1F801040h SIO0 (pads/cards), 1F801050h SIO1, 1F801060h RAM size, 1F801070h I_STAT/I_MASK, 1F801080h DMA, 1F801100h timers, 1F801800h CD-ROM (4 ports, banked), 1F801810h GPU (GP0/GP1), 1F801820h MDEC, 1F801C00h SPU. memory-map.md has the bus costs. ## What to read next memory-map.md, gpu.md, spu.md, mdec.md, dma-timers-irq.md, cdrom.md, pads-and-cards.md, bios.md, census.md, **domains-and-speed.md**, validation.md, mame-oracle.md, handoff-brief.md. The CPU itself: `../r3000a-python/docs/`. ```sh python -I scripts/fetch_references.py # ~100 MB python -I scripts/fetch_references.py --verify REDUMP_DIR=... python -I scripts/census_redump.py --tracks MAME_ROMPATH=... PSX_BIOS_DIR=... python -I scripts/census_bios.py ```