Commit Graph

427 Commits

Author SHA1 Message Date
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
OBattler
c9731d9331 Merge pull request #66 from MoochMcGee/riva128-work
DRAWING
2016-12-28 04:52:06 +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
OBattler
9d48cdf0bf Merge pull request #65 from TC1995/master
Compile fix.
2016-12-28 00:51:25 +01:00
TC1995
f5a3a1dc5e Compile fix. 2016-12-28 00:35:59 +01:00
OBattler
8ca122d8c4 Merge pull request #64 from TC1995/master
Decreased processed length per sector, fixes some buffer issues in th…
2016-12-28 00:30:29 +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
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