MACHINE_RESET_MEMBER(gb_state,sgb) { gb_init(); gb_init_regs(); /* Enable BIOS rom */ m_bios_disable = false; }
MACHINE_RESET_MEMBER(gb_state,sgb) { gb_init(); gb_init_regs(); /* Enable BIOS rom */ m_bios_disable = 0; m_divcount = 0x0004; }
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); }
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); }
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; }