mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 12:38:04 -08:00
Brings inf1ccd92(board reads move to dumps/),d138dc2(3453 flash boot, browser GUI, Apple USB Modem line, RTP/G.711, V.90 and x2 timing, Quad) ande84e324(native worker gate and resampler loops). Conflicts: - Frame timing (machine.py, worker_poll.py, native/c5x_capi.cpp): keep the upstream frame-source code (_frame_irq_due, worker_frame_due, XF edges). Add the fork's opt-in COURIER_INT0_TOUT source into those functions, and keep COURIER_INT0_EXACT. The new struct fields are at the end of WorkerPollState, in C and ctypes. - bearer_line.py and the closed-loop probe: keep the fork's opt-in line loss, noise and A-law test settings, with the upstream imports, frame constants and dumps/ paths. - Docs: keep the STE text of the fork, with the dumps/ paths. Keep the new upstream sections. The README stays a short landing page. The new README text of the upstream goes to docs/research-log.md, docs/current-boundary.md, docs/usage.md and the new docs/gui.md (STE). docs/README.md lists the new upstream notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRyJwNajT59BytMgdQ
15 KiB
15 KiB
courier-emu documentation
This page lists the technical notes. Start with Usage and Current boundary.
The I-modem (ISDN)
- I-modem against an emulated analogue Courier
- Analog Courier to I-modem x2, 2026-10-03
- Analog x2 56000 controls, 2026-10-03
- The I-modem's AT interface
- No, the I-modem does not need an ISDN carrier
- I-modem analogue-pair audio clock audit, 2026-10-02
- The B channel is silent, and the modem is the one keeping it quiet
- The B channel as a SIP call
- The I-modem board, and the address map its chip selects draw
- Putting a network on the I-modem's S interface
- CEML4: call-control events to modem/DSP setup
- Where the I-modem keeps its settings
- What reaches the D-channel transmitter, and what stops it
- The I-modem's D channel, and bringing its line up
- Making it dial out as a modem, and what stands in the way
- Emulating the I-modem
- Nine I-modem builds, and when x2 arrived
- The I-modem's ISDN stack logs itself, in English
- Inbound SIP: a real Courier calls the I-modem
- The I-modem's ISDN side, from the code
- LSR's state field, and the one value the whole stack hangs on
- A real call, to a real Courier
- I-modem supervisor/DSP mailbox service
- I-modem Ie030002 payload entry points
- I-modem versus Tower SmartLink, 2026-10-02
- I-modem task roles from code and queue routing
- The modem does ask for a TEI
- I-modem terminal failures: AT framing is bypassed
- V.120 on the B channel, and how far it gets
- V.90 data corruption reproduction, 2026-10-03
- Recovered I-modem VRTX startup
- Two I-modems with x2 enabled, 2026-10-02
- The ID_SDL ROM builds against the stock analog payloads
The Quad server modem
- Quad QF060003: measured AT terminal execution
- Quad bring-up blockers (2026-09-10)
- How the Quad loads C50 code
- Where the PCM goes on the Quad x2 Modem NAC
- Quad server answer bring-up (2026-09-11, remeasured 2026-09-17)
- Quad QF060003: the settings EEPROM and what each record controls
- The Quad x2 Modem NAC images
x2, V.90 and PCM
- HST: two channels, one each way
- x2 and V.90: one receiver, two capabilities
- Arming slot 0: overlay 6 runs
- The call-overlay publication is a 2.1/2.2 step applied to 302/403
- V.FC: V.32's start-up, then six symbol rates
- Where V.PCM lives, and why 7200 Hz was never the whole story
- x2 byte loss at 54666 bit/s: frame interrupt timing
- x2 client measurement records
- Courier MP fields and the 53333 result
- PCM received record to rate banks and payload source
- x2 scramblers recovered and executed
- x2 Symmetric and V.90 All-Digital: where 64000 comes from
- x2 versus V.90 protocol selection
The DSP
- 2806 codec and audio-monitor control
- The TLC320AC01 protocol, as this board's DSP actually drives it
- The datapump's second voice: a 2100 Hz answer tone
- ATG's eight-hex-digit DSP command form
- DSP 3.1.2 audio path: original firmware now produces samples
- Two independent firmware instances over PCM
- The 80186/C51 download architecture
- Static C51/C52 V.8 comparison
- C51, C52 and C53 memory models
- The codec on the 3.1.2 board: DSP-driven, and not fixed at 7200 Hz
- The codec rate combines its B divider with an ASIC-derived clock
- The datapump gate in 302 addresses
- How the datapump gets armed
- Nine modulations, four images, and where fax lives
- Driving the tones ourselves, and reading the DSP back
- The DSP's boot ROM has two generic boot transports
- How the DSP and the ASIC/CPU are connected
- The CPU-DSP link
- CPU–DSP parallel mailbox: board comparison, 2026-09-07
- The DSP mailbox map for IDSDL302.ROM only
- The DSP's on-chip ROM, read off the board
- The DSP takes four images, not one
- Where to put a probe on the DSP
- Full C51 ROM content analysis
- Reading the board through its monitor, and the DSP mask ROM
- DSP training audit, 2026-10-02
- A modulation, not a tone: V.21 and Bell 103 from the firmware's own modulator
- Connected-board DSP 3.1.2 mailbox comparison
- What the ROM dump proves about the host/DSP mailbox
- The 3453B needs the C51 mask ROM; the 3453C unmaps it
- Linked AC01 call trace: blocked before overlay 8
- The DSP 3.1.2 readback window: baseline, and what it cannot see
The board and the ASIC
- 3453C Si3034 serial codec
- x2 executable code retained in 3453C 2.3.33
- Pinning out the NEC ASIC
- Modelling the 20.16 MHz ASIC through the serial monitor
- The ATY diagnostic commands and the missing line-measurement path
- ATA on 3.0.13: the datapump's answer voice, end to end
- A loop in front of the SIP instrument
- Board latches, front panel and NVRAM
- What is actually on the board
- What the 3453C board has confirmed
- What the 4.03d board has actually confirmed
- The board
- What the 20.16 MHz Courier's CPU sees of its line interface
- A modeled line: the digital ATA
- What the 2806 actually touches in its EEPROM
- Audit of the Courier feature bits
- Courier firmware lineage
- There is no flash banking
- The hardware tick, the audio path, and the DSP's low program memory
- ID_SDL's
AT+Sregisters, and the post-flash step this board never had - The live console
- The layout of main211.xmf
- The chassis side: SDL in
NM040103.NAC - Paired I-modem / analogue Courier: where the time goes
- Two instances on one line
- The parameter flash
- Probing the board
- The RAM-probe method: a co-resident sampler that survives load
- Where the ROM's AT command is lost
- Flash ROM images
- 20 MHz ROM serial execution
- The 2806's own firmware runs, and always could
- The Courier boot-block flash loader
- The DSP's two serial ports, and which end the ASIC is on
- Minimal SIP dial-out
- SV25.XMD recovery-loader harness
- The time base
- Undocumented modem commands in the Sportster upgrade FAQ
- What the ASIC does
- ASIC or DSP: who produces the supervisor's line events
- The XMD container: sixteen whole flash images, decoded
General
- Browser GUI
- Current boundary
- Emulator architecture
- Native I-modem call to RasFinder 3999
- Research notes
- Usage
- The DSP's mailbox poll, and what is actually starved
Notes from the upstream repository, 2026-10 and 2026-11
These notes come from the upstream repository (cryan209/courier-emu). They
are not yet in Simplified Technical English.
- 3453 audio path: standalone validation and missing tone-library code
- Running the 3453 normal firmware and bootmodem
- 3453 product IDs, board straps, DSP RAM and calibration
- Courier 3453 regional models: confirmed IDs versus country profiles
- Analog 7930 disconnect investigation
- Courier 7910: PPP login and exact IP payload (2026-11-02)
- Hardware 7930: media timing investigation
- Analog SIP quiet-pass scheduling and vmhost headroom
- Longer vmhost runs: real 31200 V.34 carrier on 7900 and 7910
- Analog SIP receive-block reserve
- Analog Courier/SIP V.90 investigation — 2 November 2026
- Analog Courier V.90: finite-bank scheduling repair
- Analog Courier V.90: PCM training failure localization (2026-11-02)
- Analog SIP host comparison: vmhost, 2 November 2026
- Analog Courier V.90: preserve DTE bytes through retraining
- Analog Courier / v90modem: premature DIL cutoff
- Courier's missed V.90 rate-renegotiation request
- Analog Courier interop with v90modem
- What Courier is doing on 7910
- Apple USB modem: full audio-path audit
- Apple seizure fix: use the original driver's firmware hook command
- RTP playout validation and dual-capture live test
- Apple/SIP sustained binary traffic: validator implemented, link still fails
- Apple USB Modem line backend (experimental)
- C5x delayed-call/block-repeat repair and V.90 recovery (2026-11-02)
- Courier ADC phase quantization and the 56000 investigation, 31 October 2026
- Courier ROM DSP frame-service default, 31 October 2026
- Configurable frame cadence
- Hardware 7930: PPP recovery work
- Analog Courier / I-modem x2 through native wallclock mode
- Analog x2 sustained traffic: 60-second gate fails
- I-modem to RasFinder: V.90 login at 49333, 25 October 2026
- Analog DTE UART starvation fixed; large-record V.34 passes
- V.90 repeats: IRQ13 watchdog, XID timeout, and ATI6 accounting
- I-modem: faster receive negotiation without sacrificing TX reserve
- I-modem live timing correction and completed V.90 holds
- I-modem: clean V.90 holds and repeated ATI6 output
- Isolated vmhost I-modem investigation, 25 October 2026
- x2 clock-phase and interrupt-source controls — 2026-10-27
- x2: coupled virtual clocks and independent IRQ recognition controls
- I-modem receive-error boundary and V.34 controls, 26 October 2026
- x2 downstream loss at the analog DSP output boundary, 2026-10-27
- First non-idle output-bank exhaustion, 2026-10-27
- Local I-modem x2: first record-gap evidence, 26 October 2026
- x2 CPU/DSP lane timing and the 48000 control, 2026-10-27
- x2 upstream headroom and the remaining downstream stall, 2026-10-27
- Sustained I-modem x2 traffic
- main211.xmf ATI11: board tick was masked by the wrong controller model
- Native bulk G.711 for RTP audio
- Native worker rejection and remaining resampler loops
- Native worker call setup and empty publication cleanup
- Quad V.42 receive path — first decompilation
- Quad x2 downstream / V.34 upstream — directional verification
- Runtime-selected x86 hardware FMA for the compensated resampler
- Faster cold Kaiser window construction
- Scheduler/native-boundary follow-up
- Full-stream serial evidence for long data tests
- SIP receive reserve must cover the paced exchange block
- Independent SIP RTP receive servicing
- TX producer timing: next measurement and qualification
- Repeated V.90-enabled calls to hardware 7930
- vmhost performance follow-up: XF observations and native scheduler reentry
Style
- Documentation style: the rules for ASD-STE100 Simplified Technical English