示例#1
0
文件: gb.cpp 项目: RalfVB/mame
MACHINE_RESET_MEMBER(gb_state,sgb)
{
    gb_init();

    gb_init_regs();

    /* Enable BIOS rom */
    m_bios_disable = false;
}
示例#2
0
MACHINE_RESET_MEMBER(gb_state,sgb)
{
	gb_init();

	gb_init_regs();

	/* Enable BIOS rom */
	m_bios_disable = 0;

	m_divcount = 0x0004;
}
示例#3
0
MACHINE_RESET_MEMBER(gb_state,gbc)
{
	gb_init();

	gb_init_regs();

	/* Enable BIOS rom */
	m_bios_disable = 0;

	for (int i = 0; i < 8; i++)
		memset(m_gbc_rammap[i], 0, 0x1000);
}
示例#4
0
文件: gb.cpp 项目: RalfVB/mame
MACHINE_RESET_MEMBER(gb_state,gbc)
{
    gb_init();

    gb_init_regs();

    /* Enable BIOS rom */
    m_bios_disable = false;

    for (auto & elem : m_gbc_rammap)
        memset(elem, 0, 0x1000);
}
示例#5
0
文件: gb.c 项目: antervud/MAMEHub
MACHINE_RESET_MEMBER(gb_state,gbpocket)
{
	gb_init();

	gb_init_regs();

	m_bios_disable = 1;

	/* Initialize the Sound registers */
	m_custom->sound_w(generic_space(), 0x16, 0x80);
	m_custom->sound_w(generic_space(), 0x15, 0xF3);
	m_custom->sound_w(generic_space(), 0x14, 0x77);

	m_divcount = 0xABC8;
}