emma now has ability to decode an instruction and to display video and system memory

This commit is contained in:
2024-08-17 13:40:19 -04:00
parent ceb62d2c53
commit 6dc9ce3721
21 changed files with 2772 additions and 374 deletions
+2 -12
View File
@@ -1,8 +1,6 @@
use easy_imgui::{Ui, UiBuilder};
use easy_imgui_window::{MainWindow, MainWindowWithRenderer};
use winit::{application::ApplicationHandler, event_loop::ActiveEventLoop, window::{Window, WindowAttributes}};
/*
pub struct Chip8Display {
pub window: MainWindowWithRenderer,
}
@@ -54,15 +52,6 @@ impl ApplicationHandler for Chip8AppHandler {
if window.main_window().window().id() != window_id {
continue;
}
let res = window.window_event(
&mut self,
&event,
easy_imgui_window::EventFlags::empty(),
);
if res.window_closed {
event_loop.exit();
}
break;
}
}
fn new_events(&mut self, _event_loop: &ActiveEventLoop, _cause: winit::event::StartCause) {
@@ -77,3 +66,4 @@ impl ApplicationHandler for Chip8AppHandler {
}
}
*/