added files to Makefile and fixed resulting errors
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@243
This commit is contained in:
parent
ea01ca6a8d
commit
80ac7ce34a
3 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
|
||||
noinst_LIBRARIES = libfpu.a
|
||||
libfpu_a_SOURCES = fpu.cpp fpu_load.h
|
||||
libfpu_a_SOURCES = fpu.cpp fpu_flags.cpp fpu_types.h fpu_instructions.h
|
|
@ -19,8 +19,8 @@
|
|||
#include "dosbox.h"
|
||||
#include "fpu.h"
|
||||
#include "pic.h"
|
||||
|
||||
//extern FPU_Flag_Info fpu_flags;
|
||||
#include "fpu_types.h"
|
||||
extern FPU_Flag_Info fpu_flags;
|
||||
|
||||
bool FPU_get_C3() {
|
||||
switch(fpu_flags.type) {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
|
||||
enum { FPUREG_VALID=0, FPUREG_ZERO, FPUREG_PNAN, FPUREG_NNAN, FPUREG_EMPTY };
|
||||
|
||||
enum {
|
||||
|
@ -6,12 +7,12 @@ enum {
|
|||
t_FDIVP, t_FCHS, t_FCOMP,
|
||||
|
||||
t_FUNKNOWN,
|
||||
t_FNOTDONE,
|
||||
t_FNOTDONE
|
||||
};
|
||||
|
||||
struct FPU_Flag_Info {
|
||||
struct {
|
||||
Real r;
|
||||
Real64 r;
|
||||
Bit8u tag;
|
||||
} var1,var2, result;
|
||||
struct {
|
||||
|
@ -27,6 +28,6 @@ struct FPU_Flag_Info {
|
|||
};
|
||||
|
||||
struct FPU_Reg {
|
||||
Real r;
|
||||
Real64 r;
|
||||
Bit8u tag;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue