projects
/
kvm-minippc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c846bc
)
Print loads
author
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 12:43:27 +0000
(15:43 +0300)
committer
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 12:43:27 +0000
(15:43 +0300)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 54b34659551d86672fbbc6fbbf2fba87c58a2459..a329e22f2e0256e5879768e84a8042d0ccf0b0eb 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-185,6
+185,8
@@
static void load(const char arg[], uint8_t *ram) {
exit(1);
}
+ printf("Loading %s to 0x%x, %u bytes\n", name, addr, len);
+
if (fread(&ram[addr], len, 1, f) != 1)
abort();