Exemplo n.º 1
0
MACHINE_START_MEMBER(qdrmfgp_state,qdrmfgp2)
{
	/* sound irq (CCU? 240Hz) */
	machine().scheduler().timer_pulse(attotime::from_hz(18432000/76800), timer_expired_delegate(FUNC(qdrmfgp_state::gp2_timer_callback),this));

	MACHINE_START_CALL_MEMBER( qdrmfgp );
}
Exemplo n.º 2
0
MACHINE_START_MEMBER(actfancr_state,triothep)
{

	MACHINE_START_CALL_MEMBER(actfancr);

	save_item(NAME(m_trio_control_select));
}
Exemplo n.º 3
0
MACHINE_START_MEMBER(alg_state,alg)
{
	MACHINE_START_CALL_MEMBER(amiga);

	m_serial_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(alg_state::response_timer),this));
	m_serial_timer_active = FALSE;
}
Exemplo n.º 4
0
	AM_RANGE(0x50000000, 0x500003ff) AM_RAM
ADDRESS_MAP_END

MACHINE_START_MEMBER(pgm_arm_type2_state,pgm_arm_type2)
{
	MACHINE_START_CALL_MEMBER(pgm);
	/* register type specific Save State stuff here */
}
Exemplo n.º 5
0
MACHINE_START_MEMBER(ojankohs_state,ojankoc)
{
	UINT8 *ROM = memregion("user1")->base();

	membank("bank1")->configure_entries(0, 0x10, &ROM[0x0000], 0x8000);

	MACHINE_START_CALL_MEMBER(common);
}
Exemplo n.º 6
0
MACHINE_START_MEMBER(ojankohs_state,ojankoy)
{
	UINT8 *ROM = memregion("maincpu")->base();

	membank("bank1")->configure_entries(0, 0x20, &ROM[0x10000], 0x4000);

	MACHINE_START_CALL_MEMBER(common);
}
Exemplo n.º 7
0
MACHINE_START_MEMBER(qdrmfgp_state,qdrmfgp2)
{
	/* sound irq (CCU? 240Hz) */
	m_gp2_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(qdrmfgp_state::gp2_timer_callback), this));
	m_gp2_timer->adjust(attotime::from_hz(XTAL(18'432'000)/76800), 0, attotime::from_hz(XTAL(18'432'000)/76800));

	MACHINE_START_CALL_MEMBER( qdrmfgp );
}
Exemplo n.º 8
0
MACHINE_START_MEMBER(f1gp_state,f1gp)
{
	UINT8 *ROM = memregion("audiocpu")->base();

	membank("bank1")->configure_entries(0, 2, &ROM[0x10000], 0x8000);

	MACHINE_START_CALL_MEMBER(f1gpb);
}
Exemplo n.º 9
0
MACHINE_START_MEMBER(tshoot_state,tshoot)
{
	MACHINE_START_CALL_MEMBER(williams2);
	m_grenade_lamp.resolve();
	m_gun_lamp.resolve();
	m_p1_gun_recoil.resolve();
	m_feather_blower.resolve();
}
Exemplo n.º 10
0
MACHINE_START_MEMBER(freekick_state,oigas)
{
	save_item(NAME(m_inval));
	save_item(NAME(m_outval));
	save_item(NAME(m_cnt));

	MACHINE_START_CALL_MEMBER(freekick);
}
Exemplo n.º 11
0
MACHINE_START_MEMBER(williams_state,defender)
{
	MACHINE_START_CALL_MEMBER(williams_common);

	/* configure the banking and make sure it is reset to 0 */
	membank("bank1")->configure_entries(0, 9, &memregion("maincpu")->base()[0x10000], 0x1000);

	machine().save().register_postload(save_prepost_delegate(FUNC(williams_state::defender_postload), this));
}
Exemplo n.º 12
0
MACHINE_START_MEMBER(f1gp_state,f1gp)
{
	UINT8 *ROM = memregion("audiocpu")->base();

	membank("bank1")->configure_entries(0, 2, &ROM[0x10000], 0x8000);

	m_audiocpu = machine().device<cpu_device>("audiocpu");
	m_k053936 = machine().device("k053936");

	MACHINE_START_CALL_MEMBER(f1gpb);
}
Exemplo n.º 13
0
MACHINE_START_MEMBER(epos_state,dealer)
{
	UINT8 *ROM = memregion("maincpu")->base();
	membank("bank1")->configure_entries(0, 4, &ROM[0x0000], 0x10000);
	membank("bank2")->configure_entries(0, 2, &ROM[0x6000], 0x1000);

	membank("bank1")->set_entry(0);
	membank("bank2")->set_entry(0);

	MACHINE_START_CALL_MEMBER(epos);
}
Exemplo n.º 14
0
	AM_RANGE(0x50000000, 0x500003ff) AM_RAM
ADDRESS_MAP_END

