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

 

 

 

 

 

 

 

 

 

 

 

 

Memory

The CT Payphone uses 24 KB of ROM and 1 KB of RAM with 10-bit address masking to 3FF (hexadecimal). Additionally, 32 bytes of NVRAM are battery-backed for persistent storage across power cycles.

Memory Map

0000–5FFF ROM (24 KB) - Firmware code and data tables
6000–6FFF Extension ROM (4 KB) - Existence checked at boot via LDI opcode at 6000 (hexadecimal)
8000–FFFF RAM (1 KB) - Working memory, masked to 3FF (hexadecimal)
8C00–8C1F NVRAM (32 bytes) - Battery-backed persistent storage

RAM Organization - 1 KB at 8000 (hexadecimal)

8000–800F Event circular buffer (16 bytes)
8100–8106 Shadow port registers (R4 area)
810A Sensor state byte
810E Coin validator state
8140–81AF Task state variables
813F ↓ Stack (R2, grows downward)
83D0 Working variables (R6 area)

Configuration RAM

A separate 1 KB configuration file is loaded at 8000 (hexadecimal), overlapping working RAM via address masking. Key configuration offsets:

8200 Minimum fee, default: 0A (hexadecimal) = 10p
8201 Unit fee (10p in V15 config)
8200+ Tariff tables (BCD-encoded pricing)
8330–83A0 Phone number sequences (autodial/test)

Configuration is downloaded from a Tester 297 device via serial (1200 baud, 7O1). The emulator can also load it directly from a binary file. Config variants: A, C, E (must use “E” variant for cash calls).

ROM Key Addresses

0000 Boot/initialization - DIS, SEQ, port init, jump to 00E4 (hexadecimal)
002C Extension ROM bank check, tests for LDI at 6000 (hexadecimal)
0197 First interrupt gate
259C Interrupt handler entry point
3C9B Keypad scan routine
499D Event queuing subroutine / SCRT CALL entry
4CF9 Serial RX routine
4D40 Serial TX routine
4E41 Coin value table
4EEB–5FFF Event/action mapping tables (130 events)

Register Usage

R0 Main program PC (after handoff)
R1 = 259C Interrupt handler entry
R2 = 813F Stack pointer (grows down)
R4 = 81xx Shadow port registers
RF = 499D SCRT CALL entry (uses MARK+SEP, not standard R4/R5)