Struct libnoentiendo::systems::vic::Vic20SystemRoms
source · pub struct Vic20SystemRoms {
pub character: RomFile,
pub basic: RomFile,
pub kernal: RomFile,
pub cartridge: Option<RomFile>,
}
Expand description
The set of ROM files required to run a VIC-20 system.
Fields§
§character: RomFile
Character ROM. Used to generate the 8x8 character bitmaps.
basic: RomFile
Basic ROM. Contains the BASIC interpreter.
kernal: RomFile
Kernal ROM. Contains the operating system and editor functions.
cartridge: Option<RomFile>
Cartridge ROM. Contains the contents of a cartridge, if one is inserted.
Implementations§
Trait Implementations§
source§impl BuildableSystem<Vic20SystemRoms, Vic20SystemConfig> for Vic20System
impl BuildableSystem<Vic20SystemRoms, Vic20SystemConfig> for Vic20System
source§fn build(
roms: Vic20SystemRoms,
config: Vic20SystemConfig,
platform: Arc<dyn PlatformProvider>
) -> Box<dyn System>
fn build( roms: Vic20SystemRoms, config: Vic20SystemConfig, platform: Arc<dyn PlatformProvider> ) -> Box<dyn System>
Instantiate this system from the given roms, configuration, and with I/O provided by the given
platform provider.
Auto Trait Implementations§
impl RefUnwindSafe for Vic20SystemRoms
impl Send for Vic20SystemRoms
impl Sync for Vic20SystemRoms
impl Unpin for Vic20SystemRoms
impl UnwindSafe for Vic20SystemRoms
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more