MACHINE_START_MEMBER(pgm_arm_type2_state,pgm_arm_type2)
{
	MACHINE_START_CALL_MEMBER(pgm);

	m_prot = machine().device<cpu_device>("prot");

	/* register type specific Save State stuff here */

}
Exemplo n.º 15
0
MACHINE_START_MEMBER(williams_state,blaster)
{
	MACHINE_START_CALL_MEMBER(williams_common);

	/* banking is different for blaster */
	membank("bank1")->configure_entry(0, m_videoram);
	membank("bank1")->configure_entries(1, 16, memregion("maincpu")->base() + 0x18000, 0x4000);

	membank("bank2")->configure_entry(0, m_videoram + 0x4000);
	membank("bank2")->configure_entries(1, 16, memregion("maincpu")->base() + 0x10000, 0x0000);

	save_item(NAME(m_blaster_bank));
}
Exemplo n.º 16
0
MACHINE_CONFIG_END

MACHINE_START_MEMBER(md_boot_state, md_6button)
{
	MACHINE_START_CALL_MEMBER(md_bootleg);

	m_io_pad_6b[0] = ioport("EXTRA1");
	m_io_pad_6b[1] = ioport("EXTRA2");
	m_io_pad_6b[2] = ioport("IN0");
	m_io_pad_6b[3] = ioport("UNK");

	// setup timers for 6 button pads
	for (int i = 0; i < 3; i++)
		m_io_timeout[i] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(md_base_state::io_timeout_timer_callback),this), (void*)(FPTR)i);
}
Exemplo n.º 17
0
INPUT_PORTS_END


MACHINE_START_MEMBER(megadriv_radica_state, megadriv_radica_6button)
{
	MACHINE_START_CALL_MEMBER(megadriv);
	m_vdp->stop_timers();

	m_io_pad_6b[0] = ioport("EXTRA1");
	m_io_pad_6b[1] = ioport("EXTRA2");
	m_io_pad_6b[2] = ioport("IN0");
	m_io_pad_6b[3] = ioport("UNK");

	// setup timers for 6 button pads
	for (int i = 0; i < 3; i++)
		m_io_timeout[i] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(md_base_state::io_timeout_timer_callback),this), (void*)(uintptr_t)i);

	save_item(NAME(m_bank));
}
Exemplo n.º 18
0
MACHINE_START_MEMBER(matmania_state,maniach)
{

	MACHINE_START_CALL_MEMBER(matmania);

	save_item(NAME(m_port_a_in));
	save_item(NAME(m_port_a_out));
	save_item(NAME(m_ddr_a));
	save_item(NAME(m_port_b_in));
	save_item(NAME(m_port_b_out));
	save_item(NAME(m_ddr_b));
	save_item(NAME(m_port_c_in));
	save_item(NAME(m_port_c_out));
	save_item(NAME(m_ddr_c));
	save_item(NAME(m_mcu_sent));
	save_item(NAME(m_main_sent));
	save_item(NAME(m_from_main));
	save_item(NAME(m_from_mcu));
}
Exemplo n.º 19
0
MACHINE_START_MEMBER(megadriv_radica_state, megadriv_radica_3button)
{
	MACHINE_START_CALL_MEMBER(megadriv);
	m_vdp->stop_timers();
	save_item(NAME(m_bank));
}
Exemplo n.º 20
0
MACHINE_START_MEMBER(williams_state,williams)
{
	MACHINE_START_CALL_MEMBER(williams_common);
}
Exemplo n.º 21
0
MACHINE_START_MEMBER(mcr68_state,zwackery)
{
    MACHINE_START_CALL_MEMBER(mcr68);
}
Exemplo n.º 22
0
MACHINE_START_MEMBER(f1gp_state,f1gp)
{
	membank("bank1")->configure_entries(0, 2, memregion("audiocpu")->base() + 0x10000, 0x8000);

	MACHINE_START_CALL_MEMBER(f1gpb);
}
Exemplo n.º 23
0
MACHINE_START_MEMBER(joust2_state,joust2)
{
	MACHINE_START_CALL_MEMBER(williams2);
	save_item(NAME(m_joust2_current_sound_data));
}
Exemplo n.º 24
0
MACHINE_START_MEMBER(pgm_arm_type3_state,pgm_arm_type3)
{
    MACHINE_START_CALL_MEMBER(pgm);
    /* register type specific Save State stuff here */
}
Exemplo n.º 25
0
MACHINE_START_MEMBER(cdtv_state,cdtv)
{
	MACHINE_START_CALL_MEMBER(amiga);
	MACHINE_START_CALL_LEGACY( amigacd );
}
Exemplo n.º 26
0
Arquivo: msx.c Projeto: Ilgrim/MAMEHub
MACHINE_START_MEMBER(msx_state,msx)
{
	MACHINE_START_CALL_MEMBER( msx2 );
}
Exemplo n.º 27
0
MACHINE_START_MEMBER(freekick_state,pbillrd)
{
	m_bank1->configure_entries(0, 2, memregion("maincpu")->base() + 0x8000, 0x4000);

	MACHINE_START_CALL_MEMBER(freekick);
}