Jasmine Iwanek
35fea100db
clang-format markers
2022-11-19 11:53:09 -05:00
Jasmine Iwanek
83b220cb03
clang format in cpu
2022-11-19 11:53:09 -05:00
OBattler
27ebb27db7
Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.
2022-11-17 22:44:06 +01:00
Jasmine Iwanek
af9f1abf98
Code/Comments cleanup
...
Tabs to spaces
Whitespace
Normalize clang-format comments
2022-11-13 21:15:58 -05:00
Jasmine Iwanek
bd75bc141a
Header cleanups
...
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
51aa132818
Fix a typo, and correct two NEC V20 speeds
2022-11-11 01:40:59 -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
2a2276dbee
On the NEC V20/V30, REP string instructions with segment override move IP back one further byte on a hardware interrupt, fixes V20 detection on HWiNFO16.
2022-11-03 01:04:21 +01:00
OBattler
19d6fcec24
808x flags fixes - fixes HWiNFO v2.2 hanging.
2022-11-03 00:14:31 +01:00
plant
c80d2a0209
Fix CPU-Z on IBM 486
...
It turns out that the IBM 486 does indeed have the AC bit in EFLAGS, based on CPU-Z detection behavior.
2022-10-31 00:12:39 -06:00
Miran Grča
c2402daf1e
Merge pull request #2755 from jriwanek-forks/tabstospaces
...
Correct many file headers to show 86box
2022-10-29 17:06:18 +02:00
OBattler
535b19a027
Do not raise CPU trap if an exception has occurred, fixes #2577 .
2022-10-28 04:12:31 +02:00
OBattler
cb13ca526a
Handle trap first also on interpreter - makes retf.exe at least run.
2022-10-28 03:27:35 +02:00
OBattler
079bec06eb
Added segment limti checks to CPU instruction FFh, fixes #2583 .
2022-10-28 03:07:48 +02:00
Jasmine Iwanek
f49d3c7458
Correct many file headers to show 86box
2022-10-27 17:08:58 -04:00
OBattler
bff5026b8b
One last attempt at a fix to my own GPF handler.
2022-10-27 04:10:16 +02:00
OBattler
605929fcba
Fixed V20 / V30 MUL flags - OpenXT now correctly detects the V20.
2022-10-26 17:02:52 +02:00
OBattler
e6321d952a
More V20/V30 fixes.
2022-10-26 16:45:17 +02:00
OBattler
ec42ab69e1
Corrected the NEC V30 package to the correct 8086.
2022-10-26 02:47:39 +02:00
OBattler
a2d0ed214e
Some NEC V20 fixes.
2022-10-26 02:46:40 +02:00
OBattler
787a6b81f7
Fixed warnings in cpu/808x.c.
2022-10-24 02:03:04 +02:00
Jasmine Iwanek
45e01ea3b8
Fix build
2022-10-19 19:20:49 -04:00
Jasmine Iwanek
51f84ce0be
Merge remote-tracking branch 'upstream/master' into nec-v20
2022-10-19 16:24:10 -04:00
plant
8a53754b97
fix 95/98FE on P6
...
loop should decode into 4 alu ops instead of 1
2022-10-17 19:28:46 -06:00
Jasmine Iwanek
ece9f7ec72
Fix some compile warns while I'm at it
2022-09-21 19:27:08 -04:00
Jasmine Iwanek
b4673117fd
Some clang-formatting in src/cpu
2022-09-20 01:00:45 -04:00
Jasmine Iwanek
05697fe355
Remove some cruft
2022-09-13 08:15:03 -04:00
Jasmine Iwanek
8904fd675f
Use MD_FLAG
2022-09-13 08:10:24 -04:00
Cacodemon345
62fc657466
Even more i8080 work ( #20 )
2022-09-11 01:47:13 -04:00
Cacodemon345
54bc9dc58c
808x: Make sure all 8018x opcodes are marked as handled ( #19 )
2022-09-10 05:39:39 -04:00
Cacodemon345
2cdc63e83a
808x: Switch to __builtin_parity for parity flag setting
2022-09-10 14:53:00 +06:00
Cacodemon345
fc2fac4c73
More i8080 + NEC changes ( #18 )
...
* More i8080 changes
* Fix compilation
* More foundational i8080 work
* Switch to __builtin_parity for parity flag setting
Fix some incorrectly implemented instructions
2022-09-10 04:50:50 -04:00
Cacodemon345
13f5a2794f
Prepare the structure for upcoming actual i8080 emulation ( #16 )
2022-09-08 16:28:51 -04:00
Cacodemon345
c2cc656103
Fix NEC BCD instructions ( #15 )
2022-09-08 14:26:05 -04:00
Cacodemon345
25b2e16a27
NEC INM/OUTM instructions ( #14 )
2022-09-07 15:58:42 -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
Cacodemon345
2b0dff2ec6
Implement immediate versions of PUSH operations ( #12 )
...
Implement immediate versions of bit-shifting operations
Make word read/write operations not overflow when offset is 0xFFFF on 8018x
2022-09-06 16:59:39 -04:00
Cacodemon345
3dbfcf1fd3
NEC SUB4S and CMP4S instructions ( #11 )
...
* NEC SUB4S and CMP4S instructions
* Return to original IP properly in case of POP PS
* NEC REPC/REPNC instructions
* Make NEC BRKEM instruction a fatal for now
* Fix wrong segment addresses in some NEC instructions
2022-09-06 12:29:54 -04:00
Cacodemon345
e93cd46c78
NEC ADD4S instruction ( #10 )
2022-09-05 16:27:09 -04:00
Cacodemon345
323f7e7a62
NEC INS/EXT instructions ( #9 )
2022-09-05 06:18:10 -04:00
Jasmine Iwanek
cc72ab21e8
Some missing bits
2022-09-04 17:11:14 -04:00
Jasmine Iwanek
03bf62cccf
Temporary for testing
2022-09-04 16:02:52 -04:00
Cacodemon345
199bbed5ee
NEC CLR1 instructions ( #8 )
...
Wraps up the fixed bitfield manipulation instructions
2022-09-04 16:00:29 -04:00
Cacodemon345
2280685526
NEC SET1 instructions ( #7 )
...
Mask the bit argument properly
2022-09-04 15:50:38 -04:00
Cacodemon345
db6eac6e2f
Mark recently-added instructions as handled ( #6 )
2022-09-04 15:38:42 -04:00
Cacodemon345
6b55fa3d2e
NEC NOT1 instruction ( #5 )
...
Fix bit value usage of TEST1 instruction
2022-09-04 15:25:08 -04:00
Cacodemon345
474ab60c97
NEC TEST1 instruction ( #4 )
2022-09-04 15:11:04 -04:00
Cacodemon345
71dde8658b
Implement more NEC V20/V30 and 8018x instructions ( #3 )
...
* Implement more NEC V20/V30 and 8018x instructions
* PUSHA/PUSH R
* POPA/POP R
* RO(L/R)4 r/m (NEC only)
* Fix critical mistake
2022-09-04 12:30:21 -04:00