sega/saturn.cpp: move stvcd into sega folder, bulk replace sat_cdrom -> cdrom i/f, hookup photo cd list
This commit is contained in:
parent
e7de95ae07
commit
3262f39d24
@ -23,7 +23,7 @@ http://redump.org/discs/system/photo-cd/
|
||||
|
||||
<software name="winsenna" supported="no">
|
||||
<!-- http://redump.org/disc/103998/ -->
|
||||
<description>Winning Run: Ayrton Senna: 20-nen no Kiseki</description>
|
||||
<description>Winning Run: Ayrton Senna: 20-nen no Kiseki (Japan)</description>
|
||||
<year>1995</year>
|
||||
<publisher><unknown></publisher>
|
||||
<info name="alt_title" value="WINNING RUN アイルトン・セナ 20年の軌跡" />
|
||||
|
5050
hash/saturn.xml
5050
hash/saturn.xml
File diff suppressed because it is too large
Load Diff
@ -3440,18 +3440,6 @@ if (MACHINES["SPG290"]~=null) then
|
||||
}
|
||||
end
|
||||
|
||||
---------------------------------------------------
|
||||
--
|
||||
--@src/devices/machine/stvcd.h,MACHINES["STVCD"] = true
|
||||
---------------------------------------------------
|
||||
|
||||
if (MACHINES["STVCD"]~=null) then
|
||||
files {
|
||||
MAME_DIR .. "src/devices/machine/stvcd.cpp",
|
||||
MAME_DIR .. "src/devices/machine/stvcd.h",
|
||||
}
|
||||
end
|
||||
|
||||
---------------------------------------------------
|
||||
--
|
||||
--@src/devices/machine/swtpc8212.h,MACHINES["SWTPC8212"] = true
|
||||
|
@ -425,12 +425,13 @@ test1f diagnostic hacks:
|
||||
#include "emu.h"
|
||||
#include "saturn.h"
|
||||
|
||||
#include "saturn_cdb.h"
|
||||
#include "stvcd.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/scudsp/scudsp.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/smpc.h"
|
||||
#include "machine/stvcd.h"
|
||||
#include "saturn_cdb.h"
|
||||
|
||||
#include "bus/saturn/bram.h"
|
||||
#include "bus/saturn/dram.h"
|
||||
@ -899,6 +900,7 @@ void sat_console_state::saturnus(machine_config &config)
|
||||
SATURN_CDB(config, "saturn_cdb", 16000000);
|
||||
|
||||
SOFTWARE_LIST(config, "cd_list").set_original("saturn").set_filter("NTSC-U");
|
||||
SOFTWARE_LIST(config, "photocd_list").set_compatible("photo_cd");
|
||||
|
||||
SATURN_CART_SLOT(config, "exp", saturn_cart, nullptr);
|
||||
SOFTWARE_LIST(config, "cart_list").set_original("sat_cart");
|
||||
@ -912,6 +914,7 @@ void sat_console_state::saturneu(machine_config &config)
|
||||
SATURN_CDB(config, "saturn_cdb", 16000000);
|
||||
|
||||
SOFTWARE_LIST(config, "cd_list").set_original("saturn").set_filter("PAL");
|
||||
SOFTWARE_LIST(config, "photocd_list").set_compatible("photo_cd");
|
||||
|
||||
SATURN_CART_SLOT(config, "exp", saturn_cart, nullptr);
|
||||
SOFTWARE_LIST(config, "cart_list").set_original("sat_cart");
|
||||
@ -925,6 +928,7 @@ void sat_console_state::saturnjp(machine_config &config)
|
||||
SATURN_CDB(config, "saturn_cdb", 16000000);
|
||||
|
||||
SOFTWARE_LIST(config, "cd_list").set_original("saturn").set_filter("NTSC-J");
|
||||
SOFTWARE_LIST(config, "photocd_list").set_compatible("photo_cd");
|
||||
|
||||
SATURN_CART_SLOT(config, "exp", saturn_cart, nullptr);
|
||||
SOFTWARE_LIST(config, "cart_list").set_original("sat_cart");
|
||||
|
@ -43,11 +43,12 @@
|
||||
#include "emu.h"
|
||||
#include "stv.h"
|
||||
|
||||
#include "stvcd.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/scudsp/scudsp.h"
|
||||
#include "cpu/sh/sh7604.h"
|
||||
#include "machine/smpc.h"
|
||||
#include "machine/stvcd.h"
|
||||
#include "sound/scsp.h"
|
||||
|
||||
#include "softlist.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Angelo Salese, R. Belmont
|
||||
/***************************************************************************
|
||||
|
||||
machine/stvcd.cpp - Sega Saturn and ST-V CD-ROM handling
|
||||
sega/stvcd.cpp - Sega Saturn and ST-V CD-ROM handling
|
||||
|
||||
Another tilt at the windmill in 2011 by R. Belmont.
|
||||
|
||||
@ -114,7 +114,7 @@ stvcd_device::stvcd_device(const machine_config &mconfig, const char *tag, devic
|
||||
|
||||
void stvcd_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
CDROM(config, "cdrom").set_interface("sat_cdrom");
|
||||
CDROM(config, "cdrom").set_interface("cdrom");
|
||||
|
||||
TIMER(config, m_sector_timer).configure_generic(FUNC(stvcd_device::stv_sector_cb));
|
||||
TIMER(config, m_sh1_timer).configure_generic(FUNC(stvcd_device::stv_sh1_sim));
|
Loading…
Reference in New Issue
Block a user