From: Lauri Kasanen Date: Thu, 27 May 2021 12:43:27 +0000 (+0300) Subject: Print loads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9f8301644ce5555ddc4659b1913d96a66fba41f;p=kvm-minippc.git Print loads --- diff --git a/main.c b/main.c index 54b3465..a329e22 100644 --- 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();