Previous 199869 Revisions Next

r26165 Thursday 14th November, 2013 at 22:50:01 UTC by smf
Set the error bit in the IDE status register if the command causes a check condition [smf]
[src/emu/machine]atapihle.c

trunk/src/emu/machine/atapihle.c
r26164r26165
3636      ExecCommand();
3737      GetLength(&m_data_size);
3838
39      if (m_status_code == STATUS_CODE_CHECK_CONDITION)
40         m_status |= IDE_STATUS_ERR;
41
3942      m_buffer_size = (m_cylinder_high << 8) | m_cylinder_low;
4043      if (m_buffer_size == 0xffff)
4144         m_buffer_size = 0xfffe;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team