Commit Graph

5639 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
OBattler
19c374c046 Temporary changes to make merger possible. 2021-08-20 16:58:27 +02:00
OBattler
4e8600e3b1 PS/2 mouse command F6. 2021-08-20 16:56:17 +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
TC1995
ded00ef3c0 Improvements to the Paradise VGA cards (mainly c30) using the DOSBox-x code as a base (while making the banks unchanged) and some horrible tweaks as shown in the code (pardon...). 2021-08-17 18:58:37 +02:00
TC1995
62e4245679 Bug fixes to the T128 Pseudo-DMA read routine. 2021-08-17 18:46:45 +02:00
TC1995
250fd9d285 Removed one useless variable and fixed the logging. 2021-08-17 14:29:53 +02:00
TC1995
a4f2d781e8 Initial implementation of the Trantor T128 SCSI adapter, another one using the 5380 chip but with a different undocumented ASIC compared to the rest of the already implemented line of cards. 2021-08-17 14:26:47 +02:00
TC1995
9673cc8f9c Fixed pitch bugs on NT 4.0 using the TGUI9440/96x0 cards, should work fine by now (tested on my end though). 2021-08-17 14:08:42 +02:00
OBattler
80bc644692 ALi and SMC fixes. 2021-08-12 11:10:16 +02:00