Skip to content

Commit

Permalink
Added ENABLE_M68881 option to config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Jul 19, 2023
1 parent 29fe3c8 commit 7414b9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Runner/Binutils/m68k.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@
#define m68040 0x010
#define m68060 0x020

// DIRK: WE TAKE OUT coprocessors for now
#define m68881 0x0
// DIRK: Make M68881 coprocessor optional
#ifdef ENABLE_M68881
#define m68881 0x040
#else
#define m68881 0x0
#endif

#define m68851 0x0
// #define m68881 0x040
// #define m68851 0x080

#define cpu32 0x100 /* e.g., 68332 */
#define fido_a 0x200
Expand Down
3 changes: 3 additions & 0 deletions Runner/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ static const bool PROFILE_DASM = false;
// Uncomment to check against M68K in Motorola syntax
#define MOTOROLA

// Uncomment to create M68881 compatible disassembler output
// #define ENABLE_M68881

// Uncomment to disable assertion checking
// #define NDEBUG
#include <assert.h>

0 comments on commit 7414b9e

Please sign in to comment.