Commit Graph

461 Commits

Author SHA1 Message Date
OBattler
a8bc5133ec The ATAPI implementation of the READ SUBCHANNEL command now correctly issues INVALDI FIELD IN CMD PACKET and not ILLEGAL OPCODE. 2017-01-04 21:44:01 +01:00
OBattler
d70c27a7f1 Response to the IDE/ATA packet command is now instant, fixes Rhapsody DR1. 2017-01-04 20:37:31 +01:00
OBattler
c7ffcee87e Added a forgotten semicolon in ide.c . 2017-01-04 06:35:11 +01:00
OBattler
0dc379404c CD-ROM is no longer reloaded if not in ejected/empty state;
ATAPI commands that accept a buffer length allocation now send no data if the allocated length is 0.
2017-01-04 06:33:18 +01:00
OBattler
6af40b5b16 Added a few keyboard controller commands used by the AMI BIOS'es;
The port 92 handler in mem.c now flushes MMU cache when toggling the A20 gate;
Added ability to reload previous disc after ejecting it;
Fixed the START/STOP UNIT command for both SCSI and ATAPI;
Applied mainline PCem commit: All XT models can now use 64kb RAM. Patch from ecksemmess .
2017-01-04 05:58:44 +01:00
OBattler
ba14ea32b6 Added missing AT keyboard controller commands C1, C2, and D2. 2017-01-04 01:35:40 +01:00
OBattler
2116fa50a3 Reverted all the recent makefile changes. 2017-01-04 00:45:58 +01:00
OBattler
e7fb008d25 Merge branch 'master' of https://github.com/OBattler/PCem-Experimental 2017-01-03 22:15:27 +01:00
OBattler
6a4ab75ae7 Added -pie to the linking part of the makefiles;
Implemented some missing AT keyboard controller (8042) commands.
2017-01-03 22:15:06 +01:00
OBattler
2d8ac2a6df Merge pull request #72 from TC1995/master
SCSI not ready/unit attention handler also made available when a comm…
2017-01-03 20:36:08 +01:00
TC1995
81a6a905da SCSI not ready/unit attention handler also made available when a command is already executed, though only for the Adaptec 154x. 2017-01-03 20:33:23 +01:00
OBattler
120c870e67 Added -lssp to the libraries part of the makefiles. 2017-01-03 19:41:56 +01:00
OBattler
91696f07a2 Added -fstack-protector-strong -pie -fPIE flags for stack protection. 2017-01-03 19:35:09 +01:00
OBattler
ad6c90d1da Merge pull request #71 from TC1995/master
Buslogic specific features and commands marked as invalid when the Ad…
2017-01-03 19:32:14 +01:00
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
OBattler
6f569a8f2b Merge pull request #70 from MoochMcGee/master
RIVA 128 Add in reading PROM from MMIO
2017-01-03 03:59:24 +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
OBattler
e97c46cbb1 Merge pull request #68 from TC1995/master
Buslogic now fully working on DOS and NT (probably Win9x too)
2017-01-01 00:39:25 +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
OBattler
59fab759cb Merge pull request #67 from TC1995/master
More bugfixes to the Buslogic and SCSI layer, still need to understan…
2016-12-30 00:46:56 +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
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