clang-modernize part 4

This commit is contained in:
Miodrag Milanovic 2015-12-04 07:03:38 +01:00
parent 0c56ac848d
commit 41681c1703
842 changed files with 4107 additions and 4107 deletions

View File

@ -133,7 +133,7 @@ const char *const lrescue_sample_names[] =
"shootingstar",
"stepl",
"steph",
0
nullptr
};
WRITE8_MEMBER(_8080bw_state::lrescue_sh_port_1_w)
@ -1054,7 +1054,7 @@ const char *const lupin3_sample_names[] =
"warp", /* translocate, deposit money */
"extend", /* bonus man */
"kick", /* lands on top of building, wife kicks man */
0
nullptr
};
WRITE8_MEMBER( _8080bw_state::lupin3_00_w )

View File

@ -135,7 +135,7 @@ static const char *const astrof_sample_names[] =
"death",
"bosshit",
"bosskill",
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( astrof_audio )

View File

@ -433,11 +433,11 @@ atari_jsa_oki_base_device::atari_jsa_oki_base_device(const machine_config &mconf
READ8_MEMBER( atari_jsa_oki_base_device::oki_r )
{
// JSA IIIs selects the 2nd OKI via the low bit, so select it
if (m_oki2 != NULL && offset == 1)
if (m_oki2 != nullptr && offset == 1)
return m_oki2->read(space, offset);
// OKI may not be populated at all
else if (m_oki1 != NULL)
else if (m_oki1 != nullptr)
return m_oki1->read(space, offset);
// if not present, return all 0xff
@ -453,11 +453,11 @@ READ8_MEMBER( atari_jsa_oki_base_device::oki_r )
WRITE8_MEMBER( atari_jsa_oki_base_device::oki_w )
{
// JSA IIIs selects the 2nd OKI via the low bit, so select it
if (m_oki2 != NULL && offset == 1)
if (m_oki2 != nullptr && offset == 1)
m_oki2->write(space, offset, data);
// OKI may not be populated at all
else if (m_oki1 != NULL)
else if (m_oki1 != nullptr)
m_oki1->write(space, offset, data);
}
@ -487,7 +487,7 @@ WRITE8_MEMBER( atari_jsa_oki_base_device::wrio_w )
coin_counter_w(space.machine(), 0, (data >> 4) & 1);
// update the OKI frequency
if (m_oki1 != NULL)
if (m_oki1 != nullptr)
{
m_oki1->set_pin7(data & 8);
if ((data & 4) == 0)
@ -495,7 +495,7 @@ WRITE8_MEMBER( atari_jsa_oki_base_device::wrio_w )
}
// same for the 2nd OKI (JSA IIIs only)
if (m_oki2 != NULL)
if (m_oki2 != nullptr)
{
m_oki2->set_pin7(data & 8);
if ((data & 4) == 0)
@ -503,7 +503,7 @@ WRITE8_MEMBER( atari_jsa_oki_base_device::wrio_w )
}
// update the (left) OKI bank (JSA III/IIIs only)
if (m_oki1_banklo != NULL)
if (m_oki1_banklo != nullptr)
m_oki1_banklo->set_entry((m_oki1_banklo->entry() & 2) | ((data >> 1) & 1));
// reset the YM2151 if needed
@ -528,11 +528,11 @@ WRITE8_MEMBER( atari_jsa_oki_base_device::mix_w )
//
// update the right OKI bank (JSA IIIs only)
if (m_oki2_banklo != NULL)
if (m_oki2_banklo != nullptr)
m_oki2_banklo->set_entry((data >> 6) & 3);
// update the (left) OKI bank (JSA III/IIIs only)
if (m_oki1_banklo != NULL)
if (m_oki1_banklo != nullptr)
m_oki1_banklo->set_entry((m_oki1_banklo->entry() & 1) | ((data >> 3) & 2));
// update the volumes
@ -568,7 +568,7 @@ void atari_jsa_oki_base_device::device_start()
save_item(NAME(m_overall_volume));
// configure JSA III ADPCM banking
if (m_oki1_banklo != NULL && m_oki1_bankhi != NULL && m_oki1->region()->bytes() >= 0x80000)
if (m_oki1_banklo != nullptr && m_oki1_bankhi != nullptr && m_oki1->region()->bytes() >= 0x80000)
{
m_oki1_banklo->configure_entries(0, 2, m_oki1->region()->base() + 0x00000, 0x00000);
m_oki1_banklo->configure_entries(2, 2, m_oki1->region()->base() + 0x20000, 0x20000);
@ -576,7 +576,7 @@ void atari_jsa_oki_base_device::device_start()
}
// configure JSA IIIs ADPCM banking
if (m_oki2_banklo != NULL && m_oki2_bankhi != NULL && m_oki2->region()->bytes() >= 0x80000)
if (m_oki2_banklo != nullptr && m_oki2_bankhi != nullptr && m_oki2->region()->bytes() >= 0x80000)
{
m_oki2_banklo->configure_entries(0, 2, m_oki2->region()->base() + 0x00000, 0x00000);
m_oki2_banklo->configure_entries(2, 2, m_oki2->region()->base() + 0x20000, 0x20000);
@ -608,9 +608,9 @@ void atari_jsa_oki_base_device::device_reset()
void atari_jsa_oki_base_device::update_all_volumes()
{
if (m_oki1 != NULL)
if (m_oki1 != nullptr)
m_oki1->set_output_gain(ALL_OUTPUTS, m_overall_volume * m_oki6295_volume * m_ym2151_ct1);
if (m_oki2 != NULL)
if (m_oki2 != nullptr)
m_oki2->set_output_gain(ALL_OUTPUTS, m_overall_volume * m_oki6295_volume * m_ym2151_ct1);
m_ym2151->set_output_gain(ALL_OUTPUTS, m_overall_volume * m_ym2151_volume);
}
@ -657,7 +657,7 @@ READ8_MEMBER( atari_jsa_i_device::rdio_r )
UINT8 result = m_jsai->read();
if (!m_test_read_cb())
result ^= 0x80;
if (m_tms5220 != NULL && m_tms5220->readyq_r() == 0)
if (m_tms5220 != nullptr && m_tms5220->readyq_r() == 0)
result |= 0x10;
else
result &= ~0x10;
@ -691,7 +691,7 @@ WRITE8_MEMBER( atari_jsa_i_device::wrio_w )
coin_counter_w(machine(), 0, (data >> 4) & 1);
// handle TMS5220 I/O
if (m_tms5220 != NULL)
if (m_tms5220 != nullptr)
{
int count = 5 | ((data >> 2) & 2);
m_tms5220->set_frequency(JSA_MASTER_CLOCK*2 / (16 - count));
@ -733,7 +733,7 @@ WRITE8_MEMBER( atari_jsa_i_device::mix_w )
WRITE8_MEMBER( atari_jsa_i_device::tms5220_voice )
{
if (m_tms5220 != NULL)
if (m_tms5220 != nullptr)
m_tms5220->data_w(space, 0, data);
}
@ -745,7 +745,7 @@ WRITE8_MEMBER( atari_jsa_i_device::tms5220_voice )
READ8_MEMBER( atari_jsa_i_device::pokey_r )
{
if (m_pokey != NULL)
if (m_pokey != nullptr)
return m_pokey->read(space, offset);
return 0xff;
}
@ -758,7 +758,7 @@ READ8_MEMBER( atari_jsa_i_device::pokey_r )
WRITE8_MEMBER( atari_jsa_i_device::pokey_w )
{
if (m_pokey != NULL)
if (m_pokey != nullptr)
m_pokey->write(space, offset, data);
}
@ -823,9 +823,9 @@ void atari_jsa_i_device::device_reset()
void atari_jsa_i_device::update_all_volumes()
{
if (m_tms5220 != NULL)
if (m_tms5220 != nullptr)
m_tms5220->set_output_gain(ALL_OUTPUTS, m_tms5220_volume * m_ym2151_ct1);
if (m_pokey != NULL)
if (m_pokey != nullptr)
m_pokey->set_output_gain(ALL_OUTPUTS, m_pokey_volume * m_ym2151_ct1);
m_ym2151->set_output_gain(ALL_OUTPUTS, m_ym2151_volume);
}

View File

@ -83,7 +83,7 @@ beezer_sound_device::beezer_sound_device(const machine_config &mconfig, const ch
m_sh6840_latchwriteold(0),
m_sh6840_noiselatch1(0),
m_sh6840_noiselatch3(0),
m_stream(NULL)/*,
m_stream(nullptr)/*,
m_freq_to_step(0)*/
{
memset(m_sh6840_timer, 0, sizeof(m_sh6840_timer));

View File

@ -61,5 +61,5 @@ const char *const blockade_sample_names[] =
{
"*blockade",
"boom",
0
nullptr
};

View File

@ -317,7 +317,7 @@ static DISCRETE_SOUND_START(bzone)
BZ_R12, BZ_R13, BZ_R14, BZ_R15, BZ_R32,
BZ_C21,
22, /* B+ of op-amp */
NULL)
nullptr)
/************************************************/
/* Explosion */
@ -331,7 +331,7 @@ static DISCRETE_SOUND_START(bzone)
BZ_R19, BZ_R18, BZ_R17, BZ_R16, BZ_R33,
BZ_C22,
22, /* B+ of op-amp */
NULL)
nullptr)
/************************************************/
/* Engine */
/************************************************/

View File

@ -56,45 +56,45 @@
static const char *const register_names[] =
{
"TMS32031-DMA global control", NULL, NULL, NULL,
"TMS32031-DMA source address", NULL, "TMS32031-DMA destination address", NULL,
"TMS32031-DMA transfer counter", NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
"TMS32031-DMA global control", nullptr, nullptr, nullptr,
"TMS32031-DMA source address", nullptr, "TMS32031-DMA destination address", nullptr,
"TMS32031-DMA transfer counter", nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
"TMS32031-Timer 0 global control", NULL, NULL, NULL,
"TMS32031-Timer 0 counter", NULL, NULL, NULL,
"TMS32031-Timer 0 period", NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
"TMS32031-Timer 0 global control", nullptr, nullptr, nullptr,
"TMS32031-Timer 0 counter", nullptr, nullptr, nullptr,
"TMS32031-Timer 0 period", nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
"TMS32031-Timer 1 global control", NULL, NULL, NULL,
"TMS32031-Timer 1 counter", NULL, NULL, NULL,
"TMS32031-Timer 1 period", NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
"TMS32031-Timer 1 global control", nullptr, nullptr, nullptr,
"TMS32031-Timer 1 counter", nullptr, nullptr, nullptr,
"TMS32031-Timer 1 period", nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
"TMS32031-Serial port global control", NULL, "TMS32031-Serial port TX control", "TMS32031-Serial port RX control",
"TMS32031-Serial port timer control", "TMS32031-Serial port timer counter", "TMS32031-Serial port timer period", NULL,
"TMS32031-Serial port data TX", NULL, NULL, NULL,
"TMS32031-Serial port data RX", NULL, NULL, NULL,
"TMS32031-Serial port global control", nullptr, "TMS32031-Serial port TX control", "TMS32031-Serial port RX control",
"TMS32031-Serial port timer control", "TMS32031-Serial port timer counter", "TMS32031-Serial port timer period", nullptr,
"TMS32031-Serial port data TX", nullptr, nullptr, nullptr,
"TMS32031-Serial port data RX", nullptr, nullptr, nullptr,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
NULL, NULL, NULL, NULL,
"TMS32031-Primary bus control", NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
nullptr, nullptr, nullptr, nullptr,
"TMS32031-Primary bus control", nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr
};

View File

@ -92,7 +92,7 @@ static const char *const carnival_sample_names[] =
"pipehit",
"ranking",
"rifle",
0
nullptr
};
/* sample IDs - must match sample file name table above */

View File

@ -45,7 +45,7 @@ const device_type CCLIMBER_AUDIO = &device_creator<cclimber_audio_device>;
cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CCLIMBER_AUDIO, "Crazy Climber Sound Board", tag, owner, clock, "cclimber_audio", __FILE__),
m_sample_buf(NULL),
m_sample_buf(nullptr),
m_sample_num(0),
m_sample_freq(0),
m_sample_volume(0),

View File

@ -11,7 +11,7 @@ const device_type CHANNELF_SOUND = &device_creator<channelf_sound_device>;
channelf_sound_device::channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock, "channelf_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_channel(nullptr),
m_sound_mode(0),
m_incr(0),
m_decay_mult(0),

View File

@ -126,7 +126,7 @@ static const char *const spacewar_sample_names[] =
"pop",
"explode2",
"fire2",
0
nullptr
};
void cinemat_state::spacewar_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -198,7 +198,7 @@ static const char *const barrier_sample_names[] =
"playrdie",
"playmove",
"enemmove",
0
nullptr
};
void cinemat_state::barrier_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -244,7 +244,7 @@ static const char *const speedfrk_sample_names[] =
{
"*speedfrk",
"offroad",
NULL
nullptr
};
void cinemat_state::speedfrk_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -302,7 +302,7 @@ static const char *const starhawk_sample_names[] =
"k",
"master",
"kexit",
NULL
nullptr
};
void cinemat_state::starhawk_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -371,7 +371,7 @@ static const char *const sundance_sample_names[] =
"ping1",
"ping2",
"hatch",
0
nullptr
};
void cinemat_state::sundance_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -434,7 +434,7 @@ static const char *const tailg_sample_names[] =
"shield",
"bounce",
"hypersp",
NULL
nullptr
};
void cinemat_state::tailg_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -515,7 +515,7 @@ static const char *const warrior_sample_names[] =
"killed",
"fall",
"appear",
NULL
nullptr
};
void cinemat_state::warrior_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -579,7 +579,7 @@ static const char *const armora_sample_names[] =
"tankeng",
"beep",
"chopper",
NULL
nullptr
};
void cinemat_state::armora_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -673,7 +673,7 @@ static const char *const ripoff_sample_names[] =
"bg6",
"bg7",
"bg8",
NULL
nullptr
};
void cinemat_state::ripoff_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -753,7 +753,7 @@ static const char *const starcas_sample_names[] =
"lexplode",
"sexplode",
"pfire",
0
nullptr
};
void cinemat_state::starcas_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -860,7 +860,7 @@ static const char *const solarq_sample_names[] =
"nuke2",
"nuke1",
"music",
NULL
nullptr
};
void cinemat_state::solarq_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -992,7 +992,7 @@ static const char *const boxingb_sample_names[] =
"cannon",
"bounce",
"bell",
NULL
nullptr
};
void cinemat_state::boxingb_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -1116,7 +1116,7 @@ static const char *const wotw_sample_names[] =
"lexplode",
"sexplode",
"pfire",
0
nullptr
};
void cinemat_state::wotw_sound_w(UINT8 sound_val, UINT8 bits_changed)
@ -1303,7 +1303,7 @@ ADDRESS_MAP_END
static const z80_daisy_config daisy_chain[] =
{
{ "ctc" },
{ NULL }
{ nullptr }
};

