pub struct BoardOptions {Show 13 fields
pub machine: Machine,
pub card: Option<Box<dyn Card>>,
pub port: Option<Box<dyn PortDevice>>,
pub pad: Option<Box<dyn ControllerPort>>,
pub pixel_path: Option<Box<dyn PixelPath>>,
pub power_on_seed: Option<i64>,
pub start_line: i64,
pub start_offset: i64,
pub vblank_dots: Option<i64>,
pub vertical_at_line_start: bool,
pub dma_resumes: bool,
pub psg: PsgSwitches,
pub timer_underflow_window_mclk: i64,
}Expand description
The reference’s Board(...) arguments, with its defaults.
Fields§
§machine: Machine§card: Option<Box<dyn Card>>§port: Option<Box<dyn PortDevice>>§pad: Option<Box<dyn ControllerPort>>§pixel_path: Option<Box<dyn PixelPath>>§power_on_seed: Option<i64>None powers up with zeros (U7, deterministic); a seed randomises RAM, VRAM, the
sprite table and the colour table reproducibly (Python’s random.Random(seed)).
start_line: i64The raster line at time zero (U1: the real power-up phase is not published).
start_offset: i64§vblank_dots: Option<i64>U19: see vdc::sequencer::Sequencer::vblank_dots.
vertical_at_line_start: bool§dma_resumes: boolC7: see vdc/dma.rs.
psg: PsgSwitchesThe PSG’s switches (class attributes of the reference’s Psg).
timer_underflow_window_mclk: i64C25 (the reference’s Timer.underflow_window_mclk).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoardOptions
impl !RefUnwindSafe for BoardOptions
impl !Send for BoardOptions
impl !Sync for BoardOptions
impl Unpin for BoardOptions
impl !UnwindSafe for BoardOptions
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