mirror of
https://github.com/felixrieseberg/windows95.git
synced 2026-05-09 00:24:09 +00:00
Patches src/ide.js before building: restores the dual master+slave writes for ATA Command Block registers (Features, Sector Count, LBA Low/Mid/High) that 1b90d2e7 changed to current_interface-only. Those registers are channel-shared per ATA spec; Win95's ESDI_506.PDR writes them then switches drive-select expecting the values to persist. Found via JS-only bisect. Boots fresh in ~32s with the same sporadic-bluescreen rate as the prod build. The new build has the tcp-connection bus event so SMB uses the clean path instead of the connection-theft hack (guard added for the old-API monkeypatch to skip if the bus handler already accepted). tools/update-v86.js applies the source patch automatically. v86 checkout left clean (patch stashed).