Commit Graph

8932 Commits

Author SHA1 Message Date
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
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
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
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
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
Cacodemon345
a84a8615c5 qt_hardwarerenderer: Fix compilation with Qt 5.12 2022-09-02 13:45:48 +06:00
Miran Grča
1e696006e5 Merge pull request #2662 from Cacodemon345/qt-hwrenderer-fix
qt_hardwarerenderer: Don't blit black, hidden portions of images
2022-09-02 05:48:37 +02:00
Cacodemon345
d32cd981c8 qt_hardwarerenderer: Don't blit black, hidden portions of images 2022-09-02 00:32:04 +06:00
cold-brewed
7262866902 qt: Fix discord update timer to run at one second interval 2022-09-01 13:49:35 -04:00
Miran Grča
874333e0ba Merge pull request #2659 from Cacodemon345/qt-hwrenderer-fix
qt_hardwarerenderer: Don't update the entire texture on blits
2022-09-01 16:48:37 +02:00
Cacodemon345
11f6fee8ca qt_hardwarerenderer: Don't update the entire texture on blits 2022-09-01 16:55:12 +06:00
Jasmine Iwanek
d4d9c4e725 Merge branch '86Box:master' into nec-v20 2022-08-31 21:24:00 -04:00
RichardG867
194b85b601 agpgart: Fix AGP aperture never being enabled 2022-08-31 21:46:30 -03:00
Miran Grča
66be713740 Merge pull request #2658 from cold-brewed/vcpkg-fix
Media history: small adjustment for vcpkg builds
2022-09-01 02:39:49 +02:00
cold-brewed
aa67147525 Media history: small adjustment for vcpkg builds 2022-08-31 19:46:36 -04:00
Jasmine Iwanek
883e7c256a clang format in src/video (#2654) 2022-08-31 20:19:29 -03:00
Jasmine Iwanek
a75aa6f412 Expose agpgart_t (#2655) 2022-08-31 19:23:38 -03:00
Jasmine Iwanek
5e0c1ac209 Gdbstub, Minitrace and more (#2653)
* Fix gdbstub compilation

* Fix minitrace compilation

* Fix many warnings on Linux Builds

* Support DirectInput for Joysticks in QT UI too
2022-08-31 18:35:32 -03:00
RichardG867
65fbe568ec Jenkins: Fix MoltenVK secondary header patching 2022-08-31 18:16:31 -03:00
Jasmine Iwanek
9eaee6e20d Merge branch '86Box:master' into nec-v20 2022-08-31 16:42:10 -04:00