mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
The previous commit claimed the resident performs no data read in 0x8000-0xfeff but the bldp's. That count was taken on the boot path alone, and taking it for the whole firmware was wrong: the V.34 arming path reads data 0xfea1 six times from 0xd668, walking the capability descriptor list. That read is not evidence against the shared model - 0xfea1 is above the resident's 0xec3d and above the highest overlay's 0xf8b5, so it is free RAM in use as data, which is what one memory answering both spaces predicts. What it exposed was a harness split: set_data and data() reached m_data while the running program reached m_program, two arrays for one RAM, so a staged descriptor was invisible to the code that read it. Both accessors follow the window now. main211.xmf is a different matter. It offers a first segment at origin 0x0000 alongside one at 0x8000, and which is its real payload is unresolved, so the harness cannot say where its RAM sits; with the window on, its call-overlay run never armed IMR. NativeC5x now switches the window off when any program segment origin is below 0x8000, leaving such an image exactly as it was. The window is a fact about the 20.16 MHz ROM downloads, whose segments are all at 0x8000 or above, and an open question elsewhere. Seven tests across test_v34.py and test_bridge.py were failing on the previous two commits and pass again. 302 is unchanged by the gating: one bootstrap, idle at 0x814d, 120 shared-window accesses. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>