NeoandClaude Opus 5.5 a2a7d36688 Commodore and Atari terminals: PETSCII and ATASCII (Phase 5, part of 7) (#35)
* Commodore terminals: PETSCII for the C64, C128, Plus/4, VIC-20 and PET

The Commodore 8-bits become terminal types, as CCGMS and Novaterm speak
PETSCII. A shared ByteControlInterpreter template does what a home
computer's screen editor did (octets read in the machine's own set, the
screen's size and palette set while it's the profile, a wrap as soon as
the last column is written, cursor keys wrapping round line ends, delete
and insert in the line, typing turned back into the set's codes); the
PetsciiInterpreter adds Commodore's codes: colours, cursor, HOME, CLR,
DEL, INST, RVS, the two sets, the bell, and the C128 and Plus/4 ESC
sequences. The profiles are a hierarchy (C64 <- C128 <- C128 80-column,
C64 <- Plus/4, C64 <- VIC-20, PET <- PET 80) changing only their screen,
palette, sets and extras.

The characters are drawn from 8x8 bitmaps: Unscii's glyphs (public
domain) for the code points Rebecca Bettencourt's Legacy Computing
mappings give each code, generated into LegacyCharsets.kt by
tools/gen_legacy_charsets.py. No Commodore ROM font is shipped. Android
and iOS draw them in square cells, the view fitted to the machine's
columns and no more than its rows.

Keys and typing go through the interpreter (TerminalEmulator.keyOctets
and charOctets), so a Commodore's cursor keys, F1-F8, CTRL and C= colours
and C= graphics send PETSCII; pasted Legacy Computing characters map
back. The key bar gets the Commodore pages (RUN/STOP, CLR/HOME, INST/DEL,
RVS, F-keys, colour swatches) through a new BarKey.Octets. Captures under
a Commodore profile are saved as .seq.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

* Atari terminals (ATASCII), and the doc comments the docs check wants

ATASCII joins PETSCII on the shared ByteControlInterpreter: an Atari
8-bit profile (and one with the XL's international set) speaks the
screen editor's codes as Ice-T and BobTerm do: cursor keys wrapping
round the screen, CLEAR, BACK S, TAB, EOL, delete and insert of lines
and characters, tab stops, the buzzer, ESC to show a control's
character, 0x80 up in inverse video. Keys and typing send ATASCII (CTRL
with a letter its graphic, the key bar's INV key the next character
inverse). The generator adds the two Atari sets, completing their
control codes' glyphs from the screen-code mappings and drawing the two
Unscii lacks. The tab stops move into the template for the C128 and the
Atari alike, and a profile names its capture extension (.seq for the
Commodores) instead of the session testing for one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 16:38:13 -08:00

D-Modem/app: A dial-up modem in your pocket

D-Modem app

A dial-up modem in your pocket: the D-Modem app for Android and iOS.

The app is a V.92/V.90/V.91, V.34 and class 1 fax modem whose telephone line is a SIP account's G.711 call, over Wi-Fi or mobile data. The modem is D-Modem's open modem core and DSP, built for the phone; no modem hardware is needed. Toward a BBS on a real phone line it is the digital modem, up to 56000 bit/s downstream; toward another digital modem, V.91 at up to 62667 bit/s both ways.

  • A terminal, a dialling directory and the modem's AT console
  • Class 1 fax up to 14400 bit/s: PDFs and images sent, faxes received as PDFs, T.38 too
  • A vintage computer's external modem, on a USB serial adapter, pico-serial, Bluetooth serial or TCP
  • Real phone lines through USB modems (the pico-serial Line stick among them), a Hayes modem on a serial adapter, or a Bluetooth modem
  • Two phones as each other's line over Wi-Fi or Bluetooth, no SIP account needed
  • The phone's own mobile calls as a slow line, where Android allows it

Quick start

Android: open the project in Android Studio, or

git submodule update --init
./gradlew assembleDebug

iOS: see docs/ios.md. The full steps, Docker included, are in docs/building.md.

Documentation

The documentation is also a website, d-modem.github.io/app, with reference pages made from the code.

docs/ covers the modem's lines, fax, adapters and phone lines, every screen of the app, building for Android and iOS, and the source layout.

The D-Modem suite

Repository What it is
D-Modem The open V.92 softmodem: dmodemd, libdmodem and the Asterisk, FreeSWITCH and ARI modules
app The D-Modem app for Android and iOS: a dial-up modem on a SIP call
hardware pico-serial: RP2040 serial adapters and phone-line USB sticks
menu modemmenu: the login and menu dial-up callers reach
bbs A bulletin board for telnet, SSH, TN3270 and modem callers
go3270 A Go library for 3270 terminal servers, used by bbs
brand Logos, colours, type and the naming guide

Licence

GNU Affero General Public License version 3 only (COPYING), or a commercial licence from the D-Modem Authors (COMMERCIAL-LICENSE.md), as D-Modem (see its LICENSING.md for the parts it fetches: libre is BSD-3-Clause, Mbed TLS Apache-2.0). Contributions come with a contributor agreement (CONTRIBUTING.md).

S
Description
iOS and Android mobile app that runs on top of the D-Modem core
https://d-modem.github.io/app
Readme AGPL-3.0
30 MiB
0 Stars 1 Watchers 0 Forks
Languages
Kotlin 83.4%
Swift 7.3%
C 3.9%
C++ 2.8%
Python 1.4%
Other 1.2%