Commit Graph

13420 Commits

Author SHA1 Message Date
OBattler
dc46480aa4 Applied all mainline PCem commits;
Added experimental NVidia Riva TNT2 emulation (patch from MoochMcGee);
ASUS P/I-P54TP4XE, ASUS P/I-P55T2P4, and ASUS P/I-P55TVP4 are back;
National Semiconductor PC87306 Super I/O chip now correctly reenables devices after a chip power cycle;
Several FDC improvements and the behavior is now a bit closer to real hardware (based on actual tests);
Added MR Intel Advanced/ATX with Microid Research BIOS with support for 4 floppy drives and up to 4 IDE controllers;
Added floppy drives 3 and 4, bringing the maximum to 4;
You can now connect hard disks to the tertiary IDE controller;
Correct undocumented behavior of the LEA instruction with register is back on 286 and later CPU's;
Pentium-rea models with Intel chipsets now have port 92 (with alternate reset and alternate A20 toggle);
Overhauled DMA channel read and write routines and fixed cascading;
Improved IMG detection of a bad BPB (or complete lack of a BPB);
Added preliminary emulation of PS/2 1.44 MB and PC-98 1.25 MB 3-mode drives (both have an inverted DENSEL pin);
Removed the incorrect Amstrad mouse patch from TheCollector1995;
Fixed ATAPI CD-ROM disk change detection;
Windows IOCTL CD-ROM handler now tries to use direct SCSI passthrough for more things, including obtaining CD-ROM capacity;
The Diamond Stealth32 (ET4000/W32p) now also works correctly on the two Award SiS 496/497 boxes;
The (S)VGA handler now converts 6-bit RAMDAC RGB channels to standard 8-bit RGB using a lookup table generated at emulator start, calculated using the correct intensity conversion method and treating intensity 64 as equivalent to 63;
Moved a few options from the Configuration dialog box to the menu;
SIO, PIIX, and PIIX3 now have the reset control register on port CF9 as they should;
Several bugfixes.
2016-12-23 03:16:24 +01:00
OBattler
724c5699ca Merge pull request #55 from MoochMcGee/riva128-work
Fix a little oopsie when merging RIVA 128 and RIVA TNT
2016-12-21 19:03:50 +01:00
Melissa Goad
0c899e17f5 Fix a little oopsie when merging RIVA 128 and RIVA TNT 2016-12-21 11:57:47 -06:00
OBattler
7466a2436c Merge pull request #54 from MoochMcGee/riva128-work
Deduplicate some code in the nVidia code
2016-12-21 03:56:23 +01:00
Melissa Goad
a1ff1912d8 Deduplicate some code 2016-12-20 20:47:42 -06:00
OBattler
32d4f0e478 Merge pull request #51 from MoochMcGee/riva128-work
More nVidia work to pass more envytools tests
2016-12-19 18:13:54 +01:00
Melissa Goad
495a393aba More nVidia work to pass more envytools tests 2016-12-19 11:11:55 -06:00
OBattler
199dce19b1 Merge pull request #50 from MoochMcGee/riva128-work
Oops, I forgot to initialize the card id for each card.
2016-12-14 03:52:54 +01:00
Melissa Goad
36bc3e893c Oops, I forgot to initialize the card id for each card. 2016-12-13 20:35:05 -06:00
OBattler
eabb235834 Merge pull request #49 from MoochMcGee/riva128-work
Merge RIVA 128 and RIVA TNT implementations
2016-12-14 03:32:16 +01:00
Melissa Goad
12dde81ee8 Fix another oopsie 2016-12-13 20:27:40 -06:00
Melissa Goad
f27142bf64 Fix an oopsie 2016-12-13 20:25:35 -06:00
Melissa Goad
e361b0e429 Merge RIVA 128 and RIVA TNT implementations 2016-12-13 20:22:38 -06:00
OBattler
ee79f070cf Merge pull request #48 from MoochMcGee/master
Add CMake building
2016-12-09 23:43:35 +01:00
Melissa Goad
f2564a6693 update nvr 2016-12-09 16:40:23 -06:00
Melissa Goad
181f1f643e Add CMake in preparation for MSVC builds 2016-12-09 16:40:08 -06:00
OBattler
79d5fb108f Applied mainline PCem commit: Added code generation for RMW versions of SHL/SHR/SAR. 2016-11-17 21:36:09 +01:00
OBattler
413fba4b16 Redid the ATAPI READ CD command completely and fixed IOCTL raw sector reading;
Added the ATAPI READ CD MSF command;
UNIT ATTENTION is now a condition above the SCSI/ATAPI senses so that non-UNIT ATTENTION senses can still be reported if said condition is present, should they occur;
Applies mainline PCem commit: Added code generation for RMW versions of INC/DEC.
2016-11-17 20:41:27 +01:00
OBattler
1ed38b36d0 Merge pull request #44 from MoochMcGee/hercules-work
Fix NUMEROUS bugs in the Hercules Plus emulation
2016-11-17 00:33:05 +01:00
Melissa Goad
7ba7d065bf Fix NUMEROUS bugs in the Hercules Plus emulation 2016-11-16 17:31:53 -06:00
OBattler
89b947c848 Merge pull request #43 from MoochMcGee/riva128-work
Fix compilation
2016-11-17 00:04:14 +01:00
Melissa Goad
c3ba551da5 Triple oops 2016-11-16 16:47:49 -06:00
Melissa Goad
6be600ecc3 Double oops 2016-11-16 16:46:48 -06:00
Melissa Goad
e6c66f478b Oops 2016-11-16 16:43:43 -06:00
OBattler
85c7a029c2 Merge pull request #42 from MoochMcGee/riva128-work
Fix an InColor bug
2016-11-16 22:51:19 +01:00
Melissa Goad
078f1f17a0 Fix an InColor bug 2016-11-16 15:43:34 -06:00
OBattler
3a12ae5a42 Merge pull request #41 from MoochMcGee/riva128-work
Fix RIVA 128 a bit more. Add Hercules Plus
2016-11-16 22:41:21 +01:00
Melissa Goad
dfa7e61234 Fix RIVA 128 a bit more. Add Hercules Plus 2016-11-16 15:37:07 -06:00
OBattler
5456d0b11a Merge pull request #40 from MoochMcGee/riva128-work
Fix some envytools hardware tests
2016-11-15 21:49:06 +01:00
Melissa Goad
b3d1d9cc70 Fix some envytools hardware tests 2016-11-15 13:33:17 -06:00
OBattler
2fbd377092 DMA master reset register now clears the status register;
Implemented DMA mask reset register.
2016-11-14 04:55:48 +01:00
OBattler
677cf7598c DMA channel 0 page setting is now writable on 386 and later machines;
DMA channel 4 now correctly works as a cascade.
2016-11-13 23:44:16 +01:00
OBattler
995c62ab06 DMA channels 6 and 7 page setting writes now work. 2016-11-13 23:19:31 +01:00
OBattler
b23af9f098 The filling with host CD drives is now done on the right menu. 2016-11-13 22:32:31 +01:00
OBattler
b3a1dc78b4 The new AHA-154x settings are actually in the menu now. 2016-11-13 21:38:07 +01:00
OBattler
14b726a5fe Fixed more mistakes in win.c. 2016-11-13 20:46:30 +01:00
OBattler
5a84d4d827 Fixed a mistake in win.c;
The default AHA-154x DMA channel is 6 again.
2016-11-13 20:41:38 +01:00
OBattler
87cc7dcc3c The Sound Blaster 16 and AWE32 low and high DMA addresses are now reflected in the mixer registers and software-configurable;
The AHA-154x can now also use base addresses 0x130, 0x134, 0x230, 0x234, and IRQ's 14 and 15;
Reworked the SCSI system resource menu handlers in win.c a bit.
2016-11-13 20:38:03 +01:00
OBattler
3e4c540f92 Default 16-bit DMA channel for the Sound Blaster 16 and AWE32 is now a valid value. 2016-11-13 18:45:06 +01:00
OBattler
7cb901e5e6 Sound Blaster 16 and AWE32 MPU-401 base address and 16-bit DMA channel are now configurable;
AHA-154x SCSI controller base address, IRQ, and 16-bit DMA channel are now configurable.
2016-11-13 18:21:15 +01:00
OBattler
65b93b4347 Added the declaration for fatal to ibm.h. 2016-11-13 16:47:24 +01:00
OBattler
26a6b910db Applied mainline PCem commit: Added code generation for RMW versions of ADD/SUB/OR/XOR/AND. 2016-11-13 16:44:42 +01:00
OBattler
66ed552b16 Fixed another compile-breaking mistake in win.c. 2016-11-13 07:32:31 +01:00
OBattler
0fa6077480 Fixed a compile-breaking mistake in win.c. 2016-11-13 06:21:35 +01:00
OBattler
4a133e99f3 Bugfixes related to the SCSI CD-ROM menu item;
Added a menu item to enable/disable the SCSI controller.
2016-11-13 06:19:19 +01:00
OBattler
e46631e47b Reworked the menus so they're more logically grouped;
Removed the lone Misc menu and mvoed Status to Settings;
Added a SCSI CD-ROM option to the menu;
Removed the atapi_cdrom_enabled option and replaced any usage of it with !scsi_cdrom_enabled;
Disabling/enabling the CD-ROM drive is now separate from the drive's contents;
The tertiary IDE controller now never gets enabled is the CD-ROM drive is either disabled or SCSI.
2016-11-13 05:39:21 +01:00
OBattler
36f19628a1 Merge pull request #38 from TC1995/tc1995
Added preliminary Adaptec 154x emulation, needs fixing in the Read 10…
2016-11-12 16:44:31 +01:00
TC1995
1ca7016a8e Fixed Test Unit Ready being the culprit of the non-working Read 10.
Made Unknown transfers as invalid but with SCSI Status Good/Ok in the Adaptec 1540.
SCSI Commands with no transfers are left with no transfer function.
2016-11-12 16:30:09 +01:00
TC1995
0f035b42ea Added preliminary Adaptec 154x emulation, needs fixing in the Read 10 command.
Made ATAPI derived from SCSI.
Added proper S/G emulation for SCSI DMA.
Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.
2016-11-12 15:06:38 +01:00
OBattler
acb06e5a17 Fixed a mistake in the operation of the FDC READ TRACK command. 2016-11-11 17:24:45 +01:00