rx82 0.1.0

An emulator for the RX82 retro computer system.
Documentation
1
2
3
4
5
6
7
use crate::bus::Bus;

/// The trait that all devices connected to the [`Bus`] implement.
pub trait Device {
    /// Notifies the device that a new clock cycle has begun.
    fn tick(&mut self, bus: &mut Bus);
}