use crate::periph::mos6520::Mos6520;

impl Mos6520 {
    pub fn new(start_offset: u16) -> Self {
        Self {
            port_a: 0,
            out_a: 0,
            port_b: 0,
            out_b: 0,
            ddra: 0,
            ddrb: 0,
            icr: 0,
            address_bus: 0,
            data_bus: 0,
            offset: start_offset,
            max_offset: start_offset + 4,
            in_a: 0,
            in_b: 0,
        }
    }
}
