From 385a157ee97f08b698e008acd2b6e569f6d0b6c2 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 22 Dec 2007 20:25:17 +0000 Subject: [PATCH] SVP stubs git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@317 be3aeb3a-fb24-0410-a615-afba39da0efa --- linux/Makefile | 6 ++++-- linux/gp2x.c | 1 + linux/port_config.h | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index 870b1b3..66e44da 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -43,6 +43,8 @@ OBJS += Pico/cd/Pico.o Pico/cd/Memory.o Pico/cd/Sek.o Pico/cd/LC89510.o \ Pico/cd/Area.o Pico/cd/Misc.o Pico/cd/pcm.o Pico/cd/buffering.o # Pico - sound OBJS += Pico/sound/sound.o Pico/sound/sn76496.o Pico/sound/ym2612.o Pico/sound/mix.o +# Pico - carthw +OBJS += Pico/carthw/svp/svp.o Pico/carthw/svp/Memory.o # zlib OBJS += zlib/gzio.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o \ zlib/deflate.o zlib/crc32.o zlib/adler32.o zlib/zutil.o zlib/compress.o zlib/uncompr.o @@ -74,8 +76,8 @@ endif endif vpath %.c = ../.. -DIRS = platform platform/gp2x platform/common Pico Pico/cd Pico/sound zlib unzip \ - cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 +DIRS = platform platform/gp2x platform/common Pico Pico/cd Pico/sound Pico/carthw/svp \ + zlib unzip cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 all: mkdirs PicoDrive clean: tidy diff --git a/linux/gp2x.c b/linux/gp2x.c index b89990b..4a7c556 100644 --- a/linux/gp2x.c +++ b/linux/gp2x.c @@ -30,6 +30,7 @@ static const char *verstring = "PicoDrive " VERSION; // dummies char *ext_menu = 0, *ext_state = 0; +int mix_32_to_16l_level; /* gtk */ struct gtk_global_struct diff --git a/linux/port_config.h b/linux/port_config.h index 9af5d3d..2f897b9 100644 --- a/linux/port_config.h +++ b/linux/port_config.h @@ -12,7 +12,9 @@ // pico.c #define CAN_HANDLE_240_LINES 1 -#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_SRAMIO|EL_EEPROM) // EL_VDPDMA|EL_ASVDP|EL_SR) // |EL_BUSREQ|EL_Z80BNK) +#define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo + +#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_SRAMIO|EL_EEPROM|EL_UIO) // 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__) #define dprintf(x...) -- 2.39.5