Commit Graph

9202 Commits

Author SHA1 Message Date
Miran Grča
97bd9e9245 Merge pull request #2672 from Cacodemon345/patch-102
808x: Switch to __builtin_parity for parity flag setting
2022-09-15 01:18:38 +02:00
Miran Grča
1d495af5e3 Merge pull request #2673 from dhrdlicka/feature/config-refactor
config: Refactor the INI parser out
2022-09-15 01:18:20 +02:00
David Hrdlička
7405d777e8 Merge pull request #2677 from cold-brewed/media-history-fix
qt: Fix potential null pointer access in media history
2022-09-13 21:07:05 +02: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
cold-brewed
dc046c5b5f qt: Use a single loop for icon dir search 2022-09-12 10:10:22 -04:00
cold-brewed
e5d6430ec8 qt: Fix potential null pointer access in media history 2022-09-12 09:48:14 -04:00
Cacodemon345
62fc657466 Even more i8080 work (#20) 2022-09-11 01:47:13 -04:00
David Hrdlička
7071175975 ini: Fix the legacy Windows UI 2022-09-10 14:46:47 +02:00
David Hrdlička
2cc7fc666b ini: Add to legacy makefile 2022-09-10 13:48:48 +02:00
David Hrdlička
08f48b8b00 ini: Fix ini_close definition 2022-09-10 13:47:36 +02:00
David Hrdlička
7dd8c96ffc config: Refactor the INI parser out 2022-09-10 13:37:49 +02: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
176278bca0 i8080 registers are now proper structs (#17) 2022-09-09 04:13:15 -04:00
Jasmine Iwanek
fbe5d25538 Merge branch '86Box:master' into nec-v20 2022-09-08 16:41:49 -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
cold-brewed
3d7fdf0eda qt: Fix searching for icon packs in roms dir 2022-09-08 11:19:37 -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
TC1995
3a77be3820 Clang-format fixes... 2022-09-06 23:48:10 +02:00
TC1995
32220dab84 XGA: made the source file compatible with the 86box clang-format style (ident) and actually fixed the 40 25 POST hang (the key element was bit 0 of MCA port 0x103). 2022-09-06 23:39:37 +02: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
RichardG867
d2dc53fbfb Merge branch 'master' of ssh://github.com/86Box/86Box 2022-09-05 16:35:04 -03:00
RichardG867
19280008b3 Jenkins: Fix compiler flags not being used on macOS x86_64h slice 2022-09-05 16:34:58 -03: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
a32eca3a6e Merge branch '86Box:master' into nec-v20 2022-09-04 17:09:01 -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
Miran Grča
7935baf89a Merge pull request #2668 from Cacodemon345/patch-101
qt_hardwarerenderer: Use setData on Qt 5.14 and later
2022-09-03 21:54:52 +02:00
Cacodemon345
18d15758f5 Don't set ZF on MUL/MULU operations on NEC V20/V30 (#2) 2022-09-03 14:27:05 -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
Cacodemon345
d47bd06f25 qt_hardwarerenderer: Use setData on Qt 5.14 and later 2022-09-03 13:13:07 +06:00
Cacodemon345
915ed5ce53 Add missing bracket 2022-09-03 02:31:03 +06:00
Cacodemon345
6d4751f471 qt: Make the pause key pause the emulator if both Alts are held
Also proper emulation for the pause key when both Alts aren't held
2022-09-03 02:28:00 +06:00
Miran Grča
fa9ac2409d Merge pull request #2661 from cold-brewed/qt-discord-timer
qt: Fix discord update timer to run at one second interval
2022-09-02 14:08:12 +02:00
Miran Grča
dd723e4a84 Merge pull request #2663 from Cacodemon345/patch-100
qt_hardwarerenderer: Fix compilation with Qt 5.12
2022-09-02 14:07:57 +02:00
Miran Grča
e67c6d4e83 Merge pull request #2664 from driver1998/build-fixes
Build fixes on Clang
2022-09-02 14:07:45 +02:00
GH Cao
06cfd4dcae net_slirp: Fix building with clang 2022-09-02 16:58:18 +08:00
GH Cao
0cca0d9831 win_joystick_rawinput: Fix wchar/char mismatch 2022-09-02 16:53:53 +08:00