Previous 199869 Revisions Next

r36859 Wednesday 1st April, 2015 at 01:43:49 UTC by Barry Rodewald
Fix MT05854 (no whatsnew)
[src/mess/drivers]ngen.c

trunk/src/mess/drivers/ngen.c
r245370r245371
129129   DECLARE_WRITE8_MEMBER( dma_3_dack_w ){ popmessage("IOW3: data %02x",data); }
130130
131131   DECLARE_WRITE16_MEMBER(hfd_w);
132   DECLARE_READ16_MEMBER(fhd_r);
132   DECLARE_READ16_MEMBER(hfd_r);
133133   DECLARE_WRITE_LINE_MEMBER(fdc_irq_w);
134134   DECLARE_WRITE_LINE_MEMBER(fdc_drq_w);
135135   DECLARE_WRITE8_MEMBER(fdc_control_w);
r245370r245371
429429   switch(m_xbus_current)
430430   {
431431      case 0x00:  // Floppy/Hard disk module
432         io.install_readwrite_handler(addr,addr+0xff,0,0,read16_delegate(FUNC(ngen_state::fhd_r),this),write16_delegate(FUNC(ngen_state::hfd_w),this));
432         io.install_readwrite_handler(addr,addr+0xff,read16_delegate(FUNC(ngen_state::hfd_r),this),write16_delegate(FUNC(ngen_state::hfd_w),this),0xffffffff);
433433         break;
434434      default:
435435         cpu->set_input_line(INPUT_LINE_NMI,PULSE_LINE);  // reached end of the modules
r245370r245371
526526   }
527527}
528528
529READ16_MEMBER(ngen_state::fhd_r)
529READ16_MEMBER(ngen_state::hfd_r)
530530{
531531   UINT16 ret = 0xffff;
532532


Previous 199869 Revisions Next


© 1997-2024 The MAME Team