pub struct BIOS {}Implementations§
Source§impl BIOS
impl BIOS
pub const DATA_SEG: u16 = 0x0040
pub const DATA_INITIAL_MODE: u16 = 0x0010
pub const DATA_CURRENT_MODE: u16 = 0x0049
pub const DATA_NB_COLS: u16 = 0x004A
pub const DATA_PAGE_SIZE: u16 = 0x004C
pub const DATA_CURRENT_START: u16 = 0x004E
pub const DATA_CURSOR_POS: u16 = 0x0050
pub const DATA_CURSOR_TYPE: u16 = 0x0060
pub const DATA_CURRENT_PAGE: u16 = 0x0062
pub const DATA_CRTC_ADDRESS: u16 = 0x0063
pub const DATA_CURRENT_MSR: u16 = 0x0065
pub const DATA_CURRENT_PAL: u16 = 0x0066
pub const DATA_NB_ROWS: u16 = 0x0084
pub const DATA_CHAR_HEIGHT: u16 = 0x0085
pub const DATA_VIDEO_CTL: u16 = 0x0087
pub const DATA_SWITCHES: u16 = 0x0088
pub const DATA_MODESET_CTL: u16 = 0x0089
pub const DATA_DCC_INDEX: u16 = 0x008A
pub const DATA_CRTCPU_PAGE: u16 = 0x008A
pub const DATA_VS_POINTER: u16 = 0x00A8
pub fn default() -> Self
pub fn init(&mut self, mmu: &mut MMU)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BIOS
impl RefUnwindSafe for BIOS
impl Send for BIOS
impl Sync for BIOS
impl Unpin for BIOS
impl UnsafeUnpin for BIOS
impl UnwindSafe for BIOS
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more