mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
In a live call every 125 us PCM frame came back to Python - advance_imodem, _sync_pcm, the bearer exchange - and on tower that left the 386 ~2.4M instructions/s, under the board's 5M, so the data lanes overflowed in a burst of received frames. The native ImodemHostIo now runs the C5x in wallclock mode up to a cycle target the harness sets from wall time (set_wall_target, ImodemDsp.realtime_target), settling frames natively as it does offline. BearerSipLine hands 10 ms of already-received data ahead (feeds_ahead, receive_lead) so frames need not wait on Python; the frame-by-frame pace_realtime path remains for far ends that cannot. Tower, live X.75 to 7910: 4.64M instructions/s, menu acknowledged, no REJ, FRMR or silence fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>