mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
CMD_ICCS puts both status and message byte in FIFO, even in PIO mode. Fixes Masoboshi SCSI.
This commit is contained in:
parent
92050b240e
commit
1dbe661020
@ -292,7 +292,7 @@ static void write_response(ESPState *s)
|
||||
// sure wrong buffer is not read.
|
||||
s->pio_on = 0;
|
||||
s->async_buf = NULL;
|
||||
s->fifo_on = 1;
|
||||
s->fifo_on = 2;
|
||||
|
||||
s->ti_buf[0] = s->status;
|
||||
s->ti_buf[1] = 0;
|
||||
@ -620,7 +620,7 @@ uint64_t esp_reg_read(void *opaque, uint32_t saddr)
|
||||
else
|
||||
v = s->ti_size;
|
||||
}
|
||||
if (!s->dma && v > 1)
|
||||
if (!s->dma && v > 1 && s->fifo_on != 2)
|
||||
v = 1;
|
||||
return v | (s->rregs[ESP_RSEQ] << 5);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user