Commit Graph

125 Commits

Author SHA1 Message Date
Jasmine Iwanek
83b220cb03 clang format in cpu 2022-11-19 11:53:09 -05:00
OBattler
8fddb692d2 Merge branch 'master' of https://github.com/86Box/86Box 2022-11-06 04:50:24 +01:00
OBattler
fc53fceda7 Added AMD K6-2+ and K6-III+ 3DNow! DSP Extensions. 2022-11-06 04:50:13 +01:00
Jasmine Iwanek
aa2c07bed2 Random header cleanups I noticed while porting things 2022-11-05 22:12:35 -04:00
OBattler
bff5026b8b One last attempt at a fix to my own GPF handler. 2022-10-27 04:10:16 +02:00
OBattler
e6321d952a More V20/V30 fixes. 2022-10-26 16:45:17 +02:00
Jasmine Iwanek
51f84ce0be Merge remote-tracking branch 'upstream/master' into nec-v20 2022-10-19 16:24:10 -04:00
Jasmine Iwanek
b4673117fd Some clang-formatting in src/cpu 2022-09-20 01:00:45 -04:00
Cacodemon345
7b29c30819 Implement immediate IMUL operands (#13)
* Implement immediate IMUL operands

Implement PUSH segment underflow behaviour on SP = 1 values for 8018x

* Limit bit-shifts and rotates to 31 on Intel 8018x

* NEC/8018x ENTER/LEAVE instructions

* NEC/8018x bound checking instruction
2022-09-07 08:50:30 -04:00
Jasmine Iwanek
cc72ab21e8 Some missing bits 2022-09-04 17:11:14 -04:00
Cacodemon345
028cbe7b4e NEC V20/V30: Cycle count fixes (#1)
* Correct the names of NEC V20/V30 in Settings

Make NEC V30 have correct CPU types

* Treat NEC V20 as a Intel 8088 variant
2022-09-03 05:55:53 -04:00
Jasmine Iwanek
9eaee6e20d Merge branch '86Box:master' into nec-v20 2022-08-31 16:42:10 -04:00
Jasmine Iwanek
672c15076c Merge branch '86Box:master' into nec-v20 2022-08-21 17:07:34 -04:00
RichardG867
d41bf191a5 Merge branch 'master' of ssh://github.com/86Box/86Box 2022-08-18 17:23:47 -03:00
RichardG867
48b372c60a gdbstub: Always ignore dynarec choice when compiled in 2022-08-18 17:23:41 -03:00
Alexander Babikov
603cdcbb37 Clear unfilled registers when returning CPUID results on K6-2/III/+ CPUs 2022-08-13 15:41:00 +05:00
Jasmine Iwanek
a31612b440 Merge branch '86Box:master' into nec-v20 2022-08-02 23:47:12 -04:00
OBattler
754058e2e5 AAM and AAD instruction fixes, fixes #2551. 2022-08-01 23:40:11 +02:00
Jasmine Iwanek
b3bca26471 Merge branch 'master' into nec-v20 2022-07-24 17:20:53 -04:00
Jasmine Iwanek
c430fbe84c Assorted cleanups I've discovered over time 2022-07-21 22:08:36 -04:00
Jasmine Iwanek
5f1e64fab7 Merge branch 'master' into nec-v20 2022-07-19 20:00:03 -04:00
Jasmine Iwanek
6233027c9e Named initializers in machine table 2022-07-19 18:51:18 -04:00
OBattler
645c4e6902 ALi M6117-related CPU fixes. 2022-07-18 23:38:06 +02:00
Jasmine Iwanek
1ecbc1cd3c Fix build 2022-03-19 06:05:52 -04:00
Jasmine Iwanek
8ef1d28b2c Merge branch '86Box:master' into nec-v20 2022-03-18 15:05:25 -04:00
RichardG867
f57cbe36b1 GDB Stub: More progress 2022-03-16 00:33:01 -03:00
Jasmine Iwanek
b4d134f969 Fix errors 2022-03-13 09:02:34 -04:00
Jasmine Iwanek
6bccf983e5 Merge branch '86Box:master' into nec-v20 2022-02-20 21:08:06 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jasmine Iwanek
a349823c7d Initial proddings at NEC V20/V30 2022-01-31 13:39:06 -05:00
linear cannon
31aed306c9 x87_timings: new timings for fpu/iu concurrency 2022-01-29 07:34:58 -08:00
Alexander Babikov
ee79348885 Implement machine check exception/architecture MSRs and CPUID flags 2021-12-22 05:33:26 +05:00
Alexander Babikov
1a04b93165 Make MSR 17h read-only and return a suitable Platform ID
Fixes some programs misidentifying Celeron Mendocinos as Slot 1 instead of Socket 370
2021-12-22 05:30:28 +05:00
OBattler
c53613deb7 Removed excess logs from cpu.c. 2021-11-14 20:25:07 +01:00
OBattler
1c2d1e702b Assorted changes and bugfixes and added the two IMS 8848 machines. 2021-10-09 17:37:09 +02:00
OBattler
aa3a52da3c Reordered some CPU variables and rewrote codegen emitted by the old recompiler's 64-bit version of codegen_accumulate_flush() to not assume 32-bit pointers, fixes 64-bit old recompiler, closes #1615. 2021-08-26 13:53:13 +02:00
OBattler
fed369c56f AMD K6 CPU's are no longer treated as K6 for SMM purposes. 2021-08-20 17:29:12 +02:00
OBattler
f0e84f7f13 More fixes, fixes CMOS Setup on the Acrosses AR-B4179. 2021-08-09 16:10:55 +02:00
OBattler
0d5c5f361a Added a separate CPU_STPC CPU type with RDTSC, fixes the ITOX STAR. 2021-08-09 09:51:58 +02:00
OBattler
166f64d422 Some CPU fixes, should fix compiling. 2021-06-07 00:06:17 +02:00
RichardG867
62afe31757 Remove EBGA368 due to poor research (CPUs are Samuel 2 and newer only) 2021-06-03 16:26:08 -03:00
OBattler
736eb46847 Reverted the ROM read cycles back to the old (and evidently, more correct) ones. 2021-06-03 05:02:22 +02:00
OBattler
e7a859adc5 More fixes - the Goldstar machine now fully works. 2021-04-27 04:10:59 +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
644ba28e18 Remove another redundant Socket 7 multiplier check 2021-04-17 16:34:04 -03:00
RichardG867
841ac25297 3.5x multiplier on Socket 5/7 should always be equivalent to 1.5x 2021-04-17 16:25:11 -03:00
nerd73
53270408ce add another am486dxl thing 2021-04-15 23:59:09 -06:00
nerd73
791bae3560 Add the AMD Am486DXL and DXL2.
Has otherwise Intel-compatible SMM with an SMBase at 60000h.
2021-04-15 23:28:07 -06:00
nerd73
27ddd856df Remove some unnecessary parentheses 2021-04-15 21:42:02 -06:00
nerd73
8e3b09f323 Various 486 improvements
- Added SL-Enhanced versions of Intel 486 CPUs and Enhanced AMD Am486DX2/DX4 CPUs
- Cleaned up the 486 CPU types and updated intel_4x0.c to reflect this
- Fixed some incorrect EDX reset and CPUID values
- Blacklisted non-SMM capable 486 CPUs on the Soyo 4SA2 motherboard
- Merged the non-OverDrive and OverDrive Intel DX4s because of further research confirming them to be functionally identical
- Removed SMM support on early 486 CPUs
2021-04-15 21:38:03 -06:00