summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-03-25 12:00:15 +1300
committerBen Bridle <ben@derelict.engineering>2025-03-25 12:00:15 +1300
commitc23c47325a7818c4df4097878f101cd80e2fe361 (patch)
treef7d591c90428d43064be10de660021c2cd6dc863 /src/lib.rs
parent179bd6a13d91f0a1137ee8ed6aebb7e226e99b5d (diff)
downloadbedrock-core-c23c47325a7818c4df4097878f101cd80e2fe361.zip
Partially restructure the library
This also changes bit-shifting semantics, shifting left and then right instead of the other way around.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f8fa3d6..19428bc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,19 +1,12 @@
-mod processor;
-mod program_memory;
-mod stack;
-
-pub use program_memory::ProgramMemory;
-pub use stack::Stack;
-
+mod components;
mod core;
-mod device_bus;
-mod signal;
mod emulator;
+mod signal;
-pub use core::BedrockCore;
-pub use device_bus::{Device, DeviceBus};
-pub use signal::Signal;
-pub use emulator::BedrockEmulator;
+pub use components::*;
+pub use core::*;
+pub use emulator::*;
+pub use signal::*;
pub mod macros {