diff options
author | cracyc <cracyc@users.noreply.github.com> | 2013-11-05 04:00:32 +0000 |
---|---|---|
committer | cracyc <cracyc@users.noreply.github.com> | 2013-11-05 04:00:32 +0000 |
commit | 75eaf393e6a5b7c251cb3174e19a44382a479582 (patch) | |
tree | 6d6d0a5d2f98e82a9f82c8c3f77630ca745c96d5 | |
parent | 46d050ba47dadc36c0e264ecfc7e258d904b265c (diff) |
(mess) southbridge: greatly increase refresh line delay (nw)
--
Passes floppy controller test, still crashes
-rw-r--r-- | src/mess/machine/southbridge.c | 6 |
1 files 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 ); |