mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
Rewritten Namco C148 device (interrupt controller) [Angelo Salese]
Rewritten Namco C139 device (SCI) [Angelo Salese] Fixed POS interrupt generation for Winning Run/Winning Run '91/Winning Run Suzuka GP [Angelo Salese] Fixed trail tachometer drawing in Winning Run [Angelo Salese]
This commit is contained in:
parent
358271ab3f
commit
34012d66d8
@ -805,6 +805,7 @@ WRITE16_MEMBER(namcos21_state::dspram16_w)
|
||||
|
||||
int namcos21_state::init_dsp()
|
||||
{
|
||||
// TODO: what actually tests this?
|
||||
uint16_t *pMem = (uint16_t *)memregion("dspmaster")->base();
|
||||
/**
|
||||
* DSP BIOS tests "CPU ID" on startup
|
||||
@ -1846,7 +1847,6 @@ MACHINE_START_MEMBER(namcos21_state,namcos21)
|
||||
namcos2_kickstart = namcos21_kickstart;
|
||||
}
|
||||
|
||||
// TODO: temp, C116 device
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(namcos21_state::screen_scanline)
|
||||
{
|
||||
int scanline = param;
|
||||
@ -1860,16 +1860,6 @@ TIMER_DEVICE_CALLBACK_MEMBER(namcos21_state::screen_scanline)
|
||||
m_gpu_intc->vblank_irq_trigger();
|
||||
}
|
||||
|
||||
#if 0
|
||||
if(scanline == cur_posirq)
|
||||
{
|
||||
m_master_intc->pos_irq_trigger();
|
||||
m_slave_intc->pos_irq_trigger();
|
||||
// TODO: wrong place!
|
||||
m_screen->update_partial(param);
|
||||
}
|
||||
#endif
|
||||
|
||||
if(m_gpu_intc != nullptr)
|
||||
{
|
||||
if(scanline == (0xff-m_gpu_intc->get_posirq_line())*2)
|
||||
|
Loading…
Reference in New Issue
Block a user