Going Online with Altirra's Other Modems: the 1030, SX212 and Pocket Modem
Most guides to calling bulletin boards from an emulator use Altirra's emulated 850 Interface Module with a Hayes modem, because that is the most general setup. Calling Atari BBSes Today covers that route, including the ATDI host port dial syntax. Many Atari owners in the 1980s never had an 850, though. They had an Atari 1030 or XM301 that plugged straight into the serial bus, an SX212, or a third-party adapter like BOT Engineering's Pocket Modem. Their terminal programs talk to those devices and nothing else.
Altirra emulates all three and connects them to the Internet over TCP/IP, so period software such as a 1030 terminal can reach today's telnet BBSes. This guide explains how each emulation works and what to set.
What you need: Altirra 4.x (Windows, or Wine), its Additions.atr disk (shipped with the emulator), and the terminal software for the modem you choose.
A note on testing: this guide is based on the Altirra 4.40 help file, and the settings and behaviour it describes come from there. We did not dial out through these three devices ourselves. The 850 route described in Calling Atari BBSes Today was tested.
1. One idea: the dial proxy
A real 1030, SX212 or Pocket Modem dials a phone number. Altirra has no phone line, so it substitutes a dial proxy: a host name and port you enter in the device settings. Whatever number the Atari program dials, by pulse or tone, Altirra connects to that address instead. The number itself is ignored. With touch-tone dialling it even plays the DTMF tones.
This is the key difference from the 850 Hayes modem, where you type the host and port into the dial command itself. With these three modems you set the target in the emulator before you start: put your favourite telnet BBS's host and port in the proxy, then "dial" any number from the old terminal program. To call a different board, change the setting.
The help file gives the SX212's proxy as "the dial proxy address in the 1030 device settings", so both modems appear to share it. Check where your version keeps it.
2. The Atari 1030 (and its T: device)
The 1030 is a 300-baud, Bell 103 modem on the SIO bus. Its ROM holds two things: the T: CIO handler, which the Atari downloads at boot, and ModemLink, a simple built-in terminal program. Altirra offers three emulation levels in the device's settings:
| Level | What happens | Use it when |
|---|---|---|
| None | Altirra provides a high-level (HLE) T: handler inside the emulator. Fastest, uses no Atari memory, but no ModemLink. | Most terminal programs |
| Minimal | As None, but the 1030 also answers the "download your handler" request with a do-nothing stub, because T: is already there. | Programs that insist on bootstrapping T: from the modem |
| Full | The 1030's SIO commands are emulated in full and a 6502 T: handler is downloaded, as on real hardware. | Testing a program's real-world speed, a custom T: handler, or ModemLink |
In Full mode the handler arrives one of two ways, as with the 850. With no disk in D1:, the modem pretends to be D1: and "boots" the handler. Otherwise a program asks for a direct bootstrap: DOS 2.5's standard AUTORUN.SYS tries this automatically. The Additions disk has two tools for this. BOOT1030.COM downloads T: from the modem and does nothing if T: is already installed. THND1030.COM is a disk-based copy of Altirra's own T: handler. Like the original, the downloaded handler loads at $1D00 and raises MEMLO. The disk version is relocatable, so it leaves more memory free when MEMLO is below $1D00.
ModemLink: Altirra doesn't include a replacement for the 1030's built-in terminal and says so if you try to run it. If you own the real firmware, you can register it under Firmware Images. The image is 10,368 bytes: the boot sector followed by ModemLink and the T: handler together.
Period software for the 1030 includes terminal programs such as 1030 Express! and the T: handler loaders that circulated with AMODEM. Antic's August 1985 AUTO1030.SYS is another. If one of them won't work with the built-in handler, try the Full emulation level, which behaves most like the real modem.
3. The SX212
The SX212 was Atari's 300/1200-baud Hayes-compatible modem. It could connect through an RS-232 port or straight to SIO. Altirra emulates the SIO connection at two levels:
- None: a high-level R: handler inside the emulator, the simplest choice for most programs.
- Full: the SX212's own SIO protocol is emulated, and you load a software handler to provide R:. Altirra's SX212.COM on the Additions disk is such a handler, and the help says it should also work on a real SX212.
The emulated modem accepts the SX212's command set: ATA, ATB (Bell modulation), ATC, ATD, ATE, ATF, ATH, ATI, ATL, ATM, ATO, ATP, ATQ, ATR, ATS, ATT, ATV, ATX, ATY, ATZ and A/. Commands can be sent at 300 or 1200 baud, and the modem follows the speed, as the real one's HS light showed. Once online, though, the program must use the speed of the connection. +++ escapes to command mode, with one second of guard time before and after.
Remember the hardware's limit: the SX212 has only one SIO plug and uses the same bus lines as a cassette recorder, so it goes at the end of the chain and can't be used with a cassette deck.
4. BOT's Pocket Modem
The Pocket Modem is a small SIO adapter for 110, 210 and 300 baud, plus a proprietary 500-baud mode, with pulse dialling, carrier and ring detection, and auto-answer. Add it under System > Devices as an SIO device directly under the Computer node. Like the SX212 it is an end plug, so it must be last on the chain. Disk drives can come before it, but not a cassette deck.
Three things to know:
- Software isn't included. You can't boot from the Pocket Modem. Its M: handler and terminal programs (BASIC or assembly) come on its own driver disk, which you must find yourself.
- The driver and DUP don't mix. The M: driver loads low in memory and hooks several interrupts, including the vertical blank. DUP uses the same memory, so calling DOS's menu while M: is loaded crashes. A disk set up to load M: at boot will also crash if BASIC is off, because DOS then tries to load DUP. Boot with BASIC enabled.
- Baud rate is automatic. A real Pocket Modem never knows the speed. It just passes on whatever rate POKEY shifts bits at, so you had to match the remote end by hand. Altirra instead sets the network speed from the rate of the last byte sent, so a mismatch can't happen in emulation.
5. Watching what happens
Altirra's debugger has logging channels for modems. Open the debugger and type lfe modem to log the commands the modem receives and its responses, lfe modemdata for the data stream, and lfe modemtcp for the TCP/IP side. The help's example shows a reset command and its reply as MODEM: Executing command: [Z] and MODEM: Sending response: OK. Use lfl to list all channels and lfd to turn one off. Mastering the Altirra Debugger explains the debugger in general.
Troubleshooting
- Nothing happens when the program dials: check the dial proxy address and port. With these modems, the number you dial doesn't matter.
- T: not found: in None or Minimal mode the handler is built in. In Full mode, boot without a disk in D1: or run BOOT1030.COM.
- SX212 handler won't load in Full mode: load SX212.COM from the Additions disk first, or switch to None.
- Crash when entering DOS with the Pocket Modem driver loaded: that's expected. Boot with BASIC on and avoid DUP.
- A telnet BBS shows nothing after connecting: the server may be waiting for telnet negotiation. The 850 modem has a telnet-emulation option for this. If your board needs it and these modems give you no way to send it, use the 850 setup for that board.
- BBS software (rather than terminal software) misreads the connection speed: that problem is documented for FoReM with the 850 modem, whose
CONNECTcodes follow Conexant rather than U.S. Robotics. See Running an Atari BBS Today.
Further reading
- Altirra's built-in help: "1030 Modem emulation", "SX212 Modem emulation", "Pocket Modem", "Additions disk" and "Logging".
- On this site: Calling Atari BBSes Today: Modems, Terminals and Emulators, The Atari 850 Interface Module: Ports, the R: Handler and XIO Commands, Running an Atari BBS Today, and the hardware pages for the Atari 1030, SX212 and Pocket Modem.
Credits
- Altirra 4.40 help — 1030 Modem emulation; SX212 Modem emulation; Pocket Modem; 850 Interface Module emulation (options); Additions disk; Logging; Program-specific issues (FoReM) — Avery Lee (Altirra)
- comp.sys.atari.8bit FAQ (Michael Current) — T: handler loaders (AUTO1030.SYS, Russ Wetmore for Antic Aug 1985; BOOT1030.COM with AMODEM 7.4/7.5) — Michael Current (comp.sys.atari.8bit FAQ), 1985
- Gury's Atari 8-bit Forever Portal — news log 1 October 2025 (1030 Express 2.1, Keith Ledbetter, 1985) — Gury (Atari 8-bit Forever portal), 2025
