[−][src]Struct z80emu::z80::BM1
The struct implements a Flavour that (supposedly) emulates the KP1858BM1 or T34BM1 clones of the Z80.
It differs from the NMOS implementation in the way Flavour::memptr_mix works.
In this implementation the returned MSB is always 0.
The Flavour::ACCEPTING_INT_RESETS_IFF2_EARLY value is false
.
Trait Implementations
impl Clone for BM1
[src]
impl Copy for BM1
[src]
impl Debug for BM1
[src]
impl Default for BM1
[src]
impl<'de> Deserialize<'de> for BM1 where
BM1: Default,
[src]
BM1: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for BM1
[src]
impl Flavour for BM1
[src]
const CONSTANT_OUT_DATA: u8
[src]
const ACCEPTING_INT_RESETS_IFF2_EARLY: bool
[src]
fn tag() -> &'static str
[src]
fn memptr_mix(_msb: u8, lsb: u8) -> (u8, u8)
[src]
fn begin_instruction(&mut self)
[src]
fn flags_modified(&mut self)
[src]
fn get_q(&self, acc: u8, flags: CpuFlags) -> u8
[src]
fn cpu_into_any(cpu: Z80<Self>) -> Z80Any
[src]
fn unwrap_cpu_any(cpu_any: Z80Any) -> Z80<Self>
[src]
fn reset(&mut self)
[src]
impl From<BM1> for CMOS
[src]
This conversion is lossy. When CMOS Flavour is converted back information is lost.
impl From<BM1> for NMOS
[src]
fn from(
BM1 { flags_modified: flags_modified, last_flags_modified: last_flags_modified }: BM1
) -> Self
[src]
BM1 { flags_modified: flags_modified, last_flags_modified: last_flags_modified }: BM1
) -> Self
impl From<CMOS> for BM1
[src]
impl From<NMOS> for BM1
[src]
fn from(
NMOS { flags_modified: flags_modified, last_flags_modified: last_flags_modified }: NMOS
) -> Self
[src]
NMOS { flags_modified: flags_modified, last_flags_modified: last_flags_modified }: NMOS
) -> Self
impl PartialEq<BM1> for BM1
[src]
impl Serialize for BM1
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for BM1
[src]
impl StructuralPartialEq for BM1
[src]
Auto Trait Implementations
impl RefUnwindSafe for BM1
impl Send for BM1
impl Sync for BM1
impl Unpin for BM1
impl UnwindSafe for BM1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,