feat(bus): emu is now able to read from user-provided BIOS

This commit is contained in:
2022-01-02 03:16:03 -06:00
parent 65c3dd722c
commit e144261e07
4 changed files with 39 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ pub const Arm7tdmi = struct {
}
pub inline fn step(self: *@This()) u64 {
std.debug.print("PC: 0x{X:} ", .{self.r[15]});
const opcode = self.fetch();
std.debug.print("opcode: 0x{X:}\n", .{opcode}); // Debug