Commit Graph

102 Commits

Author SHA1 Message Date
OBattler
4d2ed33ff2 Fixed the emulator. 2021-12-19 23:41:23 +01:00
OBattler
bc90f99350 Finally got rid of the AT and PCI global variables. 2021-12-19 20:00:27 +01:00
OBattler
6661ff5dcc Abstracted away the machine bus'es and flags in order to make the rest of the emulator agnostic as to how they're stored. 2021-12-13 01:23:06 +01:00
OBattler
77d73ed3c2 Finished the Intel 450KX, changes to the memory and SMRAM API's, removed the ASUS P/I-P6RP4 from the Dev branch, added the CMD646 PCI IDE controller, and fixed some bugs on the CMD640. 2021-10-26 01:54:35 +02:00
OBattler
a394a33500 Conflict resolution. 2021-10-19 18:18:15 +02:00
RichardG867
5bf8aa2d58 Port plat_m(un)map from the VFIO branch 2021-10-16 20:12:49 -03:00
RichardG867
2416fec4a2 Add 3 GB RAM support to SPD and win_settings 2021-10-16 19:50:32 -03:00
OBattler
1c2d1e702b Assorted changes and bugfixes and added the two IMS 8848 machines. 2021-10-09 17:37:09 +02:00
OBattler
5ad606a8f2 UMC HB4 shadow RAM overhaul and SMRAM fixes, slight changes to SiS 85c4xx, a fix for SiS 85c50x, fixed SMBASE on 486 (it should *NOT* zero the most significant 8 bits!), various improvements to mem.c (eg. mem_invalidate_range() is now faster), fixed resetting PCI on soft reset, and made the KBC soft reset again. 2021-09-25 15:30:06 +02:00
Miran Grča
b0ec4e1ece Merge pull request #1652 from 86Box/master
Brought the branch up to par with master.
2021-09-03 16:41:24 +02:00
OBattler
84f4b8cac7 Added a bunch of parameters (including one to specify custom ROM path), fixed a warnings, removed excess commented out code from video/vid_voodoo.c, and made Makefile.mingw quiet again. 2021-09-02 20:15:46 +02:00
Miran Grča
b60ece3d87 Merge pull request #1632 from 86Box/master
Bring the branch up to par with master.
2021-08-27 13:49:56 +02:00
OBattler
ddc7c5b78a Reorganized some CPU structures a bit and fixed inappropriate behavior of some mem.c functions on 64-bit binaries (and made mem.c aware of ARM64 as well), fixes both 64-bit recompilers, closes #1215. 2021-08-27 13:31:47 +02:00
Miran Grča
9d648644f8 Merge pull request #1598 from 86Box/master
Bring the branch up to par with master.
2021-08-10 15:49:15 +02:00
OBattler
03d91af98c Some Flash fixes for the Acrosser AR-B1479. 2021-08-10 15:37:15 +02:00
Miran Grča
8ca1328c7e Merge pull request #1571 from 86Box/master
Bring the branch up to par with master.
2021-08-02 06:58:22 +02:00
OBattler
5fc73eee7b Various VIA fixes. 2021-07-17 06:01:27 +02:00
OBattler
dbddb3e309 Finished the ALADDiN-PRO II, implemented the Contaq/Cypress 82C596(A) and 82C597 chipsets, added the ASUS P5A, Gigabyte GA-5AX, PC CHIPS M729, and Green-B, removed the "Virtual PC 2007" device as it turns out it was actually SMBus all along, did some fixes to the ALi SMBUS, fixed start LM75 SMBus address and enabled it by default, and added a ASUS P5A-specific version of the Winbond W83781D hardware monitor. 2021-07-12 05:56:06 +02:00
Miran Grča
294a917ac3 Merge pull request #1529 from 86Box/master
Bringing the branch up to par with master.
2021-07-05 01:32:45 +02:00
TC1995
6acbf62f42 Ported the latest changes from PCem. 2021-07-05 01:21:02 +02:00
OBattler
29c8e36e6e Fixed miscellaneous bugs reported by Coverity. 2021-07-04 20:50:03 +02:00
OBattler
9d62da4548 And SPD. 2021-07-04 18:24:23 +02:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
OBattler
0ecbb8f7d6 Fixed a small mess-up that messed up all Intel Flash chips, the Bora Pro should now work again. 2021-06-08 20:33:22 +02:00
OBattler
29018a35d8 Fixed 512k Intel Flash chips. 2021-06-08 07:33:29 +02:00
OBattler
51b88518b8 Some mem.c reset organization. 2021-06-07 00:17:29 +02:00
OBattler
957b538c4a Rewrote memory access handling to properly split execute from read, bus from CPU (but the mappings will still match until otherwise specified), and fixed exec[] usage by the mem_*_phys() functions. 2021-04-22 04:27:50 +02:00
RichardG867
8f92c6d6cc Clean up SPD type handling with unions 2021-04-17 16:27:38 -03:00
OBattler
3e5c2b88d5 The Intel 420TX and 420ZX chipsets now correctly have 57h as the SMRAM control register (identified by register write logging on the ASUS P/I-486SP3G) rather than 72h, fixes hangs and errors on the ASUS P/I-486SP3G. 2021-04-13 02:33:40 +02:00
OBattler
bcb2e5598e CPU and MMU fixes, fixes #1366 and the entire mess that is build 2900. 2021-04-10 19:05:12 +02:00
OBattler
c370ae7e18 CPU and MMU cleanups and fixes, and non-Debug builds are now stripped again. 2021-04-10 07:18:47 +02:00
OBattler
39f98cd063 Attempted revert back to resetx86() with a mem.c fix. 2021-04-04 08:17:02 +02:00
OBattler
637e70841e More mem.c fixes - simplified some unnecessary complexities introduced this morning and rewrote do_mmutranslate() again, fixes #1351. 2021-04-03 19:55:13 +02:00
OBattler
e49296805d Rewritten the read and write functions in mem.c again and fixed type casting, fixes quite a few bugs introduced in build 2842. 2021-04-03 04:42:12 +02:00
OBattler
880f2f0304 Added some sanity checks to mem_invalidate_range(), fixes OS/2 2.0 segmentation faulting the emulator on IBM PS/2 Model 80 on the Dev builds. 2021-04-01 03:06:26 +02:00
OBattler
5dace5e657 Fixed warnings introduced by the UTF-8 conversion. 2021-04-01 00:04:59 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
345a61fa7c Removed the redundant mem_write_null* functions (the few mappings that use them, now use NULL pointers instead) and made the _phys function used by DMA not write to the exec buffer if the address has no write mapping (as in that case, it's clearly not intended to be writable), fixes #1332. 2021-03-30 02:16:01 +02:00
OBattler
1a643ab040 Reworked some memory and CPU parts to fix bugs, improve performance by getting rid of excess calls to mmutranslate(), and properly invalidate page bytes on page invalidation on new recompiler. 2021-03-24 19:52:44 +01:00
OBattler
5205a06eb2 Flash chips' memory mappings now have the ROM flag in order to incur the ROM access cycle penalty, BIOS beeps should now be more reasonable. 2021-03-24 19:39:35 +01:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
OBattler
b9b753c9aa Fixed the SCAMP chipset emulation and the Commodore SL386SX-25 (it was using the SL386SX-16 BIOS), added the SL386-SX16 (NEAT) and the Samsung SPC-4620P, SPC-6033P, and SPC-6000A. 2020-12-28 05:34:33 +01:00
RichardG867
841c4b3651 Disable I2C EEPROM logging 2020-12-11 18:27:15 -03:00
RichardG867
7192007e7d Reset I2C EEPROM address position on stop, fixes HWiNFO SPD reading 2020-12-11 18:25:14 -03:00
David Hrdlička
9511b75b49 Unify RAM size units in the machine table 2020-12-04 07:01:16 +01:00
RichardG867
29a0ce48e7 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-03 01:46:04 -03:00
RichardG867
89d5a0f911 Disable I2C EEPROM logging 2020-12-02 18:24:07 -03:00