Commit Graph

10813 Commits

Author SHA1 Message Date
Miran Grča
826f645045 Merge pull request #3560 from lemondrops/master
qt: Recalculate new disk image size from CHS before creating it
2023-08-14 17:25:59 +02:00
OBattler
459d4a4a68 Fixed a very stupid bug in device/serial.c, fixes #3558 . 2023-08-14 17:15:09 +02:00
OBattler
a77a9d3c2d Fixed the Mouse Systems mouse packet format. 2023-08-14 16:52:42 +02:00
OBattler
f23050774c The missing chipset/compaq_386.c. 2023-08-14 05:06:04 +02:00
OBattler
27c56f608d Compaq 386 machine fixes and Compaq EGA palette mux timer, fixes #3494. 2023-08-14 05:00:56 +02:00
Alexander Babikov
766f8fc663 qt: Recalculate new disk image size from CHS before creating it 2023-08-14 05:21:21 +05:00
OBattler
b3a38c0cf1 Removed excess logging from device/mouse.c. 2023-08-13 18:45:18 +02:00
OBattler
5f8ef51d6f Fixed the Win32 version of plat_get_dpi(). 2023-08-13 18:29:02 +02:00
OBattler
976fe24ba1 VNC and Win32 mouse clean-ups. 2023-08-13 18:25:56 +02:00
OBattler
d90592b291 Adapted vnc.c to the new mouse API. 2023-08-13 18:23:45 +02:00
OBattler
1958b7398d Use absolutes instead. 2023-08-13 18:03:12 +02:00
OBattler
38e1904b71 When checking for mouse movement, use ceiling, not floor, if the coordinates are negative. 2023-08-13 17:59:19 +02:00
OBattler
6e0783c5e3 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-13 17:26:36 +02:00
OBattler
3e2a31eb97 More mouse fixes (thanks, coldbrewed!), and mitigated IRQ clear spam from serial and AT NVR. 2023-08-13 17:25:45 +02:00
RichardG867
8be848c126 Merge branch 'master' of ssh://github.com/86Box/86Box 2023-08-12 15:21:04 -03:00
RichardG867
aecc5a55a6 Jenkins: Fix Windows build 2023-08-12 15:20:53 -03:00
cold-brewed
d2e27e74fb isapnp: Revert macro changes (#3552)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-12 15:01:08 -03:00
Miran Grča
797cc5096f Merge pull request #3545 from jriwanek-forks/drabs
Dribs and drabs which have escaped
2023-08-12 19:07:46 +02:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
Miran Grča
9be5d17061 Merge pull request #3549 from 86Box/tc1995
More ATI Mach8/32 changes:
2023-08-12 19:02:22 +02:00
Miran Grča
dab0a1258d Merge pull request #3550 from cold-brewed/postcard-warnings
postcard: Clean up some gcc warnings
2023-08-12 19:02:06 +02:00
Miran Grča
3b95bde764 Merge pull request #3551 from cold-brewed/warning-cleanup-3
More warning cleanups
2023-08-12 19:01:46 +02:00
OBattler
e7dd8664f2 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-12 18:48:37 +02:00
OBattler
d9784e524e Attempt to make the MacOS mouse more precise. 2023-08-12 18:48:25 +02: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
cold-brewed
99cdd3a16a Various warning cleanups 2023-08-12 11:42:11 -04:00
OBattler
01e7394101 Moved mouse scaling back to the emulated side, should improve mouse movement. 2023-08-12 15:59:29 +02:00
TC1995
81a770001b Shouldn't have separated the 8514/A BPP from the VGA one, dang. 2023-08-12 15:17:54 +02:00
TC1995
a7f23e63c0 More ATI Mach8/32 changes:
1. Separated the 8514/A compatible BPP from the (S)VGA BPP.
2. Corrected clocks, fixes severe dropdown issues in most renderers.
2023-08-12 14:56:34 +02:00
cold-brewed
687439decc postcard: Clean up some gcc warnings 2023-08-12 08:39:36 -04: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