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
Miran Grča
042bd74420
Merge pull request #1633 from lemondrops/master
...
Add a filter for CD de-emphasis
2021-08-27 14:40: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
Miran Grča
b60ece3d87
Merge pull request #1632 from 86Box/master
...
Bring the branch up to par with master.
2021-08-27 13:49:56 +02: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
Laci bá
3da83e3ffe
Fix a typo in initialization of ltemp
2021-08-27 09:09:46 +02:00
Laci bá
1980155e34
Fix to avoid repurposing variables
2021-08-27 09:02:31 +02:00
Laci bá
2634909dbd
Fix to avoid undefined behavior at strcpy
...
- Using the `path` buffer to store the directory name, the possible overlapping areas can be avoided at strcpy.
- The `path` buffer is unused in further parts of this function, so can be used freely here. The `temp` buffer is too small for this task.
2021-08-26 21:49:25 +02:00
OBattler
eb827a6629
Fixed CD-ROM backend logging.
2021-08-26 21:26:56 +02:00
Laci bá
13ff9af7e1
Add support for overridable VM name
...
- A global variable added as vm_name
- This variable can be filled with the `--vmname "Name"` or `-V "Name"` parameter.
- If there are no such a parameter definied this variable will filled up with the directory name.
- The Discord module displays this global variable, as VM name.
- Various 86Box managers can use this feature to display fancy VM names, instead of GUID folder names.
- This variable can be easily used later for adding cool things, like the VM name in title bar, etc.
2021-08-26 20:30:37 +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
Miran Grča
18af472059
Merge pull request #1629 from 86Box/master
...
Bring the branch up to par with master.
2021-08-24 21:12:37 +02:00
OBattler
ccdf583b26
A slight AT NVR code clean-up.
2021-08-24 21:11:47 +02:00
OBattler
d30ad04a88
UMC UM88xx fixes, ALi M1429 documentation, and added the DataExpert 386SX, PC Chips M919, Samsung SPC7700P-LW, and Acrosser AR-B1423C. Also renamed the ALi M1429G AMI WinBIOS 486 to Kaimei 486.
2021-08-24 21:11:00 +02:00
dob205
fbef364b43
Merge branch '86Box:master' into master
2021-08-24 13:43:25 +02:00
OBattler
3ddbca6fca
Merged tiseno100's ALi M1429(G) changes.
2021-08-23 22:01:25 +02:00
OBattler
b798b59a69
Some ALi M1429G changes, including returning registers in the Cyrix range as FF.
2021-08-23 21:48:42 +02:00
OBattler
2f3bb38dde
Implemented the UMOV instruction on a number of CPU's, needed by some Phoenix BIOS'es.
2021-08-23 17:26:40 +02:00
Miran Grča
c99c629e0e
Merge pull request #1627 from dob205/feature/macos_fix_for_fileops
...
Update plat.h to ensure 86Box compatibility under macOS
2021-08-23 13:03:24 +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
6e66e1f3b6
Merge pull request #1 from dob205/macos_fix_for_fileops
...
Update plat.h
2021-08-22 17:31:06 +02:00
dob205
672ff82e46
Update plat.h
2021-08-22 17:30:05 +02:00
Miran Grča
1f1593a767
Merge pull request #1625 from 86Box/master
...
Bring the branch up to par with master.
2021-08-21 18:20:36 +02:00
OBattler
67367798a7
Merged various SMC FDC67C6xx Super I/O chips into one file, re-added the UMC88xx 486 chipsets (and four machines for it) based on work by tiseno100 and my own work, various other fixes, and added quite a few machines (including the AOpen AP5VM which now works), also added the remaining ALi M6117 machine (Protech SBC with Award BIOS), and made the Intel Advanced/ATX's on-board S3 Trio64V+ work, as well as the on-board S3 Trio64/V2 of the two Compaq Presarios.
2021-08-21 18:19:10 +02:00
Miran Grča
dd8be7c3fd
Merge pull request #1624 from 86Box/tc1995
...
Fixed CD Audio on the T128 and made the host buffer limit to be eithe…
2021-08-21 14:29:06 +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
Miran Grča
b0ea9185d0
Merge pull request #1622 from 86Box/master
...
Fixes to lpt.h.
2021-08-20 19:19:58 +02:00
OBattler
42dbde1905
Fixes to lpt.h.
2021-08-20 19:19:16 +02:00
OBattler
3e7057d458
Changes to lpt.h.
2021-08-20 19:18:40 +02:00
OBattler
a76fda99d8
Various Super I/O chip rewrites and fixes (and implemented dual-chip mode for the SMC FDC73C669).
2021-08-20 17:50:42 +02:00
Miran Grča
5c339ec55f
Merge pull request #1620 from 86Box/master
...
Bring the branch up to par with master.
2021-08-20 17:33:01 +02:00
OBattler
fe5955e477
Removed excess logging from 386_common.c.
2021-08-20 17:31:18 +02:00
OBattler
66cef5b762
Removed excess logging from 386_common.c.
2021-08-20 17:30:52 +02:00
OBattler
660956a15d
AMD K6 CPU's are no longer treated as K6 for SMM purposes.
2021-08-20 17:29:41 +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
f99f6bcf18
The relocated SMBASE read from the SMM saved state now has bits 24-31 cleared.
2021-08-20 17:28:17 +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
70870be9e2
CPL is now forced to 0 when switching from real to protected mode.
2021-08-20 17:25:58 +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
0cebc8669a
And back.
2021-08-20 17:20:25 +02:00
Miran Grča
a5312f9ac1
Merge pull request #1619 from 86Box/master
...
Fixed the IDE BusMaster IRQ fix.
2021-08-20 17:19:07 +02:00
OBattler
d9eb945faf
Let's do this again.
2021-08-20 17:18:08 +02:00
OBattler
3d004b56e7
Fixed the IDE BusMaster IRQ fix.
2021-08-20 17:16:14 +02:00
OBattler
583f84a8b4
And back.
2021-08-20 17:00:30 +02:00
Miran Grča
a0d855823a
Merge pull request #1618 from 86Box/master
...
Bring the branch up to par with master.
2021-08-20 16:58:49 +02:00