Metadata-Version: 2.5 Name: pokey-python Version: 0.1.0.dev0 Summary: Readable, pure-Python Atari POKEY (C012294) reference core: audio, timers, serial port, keyboard scan, pot scan, one phase-2 clock at a time Author: alewman License: MIT License Copyright (c) 2026 alewman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License-File: LICENSE Classifier: Development Status :: 2 - Pre-Alpha Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis Classifier: Topic :: System :: Emulators Requires-Python: >=3.11 Provides-Extra: dev Requires-Dist: pytest>=8; extra == 'dev' Requires-Dist: ruff==0.16.8; extra == 'dev' Description-Content-Type: text/markdown # pokey-python A readable, pure-Python reference core for Atari's POKEY (C012294): four audio channels, timers and interrupts, RANDOM, the serial port, the keyboard scan and the pot scan, advanced one phase-2 clock at a time. It is a chip core of an emulator family: boards (Atari 5200, Atari 7800 cartridges, later the 8-bit computers and arcade boards) compose it and pin it by commit. **Status: Phase 0.** Documents, pinned references and two driver scripts. There is no emulator code yet. Start with [docs/README.md](docs/README.md); the build starts from [docs/handoff-brief.md](docs/handoff-brief.md). python -I scripts/fetch_references.py # documents, sources, test programs -> reference/ (ignored) python -I scripts/run_vhdl.py --oss DIR # the schematic-derived VHDL under GHDL python -I scripts/mame_pokey.py # MAME 0.285's POKEY through its a5200 driver Nothing third-party is committed. Licence: MIT.