# The cores this board reuses, and what each needs | Chip | Family core | State | What the Enterprise needs | | --- | --- | --- | --- | | Z80A (4 MHz) | `../z80-python` (PUBLIC; local `main` cc2f794; origin/main `b59c80b` carries `timing.instruction_timing`; `read_m1` on `m1-fetch-hook-rebased` `5434349`, unmerged) | instruction core, oracle-certified | N1-N3 below | | Nick | none | new | inside the board (nick.md) | | Dave | none | new | inside the board (dave.md); its sound is unlike the AY, SN76489 and SAA1099 cores | | WD1770 (EXDOS) | none yet; the shared `wd177x-python` proposed by five Phase 0 boards | - | join it (open decision 4) | ## z80-python: the needs The Enterprise slows the Z80 in two ways, both per access: - **Dave's wait states** on non-video memory: none, on M1 (opcode fetch) only, or on every memory access, by BF b2-b3 (dave.md). EXOS sets "M1 only". So the board must know which accesses are opcode fetches. - **Nick's clock stretch** on video RAM accesses (segments FC-FF), aligned to Nick's 57 slots per scanline (nick.md, U1). **N1. Access offsets and kinds.** `instruction_timing(bytes)` (origin/main) gives each access's T-state offset and kind; an opcode fetch has `t == 1`. That is enough to place Dave's M1 waits and Nick's stretches, with each delay pushing later accesses back. **N2. The M1 hook** (`read_m1`, unmerged): makes "this is an M1 cycle" explicit at the callback, including the extra M1s of prefixed opcodes and the interrupt acknowledge (an M1 with IORQ). Dave's "wait on M1 only" must decide whether the acknowledge cycle waits (U12). Merging it is Aubrey's call (z80-python is public); the board can derive the same from the table until then. **N3. Interrupt acknowledge and HALT timing**: the same request samcoupe-python and zxspectrum-python make. **Not needed:** a cycle-stepped Z80, unless Nick's stretch turns out to depend on T-states inside a machine cycle that the table cannot express (then raise it there with a repro). Which interrupt mode EXOS uses is not stated in the pinned pages read so far, and MAME's first three traced frames show no entry at 0038h (interrupts not yet enabled); ETI20's kernel section ("Hardware and Software Interrupts", section 4.2) or the board's R1 settles it (U13).