velxio/test/test_intel
David Montero adc99a8035 test_intel: phase D-3 — 4040 SRC + I/O bus wiring (4004 parity)
Apply the same xact_t pattern from the 4004 (phase D-2) to the 4040,
so SRC and the I/O group (WRM/WMP/WRR/WPM/WR0..3/SBM/RDM/RDR/ADM/
RD0..3) drive or sample the multiplexed nibble bus during X2/X3 with
CM-RAM (or CM-ROM for ROM-port ops) strobed.

The 4040's two CM-ROM lines (selected by rom_bank) and its STP/INT
control flow are unchanged — the bus action is staged at M2 and
acted on at X2/X3, fitting cleanly inside the existing PHASE_X3
control-flow block.

Two new integration tests under "4040 + 4002 RAM integration" mirror
the 4004's: SRC + WMP drives the output port, and SRC + WRM/RDM
round-trips a nibble through 4002 storage.

Total test_intel: 117 passing, 11 todo, 0 failed (was 115).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 03:07:11 +02:00
..
autosearch test_intel: phase D-2 — 4004 SRC + I/O bus wiring end-to-end 2026-05-01 01:44:45 +02:00
roms test_intel: phase F — software validation (CPUDIAG + ZEXDOC pass) 2026-04-30 20:44:17 +02:00
scripts autosearch — Research notes for Intel + Z80 custom-chip emulation 2026-04-29 22:24:02 +02:00
src test_intel: phase E — 8086 ISA expansion 2026-04-30 20:44:17 +02:00
test_4004 test_intel: phase D-2 — 4004 SRC + I/O bus wiring end-to-end 2026-05-01 01:44:45 +02:00
test_4040 test_intel: phase D-3 — 4040 SRC + I/O bus wiring (4004 parity) 2026-05-01 03:07:11 +02:00
test_8080 test_intel: phase F — software validation (CPUDIAG + ZEXDOC pass) 2026-04-30 20:44:17 +02:00
test_8086 test_intel: 8086 + 8259 PIC end-to-end interrupt integration 2026-05-01 00:35:09 +02:00
test_buses test_intel: phase D-2 — 4004 SRC + I/O bus wiring end-to-end 2026-05-01 01:44:45 +02:00
test_z80 test_intel: phase F — software validation (CPUDIAG + ZEXDOC pass) 2026-04-30 20:44:17 +02:00
.gitignore autosearch — Research notes for Intel + Z80 custom-chip emulation 2026-04-29 22:24:02 +02:00
00_README.md test_intel: phase D-2 — 4004 SRC + I/O bus wiring end-to-end 2026-05-01 01:44:45 +02:00
package-lock.json autosearch — Research notes for Intel + Z80 custom-chip emulation 2026-04-29 22:24:02 +02:00
package.json autosearch — Research notes for Intel + Z80 custom-chip emulation 2026-04-29 22:24:02 +02:00
vitest.config.js autosearch — Research notes for Intel + Z80 custom-chip emulation 2026-04-29 22:24:02 +02:00