View File

@ -10,14 +10,14 @@ const char *const circus_sample_names[] =
"pop",
"miss",
"bounce",
0
nullptr
};
const char *const crash_sample_names[] =
{
"*crash",
"crash",
0
nullptr
};
const char *const ripcord_sample_names[] =
@ -27,7 +27,7 @@ const char *const ripcord_sample_names[] =
"scream",
"chute",
"whistle",
0
nullptr
};
const char *const robotbwl_sample_names[] =
@ -38,7 +38,7 @@ const char *const robotbwl_sample_names[] =
"balldrop",
"demerit",
"reward",
0
nullptr
};

View File

@ -628,7 +628,7 @@ DISCRETE_SOUND_START(copsnrob)
************************************************/
DISCRETE_CUSTOM1(COPSNROB_NOISE_1, copsnrob_custom_noise, /* IC J2, pin 10 */
COPSNROB_2V, /* CLK */
NULL)
nullptr)
/* COPSNROB_NOISE_2 derived from sub out of above custom module - IC J2, pin 11 */
/* We use the measured 555 timer frequency (IC M3) for speed */
DISCRETE_COUNTER(NODE_40, /* IC L2 */
@ -656,12 +656,12 @@ DISCRETE_SOUND_START(copsnrob)
/* We can ignore R47 & R48 */
COPSNROB_ZINGS_INV, /* IC D3, pin 6 */
COPSNROB_R38, COPSNROB_C19,
NULL)
nullptr)
DISCRETE_CUSTOM5(NODE_61, copsnrob_zings_555_astable, /* IC D3, pin 8 & 12 */
NODE_60, /* IC D3, pin 10 */
COPSNROB_R36, COPSNROB_R37,
COPSNROB_C3, COPSNROB_C13,
NULL)
nullptr)
/* FIX - do a better implemetation of IC L4 */
DISCRETE_CRFILTER_VREF(NODE_62, /* IC L4, pin 9 */
NODE_61, /* IN0 */

View File

@ -25,9 +25,9 @@ const device_type CPS3 = &device_creator<cps3_sound_device>;
cps3_sound_device::cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CPS3, "CPS3 Audio Custom", tag, owner, clock, "cps3_custom", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_stream(nullptr),
m_key(0),
m_base(NULL)
m_base(nullptr)
{
}

View File

@ -178,7 +178,7 @@ const address_space_config *dave_device::memory_space_config(address_spacenum sp
{
case AS_PROGRAM: return &m_program_space_config;
case AS_IO: return &m_io_space_config;
default: return NULL;
default: return nullptr;
}
}

View File

@ -712,7 +712,7 @@ TIMER_CALLBACK_MEMBER( dcs_audio_device::dcs_reset )
m_internal_timer->reset();
/* start the SPORT0 timer */
if (m_sport_timer != NULL)
if (m_sport_timer != nullptr)
m_sport_timer->adjust(attotime::from_hz(1000), 0, attotime::from_hz(1000));
/* reset the HLE transfer states */
@ -773,7 +773,7 @@ void dcs_audio_device::dcs_register_state()
save_item(NAME(m_transfer.sum));
save_item(NAME(m_transfer.fifo_entries));
if (m_sram != NULL)
if (m_sram != nullptr)
save_pointer(NAME(m_sram), 0x8000*4 / sizeof(m_sram[0]));
if (m_rev == 2)
@ -787,23 +787,23 @@ void dcs_audio_device::dcs_register_state()
dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_cpu(NULL),
m_program(NULL),
m_data(NULL),
m_cpu(nullptr),
m_program(nullptr),
m_data(nullptr),
m_rev(rev),
m_polling_offset(0),
m_polling_count(0),
m_channels(0),
m_size(0),
m_incs(0),
m_reg_timer(NULL),
m_sport_timer(NULL),
m_internal_timer(NULL),
m_reg_timer(nullptr),
m_sport_timer(nullptr),
m_internal_timer(nullptr),
m_ireg(0),
m_ireg_base(0),
m_bootrom(NULL),
m_bootrom(nullptr),
m_bootrom_words(0),
m_sounddata(NULL),
m_sounddata(nullptr),
m_sounddata_words(0),
m_sounddata_banks(0),
m_sounddata_bank(0),
@ -823,13 +823,13 @@ dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type ty
m_timer_scale(0),
m_timer_period(0),
m_timers_fired(0),
m_sram(NULL),
m_polling_base(NULL),
m_internal_program_ram(NULL),
m_external_program_ram(NULL),
m_sram(nullptr),
m_polling_base(nullptr),
m_internal_program_ram(nullptr),
m_external_program_ram(nullptr),
m_dram_in_mb(0)
{
m_dmadac[0] = m_dmadac[1] = m_dmadac[2] = m_dmadac[3] = m_dmadac[4] = m_dmadac[5] = NULL;
m_dmadac[0] = m_dmadac[1] = m_dmadac[2] = m_dmadac[3] = m_dmadac[4] = m_dmadac[5] = nullptr;
memset(m_control_regs, 0, sizeof(m_control_regs));
memset(&m_sdrc, 0, sizeof(m_sdrc));
memset(&m_dsio, 0, sizeof(m_dsio));
@ -838,19 +838,19 @@ dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type ty
void dcs_audio_device::device_reset()
{
dcs_reset(NULL, 0);
dcs_reset(nullptr, 0);
}
void dcs_audio_device::device_start()
{
m_sram = NULL;
m_sram = nullptr;
m_internal_program_ram = (UINT32 *)memshare("dcsint")->ptr();
m_external_program_ram = (UINT32 *)memshare("dcsext")->ptr();
/* find the DCS CPU and the sound ROMs */
m_cpu = subdevice<adsp21xx_device>("dcs");
if (m_cpu != NULL && !m_cpu->started())
if (m_cpu != nullptr && !m_cpu->started())
throw device_missing_dependencies();
m_program = &m_cpu->space(AS_PROGRAM);
@ -883,7 +883,7 @@ void dcs_audio_device::device_start()
/* register for save states */
dcs_register_state();
/* reset the system */
dcs_reset(NULL, 0);
dcs_reset(nullptr, 0);
}
@ -898,19 +898,19 @@ void dcs2_audio_device::device_start()
m_cpu = subdevice<adsp21xx_device>("dcs2");
m_rev = 2;
soundbank_words = 0x1000;
if (m_cpu == NULL)
if (m_cpu == nullptr)
{
m_cpu = subdevice<adsp21xx_device>("dsio");
m_rev = 3;
soundbank_words = 0x400;
}
if (m_cpu == NULL)
if (m_cpu == nullptr)
{
m_cpu = subdevice<adsp21xx_device>("denver");
m_rev = 4;
soundbank_words = 0x800;
}
if (m_cpu != NULL && !m_cpu->started())
if (m_cpu != nullptr && !m_cpu->started())
throw device_missing_dependencies();
m_program = &m_cpu->space(AS_PROGRAM);
@ -963,7 +963,7 @@ void dcs2_audio_device::device_start()
dcs_register_state();
/* reset the system */
dcs_reset(NULL, 0);
dcs_reset(nullptr, 0);
}
@ -1528,7 +1528,7 @@ void dcs_audio_device::data_w(UINT16 data)
return;
/* if we are DCS1, set a timer to latch the data */
if (m_sport_timer == NULL)
if (m_sport_timer == nullptr)
machine().scheduler().synchronize(timer_expired_delegate(FUNC(dcs_audio_device::dcs_delayed_data_w_callback),this), data);
else
dcs_delayed_data_w(data);
@ -2074,7 +2074,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( dcs_audio_device::transfer_watchdog_callback )
for ( ; transfer.fifo_entries; transfer.fifo_entries--)
preprocess_write(m_fifo_data_r(machine().driver_data()->generic_space(),0, 0xffff));
}
if (transfer.watchdog != NULL)
if (transfer.watchdog != nullptr)
transfer.watchdog->adjust(attotime::from_msec(1), transfer.writes_left);
}
@ -2352,7 +2352,7 @@ int dcs_audio_device::preprocess_write(UINT16 data)
int result;
/* if we're not DCS2, skip */
if (m_sport_timer == NULL)
if (m_sport_timer == nullptr)
return 0;
/* state 0 - initialization phase */

View File

@ -26,7 +26,7 @@ static const char *const depthch_sample_names[] =
"shortex",
"spray",
"sonar",
0
nullptr
};

View File

@ -388,7 +388,7 @@ static DISCRETE_SOUND_START(dkong2b)
#if DK_USE_CUSTOM
/* custom mixer for 555 CV voltage */
DISCRETE_CUSTOM8(NODE_28, dkong_custom_mixer, DS_SOUND1_INV, NODE_25,
DK_R32, DK_R50, DK_R51, DK_R49, DK_C24, DK_SUP_V, NULL)
DK_R32, DK_R50, DK_R51, DK_R49, DK_C24, DK_SUP_V, nullptr)
#else
DISCRETE_LOGIC_INVERT(DS_SOUND1,DS_SOUND1_INV)
DISCRETE_MULTIPLY(NODE_24,DS_SOUND1,DK_SUP_V)
@ -420,7 +420,7 @@ static DISCRETE_SOUND_START(dkong2b)
#if DK_USE_CUSTOM
/* custom mixer for 555 CV voltage */
DISCRETE_CUSTOM8(NODE_54, dkong_custom_mixer, DS_SOUND0_INV, NODE_51,
DK_R36, DK_R45, DK_R46, DK_R44, DK_C29, DK_SUP_V, NULL)
DK_R36, DK_R45, DK_R46, DK_R44, DK_C29, DK_SUP_V, nullptr)
#else
DISCRETE_LOGIC_INVERT(DS_SOUND0,DS_SOUND0_INV)
DISCRETE_MULTIPLY(NODE_50,DS_SOUND0,DK_SUP_V)

View File

