diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-03-25 12:00:15 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-03-25 12:00:15 +1300 |
commit | c23c47325a7818c4df4097878f101cd80e2fe361 (patch) | |
tree | f7d591c90428d43064be10de660021c2cd6dc863 /src/lib.rs | |
parent | 179bd6a13d91f0a1137ee8ed6aebb7e226e99b5d (diff) | |
download | bedrock-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.rs | 19 |
1 files changed, 6 insertions, 13 deletions
@@ -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 { |