mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
Fixed kinst regression, thing is update of fetures should be done on different place now (no whatsnew)
This commit is contained in:
parent
37a5826373
commit
5ef9d506a1
@ -164,6 +164,26 @@ public:
|
|||||||
*************************************/
|
*************************************/
|
||||||
|
|
||||||
static MACHINE_START( kinst )
|
static MACHINE_START( kinst )
|
||||||
|
{
|
||||||
|
kinst_state *state = machine.driver_data<kinst_state>();
|
||||||
|
/* set the fastest DRC options */
|
||||||
|
mips3drc_set_options(machine.device("maincpu"), MIPS3DRC_FASTEST_OPTIONS);
|
||||||
|
|
||||||
|
/* configure fast RAM regions for DRC */
|
||||||
|
mips3drc_add_fastram(machine.device("maincpu"), 0x08000000, 0x087fffff, FALSE, state->m_rambase2);
|
||||||
|
mips3drc_add_fastram(machine.device("maincpu"), 0x00000000, 0x0007ffff, FALSE, state->m_rambase);
|
||||||
|
mips3drc_add_fastram(machine.device("maincpu"), 0x1fc00000, 0x1fc7ffff, TRUE, state->m_rombase);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************
|
||||||
|
*
|
||||||
|
* Machine init
|
||||||
|
*
|
||||||
|
*************************************/
|
||||||
|
|
||||||
|
static MACHINE_RESET( kinst )
|
||||||
{
|
{
|
||||||
kinst_state *state = machine.driver_data<kinst_state>();
|
kinst_state *state = machine.driver_data<kinst_state>();
|
||||||
device_t *ide = machine.device("ide");
|
device_t *ide = machine.device("ide");
|
||||||
@ -198,26 +218,6 @@ static MACHINE_START( kinst )
|
|||||||
features[14*2+1] = 0x41;
|
features[14*2+1] = 0x41;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set the fastest DRC options */
|
|
||||||
mips3drc_set_options(machine.device("maincpu"), MIPS3DRC_FASTEST_OPTIONS);
|
|
||||||
|
|
||||||
/* configure fast RAM regions for DRC */
|
|
||||||
mips3drc_add_fastram(machine.device("maincpu"), 0x08000000, 0x087fffff, FALSE, state->m_rambase2);
|
|
||||||
mips3drc_add_fastram(machine.device("maincpu"), 0x00000000, 0x0007ffff, FALSE, state->m_rambase);
|
|
||||||
mips3drc_add_fastram(machine.device("maincpu"), 0x1fc00000, 0x1fc7ffff, TRUE, state->m_rombase);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*************************************
|
|
||||||
*
|
|
||||||
* Machine init
|
|
||||||
*
|
|
||||||
*************************************/
|
|
||||||
|
|
||||||
static MACHINE_RESET( kinst )
|
|
||||||
{
|
|
||||||
kinst_state *state = machine.driver_data<kinst_state>();
|
|
||||||
/* set a safe base location for video */
|
/* set a safe base location for video */
|
||||||
state->m_video_base = &state->m_rambase[0x30000/4];
|
state->m_video_base = &state->m_rambase[0x30000/4];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user