mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
micro3d: remove obsolete underclock hack
This commit is contained in:
parent
faeca8f255
commit
7907866577
@ -8,7 +8,7 @@
|
||||
|
||||
Games supported:
|
||||
* F-15 Strike Eagle [3 sets]
|
||||
* B.O.T.S.S. - Battle of the Solar System [2 sets]
|
||||
* B.O.T.S.S.: Battle of the Solar System [2 sets]
|
||||
* Tank Battle (prototype)
|
||||
* Super Tank Attack (prototype)
|
||||
|
||||
@ -339,7 +339,7 @@ void micro3d_state::micro3d(machine_config &config)
|
||||
m_audiocpu->port_out_cb<3>().set(FUNC(micro3d_state::sound_p3_w));
|
||||
|
||||
MC68681(config, m_duart, 3.6864_MHz_XTAL);
|
||||
m_duart->irq_cb().set(FUNC(micro3d_state::duart_irq_handler));
|
||||
m_duart->irq_cb().set_inputline("maincpu", M68K_IRQ_3);
|
||||
m_duart->a_tx_cb().set("monitor_host", FUNC(rs232_port_device::write_txd));
|
||||
m_duart->b_tx_cb().set(FUNC(micro3d_state::duart_txb));
|
||||
m_duart->inport_cb().set(FUNC(micro3d_state::duart_input_r));
|
||||
|
@ -177,7 +177,6 @@ private:
|
||||
INTERRUPT_GEN_MEMBER(vblank);
|
||||
TIMER_CALLBACK_MEMBER(mac_done_callback);
|
||||
void upd7759_w(uint8_t data);
|
||||
void duart_irq_handler(int state);
|
||||
uint8_t duart_input_r();
|
||||
void duart_output_w(uint8_t data);
|
||||
void duart_txb(int state);
|
||||
|
@ -32,11 +32,6 @@ static constexpr XTAL MAC_CLK = XTAL(10'000'000);
|
||||
*
|
||||
*************************************/
|
||||
|
||||
void micro3d_state::duart_irq_handler(int state)
|
||||
{
|
||||
m_maincpu->set_input_line(3, state);
|
||||
}
|
||||
|
||||
void micro3d_state::duart_txb(int state)
|
||||
{
|
||||
if (state)
|
||||
@ -481,11 +476,6 @@ void micro3d_state::init_micro3d()
|
||||
/* The Am29000 program seems to rely on RAM from 0x00470000 onwards being
|
||||
non-zero on a reset, otherwise the 3D object data doesn't get uploaded! */
|
||||
space.write_dword(0x00470000, 0xa5a5a5a5);
|
||||
|
||||
/* TODO? BOTSS crashes when starting the final stage because the 68000
|
||||
overwrites memory in use by the Am29000. Slowing down the 68000 slightly
|
||||
avoids this */
|
||||
m_maincpu->set_clock_scale(0.945f);
|
||||
}
|
||||
|
||||
void micro3d_state::init_botss()
|
||||
|
Loading…
Reference in New Issue
Block a user