diff options
Diffstat (limited to 'lib/simulator.c')
-rw-r--r-- | lib/simulator.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/simulator.c b/lib/simulator.c index 4e77c6b..40c3431 100644 --- a/lib/simulator.c +++ b/lib/simulator.c @@ -402,7 +402,7 @@ void Debogueur(void) fprintf(stderr, "Opcode: %02X, extension: %02X, champ1: %02X, champ2: %02X, champ3: %02X\n", Opcode(instruction), Extension(instruction), Champ1(instruction), Champ2(instruction), Champ3(instruction)); - fprintf(stderr, "%08lX:%08lX > ", LireRegistrePC(), instruction); + fprintf(stderr, "%08lX:%08lX - %08lX - %08lX > ", LireRegistrePC(), instruction, LD(LireRegistrePC() + 1), LD(LireRegistrePC() + 2)); switch (fgetc(input)) { case 'G': @@ -457,10 +457,13 @@ void ChargeBinaire(char *filename) Uint32 entrypoint, nb, ns, nbss, nr, *relocation_table; int i; + sprintf(message, _("Opening file %s"), filename); + pushcontext(message); file = openfilereading(filename); if (readword(file) != 0x58454e4e) { /* verification de la signature */ exception(1, _("Invalid Signature")); } + popcontext(); sprintf(message, _("Loading file %s"), filename); pushcontext(message); |