From b13285c877cedbb815dfe226115b5f7105dbf911 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 11 Sep 2009 11:29:19 +0000 Subject: [PATCH] 32x: initial code (security code passes) git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@772 be3aeb3a-fb24-0410-a615-afba39da0efa --- linux/Makefile | 4 +++- linux/port_config.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index 3ec56b9..e6a94a2 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -39,6 +39,8 @@ OBJS += pico/area.o pico/cart.o pico/memory.o pico/pico.o pico/sek.o \ OBJS += pico/cd/pico.o pico/cd/memory.o pico/cd/sek.o pico/cd/LC89510.o \ pico/cd/cd_sys.o pico/cd/cd_file.o pico/cd/cue.o pico/cd/gfx_cd.o \ pico/cd/area.o pico/cd/misc.o pico/cd/pcm.o pico/cd/buffering.o +# Pico - 32X +OBJS += pico/32x/32x.o pico/32x/memory.o # Pico - Pico OBJS += pico/pico/pico.o pico/pico/memory.o pico/pico/xpcm.o # Pico - sound @@ -81,7 +83,7 @@ CFLAGS += $(addprefix -D,$(DEFINES)) vpath %.c = ../.. DIRS = platform platform/gp2x platform/common pico pico/cd pico/pico pico/sound pico/carthw/svp \ - zlib unzip cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 + pico/32x zlib unzip cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 all: mkdirs PicoDrive clean: tidy diff --git a/linux/port_config.h b/linux/port_config.h index fc2e118..152d1a8 100644 --- a/linux/port_config.h +++ b/linux/port_config.h @@ -26,7 +26,7 @@ #define SIMPLE_WRITE_SOUND 0 #define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo -#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_UIO|EL_IDLE)//|EL_VDPDMA|EL_HVCNT|EL_ASVDP)//|EL_SVP) +#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_UIO|EL_IDLE|EL_32X)//|EL_VDPDMA|EL_HVCNT|EL_ASVDP)//|EL_SVP) // EL_VDPDMA|EL_ASVDP|EL_SR) // |EL_BUSREQ|EL_Z80BNK) //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__) -- 2.39.5