Skip to main content

Mmc3BoardKind

Enum Mmc3BoardKind 

Source
pub enum Mmc3BoardKind {
    M12,
    M37,
    M45,
    M47,
    M74,
    M121,
    M191,
    M192,
    M194,
    M195,
    M4T9552,
    M249,
}
Expand description

Which board an Mmc3Board models.

Variants§

§

M12

Mapper 12 submapper 0, Gouder SL-5020B (INES_Mapper_012.md): an MMC3A plus a GAL register at $4100 (mask $E100) supplying CHR A18 separately for each pattern table.

§

M37

Mapper 37, “Super Mario Bros. + Tetris + Nintendo World Cup” (INES_Mapper_037.md): a 74HC161 in the MMC3’s PRG-RAM window.

§

M45

Mapper 45, GA23C (INES_Mapper_045.md): four outer registers written in turn at $6000, a lock bit, and a $6001 reset.

§

M47

Mapper 47, “Super Spike V’Ball + Nintendo World Cup” (INES_Mapper_047.md): one block bit in the PRG-RAM window.

§

M74

Mapper 74, Waixing 43-393 (INES_Mapper_074.md): CHR banks 8 and 9 are 2 KiB of CHR-RAM.

§

M121

Mapper 121, Kasheng A9711 / A9713 (INES_Mapper_121.md): a protection array at $5000 and bit-reversed PRG overrides at $8001 / $8003.

§

M191

Mapper 191 (INES_Mapper_191.md): CHR bank bit 7 selects 2 KiB of CHR-RAM.

§

M192

Mapper 192, Waixing FS308 (INES_Mapper_192.md): CHR banks 8-11 are 4 KiB of CHR-RAM.

§

M194

Mapper 194 (INES_Mapper_194.md): CHR banks 0 and 1 are 2 KiB of CHR-RAM.

§

M195

Mapper 195, Waixing FS303 (INES_Mapper_195.md): which CHR banks are RAM is chosen by the bank a PPU write lands on.

§

M4T9552

Mapper 4 submapper 5 (T9552.md): Waixing’s T9552 scrambles PRG A14-A17 and CHR A12-A17 by the pattern written to $5000. The file stores the banks in the $5000 = $02 order, the true one.

§

M249

Mapper 249 (INES_Mapper_249.md → T9552.md): the same board, with the file stored in the $5000 = $00 order.

Trait Implementations§

Source§

impl Clone for Board

Source§

fn clone(&self) -> Board

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Board

Source§

impl Debug for Board

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Board

Source§

impl PartialEq for Board

Source§

fn eq(&self, other: &Board) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Board

Auto Trait Implementations§

§

impl Freeze for Board

§

impl RefUnwindSafe for Board

§

impl Send for Board

§

impl Sync for Board

§

impl Unpin for Board

§

impl UnsafeUnpin for Board

§

impl UnwindSafe for Board

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.