// SPDX-License-Identifier: MIT //! a5200: the Atari 5200 SuperSystem board, transcribed from //! [a5200-python](https://github.com/alewman/a5200-python) at `cf82d44` and proven identical //! to it per slice (every bus cycle, every picture) by the lockstep gate (`scripts/ladder.sh`). //! //! **Lineage:** a5200-python → **a5200-rust** · fixes start in a5200-python and flow down by //! merges · [family charter](https://github.com/alewman/emulator-lineage/blob/main/docs/charter.md) //! //! Each module is the transcription of one `a5200_python/*.py` module, with the same names, //! order, structure, comments and evidence tags; where Rust forced a difference, the module //! header says so. The CPU is 6502-rust (crate `sixfiveohtwo`) and POKEY is pokey-rust (crate //! `pokey`); ANTIC and GTIA stay in the board, as in the reference. // The reference's comparisons and branch shapes are kept as Python writes them (`if pos >= A or // pos < B`, a value assigned in each branch of an if chain), so a line can be read against its // Python line; clippy would rewrite them. #![allow( clippy::manual_range_contains, clippy::needless_late_init, clippy::collapsible_match, clippy::collapsible_else_if )] pub mod acid; pub mod antic; pub mod bios; pub mod board; pub mod cartridge; pub mod controllers; pub mod debug; pub mod gtia; pub mod machine; pub mod media; pub mod state; pub mod system; pub use board::{Board, Cpu, Running}; pub use cartridge::{load_cartridge, Cart, Source}; pub use machine::{machine_by_name, Machine, A5200, A5200_2PORT}; pub use system::Console;