diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-02-14 14:41:27 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-02-14 14:41:27 +0000 |
commit | 5ef9d506a16cdd24a46ff62cdb6587e12a4705eb (patch) | |
tree | aaaaa7550f43367b134706e5fd9ee4db79916fb7 /src/mame/drivers/kinst.c | |
parent | 37a5826373380dcb71876383685d13495472dba0 (diff) |
Fixed kinst regression, thing is update of fetures should be done on different place now (no whatsnew)
Diffstat (limited to 'src/mame/drivers/kinst.c')
-rw-r--r-- | src/mame/drivers/kinst.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mame/drivers/kinst.c b/src/mame/drivers/kinst.c index fff936a91d0..01f9424cacc 100644 --- a/src/mame/drivers/kinst.c +++ b/src/mame/drivers/kinst.c @@ -166,6 +166,26 @@ public: 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>(); device_t *ide = machine.device("ide"); UINT8 *features = ide_get_features(ide,0); @@ -198,26 +218,6 @@ static MACHINE_START( kinst ) 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 */ state->m_video_base = &state->m_rambase[0x30000/4]; } |