[][src]Trait tetanes::common::Powered

pub trait Powered {
    fn power_on(&mut self) { ... }
fn power_off(&mut self) { ... }
fn reset(&mut self) { ... }
fn power_cycle(&mut self) { ... } }

Provided methods

fn power_on(&mut self)

fn power_off(&mut self)

fn reset(&mut self)

fn power_cycle(&mut self)

Loading content...

Implementors

impl Powered for MapperType[src]

impl Powered for Dmc[src]

impl Powered for Noise[src]

impl Powered for Pulse[src]

impl Powered for Apu[src]

impl Powered for Triangle[src]

impl Powered for Bus[src]

impl Powered for Cpu[src]

fn power_on(&mut self)[src]

Powers on the CPU

fn reset(&mut self)[src]

Resets the CPU

Updates the PC, SP, and Status values to defined constants.

These operations take the CPU 7 cycle.

fn power_cycle(&mut self)[src]

Power cycle the CPU

Updates all status as if powered on for the first time

These operations take the CPU 7 cycle.

impl Powered for Gamepad[src]

impl Powered for Input[src]

impl Powered for NullMapper[src]

impl Powered for Nes[src]

fn power_on(&mut self)[src]

Powers on the console

fn power_off(&mut self)[src]

Powers off the console

fn reset(&mut self)[src]

Soft-resets the console

fn power_cycle(&mut self)[src]

Hard-resets the console

impl Powered for Ppu[src]

Loading content...