Commit Graph

10736 Commits

Author SHA1 Message Date
RichardG867
aecc5a55a6 Jenkins: Fix Windows build 2023-08-12 15:20:53 -03:00
RichardG867
04ff20eca4 Merge branch 'master' of ssh://github.com/86Box/86Box 2023-08-12 13:09:28 -03:00
RichardG867
8585e04be5 qt: Fixed 4-axis 4-button joystick under Windows 2023-08-12 13:09:05 -03:00
OBattler
64fed5871a And reversed the ratios. 2023-08-12 18:07:14 +02:00
OBattler
15b1262d9f Win32 implementation of plat_get_dpi(). 2023-08-12 17:58:55 +02:00
OBattler
0ac3bb1620 More mouse fixes. 2023-08-12 17:56:44 +02:00
OBattler
01e7394101 Moved mouse scaling back to the emulated side, should improve mouse movement. 2023-08-12 15:59:29 +02:00
OBattler
24ff4a2498 Make sure bit 3 of the first PS/2 mouse packet is always set. 2023-08-12 12:10:35 +02:00
RichardG867
fb6851a865 qt: Actually fix vJoy integer overflow issue 2023-08-11 21:52:02 -03:00
OBattler
88494c268d Fixes in cpu/x86_ops_arith.h. 2023-08-12 02:34:52 +02:00
Miran Grča
74dd313ce0 Merge pull request #3544 from jriwanek-forks/cpu-sonarlint
Sonarlinting and clang formatting in src/cpu
2023-08-12 01:18:25 +02:00
OBattler
33471594f4 First batch of video fixes, also fixes the MDA timings. 2023-08-12 01:16:49 +02:00
OBattler
6ceb63aacc Do not use atomic_load() with variables that are not atomic. 2023-08-12 01:15:06 +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
Miran Grča
c166db004e Merge pull request #3543 from 86Box/tc1995
Video changes: (see below)
2023-08-12 00:30:57 +02:00
TC1995
1907026518 Update video.h
Fixes a possible conflict.
2023-08-12 00:22:54 +02:00
OBattler
9e53ab8adc Merge branch 'master' of https://github.com/86Box/86Box 2023-08-12 00:17:09 +02:00
OBattler
8f9f10f4d3 The atomic mouse coordinates now use atomic functions and mouse movement is no longer scaled by DPI if mouse coordinates are not raw. 2023-08-12 00:17:01 +02:00
TC1995
fea7eb0aad And forgot the ICS2494 updated clocks for the ATI cards. 2023-08-12 00:13:29 +02:00
TC1995
f240e8cb0c Video changes:
1. The passthrough from VGA to 8514/A and/or 8514/A to VGA no longer relies on hackish places where to switch from/to, instead, relying on port 0x3c3 of VGA doing so (though the Mach8/32 still needs some places where to manually switch from/to, mainly the MCA one when configuring the EEPROM).
2. Implemented the MCA behalf of the Mach32 and its corresponding reset function.
3. Properly implemented (more or less) true color, including 24-bit BGR rendering
4. Other fixes such as color patterns and mono patterns being more correct than before in various operating systems and in 24-bit true color.
5. Implemented the onboard Mach32 video of the IBM PS/ValuePoint P60 machine.
6. Made the onboard internal video detect when it's 8514/A compatible or not (CGA/EGA/MDA/VGA/etc.). If the former is selected, then the video monitor flag is used instead (for QT).
7. The TGUI9400 and 9440, if on VLB, now detect the right amount of memory if on 2MB.
8. Initial implementation of the ATI 68875 ramdac used by the Mach32 and made the ATI 68860 8514/A aware when selected with the Mach32AX PCI.
9. Separated the 8514/A ramdac ports from the VGA ramdac ports, allowing seamless transition from/to 8514/A/VGA.
10. Fixed a hdisp problem in the ET4000/W32 cards, where it was doubling the horizontal display in 15bpp+ graphics mode.
11. Removed the 0x3da/0x3ba port hack that was on the Mach8/32 code, relying on the (S)VGA core instead.
12. Reworked and simplified the TGUI9440 pitch register based on logging due to no documentation at all.
2023-08-12 00:00:46 +02:00
RichardG867
c52f76b99e Fix AppleClang build 2023-08-11 18:31:36 -03:00
OBattler
6127c4572d Fixed the broken PS/2 mouse. 2023-08-11 22:52:11 +02:00
OBattler
b2883df0d0 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-11 22:30:02 +02:00
OBattler
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +02:00
Miran Grča
d4cd4ced54 Merge pull request #3542 from lemondrops/master
Fix line endings for good
2023-08-11 22:10:44 +02:00
Alexander Babikov
e452ba2c8c Fix line endings for good 2023-08-12 00:54:44 +05:00
cold-brewed
bff9eea9ae More sprintf and warning cleanup (#3540)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-11 16:34:06 -03:00
OBattler
750f0ef90e Merge branch 'master' of https://github.com/86Box/86Box 2023-08-11 21:02:24 +02:00
OBattler
7e76e8b28d PIC and Hercules Plus compile warning fixes. 2023-08-11 21:02:15 +02:00
cold-brewed
0e37602fe7 ymfm: Clean up numerous warnings (#3539)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-11 15:24:05 -03:00
RichardG867
f9335ae594 Jenkins: Catch more MacPorts activation errors 2023-08-11 12:16:59 -03:00
OBattler
6a022039bd More Hercules Plus and InColor fixes. 2023-08-11 05:42:08 +02:00
OBattler
4e9d208ce7 Fixed text mode wrapping on the Hercules Plus. 2023-08-11 05:03:26 +02:00
OBattler
782015a923 More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice. 2023-08-11 04:45:32 +02:00
OBattler
291dab2334 Commented out an excess Resize log in qt/qt_mainwindow.cpp. 2023-08-10 17:24:08 +02:00
OBattler
785b61aaac Fixed the conditions for mouse button click registration on platforms other than Windows. 2023-08-10 16:48:39 +02:00
OBattler
0c9b3d2782 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-10 16:47:20 +02:00
OBattler
a2b7a175a9 Fixed Hercules InColor text mode wraparound, fixes #3520. 2023-08-10 16:47:12 +02:00
cold-brewed
9474c02aec qt: use QRegularExpression instead of QRegExp for qt6 compatibility (#3536)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-10 11:40:19 -03:00
OBattler
9f4ae7030e ACPI and Vodoo 3/Banshee PCI/AGP card adding fixes, fixes #3535. 2023-08-10 16:10:59 +02:00
OBattler
5397388a1b Hercules Plus RAM font fixes. 2023-08-10 05:54:09 +02:00
OBattler
3462e563b8 Fixed the reversed PCI card add types in video/vid_mga.c. 2023-08-10 05:14:43 +02:00
Miran Grča
e55b06da4c Merge pull request #3534 from jriwanek-forks/sonarlint
Yet more Sonarlint and a few warning fixes.
2023-08-10 05:13:47 +02:00
OBattler
0e22fa6d0f Fixed a compile-breaking mistake in pic.c. 2023-08-10 05:04:24 +02:00
OBattler
f771e9e612 PIC fixes: poll mode is no longer broken. 2023-08-10 05:03:11 +02:00
Jasmine Iwanek
015c3d5f29 Remove unused variable in postcard.c 2023-08-09 20:13:11 -04:00
Jasmine Iwanek
8d3f5b7b27 Fix a mistake found in vid_mga.c 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
b38f87f13f And in device/pci_bridge.c as well. 2023-08-10 01:42:33 +02:00