Skip to content

Commit

Permalink
Fixed MOTOROLA style (last build was broken)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Jul 19, 2023
1 parent 7ce83a6 commit 29fe3c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Runner/Binutils/m68k-dis.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ void floatformat_to_double(const struct floatformat* fmt, const void* from, doub

// #define MOTOROLA 1
// #define TARGET_AMIGA 1
#ifdef MOTOROLA
#define TARGET_AMIGA 1
#endif

#ifdef MOTOROLA
/* print as signed decimal. */
Expand Down
4 changes: 2 additions & 2 deletions Runner/Binutils/m68k.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
#define m68060 0x020

// DIRK: WE TAKE OUT coprocessors for now
// #define m68881 0x0
#define m68881 0x0
#define m68851 0x0
#define m68881 0x040
// #define m68881 0x040
// #define m68851 0x080

#define cpu32 0x100 /* e.g., 68332 */
Expand Down
2 changes: 1 addition & 1 deletion Runner/Testrunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Randomizer randomizer;
u8 musashiMem[0x10000];
u8 moiraMem[0x10000];
u32 musashiFC = 0;
moira::Model cpuModel = M68010;
moira::Model cpuModel = M68000;
u16 opcode = 0;

// Binutils
Expand Down

0 comments on commit 29fe3c8

Please sign in to comment.