Commit Graph

13220 Commits

Author SHA1 Message Date
OBattler
4fb41b9429 Reduced network speed to 20% of it. 2017-01-05 03:19:00 +01:00
OBattler
12edf911c6 Fixed a compile-breaking mistake. 2017-01-05 02:43:54 +01:00
OBattler
93b3137e3d Some more stuff reworked in the network poller. 2017-01-05 02:39:35 +01:00
OBattler
9b6a869083 Fixed a compile-breaking error. 2017-01-05 01:51:11 +01:00
OBattler
82bbb89716 Changed one memcmp and two memcpy's in the NE2000 Rx frame handler to equivalent integer operations. 2017-01-05 01:48:55 +01:00
OBattler
30b2431b3a Replaced a memory comparison in the PCap handling code with an equivalent integer comparison. 2017-01-05 01:35:16 +01:00
OBattler
e67ced4d9f Fixed another compile-breaking mistake in scsi_cdrom.c . 2017-01-04 22:50:16 +01:00
OBattler
83d87d5821 Moved lba_to_msf to before iso_getcurrentsubchannel in cdrom_iso.c . 2017-01-04 22:35:56 +01:00
OBattler
d2be2fcc81 Reimplemented the READ SUBCHANNEL command for both ATAPI and SCSI. 2017-01-04 22:33:49 +01:00
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