\r
typedef struct\r
{\r
- UINT32 r[16];\r
- UINT32 ppc;\r
- UINT32 pc;\r
- UINT32 pr;\r
- UINT32 sr;\r
- UINT32 gbr, vbr;\r
- UINT32 mach, macl;\r
+ unsigned int r[16];\r
+ unsigned int ppc;\r
+ unsigned int pc;\r
+ unsigned int pr;\r
+ unsigned int sr;\r
+ unsigned int gbr, vbr;\r
+ unsigned int mach, macl;\r
\r
- UINT32 ea;\r
- UINT32 delay;\r
- UINT32 test_irq;\r
+ unsigned int ea;\r
+ unsigned int delay;\r
+ unsigned int test_irq;\r
\r
int pending_irl;\r
int pending_int_irq; // internal irq\r
void (*irq_callback)(int id, int level);\r
int is_slave;\r
\r
- UINT32 cycles_aim; // subtract sh2_icount to get global counter\r
+ unsigned int cycles_aim; // subtract sh2_icount to get global counter\r
} SH2;\r
\r
SH2 *sh2; // active sh2\r
amalgamate = 0\r
#profile = 1\r
#use_musashi = 1\r
+use_sh2mame = 1\r
#up = 1\r
\r
\r
DEFINC += -D_USE_DRZ80\r
OBJS += cpu/DrZ80/drz80.o\r
endif\r
+ifeq "$(use_sh2mame)" "1"\r
+OBJS += cpu/sh2mame/sh2pico.o\r
+else\r
+endif\r
\r
vpath %.c = ../..\r
vpath %.s = ../..\r
\r
DIRS = platform platform/gp2x platform/linux platform/common pico pico/cd pico/pico pico/32x \\r
pico/sound pico/carthw/svp zlib unzip cpu cpu/musashi cpu/Cyclone/proj cpu/Cyclone/tools \\r
- cpu/mz80 cpu/DrZ80\r
+ cpu/mz80 cpu/DrZ80 cpu/sh2mame\r
\r
\r
all: mkdirs PicoDrive\r
-#define VERSION "1.56"\r
+#define VERSION "1.70"\r
\r