pub mod default;
pub mod rom_chip;
pub mod new;
pub mod program;
pub mod dump;
pub mod checksum;
pub mod blocks;
pub mod control;
pub mod signal_tick;
pub mod memory_chip;
pub mod bus_device;

/// At28C256
///
/// Represents a single At28C256 EEPROM Chip
///
/// 256kbit storage
/// 32kbyte storage
pub struct At28C256 {
    // Logical parts
    data_bus: u8,
    address_bus: u16,
    pub data: Box<[u8]>,
    // where in the computer memory map do we live?
    offset: u16,
    max_offset: u16,
    // Physical Parts
    cs: bool,
    we: bool,
    oe: bool
}
