mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
converted cassette, pccard1 & pccard2 slots to use new MCFG macros [smf]
This commit is contained in:
parent
cc9b510f9c
commit
ad089448c1
@ -2014,9 +2014,6 @@ SLOT_INTERFACE_START( ksys573_ata_devices )
|
||||
SLOT_INTERFACE( "cr589", CR589 )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_empty )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cr589_config )
|
||||
MCFG_DEVICE_MODIFY( "cdda" )
|
||||
MCFG_SOUND_ROUTE( 0, "^^^^lspeaker", 1.0 )
|
||||
@ -2047,7 +2044,6 @@ static MACHINE_CONFIG_START( konami573, ksys573_state )
|
||||
MCFG_DEVICE_ADD( "maincpu:sio1:cassette", KONAMI573_CASSETTE_SLOT_SERIAL, 0 )
|
||||
|
||||
MCFG_DEVICE_ADD( "cassette", KONAMI573_CASSETTE_SLOT, 0 )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_empty, NULL, false )
|
||||
|
||||
// onboard flash
|
||||
MCFG_FUJITSU_29F016A_ADD( "29f016a.31m" )
|
||||
@ -2060,10 +2056,7 @@ static MACHINE_CONFIG_START( konami573, ksys573_state )
|
||||
MCFG_FUJITSU_29F016A_ADD( "29f016a.27h" )
|
||||
|
||||
MCFG_DEVICE_ADD( "pccard1", PCCARD_SLOT, 0 )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_empty, NULL, false )
|
||||
|
||||
MCFG_DEVICE_ADD( "pccard2", PCCARD_SLOT, 0 )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_empty, NULL, false )
|
||||
|
||||
MCFG_DEVICE_ADD( "flashbank", ADDRESS_MAP_BANK, 0 )
|
||||
MCFG_DEVICE_PROGRAM_MAP( flashbank_map )
|
||||
@ -2101,36 +2094,28 @@ static MACHINE_CONFIG_DERIVED( k573a, konami573 )
|
||||
MCFG_CPU_PROGRAM_MAP( konami573a_map )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_linflash16mb )
|
||||
SLOT_INTERFACE( "16mb", LINEAR_FLASH_PCCARD_16MB )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_linflash32mb )
|
||||
SLOT_INTERFACE( "32mb", LINEAR_FLASH_PCCARD_32MB )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_linflash64mb )
|
||||
SLOT_INTERFACE( "64mb", LINEAR_FLASH_PCCARD_64MB )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( pccard1_16mb )
|
||||
MCFG_DEVICE_MODIFY( "pccard1" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_linflash16mb, "16mb", false )
|
||||
MCFG_SLOT_OPTION_ADD( "16mb", LINEAR_FLASH_PCCARD_16MB )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "16mb" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( pccard1_32mb )
|
||||
MCFG_DEVICE_MODIFY( "pccard1" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_linflash32mb, "32mb", false )
|
||||
MCFG_SLOT_OPTION_ADD( "32mb", LINEAR_FLASH_PCCARD_32MB )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "32mb" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( pccard2_32mb )
|
||||
MCFG_DEVICE_MODIFY( "pccard2" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_linflash32mb, "32mb", false )
|
||||
MCFG_SLOT_OPTION_ADD( "32mb", LINEAR_FLASH_PCCARD_32MB )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "32mb" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( pccard2_64mb )
|
||||
MCFG_DEVICE_MODIFY( "pccard2" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_linflash64mb, "64mb", false )
|
||||
MCFG_SLOT_OPTION_ADD( "64mb", LINEAR_FLASH_PCCARD_64MB )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "64mb" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
// Security eeprom variants
|
||||
@ -2144,69 +2129,48 @@ MACHINE_CONFIG_END
|
||||
//
|
||||
// Up to two carts can be used
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassx )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_X )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassx )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassx, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_X )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassxi )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_XI )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassxi )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassxi, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_XI )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassy )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_Y )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassy )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassy, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_Y )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassyi )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_YI )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassyi )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassyi, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_YI )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassyyi )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_YI )
|
||||
SLOT_INTERFACE( "install", KONAMI573_CASSETTE_YI )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassyyi )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassyyi, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_YI )
|
||||
MCFG_SLOT_OPTION_ADD( "install", KONAMI573_CASSETTE_YI )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_casszi )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_ZI )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( casszi )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_casszi, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_ZI )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
SLOT_INTERFACE_START( slot_cassxzi )
|
||||
SLOT_INTERFACE( "game", KONAMI573_CASSETTE_ZI )
|
||||
SLOT_INTERFACE( "install", KONAMI573_CASSETTE_XI )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cassxzi )
|
||||
MCFG_DEVICE_MODIFY( "cassette" )
|
||||
MCFG_DEVICE_SLOT_INTERFACE( slot_cassxzi, "game", false )
|
||||
MCFG_SLOT_OPTION_ADD( "game", KONAMI573_CASSETTE_ZI )
|
||||
MCFG_SLOT_OPTION_ADD( "install", KONAMI573_CASSETTE_XI )
|
||||
MCFG_SLOT_DEFAULT_OPTION( "game" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
// Dance Dance Revolution
|
||||
|
Loading…
Reference in New Issue
Block a user