@ -215,7 +215,7 @@ exidy_sound_device::exidy_sound_device(const machine_config &mconfig, device_typ
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_riot_irq_state(0),
m_stream(NULL),
m_stream(nullptr),
m_freq_to_step(0),
m_sh6840_MSB_latch(0),
m_sh6840_LSB_latch(0),
@ -248,8 +248,8 @@ void exidy_sound_device::device_start()
{
/* indicate no additional hardware */
m_has_sh8253 = FALSE;
m_tms = NULL;
m_cvsd = NULL;
m_tms = nullptr;
m_cvsd = nullptr;
common_sh_start();
}
@ -413,10 +413,10 @@ void exidy_sound_device::r6532_irq(int state)
WRITE8_MEMBER( exidy_sound_device::r6532_porta_w )
{
if (m_cvsd != NULL)
if (m_cvsd != nullptr)
space.machine().device("cvsdcpu")->execute().set_input_line(INPUT_LINE_RESET, (data & 0x10) ? CLEAR_LINE : ASSERT_LINE);
if (m_tms != NULL)
if (m_tms != nullptr)
{
logerror("(%f)%s:TMS5220 data write = %02X\n", space.machine().time().as_double(), space.machine().describe_context(), m_riot->porta_out_get());
m_tms->data_w(space, 0, data);
@ -425,7 +425,7 @@ WRITE8_MEMBER( exidy_sound_device::r6532_porta_w )
READ8_MEMBER( exidy_sound_device::r6532_porta_r )
{
if (m_tms != NULL)
if (m_tms != nullptr)
{
logerror("(%f)%s:TMS5220 status read = %02X\n", space.machine().time().as_double(), space.machine().describe_context(), m_tms->status_r(space, 0));
return m_tms->status_r(space, 0);
@ -436,7 +436,7 @@ READ8_MEMBER( exidy_sound_device::r6532_porta_r )
WRITE8_MEMBER( exidy_sound_device::r6532_portb_w )
{
if (m_tms != NULL)
if (m_tms != nullptr)
{
m_tms->rsq_w(data & 0x01);
m_tms->wsq_w((data >> 1) & 0x01);
@ -447,7 +447,7 @@ WRITE8_MEMBER( exidy_sound_device::r6532_portb_w )
READ8_MEMBER( exidy_sound_device::r6532_portb_r )
{
UINT8 newdata = m_riot->portb_in_get();
if (m_tms != NULL)
if (m_tms != nullptr)
{
newdata &= ~0x0c;
if (m_tms->readyq_r()) newdata |= 0x04;
@ -695,7 +695,7 @@ void venture_sound_device::device_start()
m_riot = machine().device<riot6532_device>("riot");
m_has_sh8253 = TRUE;
m_tms = NULL;
m_tms = nullptr;
m_pia0 = machine().device<pia6821_device>("pia0");
m_pia1 = machine().device<pia6821_device>("pia1");
@ -955,7 +955,7 @@ void victory_sound_device::device_start()
m_riot = machine().device<riot6532_device>("riot");
m_has_sh8253 = TRUE;
m_tms = NULL;
m_tms = nullptr;
m_pia0 = machine().device<pia6821_device>("pia0");
m_pia1 = machine().device<pia6821_device>("pia1");

View File

@ -53,21 +53,21 @@ exidy440_sound_device::exidy440_sound_device(const machine_config &mconfig, cons
device_sound_interface(mconfig, *this),
m_sound_command(0),
m_sound_command_ack(0),
m_mixer_buffer_left(NULL),
m_mixer_buffer_right(NULL),
m_sound_cache(NULL),
m_sound_cache_end(NULL),
m_sound_cache_max(NULL),
m_mixer_buffer_left(nullptr),
m_mixer_buffer_right(nullptr),
m_sound_cache(nullptr),
m_sound_cache_end(nullptr),
m_sound_cache_max(nullptr),
m_m6844_priority(0x00),
m_m6844_interrupt(0x00),
m_m6844_chain(0x00),
m_stream(NULL)
m_stream(nullptr)
{
m_sound_banks[0] = m_sound_banks[1] = m_sound_banks[2] = m_sound_banks[3] = 0;
for (int i = 0; i < 4; i++)
{
m_sound_channel[i].base = NULL;
m_sound_channel[i].base = nullptr;
m_sound_channel[i].offset = 0;
m_sound_channel[i].remaining = 0;
}

View File

@ -30,7 +30,7 @@ const int EnvelopeVolumes[]={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
gamate_sound_device::gamate_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GAMATE_SND, "Gamate Audio Custom", tag, owner, clock, "gamate_sound", __FILE__)
, device_sound_interface(mconfig, *this)
, m_mixer_channel(NULL)
, m_mixer_channel(nullptr)
{}
//-------------------------------------------------

View File

@ -18,12 +18,12 @@ const device_type GEEBEE = &device_creator<geebee_sound_device>;
geebee_sound_device::geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GEEBEE, "Gee Bee Audio Custom", tag, owner, clock, "geebee_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_decay(NULL),
m_channel(NULL),
m_decay(nullptr),
m_channel(nullptr),
m_sound_latch(0),
m_sound_signal(0),
m_volume(0),
m_volume_timer(NULL),
m_volume_timer(nullptr),
m_noise(0),
m_vcount(0)
{

View File

@ -30,15 +30,15 @@ const device_type GOMOKU = &device_creator<gomoku_sound_device>;
gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GOMOKU, "Gomoku Narabe Renju Audio Custom", tag, owner, clock, "gomoku_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_last_channel(NULL),
m_sound_rom(NULL),
m_last_channel(nullptr),
m_sound_rom(nullptr),
m_num_voices(0),
m_sound_enable(0),
m_stream(NULL),
m_mixer_table(NULL),
m_mixer_lookup(NULL),
m_mixer_buffer(NULL),
m_mixer_buffer_2(NULL)
m_stream(nullptr),
m_mixer_table(nullptr),
m_mixer_lookup(nullptr),
m_mixer_buffer(nullptr),
m_mixer_buffer_2(nullptr)
{
memset(m_channel_list, 0, sizeof(gomoku_sound_channel)*GOMOKU_MAX_VOICES);
memset(m_soundregs1, 0, sizeof(UINT8)*0x20);

View File

@ -38,7 +38,7 @@ static const char *const PhonemeTable[65] =
"U" ,"Y" ,"T" ,"R" ,"E" ,"W" ,"AE" ,"AE1",
"AW2","UH2","UH1","UH" ,"O2" ,"O1" ,"IU" ,"U1",
"THV","TH" ,"ER" ,"EH" ,"E1" ,"AW" ,"PA1","STOP",
0
nullptr
};
static const char *const GorfWordTable[] =
@ -73,7 +73,7 @@ static const char *const GorfWordTable[] =
"UH1TAEEH3K","BAH2I3Y1T","KAH1NKER","DYVAH1U1ER","DUHST","GAE1LUH1KSY","GAH1EH3T",
"PAH1I1R","TRAH2I1Y","SU1PRE1N","AWL","HA2AYL",
"EH1MPAH1I1R",
0
nullptr
};
#define num_samples (sizeof(GorfWordTable)/sizeof(char *))
@ -106,7 +106,7 @@ const char *const gorf_sample_names[] =
"coin", "attack","bite","conquer","devour","dust",
"galaxy","got","power","try","supreme","all",
"hail","emperor",
0
nullptr
};

View File

@ -177,7 +177,7 @@ static const char *const reactor_sample_names[] =
"fx_39j", /* "45000" */
"fx_39k", /* "50000" */
"fx_39l", /* "55000" */
0 /* end of array */
nullptr /* end of array */
};
static const char *const qbert_sample_names[] =
@ -227,7 +227,7 @@ static const char *const qbert_sample_names[] =
"fx_23", /* O1 with varying voice clock */
"fx_28",
"fx_36",
0 /* end of array */
nullptr /* end of array */
};
MACHINE_CONFIG_FRAGMENT( reactor_samples )
@ -429,7 +429,7 @@ WRITE8_MEMBER( gottlieb_sound_r1_device::write )
m_riot->porta_in_set(pa0_5 | (pa7 << 7), 0xbf);
#if USE_FAKE_VOTRAX
if (pa7 && m_samples != NULL)
if (pa7 && m_samples != nullptr)
trigger_sample(pa0_5);
#endif
}
@ -464,7 +464,7 @@ WRITE8_MEMBER( gottlieb_sound_r1_device::r6532_portb_w )
WRITE8_MEMBER( gottlieb_sound_r1_device::votrax_data_w )
{
if (m_votrax != NULL)
if (m_votrax != nullptr)
{
m_votrax->inflection_w(space, offset, data >> 6);
m_votrax->write(space, offset, ~data & 0x3f);
@ -486,7 +486,7 @@ WRITE8_MEMBER( gottlieb_sound_r1_device::speech_clock_dac_w )
// prevent negative clock values (and possible crash)
if (data < 0x65) data = 0x65;
if (m_votrax != NULL)
if (m_votrax != nullptr)
{
// nominal clock is 0xa0
if (data != m_last_speech_clock)
@ -494,7 +494,7 @@ WRITE8_MEMBER( gottlieb_sound_r1_device::speech_clock_dac_w )
osd_printf_debug("clock = %02X\n", data);
// totally random guesswork; would like to get real measurements on a board
if (m_votrax != NULL)
if (m_votrax != nullptr)
m_votrax->set_unscaled_clock(600000 + (data - 0xa0) * 10000);
m_last_speech_clock = data;
}
@ -672,7 +672,7 @@ gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig
m_ay2(*this, "ay2"),
m_sp0250(*this, "spsnd"),
m_cobram3_mod(false),
m_nmi_timer(NULL),
m_nmi_timer(nullptr),
m_nmi_state(0),
m_audiocpu_latch(0),
m_speechcpu_latch(0),

View File

@ -28,8 +28,8 @@ gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, const
m_tone_step(0),
m_tone_fraction(0),
m_tone_volume(0),
m_stream(NULL),
m_samples(NULL),
m_stream(nullptr),
m_samples(nullptr),
m_freq_to_step(0.0)
{
memset(m_sound_data, 0, sizeof(UINT8)*24);

View File

@ -32,7 +32,7 @@ static const char *const invinco_sample_names[] =
"shiphit",
"move3", /* currently not used */
"move4", /* currently not used */
0
nullptr
};

View File

@ -308,7 +308,7 @@ void leland_80186_sound_device::device_start()
m_ext_start = 0;
m_ext_stop = 0;
m_ext_active = 0;
m_ext_base = NULL;
m_ext_base = nullptr;
m_audiocpu = downcast<i80186_cpu_device *>(machine().device("audiocpu"));

View File

@ -53,7 +53,7 @@ m72_audio_device::m72_audio_device(const machine_config &mconfig, const char *ta
device_sound_interface(mconfig, *this),
m_irqvector(0),
m_sample_addr(0),
m_samples(NULL),
m_samples(nullptr),
m_samples_size(0)
{
}

View File

@ -36,7 +36,7 @@ mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *ta
: device_t(mconfig, MAC_SOUND, "Mac Audio Custom", tag, owner, clock, "mac_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_sample_enable(0),
m_mac_snd_buf_ptr(NULL),
m_mac_snd_buf_ptr(nullptr),
m_snd_cache_len(0),
m_snd_cache_head(0),
m_snd_cache_tail(0),

View File

@ -645,7 +645,7 @@ static void set_ea(address_space &space, int ea)
mario_state *state = space.machine().driver_data<mario_state>();
//printf("ea: %d\n", ea);
//machine.device("audiocpu")->execute().set_input_line(MCS48_INPUT_EA, (ea) ? ASSERT_LINE : CLEAR_LINE);
if (state->m_eabank != NULL)
if (state->m_eabank != nullptr)
state->membank(state->m_eabank)->set_entry(ea);
}
@ -667,8 +667,8 @@ void mario_state::sound_start()
SND[0x1001] = 0x01;
#endif
m_eabank = NULL;
if (audiocpu != NULL && audiocpu->type() != Z80)
m_eabank = nullptr;
if (audiocpu != nullptr && audiocpu->type() != Z80)
{
m_eabank = "bank1";
audiocpu->memory().space(AS_PROGRAM).install_read_bank(0x000, 0x7ff, "bank1");

View File

@ -174,7 +174,7 @@ micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, const
m_noise_shift(0),
m_noise_value(0),
m_noise_subcount(0),
m_stream(NULL)
m_stream(nullptr)
{
memset(m_dac, 0, sizeof(UINT8)*4);

View File

@ -437,7 +437,7 @@ machine_config_constructor midway_ssio_device::device_mconfig_additions() const
ioport_constructor midway_ssio_device::device_input_ports() const
{
return NULL;
return nullptr;
// return INPUT_PORTS_NAME( midway_ssio );
}

View File

@ -139,7 +139,7 @@ static const char *const seawolf_sample_names[] =
"dive",
"sonar",
"minehit",
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( seawolf_audio )
@ -192,7 +192,7 @@ static const char *const gunfight_sample_names[] =
"*gunfight",
"gunshot",
"killed",
0
nullptr
};
@ -1542,7 +1542,7 @@ static const char *const gmissile_sample_names[] =
"*gmissile",
"1", /* missle */
"2", /* explosion */
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( gmissile_audio )
@ -1634,7 +1634,7 @@ static const char *const m4_sample_names[] =
"*m4",
"1", /* missle */
"2", /* explosion */
0
nullptr
};
@ -1890,7 +1890,7 @@ static const char *const clowns_sample_names[] =
{
"*clowns",
"miss",
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( clowns_audio )
@ -3263,7 +3263,7 @@ static const char *const phantom2_sample_names[] =
"*phantom2",
"1", /* shot */
"2", /* explosion */
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( phantom2_audio )
@ -3506,7 +3506,7 @@ static const char *const invaders_sample_names[] =
"7", /* fleet move 4 */
"8", /* UFO/saucer hit */
"9", /* bonus base */
0
nullptr
};

View File

@ -29,11 +29,11 @@ pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, const
pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_channel(nullptr),
m_sound_latch_a(0),
m_sound_latch_b(0),
m_sound_latch_c(0),
m_poly18(NULL),
m_poly18(nullptr),
m_polybit(0),
m_pa5_resistor(0),
m_pc5_resistor(0),

View File

@ -58,7 +58,7 @@ polepos_sound_device::polepos_sound_device(const machine_config &mconfig, const
m_sample_msb(0),
m_sample_lsb(0),
m_sample_enable(0),
m_stream(NULL)
m_stream(nullptr)
{
}

View File

@ -49,7 +49,7 @@ static const char *const pulsar_sample_names[] =
"birth",
"hbeat",
"movmaze",
0
nullptr
};

View File

@ -38,8 +38,8 @@ const device_type REDBARON = &device_creator<redbaron_sound_device>;
redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, REDBARON, "Red Baron Audio Custom", tag, owner, clock, "redbaron_custom", __FILE__),
device_sound_interface(mconfig, *this),
m_vol_lookup(NULL),
m_channel(NULL),
m_vol_lookup(nullptr),
m_channel(nullptr),
m_latch(0),
m_poly_counter(0),
m_poly_shift(0),

View File

@ -134,7 +134,7 @@ static void filter_w(device_t *device, int data)
C += 220000; /* 220000pF = 0.220uF */
if (data & 2)
C += 47000; /* 47000pF = 0.047uF */
if (device != NULL)
if (device != nullptr)
dynamic_cast<filter_rc_device*>(device)->filter_rc_set_RC(FLT_RC_LOWPASS, 1000, 5100, 0, CAP_P(C));
}

View File

@ -33,8 +33,8 @@ const device_type SEGA005 = &device_creator<sega005_sound_device>;
sega005_sound_device::sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA005, "Sega 005 Audio Custom", tag, owner, clock, "sega005_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_sega005_sound_timer(NULL),
m_sega005_stream(NULL)
m_sega005_sound_timer(nullptr),
m_sega005_stream(nullptr)
{
}
@ -235,7 +235,7 @@ static const char *const astrob_sample_names[] =
"pexplode", /* 13 */
"deedle", /* 14 */
"sonar", /* 15 */
0
nullptr
};
@ -422,7 +422,7 @@ static const char *const sega005_sample_names[] =
"missile", /* 4 */
"helicopt", /* 5 */
"whistle", /* 6 */
0
nullptr
};
@ -584,7 +584,7 @@ static const char *const spaceod_sample_names[] =
"accel", /* 8 */
"damaged", /* 9 */
"erocket", /* 10 */
0
nullptr
};
@ -676,7 +676,7 @@ static const char *const monsterb_sample_names[] =
"*monsterb",
"zap",
"jumpdown",
0
nullptr
};

View File

@ -73,7 +73,7 @@ speech_sound_device::speech_sound_device(const machine_config &mconfig, const ch
m_latch(0),
m_t0(0),
m_p2(0),
m_speech(NULL)
m_speech(nullptr)
{
}
@ -243,7 +243,7 @@ usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type ty
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_ourcpu(*this, "ourcpu"),
m_stream(NULL),
m_stream(nullptr),
m_in_latch(0),
m_out_latch(0),
m_last_p2_value(0),
@ -278,7 +278,7 @@ void usb_sound_device::device_start()
/* find the CPU we are associated with */
m_maincpu = machine().device("maincpu");
assert(m_maincpu != NULL);
assert(m_maincpu != nullptr);
/* create a sound stream */
m_stream = machine().sound().stream_alloc(*this, 0, 1, SAMPLE_RATE);

View File

@ -84,7 +84,7 @@ seibu_sound_device::seibu_sound_device(const machine_config &mconfig, const char
m_rst18_irq(0xff)
{
m_encryption_mode = 0;
m_decrypted_opcodes = NULL;
m_decrypted_opcodes = nullptr;
}
void seibu_sound_device::set_encryption(int mode)
@ -234,7 +234,7 @@ void seibu_sound_device::update_irq_lines(int param)
break;
}
if (m_sound_cpu != NULL)
if (m_sound_cpu != nullptr)
{
if ((m_rst10_irq & m_rst18_irq) == 0xff) /* no IRQs pending */
m_sound_cpu->execute().set_input_line(0, CLEAR_LINE);
@ -509,13 +509,13 @@ const device_type SEIBU_ADPCM = &device_creator<seibu_adpcm_device>;
seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEIBU_ADPCM, "Seibu ADPCM (MSM5205)", tag, owner, clock, "seibu_adpcm", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_stream(nullptr),
m_current(0),
m_end(0),
m_nibble(0),
m_playing(0),
m_rom_tag(NULL),
m_base(NULL)
m_rom_tag(nullptr),
m_base(nullptr)
{
}

View File

@ -8,7 +8,7 @@ const z80_daisy_config senjyo_daisy_chain[] =
{
{ "z80ctc" },
{ "z80pio" },
{ NULL }
{ nullptr }
};

View File

@ -248,7 +248,7 @@ DISCRETE_SOUND_START( skyraid )
/************************************************
* Missle sound
************************************************/
DISCRETE_CUSTOM5(NODE_40, skyraid_missle_custom_charge, SKYRAID_MISSILE_EN, SKYRAID_R12, SKYRAID_R14, SKYRAID_R13, SKYRAID_C44, NULL)
DISCRETE_CUSTOM5(NODE_40, skyraid_missle_custom_charge, SKYRAID_MISSILE_EN, SKYRAID_R12, SKYRAID_R14, SKYRAID_R13, SKYRAID_C44, nullptr)
DISCRETE_566(NODE_41, /* IC K6, pin 3 */
NODE_40, /* VMOD */
SKYRAID_R16, SKYRAID_C45,

View File

@ -703,7 +703,7 @@ void snes_sound_device::dsp_update( short *sound_ptr )
}
#endif /* !defined( NO_ECHO ) */
if (sound_ptr != NULL)
if (sound_ptr != nullptr)
{
if (m_dsp_regs[0x6c] & 0x40)
{

View File

@ -39,7 +39,7 @@ const char *const sasuke_sample_names[] =
"shot",
"boss_attack",
0
nullptr
};
const char *const vanguard_sample_names[] =
@ -68,7 +68,7 @@ const char *const vanguard_sample_names[] =
"vg_voi-e",
"vg_voi-f",
0
nullptr
};
@ -90,7 +90,7 @@ const char *const fantasy_sample_names[] =
"ft_voi-a",
"ft_voi-b",
0
nullptr
};
@ -136,9 +136,9 @@ snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, const
//m_tone_channels[CHANNELS],
m_tone_clock_expire(0),
m_tone_clock(0),
m_tone_stream(NULL),
m_tone_stream(nullptr),
m_samples(*this, ":samples"),
m_ROM(NULL),
m_ROM(nullptr),
m_Sound0StopOnRollover(0),
m_LastPort1(0),
m_hd38880_cmd(0),

View File

@ -70,7 +70,7 @@ static const char *const spacefb_sample_names[] =
"shipfire",
"explode1",
"explode2",
0
nullptr
};

View File

@ -27,7 +27,7 @@ const device_type SPECIMX_SND = &device_creator<specimx_sound_device>;
specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SPECIMX_SND, "Specialist MX Audio Custom", tag, owner, clock, "specimx_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_mixer_channel(NULL)
m_mixer_channel(nullptr)
{
memset(m_specimx_input, 0, sizeof(int)*3);
}

View File

@ -25,7 +25,7 @@ const device_type SVISION_SND = &device_creator<svision_sound_device>;
svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SVISION_SND, "Super Vision Audio Custom", tag, owner, clock, "svision_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_mixer_channel(NULL)
m_mixer_channel(nullptr)
{
}

View File

@ -212,7 +212,7 @@ TIMER_CALLBACK_MEMBER( t5182_device::setirq_callback )
break;
}
if (m_ourcpu == NULL)
if (m_ourcpu == nullptr)
return;
if (m_irqstate == 0) /* no IRQs pending */

View File

@ -131,7 +131,7 @@ static const char *const sample_names[] =
"sexpl",
"spslow",
"spfast",
0
nullptr
};

View File

@ -60,7 +60,7 @@ const device_type TIAMC1 = &device_creator<tiamc1_sound_device>;
tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIAMC1, "TIA-MC1 Audio Custom", tag, owner, clock, "tiamc1_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_channel(nullptr),
m_timer1_divider(0)
{
}

View File

@ -101,7 +101,7 @@ READ8_MEMBER( trackfld_audio_device::hyperspt_sh_timer_r )
{
UINT32 clock = m_audiocpu->total_cycles() / TIMER_RATE;
if (m_vlm != NULL)
if (m_vlm != nullptr)
return (clock & 0x3) | (m_vlm->bsy() ? 0x04 : 0);
else
return (clock & 0x3);

View File

@ -15,7 +15,7 @@ const char *const triplhnt_sample_names[] =
"*triplhnt",
"bear_rac",
"witch",
0
nullptr
};
/************************************************************************/

View File

@ -178,7 +178,7 @@ static const char *const turbo_sample_names[] =
"skidding", /* 6: Spin */
"idle", /* 7: Idle */
"ambulanc", /* 8: Ambulance */
0
nullptr
};
@ -425,7 +425,7 @@ static const char *const subroc3d_sample_names[] =
"09", /* 8: prolog sound */
"11", /* 9: alarm 0 */
"12", /* 10: alarm 1 */
0
nullptr
};
MACHINE_CONFIG_FRAGMENT( subroc3d_samples )
@ -569,7 +569,7 @@ static const char *const buckrog_sample_names[]=
"shipsnd1", /* 8 */
"shipsnd2", /* 9 */
"shipsnd3", /* 10 */
0
nullptr
};

