diff options
author | Pixel <> | 2001-04-17 01:04:24 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-17 01:04:24 +0000 |
commit | 17d89e026ee39bd30f8604ab397708d9bceb2fbf (patch) | |
tree | 29e7053661656203ae56db7439de9b5c8de293b1 /lib/simulator.c | |
parent | 4f2aa7d436bb50cef3f9a551f79fa03ea275ab77 (diff) |
GRou
Diffstat (limited to 'lib/simulator.c')
-rw-r--r-- | lib/simulator.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/simulator.c b/lib/simulator.c index 61c96d5..4e77c6b 100644 --- a/lib/simulator.c +++ b/lib/simulator.c @@ -3,12 +3,7 @@ #include <string.h> #include <errno.h> -#ifdef HAVE_CONFIG_H #include "config.h" -#else -#define _(x) x -#endif - #include "alu.h" #include "simulator.h" #include "interne.h" @@ -93,6 +88,10 @@ void Initialisation(void) EcrireRegistreSP(ADD_SP); /* initialisation du stack pointer */ } +void Flush(void) { + FlushMemoire(); +} + void DecodeExec(Uint32 instruction) { Uint32 champ_registre_resultat, val1, val2, resultat; @@ -431,7 +430,7 @@ void Debogueur(void) } void Traitement(Uint32 entrypoint) -{ /* ******************** FIXMI ************************* */ +{ Uint32 instruction; while (HasToRun) { |