summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 9161ba39a1b69f932c171ff7c25caa71da84fd68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
mod device_bus;
mod memory;
mod processor;
mod stack;

pub use device_bus::*;
pub use memory::*;
pub use processor::*;
pub use stack::*;

#[derive(Copy, Clone, Debug)]
pub enum Signal {
    Debug(DebugVariant),
    Sleep,
    Halt,
}

#[derive(Copy, Clone, Debug)]
pub enum DebugVariant {
    DB1,
    DB2,
    DB3,
    DB4,
    DB5,
    DB6,
}