rename cd/pico.c -> cd/mcd.c

This commit is contained in:
notaz 2013-08-28 02:21:57 +03:00
parent 08769494e8
commit 89dbbf2b2f
7 changed files with 10 additions and 8 deletions

View file

@ -183,7 +183,7 @@ pico/cd/gfx_cd.o: CFLAGS += -fno-strict-aliasing
pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c
cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c
cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c
pico/pico.o pico/cd/pico.o pico/32x/32x.o : pico/pico_cmn.c pico/pico_int.h pico/pico.o pico/cd/mcd.o pico/32x/32x.o : pico/pico_cmn.c pico/pico_int.h
pico/memory.o pico/cd/memory.o : pico/pico_int.h pico/memory.h pico/memory.o pico/cd/memory.o : pico/pico_int.h pico/memory.h
cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h

View file

@ -99,7 +99,7 @@ typedef enum { PI_ROM, PI_ISPAL, PI_IS40_CELL, PI_IS240_LINES } pint_t;
typedef union { int vint; void *vptr; } pint_ret_t; typedef union { int vint; void *vptr; } pint_ret_t;
void PicoGetInternal(pint_t which, pint_ret_t *ret); void PicoGetInternal(pint_t which, pint_ret_t *ret);
// cd/Pico.c // cd/mcd.c
extern void (*PicoMCDopenTray)(void); extern void (*PicoMCDopenTray)(void);
extern void (*PicoMCDcloseTray)(void); extern void (*PicoMCDcloseTray)(void);
extern int PicoCDBuffers; extern int PicoCDBuffers;

View file

@ -1,6 +1,6 @@
/* /*
* common code for pico.c and cd/pico.c * common code for base/cd/32x
* (C) notaz, 2007-2009 * (C) notaz, 2007-2009,2013
* *
* This work is licensed under the terms of MAME license. * This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory. * See COPYING file in the top-level directory.

View file

@ -607,7 +607,7 @@ PICO_INTERNAL int CheckDMA(void);
PICO_INTERNAL void PicoDetectRegion(void); PICO_INTERNAL void PicoDetectRegion(void);
PICO_INTERNAL void PicoSyncZ80(unsigned int m68k_cycles_done); PICO_INTERNAL void PicoSyncZ80(unsigned int m68k_cycles_done);
// cd/pico.c // cd/mcd.c
#define PCDS_IEN1 (1<<1) #define PCDS_IEN1 (1<<1)
#define PCDS_IEN2 (1<<2) #define PCDS_IEN2 (1<<2)
#define PCDS_IEN3 (1<<3) #define PCDS_IEN3 (1<<3)

View file

@ -63,7 +63,7 @@ SRCS_COMMON += $(R)pico/cd/misc_arm.s
endif endif
ifeq "$(asm_cdpico)" "1" ifeq "$(asm_cdpico)" "1"
DEFINES += _ASM_CD_PICO_C DEFINES += _ASM_CD_PICO_C
SRCS_COMMON += $(R)pico/cd/pico_arm.s SRCS_COMMON += $(R)pico/cd/mcd_arm.s
endif endif
ifeq "$(asm_cdmemory)" "1" ifeq "$(asm_cdmemory)" "1"
DEFINES += _ASM_CD_MEMORY_C DEFINES += _ASM_CD_MEMORY_C
@ -92,7 +92,7 @@ else
DEFINES += NO_SMS DEFINES += NO_SMS
endif endif
# CD # CD
SRCS_COMMON += $(R)pico/cd/pico.c $(R)pico/cd/memory.c $(R)pico/cd/sek.c \ SRCS_COMMON += $(R)pico/cd/mcd.c $(R)pico/cd/memory.c $(R)pico/cd/sek.c \
$(R)pico/cd/LC89510.c $(R)pico/cd/cd_sys.c $(R)pico/cd/cd_file.c \ $(R)pico/cd/LC89510.c $(R)pico/cd/cd_sys.c $(R)pico/cd/cd_file.c \
$(R)pico/cd/cue.c $(R)pico/cd/gfx_cd.c $(R)pico/cd/misc.c \ $(R)pico/cd/cue.c $(R)pico/cd/gfx_cd.c $(R)pico/cd/misc.c \
$(R)pico/cd/pcm.c $(R)pico/cd/buffering.c $(R)pico/cd/pcm.c $(R)pico/cd/buffering.c
@ -184,10 +184,12 @@ $(FR)cpu/cyclone/Cyclone.h:
@echo "Cyclone submodule is missing, please run 'git submodule update --init'" @echo "Cyclone submodule is missing, please run 'git submodule update --init'"
@false @false
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone_config.h
@echo building Cyclone... @echo building Cyclone...
@make -C $(R)cpu/cyclone/ CONFIG_FILE=../cyclone_config.h @make -C $(R)cpu/cyclone/ CONFIG_FILE=../cyclone_config.h
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h
$(FR)cpu/musashi/m68kops.c: $(FR)cpu/musashi/m68kops.c:
@make -C $(R)cpu/musashi @make -C $(R)cpu/musashi