Commented out excess FPU logging;

SCSI controller is now reset on x86 soft reset, fixes DOS driver hangs after soft reset;
SCSI controller reset control is now implemented more accurately, on a 50 ms timer;
For the PS/1 Model 2011, the Keyboard Input Port bit 6 now correctly reports if the currently selected (in FDC DOR) floppy drive is 3.5" or 5.25";
Commented out excess DMA logging;
Added support for FDF floppy images;
Fixed handling of CDB allocated length field for the CD-ROM INQUIRY command;
(S)VGA port 03C1 write is back again (it was incorrectly gone in some builds);
Commented out Compaq/Paradise VGA;
PS/1 Model 2121+ISA now correctly allows selecting graphics card.
This commit is contained in:
OBattler
2017-03-05 19:42:56 +01:00
parent 64c941320f
commit 8e055b7520
17 changed files with 352 additions and 71 deletions

View File

@@ -2585,6 +2585,10 @@ void cdrom_command(uint8_t id, uint8_t *cdb)
break;
case GPCMD_INQUIRY:
max_len = cdb[3];
max_len <<= 8;
max_len |= cdb[4];
if (cdb[1] & 1)
{
preamble_len = 4;
@@ -2658,7 +2662,7 @@ atapi_out:
cdbufferb[size_idx] = idx - preamble_len;
len=idx;
cdrom_data_command_finish(id, len, len, cdb[4], 0);
cdrom_data_command_finish(id, len, len, max_len, 0);
break;
case GPCMD_PREVENT_REMOVAL: