updated emulator to support importing .dsb binaries
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user