use crate::computers::rom_only::RomOnlyComputer;
use crate::constants::constants_system::SIZE_32KB;
use crate::periph::at28c256::At28C256;

impl RomOnlyComputer {
    pub fn program(rom: Vec<u8>) -> RomOnlyComputer {
        RomOnlyComputer {
            rom: At28C256::new(0x000, 0x3fff, rom),
            address_bus: 0x0000,
            data_bus: 0x00,
            read_mode: true,
        }
    }
}
