Commit Graph

11048 Commits

Author SHA1 Message Date
TC1995
abbd603d9a Buslogic specific features and commands marked as invalid when the Adaptec 154x scsi controller is selected.
Some SCSI layer bugfixes.
2017-01-03 19:07:18 +01:00
OBattler
b44f86a625 Attempt to decrease the time interval between two pollings of the network adapter to 1/10 of what it was. 2017-01-03 07:17:52 +01:00
OBattler
55635654de Fixed the SCSI controller model menu entries. 2017-01-03 04:02:13 +01:00
Melissa Goad
e1e76c5da4 Add in reading PROM from MMIO 2017-01-02 20:57:37 -06:00
OBattler
4a8414231b Fixed the Riva 128 and TNT PCI handlers. 2017-01-03 03:54:58 +01:00
OBattler
8818686ef4 Added a declaration of scsi_model to ibm.h. 2017-01-03 02:39:57 +01:00
OBattler
391855860c SCSI controller model is now switchable between Adaptec AHA-154x and the BusLogic BT-542B. 2017-01-03 02:35:24 +01:00
OBattler
c00be1085d SVGA DAC mask is actually applied now. 2017-01-03 01:34:17 +01:00
OBattler
8fcc49cd31 Modified ATAPI and SCSI disc change handling. 2017-01-02 04:38:53 +01:00
TC1995
3f086f7523 Buslogic now fully working on DOS and NT (probably Win9x too)
Removed unused c sources.
SCSI layer bugfixes.
2017-01-01 00:36:22 +01:00
OBattler
4304285a6a Attempted fix at CopyQM image interleave and skew handling. 2016-12-31 00:43:10 +01:00
OBattler
cf6f8ae155 Fixed all the BusLogic structs, they should compile now. 2016-12-30 23:43:05 +01:00
OBattler
6165c13466 BusLogic types are now packed. 2016-12-30 23:38:20 +01:00
OBattler
5fa7956e3b Attempt to make the RTL8029AS get an IRQ on the Epox P55-VA again. 2016-12-30 01:32:33 +01:00
OBattler
557d40dced Attempt to improve network type detection (and log it). 2016-12-30 01:03:40 +01:00
TC1995
61b8ff9a71 More bugfixes to the Buslogic and SCSI layer, still need to understand why the f**k it doesn't issue the Request Sense command when necessary 2016-12-30 00:42:54 +01:00
OBattler
77c7516891 Bringing the SCSI code in line with ATAPI regarding disc changes. 2016-12-30 00:04:57 +01:00
OBattler
03c2cad539 Fixed another typo in scsi_cdrom.c. 2016-12-29 22:42:30 +01:00
OBattler
e5b5fcc4f2 Fixed two typo's in scsi_cdrom.c. 2016-12-29 22:34:24 +01:00
OBattler
a0b7d55312 Implemented ATAPI and SCSI SEEK (6) command. 2016-12-29 20:49:01 +01:00
OBattler
03ee24cc6c Quaternary IDE controller now works properly;
Significantly cleaned up ide.c;
Made disc_img.c actually compile again.
2016-12-29 20:40:24 +01:00
OBattler
c8b57ccbe2 Made sure the CopyQM reading code does not overflow the allocated buffer. 2016-12-28 23:53:31 +01:00
OBattler
17e2cd6776 Added a quaternary IDE controller on ports 1E8-1EF/3EE;
The tertiary and quaternary IDE controllers are now fully configurable;
The IRQ of the RTL8029AS network card is now configurable;
CopyQM floppy images are now supported.
2016-12-28 23:34:00 +01:00
OBattler
ad1fd0a5f6 The second PIC is now completely ignored on non-AT-compatibles and IRQ 2 is processed properly. 2016-12-28 05:53:00 +01:00
Melissa Goad
8a5158c747 WE'RE DRAWING, BABY! Now to fix PFIFO... 2016-12-27 21:47:40 -06:00
Melissa Goad
0675e451d0 Prepare for adding in tons of functionality at once. 2016-12-27 20:45:35 -06:00
TC1995
f5a3a1dc5e Compile fix. 2016-12-28 00:35:59 +01:00
TC1995
7aa62ad5ed Partial fix for a proper speed sync in the read transfers, fixes some slowness caused by running programs directly from CD in the buslogic SCSI adapter. 2016-12-28 00:14:38 +01:00
TC1995
5930a0f883 Decreased processed length per sector, fixes some buffer issues in the Read commands 2016-12-27 23:52:03 +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
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
Melissa Goad
14a6b74ac8 Try conditionally disabling logging 2016-12-26 20:47:09 -06: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
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
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