Commit Graph

50 Commits

Author SHA1 Message Date
OBattler
13683628a5 ATAPI CD-ROM no longer lowers IRQ at the wrong time, fixes booting of some CD's;
Fixed DMA emulation, fixes Olivetti M24;
(S)VGA emulation for PS/1 and PS/2 machines now uses the old, less accurate sense switches, fixes display error on POST;
Bit 2 of the AT keyboard input port is now always held active, fixes PS/2 mouse on PS/1 and PS/2 machines;
Fixed mouse type selection on non-AT boards;
Fixed RAM type selection;
The entire palette is now overwritten when a monochrome monitor type is selected, fixes graphics mode on Hercules;
Applied updated SCAT emulation patch from PCem forum;
Nvidia Riva and S3 Virge IRQ is now configurable;
Properly applied the mainline PCem commit that fixed the Bahamas64 on the Intel AMI BIOS boards;
Commented out the Diamond Stealth 64 and the Miro Crystal S3 Vision 964 due to their non-working state;
Changed version to 1.06.
2017-03-01 23:23:52 +01:00
Melissa Goad
bca4b293cf Fix compile 2017-02-25 18:52:50 -06:00
Melissa Goad
536443858a Add more PGRAPH registers 2017-02-25 18:42:34 -06:00
Melissa Goad
257d37de82 Fix log blowup 2017-02-18 13:40:26 -06:00
Melissa Goad
5b7ca99060 Fix Windows 9x installation AGAIN 2017-02-16 20:41:41 -06:00
Melissa Goad
c4eb534269 Fix a monstrous log blowup in nVidia drivers 2017-02-16 20:22:57 -06:00
Melissa Goad
7c2335d6aa Fix Windows 9x nVidia driver installation 2017-02-16 20:17:16 -06:00
OBattler
b15ab0505a The lone picint in the Riva code is now also hard coded to IRQ 3. 2017-02-17 02:21:02 +01:00
OBattler
a04b47688e The Virge's and Riva's are now hardcoded to IRQ 3. 2017-02-17 02:18:28 +01:00
OBattler
77013e34c9 Manually applied mooch's RIVA 128 commit;
Fixed the RIVA 128 in a way that does not affect other cards' operation.
2017-02-15 22:41:39 +01:00
Melissa Goad
865e35d612 Fix an nVidia bug 2017-01-26 21:34:09 -06:00
OBattler
b6c0297141 Applied the properly working Nvidia commit from Mooch. 2017-01-21 00:14:51 +01:00
OBattler
5bac9b4ce0 Revert "Fix compilation" 2017-01-20 23:41:58 +01:00
Melissa Goad
b0a1ffd6f1 Merge branch 'master' into master 2017-01-19 07:01:16 -06:00
Melissa Goad
69dc594610 Fix compilation 2017-01-19 06:56:50 -06:00
OBattler
3aa22e19dd Revert "Add in NV4 context switching" 2017-01-19 00:11:21 +01:00
Melissa Goad
401520661d Add in NV4 context switching 2017-01-17 20:10:17 -06:00
Melissa Goad
ec2fe42e1f Reformatted nVidia code 2017-01-16 21:15:15 -06: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
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
Melissa Goad
769bbea7d0 Add copyright 2017-01-06 09:03:43 -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
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
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
Melissa Goad
14a6b74ac8 Try conditionally disabling logging 2016-12-26 20:47:09 -06:00
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
Melissa Goad
0c899e17f5 Fix a little oopsie when merging RIVA 128 and RIVA TNT 2016-12-21 11:57:47 -06:00
Melissa Goad
a1ff1912d8 Deduplicate some code 2016-12-20 20:47:42 -06:00
Melissa Goad
495a393aba More nVidia work to pass more envytools tests 2016-12-19 11:11:55 -06:00
Melissa Goad
36bc3e893c Oops, I forgot to initialize the card id for each card. 2016-12-13 20:35:05 -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
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
Melissa Goad
dfa7e61234 Fix RIVA 128 a bit more. Add Hercules Plus 2016-11-16 15:37:07 -06:00
Melissa Goad
b3d1d9cc70 Fix some envytools hardware tests 2016-11-15 13:33:17 -06:00
OBattler
e280faa2d6 86F format handler updated to 86F version 2.0 and bit by bit handling;
FDI stream images are now also handled by the 86F handler;
Both floppy drives' motors now spin separately;
Added Plantronics ColorPlus emulation per patch from PCem forum;
Applied all mainline PCem commits;
Fixed several bugs.
2016-11-02 22:39:07 +01:00
Melissa Goad
7bace2bd25 Fix PCI ID 2016-10-22 14:54:37 -05:00
Melissa Goad
0f2c5135fb Disable wide DAC on RIVA 128 2016-10-22 14:19:08 -05:00
Melissa Goad
e1888a1f4d Change RIVA 128 BIOS to something a little less buggy 2016-10-22 14:17:56 -05:00
Melissa Goad
0b8d6dddbd A bunch of new RIVA 128 changes derived from old xf86-video-nv and envytools 2016-10-11 17:37:40 -05:00
Melissa Goad
8505ccdbad Fix LFB access on nVidia cards 2016-10-06 16:44:36 -05:00
Melissa Goad
52912007df Fixup RIVA 128 2016-10-06 16:20:19 -05:00
Melissa Goad
a07a30645c Add preliminary RIVA 128 emulation 2016-10-06 16:05:02 -05:00