pub enum RomSpace {
Prg,
Chr,
}Expand description
v3.7.0 (T-HACK-BPS-RECORDER, live ROM writes) — which ROM section of the
cartridge image a debugger ROM read or write addresses.
Offsets within a section are the image’s: PRG byte 0 is the first byte after the iNES header (and any trainer), CHR byte 0 the first byte after PRG-ROM. They are NOT CPU or PPU addresses, so a byte has one offset whatever bank currently maps it, which is what a patch file records.
Variants§
Prg
PRG-ROM, the program (read by the CPU at $8000-$FFFF through the
mapper’s PRG banking).
Chr
CHR-ROM, the pattern tables (read by the PPU at $0000-$1FFF through
the mapper’s CHR banking).
Implementations§
Trait Implementations§
impl Copy for RomSpace
impl Eq for RomSpace
impl StructuralPartialEq for RomSpace
Auto Trait Implementations§
impl Freeze for RomSpace
impl RefUnwindSafe for RomSpace
impl Send for RomSpace
impl Sync for RomSpace
impl Unpin for RomSpace
impl UnsafeUnpin for RomSpace
impl UnwindSafe for RomSpace
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