Example #1
0
static DEVICE_START( exidy_sound )
{
	/* indicate no additional hardware */
	has_sh8253  = FALSE;
	has_tms5220 = FALSE;
	has_mc3417 = FALSE;

	DEVICE_START_CALL(common_sh_start);
}
Example #2
0
static DEVICE_START( exidy_sound )
{
	exidy_sound_state *state = get_safe_token(device);

	/* indicate no additional hardware */
	state->m_has_sh8253  = FALSE;
	state->m_tms = NULL;
	state->m_cvsd = NULL;

	DEVICE_START_CALL(common_sh_start);
}
Example #3
0
static DEVICE_START(mk48t08)
{
	timekeeper_state *c = get_safe_token(device);

	c->offset_control = 0x1ff8;
	c->offset_seconds = 0x1ff9;
	c->offset_minutes = 0x1ffa;
	c->offset_hours = 0x1ffb;
	c->offset_day = 0x1ffc;
	c->offset_date = 0x1ffd;
	c->offset_month = 0x1ffe;
	c->offset_year = 0x1fff;
	c->offset_century = 0x1ff1;
	c->offset_flags = 0x1ff0;
	c->size = 0x2000;

	DEVICE_START_CALL( timekeeper );
}
Example #4
0
static DEVICE_START(m48t02)
{
	timekeeper_state *c = get_safe_token(device);

	c->offset_control = 0x7f8;
	c->offset_seconds = 0x7f9;
	c->offset_minutes = 0x7fa;
	c->offset_hours = 0x7fb;
	c->offset_day = 0x7fc;
	c->offset_date = 0x7fd;
	c->offset_month = 0x7fe;
	c->offset_year = 0x7ff;
	c->offset_century = -1;
	c->offset_flags = -1;
	c->size = 0x800;

	DEVICE_START_CALL( timekeeper );
}
Example #5
0
static DEVICE_START( venture_common_sh_start )
{
	running_machine *machine = device->machine;

	DEVICE_START_CALL(common_sh_start);

	riot = devtag_get_device(machine, "riot");

	has_sh8253  = TRUE;
	has_tms5220 = FALSE;

	/* determine which sound hardware is installed */
	has_mc3417 = (devtag_get_device(device->machine, "cvsd") != NULL);

	/* 8253 */
	freq_to_step = (double)(1 << 24) / (double)SH8253_CLOCK;

    state_save_register_global(machine, riot_irq_state);
    sh8253_register_state_globals(device->machine);
}
Example #6
0
static DEVICE_START( m58819 )
{
    //tms6100_state *tms = get_safe_token(device);
    DEVICE_START_CALL( tms6100 );
    //tms5110_set_variant(tms, TMS5110_IS_5100);
}
Example #7
0
static DEVICE_START( venture_sound )
{
	DEVICE_START_CALL(venture_common_sh_start);
}