Commit Graph

577 Commits

Author SHA1 Message Date
OBattler
782117dbbd Fixed some GCC pedantic warnings. 2023-08-25 02:28:51 +02:00
OBattler
6f4a3ebb9e Merge branch 'master' of https://github.com/86Box/86Box 2023-08-23 01:16:02 +02:00
OBattler
6a23499051 Some clean-ups in cpu/808x.c. 2023-08-23 01:15:45 +02:00
Alexander Babikov
ef631a8133 8514/A and XGA handling refactor:
* separate (ibm8514|xga)_enabled into (ibm8514|xga)_standalone_enabled
  and (ibm8514|xga)_active, the former being enabled only for standalone
  8514/A or XGA cards, the latter for all 8514/A and XGA-capable cards
  and not saved into the config file;
* remove (ibm8514|xga)_has_vga and replace all uses of it with
  (ibm8514|xga)_standalone_enabled;
* Qt UI: the checkboxes for standalone 8514/A and XGA are now correctly
  grayed out if an (S)VGA card with 8514/A or XGA capability is selected,
  including cases when the card is an internal/onboard one; said cards are
  now no longer appear as SVGA multi-monitor compatible.
2023-08-22 23:48:32 +05:00
OBattler
5b4bc444cb Removed some excess logging from cpu/x86seg_common.c. 2023-08-21 03:00:56 +02:00
OBattler
1d48363803 The 286/386 interpreter now has its own variant of x86seg.c. 2023-08-21 02:56:33 +02:00
OBattler
13659d7a4c More timer fixes, fixes Trantor T128b. 2023-08-20 00:04:52 +02:00
OBattler
6c4a4be6be Timer clean-ups. 2023-08-19 05:26:49 +02:00
OBattler
e387a6c2f5 The AAM instruction on NEC V20/V30 does in fact support bases other than 10, fixes #2939. 2023-08-18 19:14:50 +02:00
OBattler
44ba846ae6 Reverted some changes and reworked some lines in cpu/386.c. 2023-08-17 02:52:49 +02:00
OBattler
bf38c4adef More UI work, added Slovak and Catalan translations, and fixed mmutranslate on the 286/386, fixes #3587, #3591. 2023-08-17 02:46:37 +02:00
OBattler
e781d4905e 286/386 interpreter fixes. 2023-08-15 22:11:32 +02:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
cold-brewed
99cdd3a16a Various warning cleanups 2023-08-12 11:42:11 -04:00
OBattler
88494c268d Fixes in cpu/x86_ops_arith.h. 2023-08-12 02:34:52 +02:00
Jasmine Iwanek
5cd18f3fbb Clang-formatting in src/cpu 2023-08-11 19:11:37 -04:00
Jasmine Iwanek
be79ea78c7 sonarlinting and formatting in src/cpu 2023-08-11 19:11:32 -04:00
OBattler
3ae3287f26 Changed the size_t's in cpu/808x/queue.c/h into uintptr_t's and made the fatal() use PRIuPTR. 2023-08-09 22:17:02 +02:00
cold-brewed
538e402193 Fixed warning around formatting string for size_t 2023-08-09 09:56:06 -04:00
cold-brewed
cb28daba98 Match the destination register type on apple silicon. Clears up a clang warning. 2023-08-09 07:43:48 -04:00
cold-brewed
3795016a82 Clean up some clang warnings on macOS 2023-08-09 07:37:45 -04:00
OBattler
3796eb8163 Moved an #endif in cpu/386_ops.h to the correct place. 2023-08-08 21:14:34 +02:00
OBattler
ad672054ec Some missing extern's in cpu/x86_ops.h. 2023-08-08 21:10:56 +02:00
OBattler
06998e4278 Corrected some 286/386 interpreter opcode table assignments in cpu/cpu.c. 2023-08-08 21:04:49 +02:00
OBattler
7e98ff301e And missing #ifndef's in CMOV. 2023-08-08 21:02:49 +02:00
OBattler
480d663d19 Missing void's. 2023-08-08 21:01:01 +02:00
OBattler
b1c5cbaf47 Split the 286/386 interpreter away from the 486+ one (the 286/386 interpreter does not use the pccache's, readlookup's, and writelookup's as the emulated CPU's are too slow for them to be required, and also has more accurate FPU timings), also added a LPT status read function for future-proofing. 2023-08-08 19:39:52 +02:00
OBattler
ce5e21f870 More warning and compile fixes. 2023-08-08 15:38:40 +02:00
OBattler
fe1d9b4f8f And another. 2023-08-07 03:41:06 +02:00
OBattler
73cba3f7ea Removed an excess comment in cpu/cpu.h. 2023-08-07 03:39:32 +02:00
OBattler
8a1cbbcba1 Implemented the P6 model-specific register 1D9h (DEBUG_CTL), needed by Netware 6.0. 2023-08-07 03:29:10 +02:00
OBattler
4d5fb6e7cc Include cpu/softfloat/softfloat-specialize.h from cpu/x87_ops.h, should hopefully fix compilaton with LLVM. 2023-07-27 02:43:15 +02:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
54c52fb55c Fix several instances of uninitialized variables. 2023-07-21 13:46:08 -04:00
OBattler
d3086d6c5e Fixed a mistake in src/cpu/808x/CMakeLists.txt. 2023-07-16 04:29:13 +02:00
OBattler
d066893330 A forgotten file. 2023-07-16 04:09:45 +02:00
OBattler
1d59351c03 Some MMX optimizations. 2023-07-16 03:43:54 +02:00
OBattler
e47e1b62c8 Part 4. 2023-07-16 03:28:37 +02:00
OBattler
dd38a5a15f Part 3. 2023-07-16 03:22:04 +02:00
OBattler
8b4a2a6ecc Part 2. 2023-07-16 03:01:11 +02:00
OBattler
21e20f1ea2 MMX clean-ups, part 1. 2023-07-16 02:24:36 +02:00
OBattler
324e5860a0 The beginnings of the port of MartyPC's 808x emulation. 2023-07-15 03:14:13 +02:00
OBattler
840b65c577 Fixed warnings into .h files. 2023-07-15 03:11:59 +02:00
TC1995
e676796367 SoftFloat MMX:
Added softfloat versions of the MMX instructions while preserving the non-softfloat ones.
2023-07-15 00:28:39 +02:00
TC1995
f9d5ab39b3 CPU with softfloat: Added softfloat versions of the i686 FX opcodes while preserving the existing non-softfloat ones. 2023-07-14 21:46:15 +02:00
OBattler
2cd790cf7c Current state of the 808x code. 2023-07-12 20:43:06 +02:00
OBattler
32116fdd8f Reimplemented the 808x IN and OUT instructions, fixes the PIT test on the IBM PC and XT BIOS'es. 2023-07-07 19:33:44 +02:00
OBattler
f44821d840 Removed an invalid change from cpu/cpu.c. 2023-07-06 20:38:34 +02:00
OBattler
979bd75acb Merge branch 'master' of https://github.com/86Box/86Box 2023-07-06 19:59:54 +02:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00