From 75eaf393e6a5b7c251cb3174e19a44382a479582 Mon Sep 17 00:00:00 2001 From: cracyc Date: Tue, 5 Nov 2013 04:00:32 +0000 Subject: [PATCH] (mess) southbridge: greatly increase refresh line delay (nw) -- Passes floppy controller test, still crashes --- src/mess/machine/southbridge.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mess/machine/southbridge.c b/src/mess/machine/southbridge.c index b5501146c63..99fa97b9e46 100644 --- a/src/mess/machine/southbridge.c +++ b/src/mess/machine/southbridge.c @@ -383,7 +383,7 @@ READ8_MEMBER(southbridge_device::pc_dma_read_word) if(m_dma_channel == -1) return 0xff; UINT16 result; - offs_t page_offset = (((offs_t) m_dma_offset[1][m_dma_channel & 3]) << 16) & 0xFF0000; + offs_t page_offset = (((offs_t) m_dma_offset[1][m_dma_channel & 3]) << 16) & 0xFE0000; result = prog_space.read_word(page_offset + ( offset << 1 ) ); m_dma_high_byte = result & 0xFF00; @@ -397,7 +397,7 @@ WRITE8_MEMBER(southbridge_device::pc_dma_write_word) address_space& prog_space = m_maincpu->space(AS_PROGRAM); // get the right address space if(m_dma_channel == -1) return; - offs_t page_offset = (((offs_t) m_dma_offset[1][m_dma_channel & 3]) << 16) & 0xFF0000; + offs_t page_offset = (((offs_t) m_dma_offset[1][m_dma_channel & 3]) << 16) & 0xFE0000; prog_space.write_word(page_offset + ( offset << 1 ), m_dma_high_byte | data); } @@ -459,7 +459,7 @@ READ8_MEMBER( southbridge_device::at_portb_r ) /* This needs fixing/updating not sure what this is meant to fix */ if ( --m_poll_delay < 0 ) { - m_poll_delay = 3; + m_poll_delay = 20; m_at_offset1 ^= 0x10; } data = (data & ~0x10) | ( m_at_offset1 & 0x10 );