mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
Merge branch 'perf'
Some checks failed
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
Some checks failed
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
This commit is contained in:
commit
12fc1fe678
@ -712,14 +712,14 @@ ffff
|
|||||||
if (m_busrq_state) {
|
if (m_busrq_state) {
|
||||||
if (!m_busack_state) {
|
if (!m_busack_state) {
|
||||||
m_busack_state = 1;
|
m_busack_state = 1;
|
||||||
if (busack_en) m_busack_cb(1);
|
m_busack_cb(1);
|
||||||
}
|
}
|
||||||
if (m_icount > 0)
|
if (m_icount > 0)
|
||||||
m_icount = 0;
|
m_icount = 0;
|
||||||
return;
|
return;
|
||||||
} else if (m_busack_state) {
|
} else if (m_busack_state) {
|
||||||
m_busack_state = 0;
|
m_busack_state = 0;
|
||||||
if (busack_en) m_busack_cb(0);
|
m_busack_cb(0);
|
||||||
}
|
}
|
||||||
call check_interrupts
|
call check_interrupts
|
||||||
m_after_ei = false;
|
m_after_ei = false;
|
||||||
|
@ -292,7 +292,6 @@ class OpcodeList:
|
|||||||
print("", file=f)
|
print("", file=f)
|
||||||
print("const bool nomemrq_en = !m_nomreq_cb.isunset();", file=f)
|
print("const bool nomemrq_en = !m_nomreq_cb.isunset();", file=f)
|
||||||
print("[[maybe_unused]] const bool refresh_en = !m_refresh_cb.isunset();", file=f)
|
print("[[maybe_unused]] const bool refresh_en = !m_refresh_cb.isunset();", file=f)
|
||||||
print("const bool busack_en = !m_busack_cb.isunset();", file=f)
|
|
||||||
print("", file=f)
|
print("", file=f)
|
||||||
print("bool interrupted = true;", file=f)
|
print("bool interrupted = true;", file=f)
|
||||||
print("while (u8(m_ref) != 0x00) {", file=f)
|
print("while (u8(m_ref) != 0x00) {", file=f)
|
||||||
|
@ -930,7 +930,6 @@ void chloe_state::chloe(machine_config &config)
|
|||||||
m_maincpu->set_memory_map(&chloe_state::map_mem);
|
m_maincpu->set_memory_map(&chloe_state::map_mem);
|
||||||
m_maincpu->set_io_map(&chloe_state::map_io);
|
m_maincpu->set_io_map(&chloe_state::map_io);
|
||||||
m_maincpu->set_vblank_int("screen", FUNC(chloe_state::chloe_interrupt));
|
m_maincpu->set_vblank_int("screen", FUNC(chloe_state::chloe_interrupt));
|
||||||
m_maincpu->nomreq_cb().set_nop();
|
|
||||||
|
|
||||||
ADDRESS_MAP_BANK(config, m_regs_map).set_map(&chloe_state::map_regs).set_options(ENDIANNESS_LITTLE, 8, 8, 0);
|
ADDRESS_MAP_BANK(config, m_regs_map).set_map(&chloe_state::map_regs).set_options(ENDIANNESS_LITTLE, 8, 8, 0);
|
||||||
|
|
||||||
|
@ -3451,7 +3451,6 @@ void specnext_state::tbblue(machine_config &config)
|
|||||||
m_maincpu->out_nextreg_cb().set(FUNC(specnext_state::reg_w));
|
m_maincpu->out_nextreg_cb().set(FUNC(specnext_state::reg_w));
|
||||||
m_maincpu->in_nextreg_cb().set(FUNC(specnext_state::reg_r));
|
m_maincpu->in_nextreg_cb().set(FUNC(specnext_state::reg_r));
|
||||||
m_maincpu->out_retn_seen_cb().set(FUNC(specnext_state::leave_nmi));
|
m_maincpu->out_retn_seen_cb().set(FUNC(specnext_state::leave_nmi));
|
||||||
m_maincpu->nomreq_cb().set_nop();
|
|
||||||
m_maincpu->busack_cb().set(m_dma, FUNC(specnext_dma_device::bai_w));
|
m_maincpu->busack_cb().set(m_dma, FUNC(specnext_dma_device::bai_w));
|
||||||
|
|
||||||
SPECNEXT_CTC(config, m_ctc, 28_MHz_XTAL / 8);
|
SPECNEXT_CTC(config, m_ctc, 28_MHz_XTAL / 8);
|
||||||
|
@ -1938,7 +1938,6 @@ void sprinter_state::sprinter(machine_config &config)
|
|||||||
m_maincpu->set_m1_map(&sprinter_state::map_fetch);
|
m_maincpu->set_m1_map(&sprinter_state::map_fetch);
|
||||||
m_maincpu->set_memory_map(&sprinter_state::map_mem);
|
m_maincpu->set_memory_map(&sprinter_state::map_mem);
|
||||||
m_maincpu->set_io_map(&sprinter_state::map_io);
|
m_maincpu->set_io_map(&sprinter_state::map_io);
|
||||||
m_maincpu->nomreq_cb().set_nop();
|
|
||||||
m_maincpu->set_irq_acknowledge_callback(NAME([](device_t &, int){ return 0xff; }));
|
m_maincpu->set_irq_acknowledge_callback(NAME([](device_t &, int){ return 0xff; }));
|
||||||
m_maincpu->irqack_cb().set(m_irqs, FUNC(input_merger_any_high_device::in_clear<2>));
|
m_maincpu->irqack_cb().set(m_irqs, FUNC(input_merger_any_high_device::in_clear<2>));
|
||||||
m_maincpu->irqack_cb().append(m_irqs, FUNC(input_merger_any_high_device::in_clear<1>));
|
m_maincpu->irqack_cb().append(m_irqs, FUNC(input_merger_any_high_device::in_clear<1>));
|
||||||
|
Loading…
Reference in New Issue
Block a user