[−][src]Struct zinc64_emu::system::C64Factory
Methods
impl C64Factory
[src]
pub fn new(config: Rc<Config>) -> C64Factory
[src]
Trait Implementations
impl ChipFactory for C64Factory
[src]
fn new_cpu(
&self,
mem: Shared<dyn Addressable>,
io_port: Shared<IoPort>,
ba_line: Shared<Pin>,
irq_line: Shared<IrqLine>,
nmi_line: Shared<IrqLine>
) -> Box<dyn Cpu>
[src]
&self,
mem: Shared<dyn Addressable>,
io_port: Shared<IoPort>,
ba_line: Shared<Pin>,
irq_line: Shared<IrqLine>,
nmi_line: Shared<IrqLine>
) -> Box<dyn Cpu>
fn new_cia_1(
&self,
joystick_1: SharedCell<u8>,
joystick_2: SharedCell<u8>,
keyboard_matrix: Shared<[u8; 16]>,
port_a: Shared<IoPort>,
port_b: Shared<IoPort>,
flag_pin: Shared<Pin>,
irq_line: Shared<IrqLine>
) -> Shared<dyn Chip>
[src]
&self,
joystick_1: SharedCell<u8>,
joystick_2: SharedCell<u8>,
keyboard_matrix: Shared<[u8; 16]>,
port_a: Shared<IoPort>,
port_b: Shared<IoPort>,
flag_pin: Shared<Pin>,
irq_line: Shared<IrqLine>
) -> Shared<dyn Chip>
fn new_cia_2(
&self,
port_a: Shared<IoPort>,
port_b: Shared<IoPort>,
flag_pin: Shared<Pin>,
nmi_line: Shared<IrqLine>
) -> Shared<dyn Chip>
[src]
&self,
port_a: Shared<IoPort>,
port_b: Shared<IoPort>,
flag_pin: Shared<Pin>,
nmi_line: Shared<IrqLine>
) -> Shared<dyn Chip>
fn new_sid(
&self,
chip_model: SidModel,
system_clock: Rc<Clock>,
sound_buffer: Arc<dyn SoundOutput>
) -> Shared<dyn Chip>
[src]
&self,
chip_model: SidModel,
system_clock: Rc<Clock>,
sound_buffer: Arc<dyn SoundOutput>
) -> Shared<dyn Chip>
fn new_vic(
&self,
chip_model: VicModel,
color_ram: Shared<Ram>,
ram: Shared<Ram>,
rom_charset: Shared<Rom>,
vic_base_address: SharedCell<u16>,
frame_buffer: Shared<dyn VideoOutput>,
vsync_flag: SharedCell<bool>,
ba_line: Shared<Pin>,
irq_line: Shared<IrqLine>
) -> Shared<dyn Chip>
[src]
&self,
chip_model: VicModel,
color_ram: Shared<Ram>,
ram: Shared<Ram>,
rom_charset: Shared<Rom>,
vic_base_address: SharedCell<u16>,
frame_buffer: Shared<dyn VideoOutput>,
vsync_flag: SharedCell<bool>,
ba_line: Shared<Pin>,
irq_line: Shared<IrqLine>
) -> Shared<dyn Chip>
fn new_memory(
&self,
mmu: Shared<dyn Mmu>,
cia_1: Shared<dyn Chip>,
cia_2: Shared<dyn Chip>,
color_ram: Shared<Ram>,
expansion_port: Shared<dyn AddressableFaded>,
ram: Shared<Ram>,
rom_basic: Shared<Rom>,
rom_charset: Shared<Rom>,
rom_kernal: Shared<Rom>,
sid: Shared<dyn Chip>,
vic: Shared<dyn Chip>
) -> Shared<dyn Addressable>
[src]
&self,
mmu: Shared<dyn Mmu>,
cia_1: Shared<dyn Chip>,
cia_2: Shared<dyn Chip>,
color_ram: Shared<Ram>,
expansion_port: Shared<dyn AddressableFaded>,
ram: Shared<Ram>,
rom_basic: Shared<Rom>,
rom_charset: Shared<Rom>,
rom_kernal: Shared<Rom>,
sid: Shared<dyn Chip>,
vic: Shared<dyn Chip>
) -> Shared<dyn Addressable>
fn new_ram(&self, capacity: usize) -> Shared<Ram>
[src]
fn new_rom(&self, data: &[u8], offset: u16) -> Shared<Rom>
[src]
Auto Trait Implementations
impl !Send for C64Factory
impl !Sync for C64Factory
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,