View File

@ -19,7 +19,7 @@ turrett_device::turrett_device(const machine_config &mconfig, const char *tag, d
: device_t(mconfig, TURRETT, "Turret Tower Sound", tag, owner, clock, "ttsnd", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("ttsound", ENDIANNESS_LITTLE, 16, 28, 0, NULL)
m_space_config("ttsound", ENDIANNESS_LITTLE, 16, 28, 0, nullptr)
{
}
@ -30,7 +30,7 @@ turrett_device::turrett_device(const machine_config &mconfig, const char *tag, d
const address_space_config *turrett_device::memory_space_config(address_spacenum spacenum) const
{
return (spacenum == 0) ? &m_space_config : NULL;
return (spacenum == 0) ? &m_space_config : nullptr;
}

View File

@ -62,7 +62,7 @@ tx1_sound_device::tx1_sound_device(const machine_config &mconfig, const char *ta
tx1_sound_device::tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_stream(nullptr),
m_freq_to_step(0),
m_step0(0),
m_step1(0),
@ -377,8 +377,8 @@ void buggyboy_sound_device::device_start()
compute_resistor_weights(0, 16384, -1.0,
4, &resistors[0], aweights, 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0 );
0, nullptr, nullptr, 0, 0,
0, nullptr, nullptr, 0, 0 );
for (i = 0; i < 16; i++)
m_eng_voltages[i] = combine_4_weights(aweights, BIT(tmp[i], 0), BIT(tmp[i], 1), BIT(tmp[i], 2), BIT(tmp[i], 3));

View File

@ -224,7 +224,7 @@ void vboysnd_device::device_start()
memset(m_aram, 0, 0x600);
m_timer = timer_alloc(0, NULL);
m_timer = timer_alloc(0, nullptr);
m_timer->adjust(attotime::zero, 0, attotime::from_hz(AUDIO_FREQ/4));
}

View File

@ -15,7 +15,7 @@ const device_type VC4000_SND = &device_creator<vc4000_sound_device>;
vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VC4000_SND, "Intertion Electronic VC 4000 Audio Custom", tag, owner, clock, "vc4000_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_channel(nullptr),
m_size(0),
m_pos(0),
m_level(0)

View File

@ -107,7 +107,7 @@ static const char *const frogs_sample_names[] =
"hop",
"splash",
"zip",
0
nullptr
};
@ -454,7 +454,7 @@ MACHINE_CONFIG_END
WRITE8_MEMBER( vicdual_state::headon_audio_w )
{
if (m_discrete == NULL)
if (m_discrete == nullptr)
return;
m_discrete->write(space, HEADON_HISPEED_PC_EN, data & 0x01);
m_discrete->write(space, HEADON_SCREECH1_EN, data & 0x02);
@ -468,7 +468,7 @@ WRITE8_MEMBER( vicdual_state::headon_audio_w )
WRITE8_MEMBER( vicdual_state::invho2_audio_w )
{
if (m_discrete == NULL)
if (m_discrete == nullptr)
return;
m_discrete->write(space, HEADON_HISPEED_PC_EN, data & 0x10);
m_discrete->write(space, HEADON_SCREECH1_EN, data & 0x08);

View File

@ -21,17 +21,17 @@ const device_type WARPWARP = &device_creator<warpwarp_sound_device>;
warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WARPWARP, "Warp Warp Audio Custom", tag, owner, clock, "warpwarp_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_decay(NULL),
m_channel(NULL),
m_decay(nullptr),
m_channel(nullptr),
m_sound_latch(0),
m_music1_latch(0),
m_music2_latch(0),
m_sound_signal(0),
m_sound_volume(0),
m_sound_volume_timer(NULL),
m_sound_volume_timer(nullptr),
m_music_signal(0),
m_music_volume(0),
m_music_volume_timer(NULL),
m_music_volume_timer(nullptr),
m_noise(0),
m_vcarry(0),
m_vcount(0),

View File

@ -19,16 +19,16 @@ const device_type WIPING = &device_creator<wiping_sound_device>;
wiping_sound_device::wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WIPING, "Wiping Audio Custom", tag, owner, clock, "wiping_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_last_channel(NULL),
m_sound_prom(NULL),
m_sound_rom(NULL),
m_last_channel(nullptr),
m_sound_prom(nullptr),
m_sound_rom(nullptr),
m_num_voices(0),
m_sound_enable(0),
m_stream(NULL),
m_mixer_table(NULL),
m_mixer_lookup(NULL),
m_mixer_buffer(NULL),
m_mixer_buffer_2(NULL)
m_stream(nullptr),
m_mixer_table(nullptr),
m_mixer_lookup(nullptr),
m_mixer_buffer(nullptr),
m_mixer_buffer_2(nullptr)
{
memset(m_channel_list, 0, sizeof(wp_sound_channel)*MAX_VOICES);
memset(m_soundregs, 0, sizeof(UINT8)*0x4000);

View File

@ -39,7 +39,7 @@ static const char *const PhonemeTable[65] =
"U" ,"Y" ,"T" ,"R" ,"E" ,"W" ,"AE" ,"AE1",
"AW2","UH2","UH1","UH" ,"O2" ,"O1" ,"IU" ,"U1",
"THV","TH" ,"ER" ,"EH" ,"E1" ,"AW" ,"PA1","STOP",
0
nullptr
};
/* Missing samples : ready, from, one, bite, youl, explode, if, myself, back,
@ -69,7 +69,7 @@ static const char *const wowWordTable[] =
"WOO1R", "WORYER", "watch.wav", "WE1Y", "WEHLKUHM",
"WERR", "WAH1EH3I3L", "WIL", "WITH", "WIZERD", "wont.wav",
"WO1O2R", "WO1ERLD", "WORLINGS", "WORLUHK",
"YI3U", "Y1IUU", "YIUUI", "Y1IUU1U1", "YI3U1", "Y1IUUL", "YIUU1L", "Y1IUUD", "YO2O2R",0
"YI3U", "Y1IUU", "YIUUI", "Y1IUU1U1", "YI3U1", "Y1IUUL", "YIUU1L", "Y1IUUD", "YO2O2R",nullptr
};
#define num_samples (sizeof(wowWordTable)/sizeof(char *))
@ -97,7 +97,7 @@ const char *const wow_sample_names[] =
"war", "warrior", "watch", "we", "welcome",
"were", "while", "will", "with", "wizard", "wont",
"wor", "world", "worlings", "worlock",
"you", "you", "you", "you", "you", "youl", "youl", "youd", "your",0
"you", "you", "you", "you", "you", "youl", "youl", "youd", "your",nullptr
};

View File

@ -31,7 +31,7 @@ const device_type WSWAN_SND = &device_creator<wswan_sound_device>;
wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WSWAN_SND, "WonderSwan Audio Custom", tag, owner, clock, "wswan_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_channel(nullptr),
m_sweep_step(0),
m_sweep_time(0),
m_sweep_count(0),

View File

@ -88,7 +88,7 @@ static const char *const zaxxon_sample_names[] =
"20", /* 9 - Alarm 3 (low fuel) */
"05", /* 10 - initial background noise */
"04", /* 11 - looped asteroid noise */
0
nullptr
};
@ -188,7 +188,7 @@ static const char *const congo_sample_names[] =
"congal", /* 2 */
"congah", /* 3 */
"rim", /* 4 */
0
nullptr
};

View File

@ -403,10 +403,10 @@ static const gfx_layout tile_layout =
};
static GFXDECODE_START( 2mindril )
GFXDECODE_ENTRY( NULL, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( "gfx2", 0x000000, tile_layout, 0x0000, 0x2000>>4 ) /* Tiles area */
GFXDECODE_ENTRY( "gfx1", 0x000000, spriteram_layout, 0x1000, 0x1000>>4 ) /* Sprites area */
GFXDECODE_ENTRY( NULL, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_END

View File

@ -254,7 +254,7 @@ public:
const rom_entry *isa8_cga_4enlinea_device::device_rom_region() const
{
return NULL;
return nullptr;
}
const device_type ISA8_CGA_4ENLINEA = &device_creator<isa8_cga_4enlinea_device>;
@ -290,7 +290,7 @@ WRITE8_MEMBER( isa8_cga_4enlinea_device::_4enlinea_mode_control_w )
void isa8_cga_4enlinea_device::device_start()
{
if (m_palette != NULL && !m_palette->started())
if (m_palette != nullptr && !m_palette->started())
throw device_missing_dependencies();
set_isa_device();

View File

@ -583,7 +583,7 @@ PALETTE_INIT_MEMBER(_5clown_state, _5clown)
/* 0000KBGR */
if (color_prom == 0) return;
if (color_prom == nullptr) return;
for (i = 0;i < m_palette->entries();i++)
{
@ -1085,7 +1085,7 @@ ROM_START( 5clown )
ROM_REGION( 0x3000, "gfx1", 0 )
ROM_FILL( 0x0000, 0x2000, 0 ) /* filling the remaining bitplanes */
ROM_FILL( 0x0000, 0x2000, nullptr ) /* filling the remaining bitplanes */
ROM_COPY( "gfxbanks", 0x7000, 0x2000, 0x1000 )
ROM_REGION( 0x3000, "gfx2", 0 )
@ -1117,7 +1117,7 @@ ROM_START( 5clowna )
ROM_REGION( 0x3000, "gfx1", 0 )
ROM_FILL( 0x0000, 0x2000, 0 ) /* filling the remaining bitplanes */
ROM_FILL( 0x0000, 0x2000, nullptr ) /* filling the remaining bitplanes */
ROM_COPY( "gfxbanks", 0x7000, 0x2000, 0x1000 )
ROM_REGION( 0x3000, "gfx2", 0 )
@ -1148,7 +1148,7 @@ ROM_START( 5clownsp )
ROM_REGION( 0x3000, "gfx1", 0 )
ROM_FILL( 0x0000, 0x2000, 0 ) /* filling the remaining bitplanes */
ROM_FILL( 0x0000, 0x2000, nullptr ) /* filling the remaining bitplanes */
ROM_COPY( "gfxbanks", 0x7000, 0x2000, 0x1000 )
ROM_REGION( 0x3000, "gfx2", 0 )

View File

@ -563,7 +563,7 @@ static SLOT_INTERFACE_START(a2600_cart)
SLOT_INTERFACE_END
static MACHINE_CONFIG_FRAGMENT(a2600_cartslot)
MCFG_VCS_CARTRIDGE_ADD("cartslot", a2600_cart, NULL)
MCFG_VCS_CARTRIDGE_ADD("cartslot", a2600_cart, nullptr)
/* software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list","a2600")
@ -612,7 +612,7 @@ static MACHINE_CONFIG_START( a2600, a2600_state )
#endif
MCFG_VCS_CONTROL_PORT_ADD(CONTROL1_TAG, vcs_control_port_devices, "joy")
MCFG_VCS_CONTROL_PORT_ADD(CONTROL2_TAG, vcs_control_port_devices, NULL)
MCFG_VCS_CONTROL_PORT_ADD(CONTROL2_TAG, vcs_control_port_devices, nullptr)
MCFG_FRAGMENT_ADD(a2600_cartslot)
MCFG_SOFTWARE_LIST_FILTER("cart_list", "NTSC")
@ -662,7 +662,7 @@ static MACHINE_CONFIG_START( a2600p, a2600_state )
#endif
MCFG_VCS_CONTROL_PORT_ADD(CONTROL1_TAG, vcs_control_port_devices, "joy")
MCFG_VCS_CONTROL_PORT_ADD(CONTROL2_TAG, vcs_control_port_devices, NULL)
MCFG_VCS_CONTROL_PORT_ADD(CONTROL2_TAG, vcs_control_port_devices, nullptr)
MCFG_FRAGMENT_ADD(a2600_cartslot)
MCFG_SOFTWARE_LIST_FILTER("cart_list", "PAL")

View File

@ -550,7 +550,7 @@ static const z80_daisy_config a5105_daisy_chain[] =
{
{ "z80ctc" },
{ "z80pio" },
{ NULL }
{ nullptr }
};
static MACHINE_CONFIG_START( a5105, a5105_state )

View File

@ -1381,7 +1381,7 @@ static MACHINE_CONFIG_START( a7800_ntsc, a7800_state )
MCFG_MOS6530n_IN_PB_CB(READ8(a7800_state, riot_console_button_r))
MCFG_MOS6530n_OUT_PB_CB(WRITE8(a7800_state, riot_button_pullup_w))
MCFG_A78_CARTRIDGE_ADD("cartslot", a7800_cart, NULL)
MCFG_A78_CARTRIDGE_ADD("cartslot", a7800_cart, nullptr)
/* software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list","a7800")

View File

@ -350,7 +350,7 @@ WRITE8_MEMBER( abc1600_state::fw0_w )
if (LOG) logerror("FW0 %02x\n", data);
// drive select
floppy_image_device *floppy = NULL;
floppy_image_device *floppy = nullptr;
if (BIT(data, 0)) floppy = m_floppy0->get_device();
if (BIT(data, 1)) floppy = m_floppy1->get_device();
@ -899,13 +899,13 @@ static MACHINE_CONFIG_START( abc1600, abc1600_state )
MCFG_WD_FDC_INTRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pb7_w))
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(abc1600_state, fdc_drq_w))
MCFG_FLOPPY_DRIVE_ADD(SAB1797_02P_TAG":0", abc1600_floppies, NULL, floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(SAB1797_02P_TAG":1", abc1600_floppies, NULL, floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(SAB1797_02P_TAG":0", abc1600_floppies, nullptr, floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(SAB1797_02P_TAG":1", abc1600_floppies, nullptr, floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(SAB1797_02P_TAG":2", abc1600_floppies, "525qd", floppy_image_device::default_floppy_formats)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, nullptr)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z8470AB1_TAG, z80dart_device, rxa_w))
MCFG_ABC_KEYBOARD_PORT_ADD(ABC_KEYBOARD_PORT_TAG, "abc99")
@ -913,16 +913,16 @@ static MACHINE_CONFIG_START( abc1600, abc1600_state )
MCFG_ABC_KEYBOARD_OUT_TRXC_HANDLER(DEVWRITELINE(Z8470AB1_TAG, z80dart_device, rxtxcb_w))
MCFG_ABC_KEYBOARD_OUT_KEYDOWN_HANDLER(DEVWRITELINE(Z8470AB1_TAG, z80dart_device, dcdb_w))
MCFG_ABCBUS_SLOT_ADD("bus0i", abc1600bus_cards, NULL)
MCFG_ABCBUS_SLOT_ADD("bus0i", abc1600bus_cards, nullptr)
MCFG_ABCBUS_SLOT_IRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa7_w))
MCFG_ABCBUS_SLOT_ADD("bus0x", abc1600bus_cards, NULL)
MCFG_ABCBUS_SLOT_ADD("bus0x", abc1600bus_cards, nullptr)
MCFG_ABCBUS_SLOT_IRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa6_w))
MCFG_ABCBUS_SLOT_NMI_CALLBACK(WRITELINE(abc1600_state, nmi_w))
MCFG_ABCBUS_SLOT_XINT2_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa2_w))
MCFG_ABCBUS_SLOT_XINT3_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa3_w))
MCFG_ABCBUS_SLOT_XINT4_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa4_w))
MCFG_ABCBUS_SLOT_XINT5_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa5_w))
MCFG_ABCBUS_SLOT_ADD("bus1", abc1600bus_cards, NULL)
MCFG_ABCBUS_SLOT_ADD("bus1", abc1600bus_cards, nullptr)
MCFG_ABCBUS_SLOT_IRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa1_w))
MCFG_ABCBUS_SLOT_ADD("bus2", abc1600bus_cards, "4105")
MCFG_ABCBUS_SLOT_IRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pa0_w))

View File

@ -366,7 +366,7 @@ WRITE8_MEMBER( abc80_state::pio_pb_w )
static const z80_daisy_config abc80_daisy_chain[] =
{
{ Z80PIO_TAG },
{ NULL }
{ nullptr }
};
@ -562,7 +562,7 @@ static MACHINE_CONFIG_START( abc80, abc80_state )
MCFG_ABCBUS_SLOT_ADD(ABCBUS_TAG, abc80_cards, "abcexp")
MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, nullptr)
MCFG_DEVICE_ADD(KEYBOARD_TAG, GENERIC_KEYBOARD, 0)
MCFG_GENERIC_KEYBOARD_CB(WRITE8(abc80_state, kbd_w))

View File

@ -677,7 +677,7 @@ WRITE_LINE_MEMBER( abc800_state::ctc_z2_w )
void abc800_state::clock_cassette(int state)
{
if (m_cassette == NULL) return;
if (m_cassette == nullptr) return;
if (m_ctc_z0 && !state)
{
@ -708,7 +708,7 @@ WRITE_LINE_MEMBER( abc800_state::sio_txdb_w )
WRITE_LINE_MEMBER( abc800_state::sio_dtrb_w )
{
if (m_cassette == NULL) return;
if (m_cassette == nullptr) return;
if (state)
{
@ -724,7 +724,7 @@ WRITE_LINE_MEMBER( abc800_state::sio_dtrb_w )
WRITE_LINE_MEMBER( abc800_state::sio_rtsb_w )
{
if (m_cassette == NULL) return;
if (m_cassette == nullptr) return;
m_sio_rtsb = state;
@ -770,7 +770,7 @@ static const z80_daisy_config abc800_daisy_chain[] =
{ Z80CTC_TAG },
{ Z80SIO_TAG },
{ Z80DART_TAG },
{ NULL }
{ nullptr }
};
@ -1054,12 +1054,12 @@ static MACHINE_CONFIG_START( abc800c, abc800c_state )
MCFG_CASSETTE_ADD("cassette")
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_MUTED)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, ctsa_w))
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, ctsa_w))
@ -1129,12 +1129,12 @@ static MACHINE_CONFIG_START( abc800m, abc800m_state )
MCFG_CASSETTE_ADD("cassette")
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_MUTED)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, ctsa_w))
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, ctsa_w))
@ -1206,12 +1206,12 @@ static MACHINE_CONFIG_START( abc802, abc802_state )
MCFG_CASSETTE_ADD("cassette")
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_MUTED)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, ctsa_w))
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, ctsa_w))
@ -1274,12 +1274,12 @@ static MACHINE_CONFIG_START( abc806, abc806_state )
MCFG_Z80DART_OUT_DTRB_CB(WRITELINE(abc806_state, keydtr_w))
MCFG_Z80DART_OUT_INT_CB(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0))
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, ctsa_w))
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, rxa_w))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, dcda_w))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(Z80SIO_TAG, z80dart_device, ctsa_w))

View File

@ -177,9 +177,9 @@ ROM_START( ac1 )
ROM_REGION(0x0800, "gfx1",0)
// 64 chars - U402 BM513
ROM_LOAD ("u402.bin", 0x0000, 0x0200, CRC(cfb67f28) SHA1(e3a62a3a8bce0d098887e31fd16410f38832fd18))
ROM_COPY("gfx1", 0x0000, 0x0200, 0x0200)
ROM_COPY("gfx1", 0x0000, 0x0400, 0x0200)
ROM_COPY("gfx1", 0x0000, 0x0600, 0x0200)
ROM_COPY("gfx1", nullptr, 0x0200, 0x0200)
ROM_COPY("gfx1", nullptr, 0x0400, 0x0200)
ROM_COPY("gfx1", nullptr, 0x0600, 0x0200)
ROM_END
ROM_START( ac1_32 )

View File

@ -1077,27 +1077,27 @@ static MACHINE_CONFIG_START( adam, adam_state )
MCFG_ADAMNET_SLOT_ADD("net4", adamnet_devices, "fdc")
MCFG_ADAMNET_SLOT_ADD("net5", adamnet_devices, "fdc")
MCFG_DEVICE_CARD_DEVICE_INPUT_DEFAULTS("fdc", drive2)
MCFG_ADAMNET_SLOT_ADD("net6", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net7", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net8", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net9", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net10", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net11", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net12", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net13", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net14", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net15", adamnet_devices, NULL)
MCFG_ADAMNET_SLOT_ADD("net6", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net7", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net8", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net9", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net10", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net11", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net12", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net13", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net14", adamnet_devices, nullptr)
MCFG_ADAMNET_SLOT_ADD("net15", adamnet_devices, nullptr)
MCFG_COLECOVISION_CARTRIDGE_SLOT_ADD(COLECOVISION_CARTRIDGE_SLOT_TAG, colecovision_cartridges, NULL)
MCFG_COLECOVISION_CARTRIDGE_SLOT_ADD(COLECOVISION_CARTRIDGE_SLOT_TAG, colecovision_cartridges, nullptr)
MCFG_ADAM_EXPANSION_SLOT_ADD(ADAM_LEFT_EXPANSION_SLOT_TAG, XTAL_7_15909MHz/2, adam_slot1_devices, "adamlink")
MCFG_ADAM_EXPANSION_SLOT_IRQ_CALLBACK(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0))
MCFG_ADAM_EXPANSION_SLOT_ADD(ADAM_CENTER_EXPANSION_SLOT_TAG, XTAL_7_15909MHz/2, adam_slot2_devices, NULL)
MCFG_ADAM_EXPANSION_SLOT_ADD(ADAM_CENTER_EXPANSION_SLOT_TAG, XTAL_7_15909MHz/2, adam_slot2_devices, nullptr)
MCFG_ADAM_EXPANSION_SLOT_IRQ_CALLBACK(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0))
MCFG_ADAM_EXPANSION_SLOT_ADD(ADAM_RIGHT_EXPANSION_SLOT_TAG, XTAL_7_15909MHz/2, adam_slot3_devices, "ram")
MCFG_COLECOVISION_CONTROL_PORT_ADD(CONTROL1_TAG, colecovision_control_port_devices, "hand")
MCFG_COLECOVISION_CONTROL_PORT_IRQ_CALLBACK(WRITELINE(adam_state, joy1_irq_w))
MCFG_COLECOVISION_CONTROL_PORT_ADD(CONTROL2_TAG, colecovision_control_port_devices, NULL)
MCFG_COLECOVISION_CONTROL_PORT_ADD(CONTROL2_TAG, colecovision_control_port_devices, nullptr)
MCFG_COLECOVISION_CONTROL_PORT_IRQ_CALLBACK(WRITELINE(adam_state, joy2_irq_w))
// internal ram

View File

@ -2005,13 +2005,13 @@ ROM_START( pspikesb )
/* $00000-$20000 stays the same in all sound banks, */
/* the second half of the bank is what gets switched */
ROM_REGION( 0x100000, "oki", 0 ) /* Samples */
ROM_COPY( "user1", 0x000000, 0x000000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x020000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x040000, 0x020000)
ROM_COPY( "user1", nullptr, 0x000000, 0x020000)
ROM_COPY( "user1", nullptr, 0x020000, 0x020000)
ROM_COPY( "user1", nullptr, 0x040000, 0x020000)
ROM_COPY( "user1", 0x020000, 0x060000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x080000, 0x020000)
ROM_COPY( "user1", nullptr, 0x080000, 0x020000)
ROM_COPY( "user1", 0x040000, 0x0a0000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x0c0000, 0x020000)
ROM_COPY( "user1", nullptr, 0x0c0000, 0x020000)
ROM_COPY( "user1", 0x060000, 0x0e0000, 0x020000)
ROM_END
@ -2038,13 +2038,13 @@ ROM_START( pspikesba )
/* $00000-$20000 stays the same in all sound banks, */
/* the second half of the bank is what gets switched */
ROM_REGION( 0x100000, "oki", 0 ) /* Samples */
ROM_COPY( "user1", 0x000000, 0x000000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x020000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x040000, 0x020000)
ROM_COPY( "user1", nullptr, 0x000000, 0x020000)
ROM_COPY( "user1", nullptr, 0x020000, 0x020000)
ROM_COPY( "user1", nullptr, 0x040000, 0x020000)
ROM_COPY( "user1", 0x020000, 0x060000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x080000, 0x020000)
ROM_COPY( "user1", nullptr, 0x080000, 0x020000)
ROM_COPY( "user1", 0x040000, 0x0a0000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x0c0000, 0x020000)
ROM_COPY( "user1", nullptr, 0x0c0000, 0x020000)
ROM_COPY( "user1", 0x060000, 0x0e0000, 0x020000)
ROM_END
@ -2178,13 +2178,13 @@ ROM_START( pspikesc )
/* $00000-$20000 stays the same in all sound banks, */
/* the second half of the bank is what gets switched */
ROM_REGION( 0x100000, "oki", 0 ) /* Samples */
ROM_COPY( "user1", 0x000000, 0x000000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x020000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x040000, 0x020000)
ROM_COPY( "user1", nullptr, 0x000000, 0x020000)
ROM_COPY( "user1", nullptr, 0x020000, 0x020000)
ROM_COPY( "user1", nullptr, 0x040000, 0x020000)
ROM_COPY( "user1", 0x020000, 0x060000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x080000, 0x020000)
ROM_COPY( "user1", nullptr, 0x080000, 0x020000)
ROM_COPY( "user1", 0x040000, 0x0a0000, 0x020000)
ROM_COPY( "user1", 0x000000, 0x0c0000, 0x020000)
ROM_COPY( "user1", nullptr, 0x0c0000, 0x020000)
ROM_COPY( "user1", 0x060000, 0x0e0000, 0x020000)
ROM_END

View File

@ -201,7 +201,7 @@ static const z80_daisy_config daisy_chain_intf[] =
{ "z80ctc" },
{ "z80dart" },
{ "z80sio" },
{ NULL }
{ nullptr }
};
@ -298,7 +298,7 @@ WRITE8_MEMBER( altos5_state::port08_w )
{
m_port08 = data & 0x70;
m_floppy = NULL;
m_floppy = nullptr;
if (BIT(data, 5))
m_floppy = m_floppy1->get_device();
else

View File

@ -1329,12 +1329,12 @@ static MACHINE_CONFIG_START( amiga_base, amiga_state )
// floppy drives
MCFG_DEVICE_ADD("fdc", AMIGA_FDC, amiga_state::CLK_7M_PAL)
MCFG_FLOPPY_DRIVE_ADD("fdc:0", amiga_floppies, "35dd", amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:1", amiga_floppies, 0, amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:2", amiga_floppies, 0, amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:3", amiga_floppies, 0, amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:1", amiga_floppies, nullptr, amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:2", amiga_floppies, nullptr, amiga_fdc::floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fdc:3", amiga_floppies, nullptr, amiga_fdc::floppy_formats)
// rs232
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(WRITELINE(amiga_state, rs232_rx_w))
MCFG_RS232_DCD_HANDLER(WRITELINE(amiga_state, rs232_dcd_w))
MCFG_RS232_DSR_HANDLER(WRITELINE(amiga_state, rs232_dsr_w))
@ -1414,17 +1414,17 @@ static MACHINE_CONFIG_DERIVED_CLASS( a2000, amiga_base, a2000_state )
MCFG_DEVICE_ADD("u65", MSM6242, XTAL_32_768kHz)
// cpu slot
MCFG_EXPANSION_SLOT_ADD("maincpu", a2000_expansion_cards, NULL)
MCFG_EXPANSION_SLOT_ADD("maincpu", a2000_expansion_cards, nullptr)
// zorro slots
MCFG_ZORRO2_ADD("maincpu")
MCFG_ZORRO2_INT2_HANDLER(WRITELINE(a2000_state, zorro2_int2_w))
MCFG_ZORRO2_INT6_HANDLER(WRITELINE(a2000_state, zorro2_int6_w))
MCFG_ZORRO2_SLOT_ADD("zorro1", zorro2_cards, NULL)
MCFG_ZORRO2_SLOT_ADD("zorro2", zorro2_cards, NULL)
MCFG_ZORRO2_SLOT_ADD("zorro3", zorro2_cards, NULL)
MCFG_ZORRO2_SLOT_ADD("zorro4", zorro2_cards, NULL)
MCFG_ZORRO2_SLOT_ADD("zorro5", zorro2_cards, NULL)
MCFG_ZORRO2_SLOT_ADD("zorro1", zorro2_cards, nullptr)
MCFG_ZORRO2_SLOT_ADD("zorro2", zorro2_cards, nullptr)
MCFG_ZORRO2_SLOT_ADD("zorro3", zorro2_cards, nullptr)
MCFG_ZORRO2_SLOT_ADD("zorro4", zorro2_cards, nullptr)
MCFG_ZORRO2_SLOT_ADD("zorro5", zorro2_cards, nullptr)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED_CLASS( a2000n, a2000, a2000_state )
@ -1456,7 +1456,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( a500, amiga_base, a500_state )
MCFG_ADDRESS_MAP_BANK_STRIDE(0x200000)
// cpu slot
MCFG_EXPANSION_SLOT_ADD("maincpu", a500_expansion_cards, NULL)
MCFG_EXPANSION_SLOT_ADD("maincpu", a500_expansion_cards, nullptr)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED_CLASS( a500n, a500, a500_state )
@ -1594,7 +1594,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( a500p, amiga_base, a500p_state )
MCFG_DEVICE_ADD("u9", MSM6242, XTAL_32_768kHz)
// cpu slot
MCFG_EXPANSION_SLOT_ADD("maincpu", a500_expansion_cards, NULL)
MCFG_EXPANSION_SLOT_ADD("maincpu", a500_expansion_cards, nullptr)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED_CLASS( a500pn, a500p, a500p_state )
@ -1631,7 +1631,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( a600, amiga_base, a600_state )
MCFG_GAYLE_CS1_READ_HANDLER(DEVREAD16("ata", ata_interface_device, read_cs1))
MCFG_GAYLE_CS1_WRITE_HANDLER(DEVWRITE16("ata", ata_interface_device, write_cs1))
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", NULL, false)
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false)
MCFG_ATA_INTERFACE_IRQ_HANDLER(DEVWRITELINE("gayle", gayle_device, ide_interrupt_w))
// todo: pcmcia
@ -1680,7 +1680,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( a1200, amiga_base, a1200_state )
MCFG_GAYLE_CS1_READ_HANDLER(DEVREAD16("ata", ata_interface_device, read_cs1))
MCFG_GAYLE_CS1_WRITE_HANDLER(DEVWRITE16("ata", ata_interface_device, write_cs1))
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", NULL, false)
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false)
MCFG_ATA_INTERFACE_IRQ_HANDLER(DEVWRITELINE("gayle", gayle_device, ide_interrupt_w))
// todo: pcmcia
@ -1728,7 +1728,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( a4000, amiga_base, a4000_state )
MCFG_DEVICE_ADD("rtc", RP5C01, XTAL_32_768kHz)
// ide
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", NULL, false)
MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false)
MCFG_ATA_INTERFACE_IRQ_HANDLER(WRITELINE(a4000_state, ide_interrupt_w))
// todo: zorro3
@ -1896,10 +1896,10 @@ ROM_START( a2000 )
ROM_DEFAULT_BIOS("kick13")
ROM_SYSTEM_BIOS(0, "kick12", "Kickstart 1.2 (33.180)")
ROMX_LOAD("315093-01.u2", 0x00000, 0x40000, CRC(a6ce1636) SHA1(11f9e62cf299f72184835b7b2a70a16333fc0d88), ROM_GROUPWORD | ROM_BIOS(1))
ROM_COPY("kickstart", 0x00000, 0x40000, 0x40000)
ROM_COPY("kickstart", nullptr, 0x40000, 0x40000)
ROM_SYSTEM_BIOS(1, "kick13", "Kickstart 1.3 (34.5)")
ROMX_LOAD("315093-02.u2", 0x00000, 0x40000, CRC(c4f0f55f) SHA1(891e9a547772fe0c6c19b610baf8bc4ea7fcb785), ROM_GROUPWORD | ROM_BIOS(2))
ROM_COPY("kickstart", 0x00000, 0x40000, 0x40000)
ROM_COPY("kickstart", nullptr, 0x40000, 0x40000)
ROM_SYSTEM_BIOS(2, "kick204", "Kickstart 2.04 (37.175)")
ROMX_LOAD("390979-01.u2", 0x00000, 0x80000, CRC(c3bdb240) SHA1(c5839f5cb98a7a8947065c3ed2f14f5f42e334a1), ROM_GROUPWORD | ROM_BIOS(3))
ROM_SYSTEM_BIOS(3, "kick31", "Kickstart 3.1 (40.63)")
@ -1946,7 +1946,7 @@ ROM_START( cdtv )
// standard amiga kickstart 1.3
ROM_REGION16_BE(0x80000, "kickstart", 0)
ROMX_LOAD("315093-02.u13", 0x00000, 0x40000, CRC(c4f0f55f) SHA1(891e9a547772fe0c6c19b610baf8bc4ea7fcb785), ROM_GROUPWORD)
ROM_COPY("kickstart", 0x00000, 0x40000, 0x40000)
ROM_COPY("kickstart", nullptr, 0x40000, 0x40000)
// remote control input converter, mos 6500/1 mcu
ROM_REGION(0x800, "rcmcu", 0)

View File

@ -67,7 +67,7 @@ WRITE8_MEMBER( ampro_state::port00_w )
{
membank("bankr0")->set_entry(BIT(data, 6));
m_fdc->dden_w(BIT(data, 5));
floppy_image_device *floppy = NULL;
floppy_image_device *floppy = nullptr;
if (BIT(data, 0)) floppy = m_floppy0->get_device();
m_fdc->set_floppy(floppy);
if (floppy)
@ -114,7 +114,7 @@ static const z80_daisy_config daisy_chain_intf[] =
{
{ "z80ctc" },
{ "z80dart" },
{ NULL }
{ nullptr }
};
// Baud rate generator. All inputs are 2MHz.

View File

@ -488,7 +488,7 @@ INPUT_PORTS_END
// has it's own mouse
static MACHINE_CONFIG_FRAGMENT( cfg_com )
MCFG_DEVICE_MODIFY("serport0")
MCFG_SLOT_DEFAULT_OPTION(NULL)
MCFG_SLOT_DEFAULT_OPTION(nullptr)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( pc200, amstrad_pc_state )
@ -505,8 +505,8 @@ static MACHINE_CONFIG_START( pc200, amstrad_pc_state )
MCFG_ISA8_SLOT_ADD("mb:isa", "com", pc_isa8_cards, "com", true)
MCFG_SLOT_OPTION_MACHINE_CONFIG("com", cfg_com)
MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, NULL, false)
MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, NULL, false)
MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, nullptr, false)
MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, nullptr, false)
/* printer */
MCFG_DEVICE_ADD("lpt_0", PC_LPT, 0)

