updated emulator to support importing .dsb binaries

This commit is contained in:
2025-06-22 03:52:11 +01:00
parent 7892c44d89
commit 808b51ff5f
3 changed files with 45 additions and 22 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ impl Interrupt {
// TODO: This should be TryFrom.
impl From<u8> for Interrupt {
#[allow(unreachable_code)]
fn from(_code: u8) -> Self {
fn from(code: u8) -> Self {
return Self::Software(code);
todo!("Implement this once a hardware interrupt convention is established.");
// Self::Software(_code)