diff options
author | Pixel <> | 2001-04-16 20:40:13 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-16 20:40:13 +0000 |
commit | 85155ff54ba94f8ac40e267f83435284e88b866c (patch) | |
tree | 26e8ba119f6e5af7cbdf40cf8382becbc1affefd /include | |
parent | 4b6921b966481ff28c919ca0e0fb345e601a9a74 (diff) |
Prout
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 2 | ||||
-rw-r--r-- | include/simulator.h | 9 | ||||
-rw-r--r-- | include/terminal.h | 12 |
3 files changed, 15 insertions, 8 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index da89ffc..579a87a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1 +1 @@ -include_HEADERS = alu.h simulator.h assembler.h exceptions.h fpu.h hash.h interne.h memoire.h meta.h numbers.h parser.h registre.h types.h linker.h +include_HEADERS = alu.h simulator.h assembler.h exceptions.h fpu.h hash.h interne.h memoire.h meta.h numbers.h parser.h registre.h types.h linker.h terminal.h diff --git a/include/simulator.h b/include/simulator.h index fee37cc..ba8c7d1 100644 --- a/include/simulator.h +++ b/include/simulator.h @@ -15,14 +15,9 @@ extern Uint32 memoire_principale[TAILLE_MEMOIRE]; extern Uint32 registre[NB_REGISTRES_PHYSIQUES]; /* Registres classiques */ -Uint32 LireInstruction(void); -void IncrementeCompteurOrdinal(void); -Uint32 Adresse(Uint32 u, Uint32 instruction); +extern int debug; + void Initialisation(void); -void DecodeExec(Uint32 instruction, Uint32 entrypoint); -void Traitement(Uint32 entrypoint); -void AfficheReg(void); -void Debogueur(void); void ChargeBinaire(char * filename); #endif
\ No newline at end of file diff --git a/include/terminal.h b/include/terminal.h new file mode 100644 index 0000000..ed65f71 --- /dev/null +++ b/include/terminal.h @@ -0,0 +1,12 @@ +#ifndef __TERMINAL_H__ +#define __TERMINAL_H__ +#include <stdio.h> + +extern FILE * input; +extern struct termios initial_settings, new_settings; + +openterm(); +clearterm(); +initterm(); + +#endif
\ No newline at end of file |