Fix wrong write destination offset for RAM dump

The memory dump script didn't align the emulated physical memory space
correctly with the dumped memory counterpart. That's fixed now.
This commit is contained in:
Eric-Paul Ickhorn 2024-08-30 03:50:41 +02:00
parent 8703a97059
commit 8127c67d30
Signed by: epickh
GPG Key ID: 1358818BAA38B104
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ echo "dump memory upper.bin 0xc0000 0x400000" | gdb --core=memory.dump -q
truncate memory.bin --size 64M
dd if=lower.bin of=memory.bin
dd if=upper.bin of=memory.bin seek=131072
dd if=upper.bin of=memory.bin seek=1536
rm lower.bin
rm upper.bin