supergrafx_rust/machine.rs
1//! The SuperGrafx's row of the machine table (`machine.py`; the base board's
2//! `machine::Machine`).
3//!
4//! [hw: sgxtech, "Overview"] a PC Engine with 32 KiB of work RAM instead of 8 KiB, a second VDC with
5//! its own 64 KiB of VRAM and the HuC6202 video priority controller (VPC) between the VDC pixel
6//! buses and the VCE. The CPU is a HuC6280A (U6: not distinguished from the HuC6280 here), the
7//! master clock and the 263/262-line frame are the base board's. The I/O port's country bit (D6)
8//! is 1: the SuperGrafx is a Japanese console [hw: sgxtech, "I/O port"].
9
10use pcengine_rust::machine::Machine;
11
12pub const SUPERGRAFX: Machine = Machine {
13 work_ram_bytes: 32 * 1024,
14 vdc_count: 2,
15 ..Machine::new("SuperGrafx", true)
16};