pub enum MapMode {
LoRom,
HiRom,
ExHiRom,
ExLoRom,
}Expand description
The cartridge map mode (header byte $xFD5, low bits). Determines the base board.
Variants§
LoRom
LoROM ($20).
HiRom
HiROM ($21).
ExHiRom
ExHiROM ($25).
ExLoRom
ExLoROM (unofficial — no dedicated $xFD5 value; homebrew/flashcart >4 MiB titles that
keep LoROM’s 32 KiB bank windowing instead of switching to HiROM’s linear banks).
Trait Implementations§
impl Copy for MapMode
impl Eq for MapMode
impl StructuralPartialEq for MapMode
Auto Trait Implementations§
impl Freeze for MapMode
impl RefUnwindSafe for MapMode
impl Send for MapMode
impl Sync for MapMode
impl Unpin for MapMode
impl UnsafeUnpin for MapMode
impl UnwindSafe for MapMode
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