Skip to content

emulator answers FRAME before ACF is loaded - #53

Merged
astronomerdave merged 2 commits into
mainfrom
DH/emulator-frame
Oct 13, 2026
Merged

astronomerdave merged 2 commits into
mainfrom
DH/emulator-frame

Conversation

@astronomerdave

@astronomerdave astronomerdave commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

bug fix

The emulator replied ? to FRAME until an ACF set BIGBUF. A real Archon answers FRAME straight after power-up, with three buffers at the BIGBUF=0 addresses. camerad's open sends FRAME, so every open before load logged three ERROR lines, and CI passed because it checks only the DONE reply.

The emulator now starts in the BIGBUF=0 state. The BIGBUF handler's assignments move into set_bigbuf(), which the constructor also calls, so the buffer addresses have one source. The activebufs == -1 check in frame_report is removed, since that state can no longer occur.

camerad still ignores a failed FRAME in connect(). That will be a separate change.
connect() now throws when get_frame_status() fails, as it already does for SYSTEM, so open replies ERROR.

starts in the BIGBUF=0 buffer state through set_bigbuf(),
which the BIGBUF handler now also calls
@astronomerdave
astronomerdave merged commit a00ac5f into main Oct 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants