This commit is contained in:
Eljakim Herrewijnen 2023-06-15 23:44:32 +02:00
parent 5b86c21c3a
commit 86e468b38b

View File

@ -321,9 +321,8 @@ if __name__ == "__main__":
# d2 = rcm.dev.read(0x200)
if d == b"GiAs":
ok("Device in GA debugger")
# rcm.memwrite_region(IMEM_START, b"\xaf" * 0x100)
data = rcm.memdump_region(IMEM_START, 0x1000)
data = rcm.memdump_region(IMEM_START, 0x1000)
rcm.memwrite_region(IMEM_START, b"\xaf" * 0x100)
data2 = rcm.memdump_region(IMEM_START, 0x1000)
hexdump(data)
else:
rcm.cmd_handler()