Previous 15994 Revisions Next

r9026 Friday 3rd September, 2010 at 14:23:53 UTC by Angelo Salese
[X1TURBO]: Connected drq line to z80dma ready signal;
[Z80DMA]: Fixed rdy signal activeness
This update makes most later x1turbo to finally work (but not on x1turbo40?) [Angelo Salese, Dirk Best]
[src/emu/machine]z80dma.c
[src/mess/drivers]x1.c

src/emu/machine/z80dma.c
r9025r9026
857857void z80dma_device::rdy_w(int state)
858858{
859859   if (LOG) logerror("RDY: %d Active High: %d\n", state, READY_ACTIVE_HIGH);
860   timer_call_after_resynch(&m_machine, (void *)this, state, static_rdy_write_callback);
860   timer_call_after_resynch(&m_machine, (void *)this, state == READY_ACTIVE_HIGH, static_rdy_write_callback);
861861}
862862
863863
src/mess/drivers/x1.c
r9025r9026
982982};
983983
984984
985static const wd17xx_interface x1turbo_mb8877a_interface =
986{
987   DEVCB_NULL,
988   DEVCB_NULL,
989   DEVCB_DEVICE_LINE("dma", z80dma_rdy_w),
990   {FLOPPY_0, FLOPPY_1, FLOPPY_2, FLOPPY_3}
991};
992
985993/*************************************
986994 *
987995 *  Programmable Character Generator
r9025r9026
22632271   MDRV_Z80SIO_ADD( "sio", MAIN_CLOCK/4 , sio_intf )
22642272   MDRV_Z80DMA_ADD( "dma", MAIN_CLOCK/4 , x1_dma )
22652273
2274   MDRV_DEVICE_REMOVE("fdc")
2275   MDRV_MB8877_ADD("fdc",x1turbo_mb8877a_interface)
2276
22662277   MDRV_SOUND_ADD("ym", YM2151, MAIN_CLOCK/8) //option board
22672278//  MDRV_SOUND_CONFIG(ay8910_config)
22682279   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team