feat: allow gdb writes to certain mem regions

This commit is contained in:
2023-01-29 07:03:46 -06:00
parent 6709f8c551
commit 755115660b
3 changed files with 101 additions and 55 deletions

View File

@@ -183,11 +183,7 @@ pub const EmuThing = struct {
}
pub fn write(self: *Self, addr: u32, value: u8) void {
_ = value;
_ = self;
_ = addr;
std.debug.panic("TODO: Implement Debug Writes?", .{});
self.cpu.bus.dbgWrite(u8, addr, value);
}
pub fn registers(self: *const Self) *[16]u32 {