Fixed in IDE and 4x0 code.
This commit is contained in:
@@ -162,10 +162,9 @@ i4x0_write(int func, int addr, uint8_t val, void *priv)
|
||||
case INTEL_440FX:
|
||||
regs[0x07] &= ~(val & 0xf9);
|
||||
break;
|
||||
|
||||
case INTEL_440BX: case INTEL_440ZX
|
||||
regs[0x07] &= ~(val & 0xf0);
|
||||
break;
|
||||
case INTEL_440BX: case INTEL_440ZX:
|
||||
regs[0x07] &= ~(val & 0xf0);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 0x0d:
|
||||
|
@@ -1953,7 +1953,7 @@ ide_callback(void *priv)
|
||||
((ide->command >= WIN_SEEK) && (ide->command <= 0x7F))) {
|
||||
if (ide->type != IDE_HDD)
|
||||
goto abort_cmd;
|
||||
if ((ide->command >= WIN_SEEK) && (ide->command <= 0x7F) && !ide_lba) {
|
||||
if ((ide->command >= WIN_SEEK) && (ide->command <= 0x7F) && !ide->lba) {
|
||||
if ((ide->cylinder >= ide->tracks) || (ide->head >= ide->hpc) ||
|
||||
!ide->sector || (ide->sector > ide->spt))
|
||||
goto id_not_found;
|
||||
|
Reference in New Issue
Block a user