mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
Zstd.kt is a plain Kotlin zstd (RFC 8878) for whole frames, ported from D-Modem's link/zstd_codec.cpp, so the JVM, iOS and Linux targets share it, with XXH64 for the content checksum. ZModem sets CANZSTD in its ZRINIT, and sends a file as zstd frames (ZTZSTD in the ZFILE's ZF2) when the receiver sets it, the type is not compressed and the first 64 KiB gets 5% smaller. Positions stay offsets in the file and whole frames are written, so ZRPOS and resume work as before; frames halve on each ZRPOS. Incoming gets resume() and interrupted(): FolderIncoming and PosixFolderIncoming keep a file cut short as a hidden .part and the next transfer of the same name and size goes on after it. Android: a terminal setting turns zstd off; the progress shows zstd. iOS: the transfer view shows it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
D-Modem app documentation
- The modem's line: SIP, the mobile calls of the phone, no line, two phones as the line for each other
- Fax
- Voice calls and the answering machine
- Serial adapters and real phone lines: pico-serial, USB modems, a modem on a USB serial adapter, a MultiTech MT9234MU, a Bluetooth modem
- The app, screen by screen
- Terminal types: the DEC line, PETSCII, ATASCII, videotex, ANSI-BBS and the graphics terminals, and how to test them
- Settings reference: each setting, with its key and default, made from the code (
tools/settings_ref.py) - Building the Android app
- The iOS app: how to build and run the app on iPhone and iPad
- Source layout
- The AT command reference, shown in the app
- Documentation style: the rules for ASD-STE100 Simplified Technical English