Commit Graph

41 Commits

Author SHA1 Message Date
RichardG867
739fdc46cc I2C overhaul part 2 2020-11-20 19:23:14 -03:00
RichardG867
886dbe09ea DDC/I2C/SMBus overhaul (incomplete, commit for the night) 2020-11-20 01:22:04 -03:00
RichardG867
833635afaa Fix crash in standalone settings mode 2020-11-19 15:49:32 -03:00
RichardG867
8fff49d5c5 Merge branch 'master' of https://github.com/86Box/86Box
# Conflicts:
#	src/win/win_settings.c
2020-11-18 01:12:32 -03:00
RichardG867
dbd767437b Programmatic CPU table 2020-11-18 01:09:17 -03:00
OBattler
bbf08e258d Fixed the Intel Flashes. 2020-11-18 01:45:29 +01:00
OBattler
0307ec60e5 Intel 2 Mbit BIOS boot blocks are now loaded from offset 0. 2020-11-18 00:47:13 +01:00
OBattler
26bffcb91f Reenabled addreadlookup() and addwritelookup() in mem/mem.c, fixes performance of the emulator. 2020-11-17 21:05:13 +01:00
OBattler
ab8f9d3866 The new 808x-only memory read/write functions now apply the RAM mask to the address so addresses now correctly wrap around 1 MB, fixes #1062;
More 808x bug fixes.
2020-11-17 02:20:19 +01:00
OBattler
bf4b5b781f Implemented PIC IRQ latch and delay (per the datasheet), IBM PCjr now works without a workaround delay in cpu/808x.c which was therefore removed; also redid memory and I/O accesses in cpu/808x.c to fix word writes on 8086. 2020-11-17 00:25:28 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
Panagiotis
cd65d25ec0 Added 4Mbit capabilities to the Intel Flashes & the 4Mbit SST can be used. 2020-11-05 15:03:20 +02:00
OBattler
baee7c1530 And fixed them again, this time properly (verified by testing). 2020-10-20 21:53:47 +02:00
OBattler
4390fd3bc6 Removed excess SST flash logging. 2020-10-20 21:32:33 +02:00
OBattler
2bda968594 Flash and Apollo fixes - fixes Flash corruption on the FIC KA-6130. 2020-10-20 21:29:45 +02:00
OBattler
36fa15c009 More 29*0x0 fixes. 2020-10-20 19:44:24 +02:00
OBattler
2e92878869 The 29*0x0 Flash now correctly determines the page address by the address of the last byte loaded, and only writes the bytes in the buffer that marked as dirty. 2020-10-20 19:33:10 +02:00
OBattler
4c4fed4109 29*0x0 command A0 now correctly re-enables software data protection. 2020-10-20 18:23:19 +02:00
OBattler
c2329eefda 29*0x0 Flash now only starts the page write timer after the page address has been loaded, fixes accidental writes addresses that are not supposed to be written to. 2020-10-20 16:23:04 +02:00
OBattler
795a6017d2 PIC rewrite, proper SMRAM API, complete SiS 471 rewrite and addition of 40x, 460, and 461, changes to mem.c/h, disabled Voodoo memory dumping on exit, bumped SDL Hardware scale quality to 2, bumped IDE/ATAPI drives to ATA-6, finally bumped emulator version to 3.0, redid the bus type ID's to allow for planned ATAPI hard disks, made SST flash set its high mappings to the correct address if the CPU is 16-bit, and added the SiS 401 AMI 486 Clone, AOpen Vi15G, and the Soyo 4SA2 (486 with SiS 496/497 that can boot from CD-ROM), assorted 286+ protected mode fixes (for slightly more accuracy), and fixes to 808x emulation (MS Word 1.0 and 1.10 for DOS now work correctly from floppy). 2020-10-14 23:15:01 +02:00
TC1995
49ec3903a5 Fixed the crashes the IBM PS/1 2133 issued with Windows 95 running with 8MB-16MB of memory. 2020-10-11 14:40:29 +02:00
RichardG867
01b6662809 Add unified BCD macros for SPD and (in the future) VPCEXT 2020-07-25 13:19:24 -03:00
OBattler
6ba0d715cc Some mem.c fixes. 2020-07-19 05:54:09 +02:00
OBattler
c7f4aabbf0 Fixed the previous fix. 2020-07-16 01:14:24 +02:00
OBattler
a4afacfe0e Fixed a very bad flaw in mem.c which was causing lookup arrays for memory above 1 MB but below 2 MB to point to a bogus area of memory, also fixes 64-bit 86Box. 2020-07-15 23:22:26 +02:00
OBattler
0b4b2b4d2f A number of recompiler fixes and put some of the timer/cycle-related changes behind #ifdef's as they are no longer used but someone may want to still try them out. 2020-07-15 18:30:27 +02:00
OBattler
96228bc41d Overhauled the SiS 496/497 chipset emulation (and added the DRB locking to it) (later Zida Tomato 4DPS BIOS'es now work, and we now use the actual 1.72), fixed the W83787F and FDC37C932FR Super I/O chips, removed the no longer needed Acer M3A registers (that's now correctly handled as FDC37C932FR GPIO), and a number of bugfixes here and there. 2020-06-29 01:10:20 +02:00
RichardG867
9cecbfa33a Remove extraneous logging lines 2020-06-26 22:16:56 -03:00
RichardG867
7775e52c0e Disable SPD logging 2020-06-26 22:15:36 -03:00
RichardG867
012f01cc9f Fix Apollo DRB wraparound 2020-06-26 22:15:21 -03:00
RichardG867
aea5461255 Implement DRB locking for VIA Apollo chipsets 2020-06-26 22:05:32 -03:00
RichardG867
2553dbce8f Unified DRB locking logic, added DRB locking to VIA VPX, and fixed SPD 2020-06-26 21:03:46 -03:00
RichardG867
84e378695a Fix SPD presence detection 2020-06-26 18:24:15 -03:00
RichardG867
93b909fe59 Merge branch 'master' of https://github.com/86Box/86Box 2020-06-26 18:05:57 -03:00
RichardG867
5115214d01 DRB locking implementation 2020-06-26 18:05:27 -03:00
David Hrdlička
23efba22f1 include: move version defines out to version.h 2020-06-26 13:28:10 +02:00
OBattler
8bf15f535b Pages above the top of RAM now have mem[] pointing to a 4096-byte array of FF's, and fixed the naming and indentation of the P5MP3 in machine/machine_table.c. 2020-06-21 04:03:14 +02:00
OBattler
d2dbf49e3c Added the Catalyst 28F010 Flash chip needed by the ASUS P5MP3, fixed a memory leak in the Intel Flash close code (it was not free'ing dev->array), and unified all the flash chip header files into one single flash.h. 2020-06-21 03:58:32 +02:00
OBattler
8837d5d882 Implemented the National Semiconductors PC87307, PC87309, PC87332, and PC97307 Super I/O chips, fixed a number of bugs, and removed two machines from the Dev branch due to them now having the correct Super I/O chips. 2020-06-14 21:59:45 +02:00
OBattler
611dd62fab Some chipset extended SMRAM-related clean-ups and SMM-supporting chipsets now correctly set shadow RAM states for SMM mode in addition to non-SMM mode, fixes Windows 98 SE hanging in a SMI# handler. 2020-06-14 14:50:30 +02:00
OBattler
ca55e2a12a More reorganization and finally merged the two makefiles. 2020-06-13 12:32:09 +02:00