EMMA 02

CT Payphone

  • Home
  • CDP18S020
    • General Information
    • I/O Map
  • COMX-35
    • General Information
    • F&M
    • Did You Know...?
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Expansion Box
    • Disk
    • Printers
    • Thermal
    • PL-80
    • 32K RAM
    • 80 Column
    • F&M EPROM
    • F&M Joy Card
    • Super Board
    • COMX BASIC V1.00
  • COMiX-35
  • COSMAC Elf
    • General Information
    • I/O Map
    • Front Panels
  • COSMAC Elf 2000
    • General Information
    • I/O Map
    • Memory
    • Video
  • COSMAC Microtutor I
    • General Information
    • I/O Map
  • COSMAC Microtutor II
    • General Information
    • I/O Map
  • COSMAC VIP
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • STK
    • Chip-8 and 8X
    • Test-Word
    • Floating Point BASIC 2.2
  • COSMAC VIP II
    • General Information
    • I/O Map
    • Floating Point BASIC 2.2
  • Cidelsa
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
  • Conic
  • Cosmicos
    • General Information
    • I/O Map
    • Front Panels
    • Mops & Hexmops
    • ASCII Monitor
    • HEX Monitor & UT4
  • CT Payphone
    • General Information
    • I/O Map
    • Memory
    • Keyboard
  • CyberVision
  • EFA-Datorn
  • ETI-660
  • FRED 1
    • General Information
    • I/O Map
    • Cassette
    • CARDTRAN Syntax
  • FRED 1.5
    • General Information
    • I/O Map
    • Front Panel
    • Cassette
    • Software
    • FPL-2
    • FPL-4
    • FEL-1
  • FRED 3
    • General Information
    • I/O Map
    • Memory
    • GPL-2
    • GPL-2b
    • GPL-3
    • GPL-4
  • HEC1802
  • HUG1802
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Monitor
    • Chip-8 ETI-660
  • Infinite UC1800
    • General Information
    • I/O Map
    • Front Panel
  • JVIP
  • Macbug
  • Membership Card
    • General Information
    • I/O Map
  • Netronics Elf II
    • General Information
    • I/O Map
    • Front Panels
    • Keyboard
    • Giant Board
    • BASIC/Math
  • Oscom Nano
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Casette
  • PECOM 32 and 64
    • General Information
    • Software
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Casette
    • PECOM 32 BASIC
    • PECOM 64 BASIC 1.0 & 4.0
  • Pico/Elf V2
    • General Information
    • I/O Map
  • Quest Super Elf
    • General Information
    • I/O Map
    • Front Panel
  • RCA APT VP4801
    • General Information
    • I/O Map
    • Memory
  • RCA CCGS
  • RCA CDS
    • General Information
    • I/O Map
  • RCA CMC
    • General Information
    • I/O Map
  • RCA MS2000
    • General Information
    • I/O Map
    • MicroDos
  • RCA MCDS
    • General Information
    • I/O Map
  • RCA Studio II
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • Chip-8
    • ST2
  • RCA Studio III
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
  • RCA Studio IV
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • ST4 Syntax
  • RCA Video Coin
    • General Information
    • I/O Map
    • Memory
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • GPL-2
    • GPL-3
    • GPL-4
  • SBC1802
  • Studio 2020
  • Telmac 1800
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • Cassette
  • Telmac 2000
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
  • Telmac TMC-600
    • General Information
    • Software
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Telmac SBASIC v24.3
  • VELF
    • General Information
    • I/O Map
    • BIOS
    • Video
    • Keyboard
  • VIP2K MC
    • General Information
    • I/O Map
    • Memory
    • Video
    • Chip-8
  • VIS1802
  • VP3000
    • General Information
    • I/O Map
  • VT1802
  • Visicom COM-100
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard

 

 

 

 

 

 

 

 

 

 

 

 

General Information

The CT Payphone family (CT24, CT25, CT34) were coin-operated public telephones manufactured by British Telecom in the 1980s. They are based on the RCA CDP1802 COSMAC microprocessor running at 2 MHz and represent one of the most commercially deployed uses of the 1802.

