pub struct BoardPins<'a> {
pub irq2: &'a mut IrqLine,
pub vdcs: &'a mut [Vdc],
pub opcode: u8,
pub card: Option<&'a mut (dyn Card + 'static)>,
/* private fields */
}Expand description
What the board hands a card, a port device or the pixel path with every call.
Fields§
§irq2: &'a mut IrqLineThe shared IRQ2 level (HuCard, expansion port, CD ADPCM): the device sets its own bit.
vdcs: &'a mut [Vdc]The board’s VDC instances (machine.vdc_count of them): the SuperGrafx’s VPC claims
their pages and steers each access to one.
opcode: u8The opcode of the instruction the CPU is running (Pins::opcode; 0 with no CPU): the
VPC steers only ST0-ST2, which the bus cannot tell from stores to $FF:0000/2/3.
card: Option<&'a mut (dyn Card + 'static)>The card in the slot, for the port device and the pixel path (None for the card’s own
calls and for an empty slot).
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BoardPins<'a>
impl<'a> !RefUnwindSafe for BoardPins<'a>
impl<'a> !Send for BoardPins<'a>
impl<'a> !Sync for BoardPins<'a>
impl<'a> Unpin for BoardPins<'a>
impl<'a> !UnwindSafe for BoardPins<'a>
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