diff --git a/include/cpu.h b/include/cpu.h index ca649584..f6f22814 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -19,20 +19,23 @@ #ifndef __CPU_H #define __CPU_H -#include -#include -#include +#include "dosbox.h" +#include "regs.h" +#include "mem.h" /* Some common Defines */ /* A CPU Handler */ -typedef Bitu (CPU_Decoder)(Bits count); +typedef Bitu (CPU_Decoder)(void); extern CPU_Decoder * cpudecoder; -extern Bitu cpu_cycles; + +/* CPU Cycle Timing */ +extern Bits CPU_Cycles; +extern Bits CPU_CycleLeft; +extern Bits CPU_CycleMax; //CPU Stuff void SetCPU16bit(); - //Types of Flag changing instructions enum { t_ADDb=0,t_ADDw,t_ADDd, @@ -63,9 +66,6 @@ enum { t_NOTDONE, }; -enum { rep_NONE,rep_Z,rep_NZ }; - - void Interrupt(Bit8u num); //Flag Handling