pub mod new;
pub mod tick;
pub mod reset;

use crate::mos6502cpu::Mos6502Cpu;
use crate::periph::hm62256::Hm62256;
use crate::periph::kim1_keypad::Kim1Keypad;
use crate::periph::mos6530::mos6530::Mos6530;

/// Represents a KIM-1
///
///
pub struct Kim1 {
    pub running: bool,
    pub cpu: Mos6502Cpu,
    rriot1: Mos6530,
    rriot2: Mos6530,
    ram: Hm62256,
    pub(crate) keypad: Kim1Keypad,
    address_bus: u16,
    data_bus: u8,
    cpu_read: bool
}
