Commit Graph

11591 Commits

Author SHA1 Message Date
OBattler
8a16c015b9 Added "sleep 10" before and after strip in the makefile, in order to wait for the retarded Windows file locking mechanism to unlock the executable. 2017-01-16 19:37:10 +01:00
OBattler
74ca5233fb Sound Blaster 16 and AWE32 now respect the base address for all the applicable I/O handlers. 2017-01-16 17:35:45 +01:00
OBattler
7608f1604f Attempt to fix BusLogic scatter gather by increasing source buffer position after every read. 2017-01-16 06:21:34 +01:00
OBattler
4f7fd84229 Overhauled and unified CD-ROM emulation;
Four CD-ROM drives are now emulated;
ATAPI DMA is now emulated;
Unified CD-ROM pass through to host drive handling;
Applied all (applicable) mainline PCem commits.
2017-01-16 01:49:19 +01:00
OBattler
0a11edd343 Merge pull request #77 from MoochMcGee/riva128-work
Fix some bugs
2017-01-15 20:15:43 +01:00
basic2004
b249e107a1 Update sound_sb.c
I solved OPL3 problem on SB Pro V2, SB16, AWE32.
This was defined 388h-389h only, so plays like OPL2.
OPL3 will plays correctly if this defined 388h-38bh.
2017-01-16 04:07:47 +09:00
Melissa Goad
1ef1b459a7 Add even MORE bullshit to RIVA 128 context switching 2017-01-12 21:50:18 -06:00
Melissa Goad
3fe0b7545b Fix some bugs 2017-01-12 21:16:57 -06:00
OBattler
7338c90717 Merge pull request #74 from MoochMcGee/riva128-work
Fix PFIFO NOPs
2017-01-10 18:09:24 +01:00
Melissa Goad
769bbea7d0 Add copyright 2017-01-06 09:03:43 -06:00
Melissa Goad
cb4db2fada MAJOR ATI 18800 improvements 2017-01-06 09:02:53 -06:00
Melissa Goad
91939ac23b Fix a little oopsie 2017-01-06 07:23:52 -06:00
Melissa Goad
42229ce009 MAJOR overhaul to nVidia PGRAPH object loading 2017-01-06 07:08:53 -06:00
Melissa Goad
de09618504 Fix PFIFO NOPs 2017-01-06 06:24:35 -06:00
Melissa Goad
3c03b3b100 Fix PROM access on NV3. It was already correct on NV4 2017-01-05 20:04:04 -06:00
OBattler
6349953413 Fixed a bug from the previous commit and changed some fseek's in ide.c to fseeko64. 2017-01-05 19:48:51 +01:00
OBattler
3972503a8e Changed the implementation of iso_size();
Change iso_readsector_raw() to use fseeko64 instead of fseek.
2017-01-05 19:41:37 +01:00
OBattler
bb89a07a63 Sanitized the buffer zeroing on REQUEST SENSE for both ATAPI and SCSI. 2017-01-05 04:46:50 +01:00
OBattler
66838be5f9 Multiple ATAPI bugfixes. 2017-01-05 04:36:37 +01:00
OBattler
0e08eccb71 Fixed compile-breaking mistakes in pc.c . 2017-01-05 03:37:03 +01:00
OBattler
581e72901f Forgot one change that should have been in the previous commit. 2017-01-05 03:22:19 +01:00
OBattler
6c4c979797 The network poller is now completely disabled when no network card is selected. 2017-01-05 03:20:59 +01:00
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
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
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