Commit Graph

8413 Commits

Author SHA1 Message Date
TC1995
5930a0f883 Decreased processed length per sector, fixes some buffer issues in the Read commands 2016-12-27 23:52:03 +01:00
OBattler
f59b119527 Merge pull request #63 from TC1995/master
Added support up to 16 ID/LUN's
2016-12-27 23:05:27 +01:00
TC1995
3f04c30ac0 Added support up to 16 ID/LUN's
Corrected residual length, fixes Win95's buslogic driver that was not showing the CD drive.
2016-12-27 22:38:09 +01:00
OBattler
f2b3035a56 Merge pull request #62 from TC1995/master
Bunch of fixes regarding the BT-54x.
2016-12-27 18:54:47 +01:00
TC1995
81a4b12650 Merge branch 'master' of github.com:OBattler/86Box into tc1995 2016-12-27 18:50:05 +01:00
TC1995
df78ce0529 Fixed once and for all the DOS CD-ROM bugs in the BT-54x SCSI adapter.
Added notes regarding NT 3.1 297.1 and 340.1's setup bugs with the Adaptec driver in the BT-54x SCSI adapter.
Bugfixes to the SCSI layer (SCSIReset())
2016-12-27 18:48:38 +01:00
OBattler
ba9059811d Merge pull request #61 from MoochMcGee/riva128-work
Try conditionally disabling logging for PTIMER
2016-12-27 03:48:51 +01:00
Melissa Goad
14a6b74ac8 Try conditionally disabling logging 2016-12-26 20:47:09 -06:00
OBattler
408a601694 Merge pull request #60 from TC1995/master
Removed excessive logging (R/W functions only for now)
2016-12-26 22:35:27 +01:00
TC1995
547185fd7f Removed excessive logging (R/W functions only for now)
Some cleanup.
End the SCSI request if the transfer length is already 0.
Additional fixes to support OS/2 1.3 and DOS buslogic drivers, still not 100% working for those, however, but CD-ROM is recognized.
2016-12-26 21:02:26 +01:00
OBattler
6a6d01f0e6 Merge pull request #59 from TC1995/master
Buslogic fixes
2016-12-26 03:47:24 +01:00
TC1995
b3bc0a77c4 Damnit... 2016-12-26 03:43:17 +01:00
TC1995
3b0eb07519 Added the Abort Mailbox Command.
Fixed stupid Interrupt bug in the Write routine.
Bugfixes.
2016-12-26 03:39:48 +01:00
OBattler
ee3c47b105 Removed a duplicate case from cpu.c . 2016-12-26 03:33:17 +01:00
OBattler
e7934a1229 Moved some SCSI CD-ROM errors to the command byte/CDB decoder;
SCSI CD-ROM now correctly sets status phase on error;
SCSI CD-ROM now correctly errors on bad command.
2016-12-26 03:21:43 +01:00
OBattler
f01c61b813 i686 MSR's C1 to C8 are all implemented now. 2016-12-25 23:42:48 +01:00
OBattler
af6c83a59e i686 MSR's C1 to C4 are all implemented now. 2016-12-25 23:41:25 +01:00
OBattler
b0c203c102 Added MSR C2 to the i686 CPU's. 2016-12-25 23:15:11 +01:00
OBattler
9dff9581bd Fixed the fix. 2016-12-25 22:57:14 +01:00
OBattler
240694c32f Fixed some IOCtl buffer bugs. 2016-12-25 22:55:13 +01:00
OBattler
392f63fa85 Changed the accidental usage of idebufferb in scsi_cdrom.c to the correct SCSIDevices[id].Cdb. 2016-12-25 17:54:15 +01:00
OBattler
92c44cb89f Changed the IOCtl implementation of READ TRACK INFORMATION so that it returns if it succeded or failed, so the ATAPI and SCSI controllers can then act accordingly. 2016-12-25 17:52:17 +01:00
OBattler
4d71ebaf67 Another fix for READ TRACK INFORMATION. 2016-12-25 17:46:06 +01:00
OBattler
e9327bbc84 Fixed both the ATAPI and SCSI implementations of the READ TRACK INFORMATION command. 2016-12-25 17:38:01 +01:00
OBattler
8fac789295 Merge pull request #58 from TC1995/master
Added Read Track Information command in ATAPI and SCSI.
2016-12-25 17:14:45 +01:00
TC1995
88298809c5 Added Read Track Information command in ATAPI and SCSI.
Removed unused scsi_cmds.h header.
2016-12-25 16:36:27 +01:00
OBattler
105d13ac62 Added (currently still unused) Windows IOCtl handler for READ TRACK INFORMATION command. 2016-12-25 16:05:49 +01:00
OBattler
a6d2f68779 Fixed reading and writing of floppies. 2016-12-25 05:59:25 +01:00
OBattler
9eb8868e81 Attempted to rework the FDC read/write interrupt issuing a bit. 2016-12-25 03:40:58 +01:00
OBattler
147dcc3222 Added the extra parameter for cdrom->readtoc_raw to the SCSI code as well. 2016-12-25 02:06:04 +01:00
OBattler
c7443b47b5 ATAPI BAD COMMAND response now correctly sets IDE sector count to 3;
ATAPI READ TOC PMA ATIP command now uses direct SCSI passthrough when using IOCtl on Windows;
ATAPI READ TOC PMA ATIP command now supports non-MSF raw mode;
ATAPI READ TOC PMA ATIP command now returns the given maximum length if the actual length of the data is above it;
ATAPI READ TOC PMA ATPI command on Windows IOCtl now returns size of data in the returned buffer's header.
2016-12-25 01:57:56 +01:00
OBattler
e46a34a505 Fixed FDC absolute SEEK, fixes Floppy disk(s) fail (40) on Award BIOS'es. 2016-12-24 07:16:01 +01:00
OBattler
4089c33bc7 FINTR is now cleared after the interrupt issued by a FDC DOR reset. 2016-12-24 06:33:05 +01:00
OBattler
ad7c92b2c5 Fixed the FDC's behavior of the DOR register and the RECALIBRATE and SEEK command to more accurately replicate that of a real FDC, fixes Windows 98 and (hopefully) NetBSD. 2016-12-24 05:37:14 +01:00
OBattler
645efe1f7d Slightly modified CD-ROM disc change handling and behavior of the REQUEST SENSE command. 2016-12-23 21:35:39 +01:00
OBattler
dda3ff99b9 Merge pull request #57 from TC1995/master
Renamed Adaptec 154x adapter source to Buslogic as now it emulates th…
2016-12-23 17:17:32 +01:00
TC1995
abf009e541 Renamed Adaptec 154x adapter source to Buslogic as now it emulates the Buslogic BT-540B SCSI adapter.
Moved CD-ROM read data buffer declaration and definitions to SCSI source files and headers, but still applying to IDE when needed.
SCSI Read commands now return the correct sectors on callback.
DMA bug fixes.
2016-12-23 17:11:59 +01:00
OBattler
da7384a3af Commented out excess DENSEL polarity logging from pc87306.c. 2016-12-23 08:16:54 +01:00
OBattler
9c488b3dba Added a missing declaration to vid_vga.h. 2016-12-23 07:20:55 +01:00
OBattler
d430711b08 Fixed a compile-breaking mistake in vid_vga.c. 2016-12-23 07:17:52 +01:00
OBattler
5a83dd60cd CD-ROM ISO code now reports medium has changed if switch has occurred from one ISO to another. 2016-12-23 07:14:41 +01:00
OBattler
fe669d31ac Added TriGem Unknown Adapter. 2016-12-23 04:14:14 +01:00
OBattler
4f82ffd98c Mouse type is now actually set to whatever is set in the configuration dialog. 2016-12-23 04:01:57 +01:00
OBattler
dc46480aa4 Applied all mainline PCem commits;
Added experimental NVidia Riva TNT2 emulation (patch from MoochMcGee);
ASUS P/I-P54TP4XE, ASUS P/I-P55T2P4, and ASUS P/I-P55TVP4 are back;
National Semiconductor PC87306 Super I/O chip now correctly reenables devices after a chip power cycle;
Several FDC improvements and the behavior is now a bit closer to real hardware (based on actual tests);
Added MR Intel Advanced/ATX with Microid Research BIOS with support for 4 floppy drives and up to 4 IDE controllers;
Added floppy drives 3 and 4, bringing the maximum to 4;
You can now connect hard disks to the tertiary IDE controller;
Correct undocumented behavior of the LEA instruction with register is back on 286 and later CPU's;
Pentium-rea models with Intel chipsets now have port 92 (with alternate reset and alternate A20 toggle);
Overhauled DMA channel read and write routines and fixed cascading;
Improved IMG detection of a bad BPB (or complete lack of a BPB);
Added preliminary emulation of PS/2 1.44 MB and PC-98 1.25 MB 3-mode drives (both have an inverted DENSEL pin);
Removed the incorrect Amstrad mouse patch from TheCollector1995;
Fixed ATAPI CD-ROM disk change detection;
Windows IOCTL CD-ROM handler now tries to use direct SCSI passthrough for more things, including obtaining CD-ROM capacity;
The Diamond Stealth32 (ET4000/W32p) now also works correctly on the two Award SiS 496/497 boxes;
The (S)VGA handler now converts 6-bit RAMDAC RGB channels to standard 8-bit RGB using a lookup table generated at emulator start, calculated using the correct intensity conversion method and treating intensity 64 as equivalent to 63;
Moved a few options from the Configuration dialog box to the menu;
SIO, PIIX, and PIIX3 now have the reset control register on port CF9 as they should;
Several bugfixes.
2016-12-23 03:16:24 +01:00
OBattler
724c5699ca Merge pull request #55 from MoochMcGee/riva128-work
Fix a little oopsie when merging RIVA 128 and RIVA TNT
2016-12-21 19:03:50 +01:00
Melissa Goad
0c899e17f5 Fix a little oopsie when merging RIVA 128 and RIVA TNT 2016-12-21 11:57:47 -06:00
OBattler
7466a2436c Merge pull request #54 from MoochMcGee/riva128-work
Deduplicate some code in the nVidia code
2016-12-21 03:56:23 +01:00
Melissa Goad
a1ff1912d8 Deduplicate some code 2016-12-20 20:47:42 -06:00
OBattler
32d4f0e478 Merge pull request #51 from MoochMcGee/riva128-work
More nVidia work to pass more envytools tests
2016-12-19 18:13:54 +01:00
Melissa Goad
495a393aba More nVidia work to pass more envytools tests 2016-12-19 11:11:55 -06:00