The (basic) emulation of these phones in Emma 02 was made possible by the extensive reverse engineering work of Chris Boyce, who traced the hardware, analysed the firmware, and documented the coin mechanism, serial protocol, and event-driven architecture from original CT24/25/34 hardware. With no official documentation available, Chris painstakingly worked out the I/O port assignments, sensor multiplexing, gate control logic, and SPM metering from the circuit boards and ROM code alone.

The CT24 (1982) was the original design using two PCBs. The CT25 is a renter's version, identical internally. The CT34 (1986) is a single-PCB redesign with more flexibility. Later models (CT44A, Mercury Payphone) used the CDP1806 processor with an HD44780 LCD display. All phones in the family run at 2 MHz crystal speed due to line-power constraints.

The firmware uses an unusual event-driven architecture with a massive ISR running every 8.4ms. The ISR generates events (e.g. “Key Pressed”, “Coin Inserted”) which are queued in a linear buffer. The main code runs with interrupts disabled most of the time, briefly enabling them via “interrupt gates” to check for pending events. A large table structure implements a state machine which maps events — up to 130 distinct events — to actions.

Technical specifications

CPU: RCA CDP1802
Clock: 2.0 MHz
Memory: 24 KB ROM + 1 KB RAM (10-bit masked)
Display: Segmented LCD with CD4056 drivers
Sound: MF4 DTMF tone generator
Keyboard: 4×3 telephone keypad (matrix scanned)
Serial: 1200 baud, 7O1 (bit-banged via Q/EF1)

Phone Models

CT24 (1982) Original BT payphone, two PCBs, segmented LCD
CT25 (1982) Renter's version, identical to CT24 internally
CT34 (1986) Single PCB redesign, more flexible
CT44A (1989) CDP1806 processor, HD44780 2×16 LCD, modem, RTC
Mercury (~1989) CT44-adjacent design, slightly different PCB

Coin Mechanism

The phone uses a sophisticated coin mechanism with dual escrows (upper and lower), five optical sensors, and six electromagnetic gates. Coins are validated electronically, then routed mechanically:

  • Gate 1: Accepts/rejects validated coin
  • Gate 2: Routes coin to lower escrow (10p, 20p) or upper escrow (50p, £1)
  • Gates 3–6: Cash or return coins from escrows at call end

Sensors are multiplexed via LED drive lines on output port 4. Gate 6 shares a bit with sensor LEDs 3&4, using a timing threshold (400µs) to distinguish brief LED scan pulses from sustained gate activation.

SPM (Subscriber Pulse Metering)

Call charging uses SPM pulses (50Hz, 50V, ~225ms width) sent from the exchange. The first pulse indicates the called party answered and debits the initial fee. Subsequent pulses at regular intervals debit the unit fee. The emulator simulates this via EF2 pulses triggered by an ANS button.

How to use the emulated phone

  1. Select CT Payphone and CT34.xml, then start the emulation.
  2. Insert coins by clicking the coin push buttons (10p, 20p, 50p, £1). Credit accumulates on the LCD display.
  3. Dial a number using the telephone keypad (the LP Dial LED flashes to show pulse dialling).
  4. Press the ANS button to simulate the called party answering. This triggers the first SPM pulse and debits the initial fee.
  5. Watch the credit count down penny-by-penny as subsequent SPM pulses arrive at regular intervals.
  6. You can insert more coins during the call to extend it.
  7. When you hang up (set Off Hook low), the phone cashes used coins into the cash box and returns unused coins to the return bucket, then powers down and restarts.

Follow On Call: Press the FOC button to drop the line and start a new call without hanging up, keeping remaining credit.

Free calls: 999 (emergency) is hard-wired in firmware and does not require coins. Other free numbers (080X, pager services) are defined in the phone configuration.

Other information

  • CT54.info CT Payphone Restoration

Main emulator features

  • Full coin mechanism emulation with configurable timing
  • SPM (call metering) pulse generation
  • LCD credit display with text indicators
  • Telephone keypad emulation
  • Serial port connection for real Tester 297 hardware
  • Firmware versions supported via XML configuration
  • Payphone I/O debugger with gate/sensor trace
  • Firmware-specific coin denomination labels