PokeyMAX
- Year
- 2018
- Type
- Modern device
- Category
- FPGA replacement POKEY chip (stereo, Covox, SID and PSG emulation)
- Manufacturer
- Mark Watson
Overview
POKEY is one of the Atari's most important chips. It handles sound, keyboard, paddles and serial I/O, and replacements are no longer manufactured. PokeyMAX, by Mark Watson, is a complete, pin-compatible POKEY replacement built around an Altera (Intel) MAX10 FPGA. It came out of his EclaireXL project, an FPGA re-creation of the whole 800XL. Watson's stated aim was to build FPGA replacements for all the Atari custom chips, starting with POKEY. It was entered in the ABBUC Hardware Contest 2018. It can stand in for a broken or missing POKEY, but most owners fit it as a single-chip stereo upgrade. Later versions add other sound chips in the same FPGA.
Versions
| Version | Year | FPGA | Features |
|---|---|---|---|
| PokeyMAX (v1) | 2018 | MAX10 | Full POKEY replacement; dual-POKEY stereo; left, right and mixed outputs |
| PokeyMAX v2 | March/April 2020 | MAX10 10M02, 10M04 or 10M08 | Six versions, five with dual POKEY and two with Covox |
| PokeyMAX v3 | June 2021 | MAX10 10M16 | Dual POKEY, Covox, dual SID and dual PSG emulation |
Features (original release)
- Zero-wire installation for mono use if POKEY is socketed: just swap the chip.
- Dual-POKEY mode for stereo, with pins for three audio outputs (left, right and mixed).
- Only a few millimetres larger than the original chip.
- Supports everything POKEY does: eight paddle inputs, IRQs, serial I/O, audio output, two-tone mode, high-pass filter and keyboard scan.
- Logic written in VHDL and Verilog. The MAX10 was chosen for its built-in flash, power conversion, small size and low cost. Level conversion is needed because the FPGA isn't 5 V tolerant.
Compatibility
A pin-compatible chip has to match POKEY's quirks as well as its features. Altirra's replacement OS (AltirraOS) changed how its cassette routine uses the SKCTL register specifically for compatibility with PokeyMAX 4. Stereo-aware software uses the second POKEY in the usual dual-POKEY way. With v3, SID and PSG players written for SID or PSG cartridges can also drive it.
Using it today
- For mono use in a socketed machine, swap the chip and you're done. For stereo, connect the extra audio outputs as described in the documentation.
- Choose the version by features you want: dual POKEY only, or Covox, SID and PSG as well.
- It can also replace a failing POKEY. Because POKEY handles the keyboard and serial I/O as well as sound, a bad chip can affect more than audio.
Credits
- Picture: A PokeyMAX FPGA POKEY replacement. — Photo from Gury's Atari 8-bit Forever portal (PokeyMAX) (Unknown, used for identification)
- Gury's Atari 8-bit Forever portal: PokeyMAX (ABBUC Hardware Contest 2018, Mark Watson) — Photo from Gury's Atari 8-bit Forever portal (PokeyMAX) (Unknown, used for identification), 2018
- comp.sys.atari.8bit FAQ (Michael Current), section 6.11 (PokeyMAX, v2, v3) — Michael Current (comp.sys.atari.8bit FAQ)
- Altirra emulator release notes (AltirraOS SKCTL change for PokeyMAX 4) — Screenshot from Avery Lee's Altirra page, virtualdub.org
