diff options
author | Pixel <> | 2001-04-17 03:20:16 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-17 03:20:16 +0000 |
commit | a856126fe7e965bc80d17690732ee58343a655d3 (patch) | |
tree | 5464a45d4ef03e2efdcc7788de31226832a0a45c /lib/simulator.c | |
parent | f12eda64018215310e5d563ebaf9fe4d46db24ff (diff) |
Pouearf
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); |