summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs28
1 files changed, 7 insertions, 21 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9161ba3..131078d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,26 +1,12 @@
+mod bedrock;
mod device_bus;
-mod memory;
mod processor;
+mod program_memory;
mod stack;
-pub use device_bus::*;
-pub use memory::*;
-pub use processor::*;
-pub use stack::*;
+pub use bedrock::Bedrock;
+pub use device_bus::{Device, DeviceBus};
+pub use processor::Signal;
+pub use program_memory::ProgramMemory;
+pub use stack::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,
-}