Previous 15994 Revisions Next

r12919 Thursday 22nd September, 2011 at 14:48:16 UTC by Olivier Galibert
atarist: Add some bus errors in appropriate places (there are still a bunch of them missing though) [O. Galibert]
[src/mess/drivers]atarist.c
[src/mess/includes]atarist.h

src/mess/includes/atarist.h
r12918r12919
162162   DECLARE_WRITE8_MEMBER( dma_base_w );
163163   DECLARE_READ8_MEMBER( mmu_r );
164164   DECLARE_WRITE8_MEMBER( mmu_w );
165   DECLARE_READ16_MEMBER( berr_r );
165166   DECLARE_WRITE16_MEMBER( berr_w );
166167   DECLARE_READ8_MEMBER( ikbd_port1_r );
167168   DECLARE_READ8_MEMBER( ikbd_port2_r );
src/mess/drivers/atarist.c
r12918r12919
392392   m_maincpu->set_input_line(M68K_LINE_BUSERROR, CLEAR_LINE);
393393}
394394
395READ16_MEMBER( st_state::berr_r )
396{
397   if(!space.debugger_access()) {
398      m_maincpu->set_input_line(M68K_LINE_BUSERROR, ASSERT_LINE);
399      m_maincpu->set_input_line(M68K_LINE_BUSERROR, CLEAR_LINE);
400   }
401   return 0xffff;
402}
395403
404
396405//**************************************************************************
397406//  IKBD
398407//**************************************************************************
r12918r12919
11901199   AM_RANGE(0x000000, 0x000007) AM_ROM AM_REGION(M68000_TAG, 0) AM_WRITE(berr_w)
11911200   AM_RANGE(0x000008, 0x1fffff) AM_RAM
11921201   AM_RANGE(0x200000, 0x3fffff) AM_RAM
1202   AM_RANGE(0x400000, 0xf9ffff) AM_READWRITE(berr_r, berr_w)
11931203   AM_RANGE(0xfa0000, 0xfbffff) AM_ROM AM_REGION("cart", 0)
11941204   AM_RANGE(0xfc0000, 0xfeffff) AM_ROM AM_REGION(M68000_TAG, 0) AM_WRITE(berr_w)
11951205   AM_RANGE(0xff8000, 0xff8001) AM_READWRITE8(mmu_r, mmu_w, 0x00ff)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team