trunk/src/emu/bus/isa/hdc.c
r241507 | r241508 | |
749 | 749 | logerror("hdc_data_w $%02x\n", data); |
750 | 750 | |
751 | 751 | *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 | } |
753 | 758 | if (--data_cnt == 0) |
754 | 759 | { |
755 | 760 | if (LOG_HDC_STATUS) |
r241507 | r241508 | |
758 | 763 | status &= ~STA_COMMAND; |
759 | 764 | status &= ~STA_REQUEST; |
760 | 765 | status &= ~STA_READY; |
761 | | status |= STA_INPUT; |
762 | | |
| 766 | status &= ~STA_INPUT; |
763 | 767 | timer->adjust(attotime::from_msec(1),0); |
764 | 768 | } |
765 | 769 | } |
r241507 | r241508 | |
851 | 855 | |
852 | 856 | UINT8 isa8_hdc_device::pc_hdc_dipswitch_r() |
853 | 857 | { |
| 858 | status |= STA_READY; // XXX |
| 859 | if (LOG_HDC_STATUS) |
| 860 | logerror("%s: pc_hdc_dipswitch_r: status $%02X\n", machine().describe_context(), status); |
854 | 861 | return dip; |
855 | 862 | } |
856 | 863 | |