예제 #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;
}