View File

@ -911,7 +911,7 @@ static MACHINE_CONFIG_START( amstrad_base, amstrad_state )
MCFG_PALETTE_ADD("palette", 32)
MCFG_PALETTE_INIT_OWNER(amstrad_state,amstrad_cpc)
MCFG_MC6845_ADD("mc6845", HD6845, NULL, XTAL_16MHz / 16)
MCFG_MC6845_ADD("mc6845", HD6845, nullptr, XTAL_16MHz / 16)
MCFG_MC6845_SHOW_BORDER_AREA(false)
MCFG_MC6845_CHAR_WIDTH(16)
MCFG_MC6845_OUT_DE_CB(WRITELINE(amstrad_state, amstrad_de_changed))
@ -947,7 +947,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( cpc464, amstrad_base )
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
MCFG_DEVICE_SLOT_INTERFACE(cpc464_exp_cards, NULL, false)
MCFG_DEVICE_SLOT_INTERFACE(cpc464_exp_cards, nullptr, false)
MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(INPUTLINE("maincpu", 0))
MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(WRITELINE(amstrad_state, cpc_romdis)) // ROMDIS
@ -966,7 +966,7 @@ static MACHINE_CONFIG_DERIVED( cpc664, amstrad_base )
MCFG_SOFTWARE_LIST_ADD("flop_list","cpc_flop")
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, NULL, false)
MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, nullptr, false)
MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(INPUTLINE("maincpu", 0))
MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(WRITELINE(amstrad_state, cpc_romdis)) // ROMDIS
@ -985,7 +985,7 @@ static MACHINE_CONFIG_DERIVED( cpc6128, amstrad_base )
MCFG_SOFTWARE_LIST_ADD("flop_list","cpc_flop")
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, NULL, false)
MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, nullptr, false)
MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(INPUTLINE("maincpu", 0))
MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(WRITELINE(amstrad_state, cpc_romdis)) // ROMDIS
@ -1036,7 +1036,7 @@ static MACHINE_CONFIG_START( cpcplus, amstrad_state )
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_INIT_OWNER(amstrad_state,amstrad_plus)
MCFG_MC6845_ADD("mc6845", AMS40489, NULL, XTAL_40MHz / 40)
MCFG_MC6845_ADD("mc6845", AMS40489, nullptr, XTAL_40MHz / 40)
MCFG_MC6845_SHOW_BORDER_AREA(false)
MCFG_MC6845_CHAR_WIDTH(16)
MCFG_MC6845_OUT_DE_CB(WRITELINE(amstrad_state, amstrad_plus_de_changed))
@ -1073,7 +1073,7 @@ static MACHINE_CONFIG_START( cpcplus, amstrad_state )
MCFG_FLOPPY_DRIVE_ADD("upd765:1", amstrad_floppies, "35ssdd", floppy_image_device::default_floppy_formats)
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
MCFG_DEVICE_SLOT_INTERFACE(cpcplus_exp_cards, NULL, false)
MCFG_DEVICE_SLOT_INTERFACE(cpcplus_exp_cards, nullptr, false)
MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(INPUTLINE("maincpu", 0))
MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(WRITELINE(amstrad_state, cpc_romdis)) // ROMDIS
@ -1115,7 +1115,7 @@ static MACHINE_CONFIG_START( gx4000, amstrad_state )
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_INIT_OWNER(amstrad_state,amstrad_plus)
MCFG_MC6845_ADD("mc6845", AMS40489, NULL, XTAL_40MHz / 40)
MCFG_MC6845_ADD("mc6845", AMS40489, nullptr, XTAL_40MHz / 40)
MCFG_MC6845_SHOW_BORDER_AREA(false)
MCFG_MC6845_CHAR_WIDTH(16)
MCFG_MC6845_OUT_DE_CB(WRITELINE(amstrad_state, amstrad_plus_de_changed))
@ -1156,7 +1156,7 @@ static MACHINE_CONFIG_DERIVED( aleste, cpc6128 )
MCFG_DEVICE_REMOVE("exp")
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
MCFG_DEVICE_SLOT_INTERFACE(aleste_exp_cards, NULL, false)
MCFG_DEVICE_SLOT_INTERFACE(aleste_exp_cards, nullptr, false)
MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(INPUTLINE("maincpu", 0))
MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(WRITELINE(amstrad_state, cpc_romdis)) // ROMDIS

