# Timer, wait controller, game pad, link port, reset Source: STS's sections of the same names (DOC, tier 3). ## Timer (02000018 TLR, 0200001C THR, 02000020 TCR) A 16-bit down-counter with a reload value. An internal tick counter advances every **20 µs** modulo 5 from reset, always (even with the timer off). T-Clk-Sel = 1 counts on every tick (20 µs), 0 on every fifth (100 µs). Writing TLR or THR sets that byte of the reload, loads the whole 16 bits into the counter and restarts the tick interval. Z-Stat is set when the counter becomes zero while enabled; the zero interrupt (FE10) fires on a non-zero to zero change (by counting or by a write), not on reloading zero; Z-Stat-Clr's acknowledge rules and the T-Enb/Z-Stat-Clr interaction are spelled out in STS "Timer Control". STS notes the hardware may count its tick down from 4 instead (U13: the two readings differ only in phase, which a probe could tell). ## Wait controller (02000024 WCR) EXP1W and ROM1W: 2 waits when clear, 1 when set, for game pak expansion and ROM accesses. Unused bits read 1. ## Game pad (02000010 SDLR, 02000014 SDHR, 02000028 SCR) A serial pad, 16 bits per read. **Hardware read:** HW-SI starts it, SI-Stat is set while it runs, 31.25 kHz per bit, 512 µs in all; S-Abt/Dis aborts it. **Software read:** Para/Si latches, then Soft-Ck is toggled (it sends the inverse bit) for each bit; SDLR/SDHR are undefined until the 16th bit. The key-input interrupt (FE00) is raised when a hardware read completes with K-Int-Inh clear and (STS's sentence continues) a button bit set. STS notes that a very fast software read can get unstable data from the pad in high humidity: an analogue effect the board does not model (the pad answers at any speed; a stated simplification). ## Link port ("EXT", 02000000 CCR, 02000004 CCSR, 02000008 CDTR, 0200000C CDRR) Exchanges 8 bits between two units at 50 kHz per bit (160 µs per byte); one side drives the clock; an auxiliary signal (COMCNT, CCSR) for handshakes; an interrupt (FE30) on completion. No commercial game used it and the cable was never sold (STS "Overview"). **Socket:** `LinkPort` (a peer that exchanges bytes and the COMCNT level at the bit clock); a null peer by default; two boards can be wired together for tests. ## Reset (STS "System Reset") The CPU per ARCH ch. 9; the link, pad, timer and wait controller registers to the values STS lists; the VIP's registers per STS; the VSU "appears to be" zeroed (U12); WRAM undefined (the board fills it with a defined pattern and says so: a modelling choice).