mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
More progress towards ISA DACK line support (nw)
This commit is contained in:
parent
8fc5cb0f73
commit
7d30e2d374
@ -377,6 +377,8 @@ WRITE_LINE_MEMBER( cs4031_device::dma1_eop_w )
|
||||
|
||||
void cs4031_device::set_dma_channel(int channel, bool state)
|
||||
{
|
||||
//m_write_dack(channel, state);
|
||||
|
||||
if (!state)
|
||||
{
|
||||
m_dma_channel = channel;
|
||||
|
@ -135,6 +135,8 @@ WRITE_LINE_MEMBER( ibm5160_mb_device::pc_dma8237_out_eop )
|
||||
|
||||
void ibm5160_mb_device::pc_select_dma_channel(int channel, bool state)
|
||||
{
|
||||
m_isabus->dack_line_w(channel, state);
|
||||
|
||||
if(!state) {
|
||||
m_dma_channel = channel;
|
||||
if(m_cur_eop)
|
||||
|
@ -656,6 +656,8 @@ WRITE_LINE_MEMBER( i82371sb_isa_device::at_dma8237_out_eop )
|
||||
|
||||
void i82371sb_isa_device::pc_select_dma_channel(int channel, bool state)
|
||||
{
|
||||
m_isabus->dack_line_w(channel, state);
|
||||
|
||||
if(!state) {
|
||||
m_dma_channel = channel;
|
||||
if(m_cur_eop)
|
||||
|
@ -279,6 +279,7 @@ void pdc_device::device_add_mconfig(machine_config &config)
|
||||
m_dma8237->out_eop_callback().set(FUNC(pdc_device::i8237_eop_w));
|
||||
m_dma8237->in_memr_callback().set(FUNC(pdc_device::i8237_dma_mem_r));
|
||||
m_dma8237->out_memw_callback().set(FUNC(pdc_device::i8237_dma_mem_w));
|
||||
//m_dma8237->out_dack_callback<0>().set(m_fdc, FUNC(upd765a_device::dack_w));
|
||||
m_dma8237->in_ior_callback<0>().set(FUNC(pdc_device::i8237_fdc_dma_r));
|
||||
m_dma8237->out_iow_callback<0>().set(FUNC(pdc_device::i8237_fdc_dma_w));
|
||||
m_dma8237->in_ior_callback<1>().set(FUNC(pdc_device::m68k_dma_r));
|
||||
|
@ -492,6 +492,8 @@ WRITE_LINE_MEMBER( sis85c496_host_device::at_dma8237_out_eop )
|
||||
|
||||
void sis85c496_host_device::pc_select_dma_channel(int channel, bool state)
|
||||
{
|
||||
//m_isabus->dack_line_w(channel, state);
|
||||
|
||||
if(!state) {
|
||||
m_dma_channel = channel;
|
||||
//if(m_cur_eop)
|
||||
|
@ -401,6 +401,8 @@ WRITE_LINE_MEMBER( wd7600_device::dma1_eop_w )
|
||||
|
||||
void wd7600_device::set_dma_channel(int channel, bool state)
|
||||
{
|
||||
//m_write_dack(channel, state);
|
||||
|
||||
if (!state)
|
||||
{
|
||||
m_dma_channel = channel;
|
||||
|
Loading…
Reference in New Issue
Block a user