Previous 199869 Revisions Next

r33001 Monday 27th October, 2014 at 07:37:25 UTC by Miodrag Milanović
Merge pull request #21 from shattered/_4a1140a

ie15: init palette, do minor cleanup incl. whitespace
[src/emu/bus/isa]hdc.c

trunk/src/emu/bus/isa/hdc.c
r241512r241513
749749         logerror("hdc_data_w $%02x\n", data);
750750
751751      *buffer_ptr++ = data;
752      status |= STA_READY;
752      // XXX ec1841 wants this
753      if (buffer[0] == CMD_SETPARAM && data_cnt == 9) {
754         status &= ~STA_READY;
755      } else {
756         status |= STA_READY;
757      }
753758      if (--data_cnt == 0)
754759      {
755760         if (LOG_HDC_STATUS)
r241512r241513
758763         status &= ~STA_COMMAND;
759764         status &= ~STA_REQUEST;
760765         status &= ~STA_READY;
761         status |= STA_INPUT;
762
766         status &= ~STA_INPUT;
763767         timer->adjust(attotime::from_msec(1),0);
764768      }
765769   }
r241512r241513
851855
852856UINT8 isa8_hdc_device::pc_hdc_dipswitch_r()
853857{
858   status |= STA_READY; // XXX
859   if (LOG_HDC_STATUS)
860      logerror("%s: pc_hdc_dipswitch_r: status $%02X\n", machine().describe_context(), status);
854861   return dip;
855862}
856863


Previous 199869 Revisions Next


© 1997-2024 The MAME Team