View File

@ -900,7 +900,7 @@ static const floppy_format_type apc_floppy_formats[] = {
FLOPPY_D88_FORMAT,
FLOPPY_IMD_FORMAT,
FLOPPY_MFI_FORMAT,
NULL
nullptr
};
static SLOT_INTERFACE_START( apc_floppies )

View File

@ -84,9 +84,9 @@ public:
virtual bool is_creatable() const { return 0; }
virtual bool must_be_loaded() const { return 0; }
virtual bool is_reset_on_load() const { return 1; }
virtual const char *image_interface() const { return NULL; }
virtual const char *image_interface() const { return nullptr; }
virtual const char *file_extensions() const { return "apc"; }
virtual const option_guide *create_option_guide() const { return NULL; }
virtual const option_guide *create_option_guide() const { return nullptr; }
virtual bool call_load();
virtual void call_unload();
@ -213,9 +213,9 @@ public:
virtual bool is_creatable() const { return 1; }
virtual bool must_be_loaded() const { return 0; }
virtual bool is_reset_on_load() const { return 0; }
virtual const char *image_interface() const { return NULL; }
virtual const char *image_interface() const { return nullptr; }
virtual const char *file_extensions() const { return "tap"; }
virtual const option_guide *create_option_guide() const { return NULL; }
virtual const option_guide *create_option_guide() const { return nullptr; }
protected:
// device-level overrides
virtual void device_config_complete() { update_names(); }
@ -247,9 +247,9 @@ public:
virtual bool is_creatable() const { return 0; }
virtual bool must_be_loaded() const { return 0; }
virtual bool is_reset_on_load() const { return 0; }
virtual const char *image_interface() const { return NULL; }
virtual const char *image_interface() const { return nullptr; }
virtual const char *file_extensions() const { return "tap"; }
virtual const option_guide *create_option_guide() const { return NULL; }
virtual const option_guide *create_option_guide() const { return nullptr; }
protected:
// device-level overrides
virtual void device_config_complete() { update_names(); }

