Files
courier-emu/docs
Cryan209andClaude Opus 5 4dee338df8 ff56 is P1LTCH, and P1 is never programmed as a port
The DSP reset is a CPU pin, and the register it is driven from is the 186's
Port 1 latch: the 80C186EB manual's control block map gives 50H P1DIR, 52H
P1PIN, 54H P1CON, 56H P1LTCH, so ff56 is the latch and P1.1 to DSP RS is what
board.md, asic-pinout.md and c51-cpu-loader.md already describe.

Measured over a full dial, the firmware writes ff56 36,494 times and reads it
36,482 - read-modify-write on a shared latch - and never touches ff50 or ff54
at all. Both reset to FFH, every pin peripheral-controlled and an input, and
the manual says the latch value "appears at the pin only if it is programmed
as a port". As modelled these writes would drive nothing on real silicon.
Port 2 by contrast is used properly, ff58 direction and ff5a pins and ff5e
latch. Written down because every signal attributed to this latch rests on it.

Per-bit edge counts identify the bank: bit 2 is the EEPROM clock (29,177
edges), bit 5 chip select (1,043), and bits 1 and 3 carry 12 edges on the
originator and 16 on the answerer. machine.py resets on bit 3 while four
documents name bit 1 - but the two bits carry the same edge count within about
a thousand instructions, so the attribution does not change which resets
happen and is not why an originator stays silent.

The schedule is what matters. The answerer pulses reset at 22.05 s and 24.03 s,
going into data mode, and transmits from there. The originator's last reset is
at 9.0 s, before its first digit, and there is never another: its ATD never
returns. Its whole serial output is the OK from ATX0 - no CONNECT, no NO
CARRIER, no BUSY, 50 s after dialing.

Also: the originating end now learns its call was answered. set_call_progress
had one caller, on the SIP path, so on the socket the operation stayed
"dialing" for the rest of the call; cut-through moves it to "connected", and a
connected or trying line qualifies the DAA's detector the way an answering or
dialing one does. It does not by itself start the datapump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-19 23:50:21 +12:00
..
2026-09-09 14:26:28 +12:00
2026-09-09 21:45:23 +12:00
2026-09-17 21:18:58 +12:00
2026-09-17 21:18:58 +12:00
2026-09-17 21:18:58 +12:00
2026-09-15 19:28:39 +12:00
2026-09-09 14:26:28 +12:00
2026-09-01 10:48:05 +12:00
2026-09-14 00:39:33 +12:00
2026-09-09 21:45:23 +12:00
2026-09-10 16:59:12 +12:00
2026-09-06 18:31:55 +12:00
2026-09-06 18:31:55 +12:00
2026-09-05 01:41:54 +12:00
2026-09-09 21:45:23 +12:00