diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-03-25 12:46:49 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-03-25 12:48:49 +1300 |
commit | ab84ad75629b0a4124221023ca91411d2cd62a32 (patch) | |
tree | 0c333f06bec5270084aaec71cf173c798420207b /src/emulators.rs | |
parent | 07ae3438917fd854a46924a410f6890cd0651f1b (diff) | |
download | bedrock-pc-ab84ad75629b0a4124221023ca91411d2cd62a32.zip |
Restructure program
This commit also includes changes to devices according to the latest
devices specification, in particular the math and system devices.
Diffstat (limited to 'src/emulators.rs')
-rw-r--r-- | src/emulators.rs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/emulators.rs b/src/emulators.rs deleted file mode 100644 index 56f7181..0000000 --- a/src/emulators.rs +++ /dev/null @@ -1,32 +0,0 @@ -mod headless_emulator; -mod graphical_emulator; - -pub use headless_emulator::{HeadlessEmulator, HeadlessDeviceBus}; -pub use graphical_emulator::{GraphicalEmulator, GraphicalDeviceBus}; - -use crate::*; - -use phosphor::Colour; - -use std::path::PathBuf; - - -pub enum EmulatorSignal { - Promote, - Halt, -} - - -pub struct EmulatorConfig { - pub dimensions: ScreenDimensions, - pub fullscreen: bool, - pub scale: u32, - pub debug_palette: Option<[Colour; 16]>, - pub show_cursor: bool, - - pub initial_transmission: Option<Vec<u8>>, - pub decode_stdin: bool, - pub encode_stdout: bool, - - pub symbols_path: Option<PathBuf>, -} |