View File

@ -279,7 +279,7 @@ WRITE8_MEMBER( apf_state::apf_dischw_w)
/* bit 3 is index of drive to select */
UINT8 drive = BIT(data, 3);
floppy_image_device *floppy = NULL;
floppy_image_device *floppy = nullptr;
if (drive)
floppy = m_floppy1->get_device();
else
@ -534,7 +534,7 @@ static MACHINE_CONFIG_START( apfm1000, apf_state )
MCFG_PIA_IRQA_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
MCFG_PIA_IRQB_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
MCFG_APF_CARTRIDGE_ADD("cartslot", apf_cart, NULL)
MCFG_APF_CARTRIDGE_ADD("cartslot", apf_cart, nullptr)
/* software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list", "apfm1000")

View File

@ -603,7 +603,7 @@ READ8_MEMBER(napple2_state::c080_r)
offset &= 0x7F;
slot = offset / 0x10;
if (m_slotdevice[slot] != NULL)
if (m_slotdevice[slot] != nullptr)
{
return m_slotdevice[slot]->read_c0nx(space, offset % 0x10);
}
@ -619,7 +619,7 @@ WRITE8_MEMBER(napple2_state::c080_w)
offset &= 0x7F;
slot = offset / 0x10;
if (m_slotdevice[slot] != NULL)
if (m_slotdevice[slot] != nullptr)
{
m_slotdevice[slot]->write_c0nx(space, offset % 0x10, data);
}
@ -631,7 +631,7 @@ READ8_MEMBER(napple2_state::c100_r)
slotnum = ((offset>>8) & 0xf) + 1;
if (m_slotdevice[slotnum] != NULL)
if (m_slotdevice[slotnum] != nullptr)
{
if ((m_slotdevice[slotnum]->take_c800()) && (!space.debugger_access()))
{
@ -650,7 +650,7 @@ WRITE8_MEMBER(napple2_state::c100_w)
slotnum = ((offset>>8) & 0xf) + 1;
if (m_slotdevice[slotnum] != NULL)
if (m_slotdevice[slotnum] != nullptr)
{
if ((m_slotdevice[slotnum]->take_c800()) && (!space.debugger_access()))
{
@ -669,7 +669,7 @@ READ8_MEMBER(napple2_state::c800_r)
return 0xff;
}
if ((m_cnxx_slot != -1) && (m_slotdevice[m_cnxx_slot] != NULL))
if ((m_cnxx_slot != -1) && (m_slotdevice[m_cnxx_slot] != nullptr))
{
return m_slotdevice[m_cnxx_slot]->read_c800(space, offset&0xfff);
}
@ -685,7 +685,7 @@ WRITE8_MEMBER(napple2_state::c800_w)
return;
}
if ((m_cnxx_slot != -1) && (m_slotdevice[m_cnxx_slot] != NULL))
if ((m_cnxx_slot != -1) && (m_slotdevice[m_cnxx_slot] != nullptr))
{
m_slotdevice[m_cnxx_slot]->write_c800(space, offset&0xfff, data);
}
@ -1318,13 +1318,13 @@ static MACHINE_CONFIG_START( apple2_common, napple2_state )
MCFG_A2BUS_OUT_NMI_CB(WRITELINE(napple2_state, a2bus_nmi_w))
MCFG_A2BUS_OUT_INH_CB(WRITELINE(napple2_state, a2bus_inh_w))
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl0", apple2_slot0_cards, "lang")
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl1", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl2", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl3", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl1", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl2", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl3", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl4", apple2_cards, "mockingboard")
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl5", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl5", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl6", apple2_cards, "diskiing")
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl7", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD(A2_BUS_TAG, "sl7", apple2_cards, nullptr)
MCFG_SOFTWARE_LIST_ADD("flop525_list","apple2")

View File

@ -593,7 +593,7 @@ void apple2e_state::machine_start()
else // no expansion
{
m_exp_addrmask = 0;
m_exp_ram = NULL;
m_exp_ram = nullptr;
}
// precalculate joystick time constants
@ -607,8 +607,8 @@ void apple2e_state::machine_start()
}
// and aux slot device if any
m_aux_ptr = NULL;
m_aux_bank_ptr = NULL;
m_aux_ptr = nullptr;
m_aux_bank_ptr = nullptr;
if (m_a2eauxslot)
{
m_auxslotdevice = m_a2eauxslot->get_a2eauxslot_card();
@ -620,7 +620,7 @@ void apple2e_state::machine_start()
}
else // IIc has 128K right on the motherboard
{
m_auxslotdevice = NULL;
m_auxslotdevice = nullptr;
if (m_ram_size >= (128*1024))
{
@ -1853,7 +1853,7 @@ READ8_MEMBER(apple2e_state::c080_r)
}
else
{
if (m_slotdevice[slot] != NULL)
if (m_slotdevice[slot] != nullptr)
{
return m_slotdevice[slot]->read_c0nx(space, offset % 0x10);
}
@ -1876,7 +1876,7 @@ WRITE8_MEMBER(apple2e_state::c080_w)
}
else
{
if (m_slotdevice[slot] != NULL)
if (m_slotdevice[slot] != nullptr)
{
m_slotdevice[slot]->write_c0nx(space, offset % 0x10, data);
}
@ -1887,7 +1887,7 @@ UINT8 apple2e_state::read_slot_rom(address_space &space, int slotbias, int offse
{
int slotnum = ((offset>>8) & 0xf) + slotbias;
if (m_slotdevice[slotnum] != NULL)
if (m_slotdevice[slotnum] != nullptr)
{
if ((m_cnxx_slot == CNXX_UNCLAIMED) && (m_slotdevice[slotnum]->take_c800()) && (!space.debugger_access()))
{
@ -1905,7 +1905,7 @@ void apple2e_state::write_slot_rom(address_space &space, int slotbias, int offse
{
int slotnum = ((offset>>8) & 0xf) + slotbias;
if (m_slotdevice[slotnum] != NULL)
if (m_slotdevice[slotnum] != nullptr)
{
if ((m_cnxx_slot == CNXX_UNCLAIMED) && (m_slotdevice[slotnum]->take_c800()) && (!space.debugger_access()))
{
@ -1955,7 +1955,7 @@ READ8_MEMBER(apple2e_state::c800_r)
return 0xff;
}
if ((m_cnxx_slot > 0) && (m_slotdevice[m_cnxx_slot] != NULL))
if ((m_cnxx_slot > 0) && (m_slotdevice[m_cnxx_slot] != nullptr))
{
return m_slotdevice[m_cnxx_slot]->read_c800(space, offset&0xfff);
}
@ -1978,7 +1978,7 @@ WRITE8_MEMBER(apple2e_state::c800_w)
return;
}
if ((m_cnxx_slot > 0) && (m_slotdevice[m_cnxx_slot] != NULL))
if ((m_cnxx_slot > 0) && (m_slotdevice[m_cnxx_slot] != nullptr))
{
m_slotdevice[m_cnxx_slot]->write_c800(space, offset&0xfff, data);
}
@ -3174,13 +3174,13 @@ static MACHINE_CONFIG_START( apple2e, apple2e_state )
MCFG_A2BUS_OUT_IRQ_CB(WRITELINE(apple2e_state, a2bus_irq_w))
MCFG_A2BUS_OUT_NMI_CB(WRITELINE(apple2e_state, a2bus_nmi_w))
MCFG_A2BUS_OUT_INH_CB(WRITELINE(apple2e_state, a2bus_inh_w))
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl4", apple2_cards, "mockingboard")
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl6", apple2_cards, "diskiing")
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, nullptr)
MCFG_DEVICE_ADD(A2_AUXSLOT_TAG, A2EAUXSLOT, 0)
MCFG_A2EAUXSLOT_CPU("maincpu")
@ -3241,13 +3241,13 @@ static MACHINE_CONFIG_DERIVED( apple2c, apple2ee )
MCFG_MOS6551_XTAL(XTAL_1_8432MHz) // matches SSC so modem software is compatible
MCFG_MOS6551_TXD_HANDLER(DEVWRITELINE("modem", rs232_port_device, write_txd))
MCFG_RS232_PORT_ADD(PRINTER_PORT_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(PRINTER_PORT_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IIC_ACIA1_TAG, mos6551_device, write_rxd))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(IIC_ACIA1_TAG, mos6551_device, write_dcd))
MCFG_RS232_DSR_HANDLER(DEVWRITELINE(IIC_ACIA1_TAG, mos6551_device, write_dsr))
MCFG_RS232_CTS_HANDLER(DEVWRITELINE(IIC_ACIA1_TAG, mos6551_device, write_cts))
MCFG_RS232_PORT_ADD(MODEM_PORT_TAG, default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD(MODEM_PORT_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(IIC_ACIA2_TAG, mos6551_device, write_rxd))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(IIC_ACIA2_TAG, mos6551_device, write_dcd))
MCFG_RS232_DSR_HANDLER(DEVWRITELINE(IIC_ACIA2_TAG, mos6551_device, write_dsr))
@ -3335,9 +3335,9 @@ static MACHINE_CONFIG_DERIVED( laser128, apple2c )
MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl2", A2BUS_LASER128, NULL)
MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl3", A2BUS_LASER128, NULL)
MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl4", A2BUS_LASER128, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, nullptr)
MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl6", A2BUS_LASER128, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, nullptr)
MCFG_RAM_MODIFY(RAM_TAG)
MCFG_RAM_DEFAULT_SIZE("128K")

View File

@ -374,13 +374,13 @@ static MACHINE_CONFIG_START( apple2gs, apple2gs_state )
MCFG_A2BUS_OUT_NMI_CB(WRITELINE(apple2gs_state, a2bus_nmi_w))
MCFG_A2BUS_OUT_INH_CB(WRITELINE(apple2gs_state, a2bus_inh_w))
MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl0", A2BUS_LANG, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl4", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl6", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl4", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl6", apple2_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, nullptr)
MCFG_IWM_ADD("fdc", apple2_fdc_interface)

View File

@ -94,10 +94,10 @@ static MACHINE_CONFIG_START( apple3, apple3_state )
MCFG_A2BUS_OUT_IRQ_CB(WRITELINE(apple3_state, a2bus_irq_w))
MCFG_A2BUS_OUT_NMI_CB(WRITELINE(apple3_state, a2bus_nmi_w))
//MCFG_A2BUS_OUT_INH_CB(WRITELINE(apple3_state, a2bus_inh_w))
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple3_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple3_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple3_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl4", apple3_cards, NULL)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl1", apple3_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl2", apple3_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl3", apple3_cards, nullptr)
MCFG_A2BUS_SLOT_ADD("a2bus", "sl4", apple3_cards, nullptr)
/* fdc */
MCFG_DEVICE_ADD("fdc", APPLEIII_FDC, 1021800*2)
@ -117,7 +117,7 @@ static MACHINE_CONFIG_START( apple3, apple3_state )
MCFG_MOS6551_RTS_HANDLER(DEVWRITELINE("rs232", rs232_port_device, write_rts))
MCFG_MOS6551_DTR_HANDLER(DEVWRITELINE("rs232", rs232_port_device, write_dtr))
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE("acia", mos6551_device, write_rxd))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE("acia", mos6551_device, write_dcd))
MCFG_RS232_DSR_HANDLER(DEVWRITELINE("acia", mos6551_device, write_dsr))

View File

@ -349,7 +349,7 @@ WRITE8_MEMBER( applix_state::port08_w )
m_port08 = data;
membank("bank1")->set_entry(BIT(data, 6));
floppy_image_device *floppy = NULL;
floppy_image_device *floppy = nullptr;
if (BIT(data, 2)) floppy = m_floppy0->get_device();
if (BIT(data, 3)) floppy = m_floppy1->get_device();

View File

@ -173,7 +173,7 @@ WRITE8_MEMBER( apricot_state::i8255_portb_w )
m_display_on = BIT(data, 3);
m_video_mode = BIT(data, 4);
floppy_image_device *floppy = NULL;
floppy_image_device *floppy = nullptr;
// bit 5, enable disk select
// bit 6, disk select
@ -440,7 +440,7 @@ static MACHINE_CONFIG_START( apricot, apricot_state )
MCFG_Z80DART_OUT_INT_CB(DEVWRITELINE("ic31", pic8259_device, ir5_w))
// rs232 port
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, NULL)
MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, nullptr)
// note: missing a receive clock callback to support external clock mode
// (m_data_selector_rts == 1 and m_data_selector_dtr == 0)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE("ic15", z80sio0_device, rxa_w))
@ -474,8 +474,8 @@ static MACHINE_CONFIG_START( apricot, apricot_state )
// expansion bus
MCFG_EXPANSION_ADD("exp", "ic91")
MCFG_EXPANSION_IOP_ADD("ic71")
MCFG_EXPANSION_SLOT_ADD("exp:1", apricot_expansion_cards, NULL)
MCFG_EXPANSION_SLOT_ADD("exp:2", apricot_expansion_cards, NULL)
MCFG_EXPANSION_SLOT_ADD("exp:1", apricot_expansion_cards, nullptr)
MCFG_EXPANSION_SLOT_ADD("exp:2", apricot_expansion_cards, nullptr)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( apricotxi, apricot )

View File

