Commit Graph

4779 Commits

Author SHA1 Message Date
Cacodemon345
635ef60c53 Fix buffer overflow on window title sets 2021-08-29 23:50:21 +06:00
Cacodemon345
8251d2b244 Change ftello64 to ftell since it got truncated anyway 2021-08-29 23:50:21 +06:00
Cacodemon345
5cdfcb099c Fix reading config files with UTF-8 BOM signature 2021-08-29 23:50:21 +06:00
Cacodemon345
fa3cb5bcee Don't make the blitter thread wait forever on exit 2021-08-29 23:50:21 +06:00
Cacodemon345
7d095da769 oops, forgot to create the mouse access mutex 2021-08-29 23:50:21 +06:00
Cacodemon345
1418d788a4 Remove incorrect focus loss detection code 2021-08-29 23:50:21 +06:00
Cacodemon345
8263fcab1f Implement mouse support 2021-08-29 23:50:21 +06:00
Cacodemon345
02d698ecaf Fix wrong variable reference 2021-08-29 23:50:21 +06:00
Cacodemon345
e0b36b52ca Implement window title setting 2021-08-29 23:50:21 +06:00
Cacodemon345
1678783db5 Implement keypad support 2021-08-29 23:50:21 +06:00
Cacodemon345
d9fdc5fcc1 Implement keyboard support
Numpad will be done eventually
2021-08-29 23:50:21 +06:00
Cacodemon345
f6af2b0162 Fix compile errors and get rid of glib dependency 2021-08-29 23:50:21 +06:00
Cacodemon345
39fea69d5c Fix warnings 2021-08-29 23:50:21 +06:00
Cacodemon345
435174a06a Fix incorrect typing of function loader
Co-authored-by: 韩朴宇 <w12101111@gmail.com>
2021-08-29 23:50:21 +06:00
Cacodemon345
1b93e8e989 Initial Linux/Unix code 2021-08-29 23:50:16 +06:00
OBattler
64aee0481c Removed the non-working keyboard hook, and with it, the NOHOOK make parameter. 2021-08-29 13:59:05 +02:00
OBattler
0ae0abcf9c Merge branch 'master' of https://github.com/86Box/86Box 2021-08-29 13:35:04 +02:00
OBattler
09ff45c394 LDS, LSS, LES, LFS, and LGS instructions now perform segment limit and present bit checks. 2021-08-29 13:34:51 +02:00
David Hrdlička
139268c749 fix copyright sign in version information 2021-08-29 08:49:46 +02:00
David Hrdlička
1ab23d5531 cmake: more fixes 2021-08-29 08:38:42 +02:00
David Hrdlička
88295f807c cmake: fix pure clang/win32 build 2021-08-29 07:23:33 +02:00
Ompronce
2596c0143c Make the Innovation SSI-2001's IO address configurable (#1636) 2021-08-29 06:40:21 +02:00
David Hrdlička
69a8c63c33 cmake: no SSE2 flag on non-x86 targets 2021-08-29 04:55:05 +02:00
David Hrdlička
44ccefb28a cmake: refactor the architecture detection 2021-08-29 03:55:07 +02:00
Ompronce
906083a0a9 Removed unused references to snd_mpu401.h and corrected minor typo 2021-08-27 20:28:50 -04:00
Miran Grča
b0cb4d974c Update cdrom.c 2021-08-27 20:19:50 +02:00
OBattler
196f0f8bdd Merge branch 'master' of https://github.com/86Box/86Box 2021-08-27 20:11:17 +02:00
OBattler
08e36e7d52 Added a sanity check to the new recompiler, prevents the emulator from dividing by zero and crashing. 2021-08-27 20:10:59 +02:00
David Hrdlička
a68ac70c47 Fix ARM64 build
There is some weird issues regarding linking `__clear_cache` under `clang-cl`, therefore we just call the Windows API instead on these builds.
2021-08-27 15:16:49 +02:00
Alexander Babikov
5171ebb35a Add a filter for CD de-emphasis, with coefficients calculated based on SoX's code
This only adds the filter itself and needs hooking up to the rest of the code
2021-08-27 17:26:19 +05:00
OBattler
4222570553 The makefile now links libgcc on ARM64. 2021-08-27 13:49:27 +02:00
OBattler
ddc7c5b78a Reorganized some CPU structures a bit and fixed inappropriate behavior of some mem.c functions on 64-bit binaries (and made mem.c aware of ARM64 as well), fixes both 64-bit recompilers, closes #1215. 2021-08-27 13:31:47 +02:00
OBattler
eb827a6629 Fixed CD-ROM backend logging. 2021-08-26 21:26:56 +02:00
OBattler
ecc54b1717 Fixed the indentation of blit_thread(). 2021-08-26 13:54:32 +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
6d7acaa100 Made sure cdrom_image.c doesn't strcpy() from the same place to the same place. 2021-08-26 10:14:27 +02:00
OBattler
d9ac4ea75f Fixed a small typo. 2021-08-25 14:05:41 +02:00
OBattler
4ad78598ea Fixed IBM RGB28 RAMDAC hardware cursor position calculation. 2021-08-25 13:58:01 +02:00
dob205
34a14354bf Fixes some small potential issues with the updated plat.h
Added a small fix for the if condition, so that the OS definition can work properly
2021-08-22 17:56:34 +02:00
dob205
672ff82e46 Update plat.h 2021-08-22 17:30:05 +02:00
TC1995
263a8e98c2 Fixed CD Audio on the T128 and made the host buffer limit to be either 512 or less than it if the SCSI buffer length is also less than 512 (T128), same applies to the NCR 53c400, but 128 or less. 2021-08-21 14:18:49 +02:00
OBattler
42dbde1905 Fixes to lpt.h. 2021-08-20 19:19:16 +02:00
OBattler
fe5955e477 Removed excess logging from 386_common.c. 2021-08-20 17:31:18 +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
b384f58a8b The relocated SMBASE read from the SMM saved state now has bits 24-31 cleared. 2021-08-20 17:27:56 +02:00
OBattler
52a1ab757a CPL is now forced to 0 when switching from real to protected mode. 2021-08-20 17:25:27 +02:00
OBattler
3d004b56e7 Fixed the IDE BusMaster IRQ fix. 2021-08-20 17:16:14 +02:00
OBattler
8d3a7583de IDE BusMaster IRQ status is no longer automatically cleared on IRQ lower. 2021-08-20 16:50:39 +02:00
OBattler
02cbef3274 Implemented PS/2 mouse command F6 (Set defaults). 2021-08-20 16:48:13 +02:00
TC1995
29b2ac17c0 Fixed timings once again plus a Boot HDD ROM option and another option for logging purposes. 2021-08-19 19:34:28 +02:00