@ -499,7 +499,7 @@ static MACHINE_CONFIG_START( arcadia, arcadia_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
/* cartridge */
MCFG_ARCADIA_CARTRIDGE_ADD("cartslot", arcadia_cart, NULL)
MCFG_ARCADIA_CARTRIDGE_ADD("cartslot", arcadia_cart, nullptr)
/* Software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list","arcadia")

View File

@ -513,7 +513,7 @@ void aristmk5_state::machine_reset()
PRG = memregion(rom_region[op_mode & 3])->base();
if(PRG!=NULL)
if(PRG!=nullptr)
for(i=0;i<0x400000;i++)
ROM[i] = PRG[i];

View File

@ -845,7 +845,7 @@ ROM_END
ROM_START( ar_argh ) // this plugs directly into the a500 motherboard, no arcadia bios, just the a500 kickstart and game ROMs
ROM_REGION16_BE(0x80000, "kickstart", 0 )
ROM_LOAD16_WORD("315093-01.u2", 0x00000, 0x40000, CRC(a6ce1636) SHA1(11f9e62cf299f72184835b7b2a70a16333fc0d88))
ROM_COPY("kickstart", 0x00000, 0x40000, 0x40000 )
ROM_COPY("kickstart", nullptr, 0x40000, 0x40000 )
ROM_REGION16_BE( 0x180000, "user3", ROMREGION_ERASEFF )
ROM_LOAD16_BYTE( "argh-1-hi-11-28-87.u12", 0x000000, 0x10000, CRC(3b1f8075) SHA1(61aeff9f6a2dff6efe4276cb0bcbb80b495e26b6) )

View File

@ -618,7 +618,7 @@ static const char *const astinvad_sample_names[] =
"6",
"7",
"8",
0
nullptr
};

View File

@ -208,10 +208,10 @@ static MACHINE_CONFIG_START( astrocde, astrocde_mess_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
/* expansion port */
MCFG_ASTROCADE_EXPANSION_SLOT_ADD("exp", astrocade_exp, NULL)
MCFG_ASTROCADE_EXPANSION_SLOT_ADD("exp", astrocade_exp, nullptr)
/* cartridge */
MCFG_ASTROCADE_CARTRIDGE_ADD("cartslot", astrocade_cart, NULL)
MCFG_ASTROCADE_CARTRIDGE_ADD("cartslot", astrocade_cart, nullptr)
/* Software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list","astrocde")

View File

@ -643,10 +643,10 @@ static MACHINE_CONFIG_START( at386, at_state )
MCFG_ISA16_SLOT_ADD("isabus","board4", pc_isa16_cards, "lpt", true)
// ISA cards
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "svga_et4k", false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
/* internal ram */
@ -682,11 +682,11 @@ static MACHINE_CONFIG_START( k286i, at_state )
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "cga", false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "fdc", false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, "comat", false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa6", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa7", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa8", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa6", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa7", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa8", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
/* internal ram */
@ -728,10 +728,10 @@ static MACHINE_CONFIG_START( at586, at586_state )
MCFG_PCI_BUS_DEVICE("pcibus:1", pci_devices, "i82371ab", true)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa1", pc_isa16_cards, "svga_et4k", false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa2", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa3", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa5", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa2", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa3", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa5", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
MCFG_FRAGMENT_ADD( at_softlists )
@ -754,10 +754,10 @@ static MACHINE_CONFIG_START( at586x3, at586_state )
MCFG_PCI_BUS_DEVICE("pcibus:1", pci_devices, "i82371sb", true)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa1", pc_isa16_cards, "svga_et4k", false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa2", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa3", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa5", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa2", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa3", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa5", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
MCFG_FRAGMENT_ADD( at_softlists )
@ -824,7 +824,7 @@ static MACHINE_CONFIG_START( megapc, megapc_state )
MCFG_ISA16_SLOT_ADD("isabus","board4", pc_isa16_cards, "lpt", true)
MCFG_ISA16_SLOT_ADD("isabus","board5", pc_isa16_cards, "vga", true)
// ISA cards
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, nullptr, false)
MCFG_DEVICE_ADD("keybc", AT_KEYBOARD_CONTROLLER, XTAL_12MHz)
MCFG_AT_KEYBOARD_CONTROLLER_SYSTEM_RESET_CB(DEVWRITELINE("wd7600", wd7600_device, kbrst_w))
@ -878,10 +878,10 @@ static MACHINE_CONFIG_START( megapcpla, at_state )
MCFG_ISA16_SLOT_ADD("isabus","board4", pc_isa16_cards, "lpt", true)
// ISA cards
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "svga_dm", false) // closest to the CL-GD5420
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
/* internal ram */
@ -916,17 +916,17 @@ static MACHINE_CONFIG_START( ficpio2, at_state )
MCFG_ISA16_SLOT_ADD("isabus","board2", pc_isa16_cards, "comat", true)
MCFG_ISA16_SLOT_ADD("isabus","board3", pc_isa16_cards, "lpt", true)
MCFG_IDE_CONTROLLER_32_ADD("ide", ata_devices, "hdd", NULL, true)
MCFG_IDE_CONTROLLER_32_ADD("ide", ata_devices, "hdd", nullptr, true)
MCFG_ATA_INTERFACE_IRQ_HANDLER(DEVWRITELINE("pic8259_slave", pic8259_device, ir6_w))
MCFG_IDE_CONTROLLER_32_ADD("ide2", ata_devices, "cdrom", NULL, true)
MCFG_IDE_CONTROLLER_32_ADD("ide2", ata_devices, "cdrom", nullptr, true)
MCFG_ATA_INTERFACE_IRQ_HANDLER(DEVWRITELINE("pic8259_slave", pic8259_device, ir7_w))
MCFG_PCI_BUS_ADD("pcibus", 0)
MCFG_PCI_BUS_DEVICE("pcibus:0", pci_devices, "vt82c505", true)
MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "svga_et4k", false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, NULL, false)
MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, nullptr, false)
MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, nullptr, false)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
MCFG_VT82C496_ADD("chipset")
@ -1341,7 +1341,7 @@ ROM_START( ct386sx )
ROM_SYSTEM_BIOS(0, "neatsx", "NEATsx 386sx")
ROMX_LOAD("012l-u25.bin", 0xf0000, 0x8000, CRC(4ab1862d) SHA1(d4e8d0ff43731270478ca7671a129080ff350a4f),ROM_SKIP(1) | ROM_BIOS(1) )
ROMX_LOAD("012h-u24.bin", 0xf0001, 0x8000, CRC(17472521) SHA1(7588c148fe53d9dc4cb2d0ab6e0fd51a39bb5d1a),ROM_SKIP(1) | ROM_BIOS(1) )
ROM_FILL(0xfe2c9, 1, 0) // skip incompatible keyboard controller test
ROM_FILL(0xfe2c9, 1, nullptr) // skip incompatible keyboard controller test
ROM_FILL(0xfe2cb, 1, 0xbb) // fix checksum
ROM_END

View File

@ -1711,7 +1711,7 @@ void a400_state::setup_ram(int bank, UINT32 size)
case 0: // 0x0000-0x7fff
ram_top = MIN(size, 0x8000) - 1;
m_maincpu->space(AS_PROGRAM).install_readwrite_bank(0x0000, ram_top, "0000");
if (m_0000 == NULL)
if (m_0000 == nullptr)
m_0000.findit();
m_0000->set_base(m_ram->pointer());
break;
@ -1720,7 +1720,7 @@ void a400_state::setup_ram(int bank, UINT32 size)
if (ram_top > 0x8000)
{
m_maincpu->space(AS_PROGRAM).install_readwrite_bank(0x8000, ram_top, "8000");
if (m_8000 == NULL)
if (m_8000 == nullptr)
m_8000.findit();
m_8000->set_base(m_ram->pointer() + 0x8000);
}
@ -1730,7 +1730,7 @@ void a400_state::setup_ram(int bank, UINT32 size)
if (ram_top > 0xa000)
{
m_maincpu->space(AS_PROGRAM).install_readwrite_bank(0xa000, ram_top, "a000");
if (m_a000 == NULL)
if (m_a000 == nullptr)
m_a000.findit();
m_a000->set_base(m_ram->pointer() + 0xa000);
}
@ -2103,7 +2103,7 @@ static MACHINE_CONFIG_START( atari_common_nodac, a400_state )
MCFG_DEVICE_ADD("a8sio", A8SIO, 0)
MCFG_A8SIO_DATA_IN_CB(DEVWRITELINE("pokey", pokey_device, sid_w))
MCFG_A8SIO_SLOT_ADD("a8sio", "sio", NULL)
MCFG_A8SIO_SLOT_ADD("a8sio", "sio", nullptr)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@ -2142,7 +2142,7 @@ static MACHINE_CONFIG_DERIVED( atari_common, atari_common_nodac )
/* devices */
MCFG_DEVICE_ADD("fdc", ATARI_FDC, 0)
MCFG_A800_CARTRIDGE_ADD("cartleft", a800_left, NULL)
MCFG_A800_CARTRIDGE_ADD("cartleft", a800_left, nullptr)
/* software lists */
MCFG_SOFTWARE_LIST_ADD("flop_list","a800_flop")
@ -2194,7 +2194,7 @@ static MACHINE_CONFIG_DERIVED( a800, atari_common )
MCFG_SCREEN_REFRESH_RATE(FRAME_RATE_60HZ)
MCFG_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_60HZ)
MCFG_A800_CARTRIDGE_ADD("cartright", a800_right, NULL)
MCFG_A800_CARTRIDGE_ADD("cartright", a800_right, nullptr)
MACHINE_CONFIG_END
@ -2211,7 +2211,7 @@ static MACHINE_CONFIG_DERIVED( a800pal, atari_common )
MCFG_SCREEN_REFRESH_RATE(FRAME_RATE_50HZ)
MCFG_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_50HZ)
MCFG_A800_CARTRIDGE_ADD("cartright", a800_right, NULL)
MCFG_A800_CARTRIDGE_ADD("cartright", a800_right, nullptr)
MACHINE_CONFIG_END
@ -2303,7 +2303,7 @@ static MACHINE_CONFIG_DERIVED( xegs, a800xl )
MCFG_DEVICE_REMOVE("cartleft")
MCFG_DEVICE_REMOVE("cart_list")
MCFG_XEGS_CARTRIDGE_ADD("cartleft", xegs_carts, NULL)
MCFG_XEGS_CARTRIDGE_ADD("cartleft", xegs_carts, nullptr)
MACHINE_CONFIG_END
@ -2339,7 +2339,7 @@ static MACHINE_CONFIG_DERIVED( a5200, atari_common_nodac )
MCFG_SCREEN_REFRESH_RATE(FRAME_RATE_60HZ)
MCFG_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_60HZ)
MCFG_A5200_CARTRIDGE_ADD("cartleft", a5200_carts, NULL)
MCFG_A5200_CARTRIDGE_ADD("cartleft", a5200_carts, nullptr)
/* Software lists */
MCFG_SOFTWARE_LIST_ADD("cart_list","a5200")

View File

@ -130,7 +130,7 @@ void atarig1_state::update_bank(int bank)
void atarig1_state::device_post_load()
{
if (m_bslapstic_base != NULL)
if (m_bslapstic_base != nullptr)
{
int bank = m_bslapstic_bank;
m_bslapstic_bank = -1;

View File

@ -1519,7 +1519,7 @@ ROM_START( spclords )
ROM_REGION( 0x60000, "gfx1", 0 )
ROM_LOAD( "136095.30a", 0x00000, 0x20000, CRC(27e0cfec) SHA1(03df57757d091f9a0b8c8d98d091dd759f570788) ) /* playfield, planes 0-1 */
ROM_LOAD( "136095.31a", 0x20000, 0x20000, CRC(5529cdc7) SHA1(8aff8a42fb2a86b7e4666940da4c1ee19dab6281) ) /* playfield, planes 2-3 */
ROM_FILL( 0x40000, 0x20000, 0 ) /* playfield, planes 4-5 */
ROM_FILL( 0x40000, 0x20000, nullptr ) /* playfield, planes 4-5 */
ROM_REGION( 0x020000, "gfx2", 0 )
ROM_LOAD( "136095.25a", 0x000000, 0x20000, CRC(1669496e) SHA1(005deaafd6156505e3a27966123e58928837ad9f) ) /* alphanumerics */
@ -1565,7 +1565,7 @@ ROM_START( spclordsb )
ROM_REGION( 0x60000, "gfx1", 0 )
ROM_LOAD( "136095.30a", 0x00000, 0x20000, CRC(27e0cfec) SHA1(03df57757d091f9a0b8c8d98d091dd759f570788) ) /* playfield, planes 0-1 */
ROM_LOAD( "136095.31a", 0x20000, 0x20000, CRC(5529cdc7) SHA1(8aff8a42fb2a86b7e4666940da4c1ee19dab6281) ) /* playfield, planes 2-3 */
ROM_FILL( 0x40000, 0x20000, 0 ) /* playfield, planes 4-5 */
ROM_FILL( 0x40000, 0x20000, nullptr ) /* playfield, planes 4-5 */
ROM_REGION( 0x020000, "gfx2", 0 )
ROM_LOAD( "136095.25a", 0x000000, 0x20000, CRC(1669496e) SHA1(005deaafd6156505e3a27966123e58928837ad9f) ) /* alphanumerics */
@ -1611,7 +1611,7 @@ ROM_START( spclordsg )
ROM_REGION( 0x60000, "gfx1", 0 )
ROM_LOAD( "136095.30a", 0x00000, 0x20000, CRC(27e0cfec) SHA1(03df57757d091f9a0b8c8d98d091dd759f570788) ) /* playfield, planes 0-1 */
ROM_LOAD( "136095.31a", 0x20000, 0x20000, CRC(5529cdc7) SHA1(8aff8a42fb2a86b7e4666940da4c1ee19dab6281) ) /* playfield, planes 2-3 */
ROM_FILL( 0x40000, 0x20000, 0 ) /* playfield, planes 4-5 */
ROM_FILL( 0x40000, 0x20000, nullptr ) /* playfield, planes 4-5 */
ROM_REGION( 0x020000, "gfx2", 0 )
ROM_LOAD( "136095.25a", 0x000000, 0x20000, CRC(1669496e) SHA1(005deaafd6156505e3a27966123e58928837ad9f) ) /* alphanumerics */
@ -1657,7 +1657,7 @@ ROM_START( spclordsa )
ROM_REGION( 0x60000, "gfx1", 0 )
ROM_LOAD( "136095.30a", 0x00000, 0x20000, CRC(27e0cfec) SHA1(03df57757d091f9a0b8c8d98d091dd759f570788) ) /* playfield, planes 0-1 */
ROM_LOAD( "136095.31a", 0x20000, 0x20000, CRC(5529cdc7) SHA1(8aff8a42fb2a86b7e4666940da4c1ee19dab6281) ) /* playfield, planes 2-3 */
ROM_FILL( 0x40000, 0x20000, 0 ) /* playfield, planes 4-5 */
ROM_FILL( 0x40000, 0x20000, nullptr ) /* playfield, planes 4-5 */
ROM_REGION( 0x020000, "gfx2", 0 )
ROM_LOAD( "136095.25a", 0x000000, 0x20000, CRC(1669496e) SHA1(005deaafd6156505e3a27966123e58928837ad9f) ) /* alphanumerics */

Some files were not shown because too many files have changed in this diff Show More