Commit Graph

469 Commits

Author SHA1 Message Date
OBattler
87c5c59646 Some copyright header fixes. 2023-08-14 21:13:37 +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
b3a38c0cf1 Removed excess logging from device/mouse.c. 2023-08-13 18:45:18 +02:00
OBattler
976fe24ba1 VNC and Win32 mouse clean-ups. 2023-08-13 18:25:56 +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
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
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04: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
OBattler
d9784e524e Attempt to make the MacOS mouse more precise. 2023-08-12 18:48:25 +02:00
OBattler
64fed5871a And reversed the ratios. 2023-08-12 18:07:14 +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
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
OBattler
6ceb63aacc Do not use atomic_load() with variables that are not atomic. 2023-08-12 01:15:06 +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
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
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +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
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
Jasmine Iwanek
015c3d5f29 Remove unused variable in postcard.c 2023-08-09 20:13:11 -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
OBattler
a0a26a5504 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-10 01:37:46 +02:00
OBattler
dbf9ef66fc Moved Voodoo initialization to the very end to minimize the likelihood of SCSI adapters ending up on the bridge. 2023-08-10 01:37:33 +02:00
RichardG867
6bc73bfc97 isapnp: Small macro cleanup 2023-08-09 17:17:47 -03:00
OBattler
fdac446d25 The PCjr now correctly supports 64 kB of RAM, also other fixes and added support to PCjr ports 11h and 12h to the POST card (it now supports up to 4 different ports in the range). 2023-08-09 06:26:59 +02:00
OBattler
260cb54462 Reenable the accidentally disabled RTS toggle on the Microsoft Serial Mouse. 2023-08-07 22:13:48 +02:00
OBattler
b1fe510c36 Removed some excess mouse logging. 2023-08-07 18:56:55 +02:00
OBattler
c695cb8ded Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up. 2023-08-07 18:49:58 +02:00
OBattler
cdb415ef0f Turned serial_attach() into a #define for serial_attach_ex(). 2023-08-07 17:41:13 +02:00
OBattler
87dd044b97 A note about Regional HT6542 in device/kbc_at.c. 2023-08-07 04:54:45 +02:00
OBattler
ced0a649be Serial port IRQ clean-ups. 2023-08-07 04:06:04 +02:00
OBattler
53daf8be9d Left and right Windows keys tracking in keyboard.c. 2023-08-07 03:32:56 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Miran Grča
937cadf054 Merge pull request #3487 from cold-brewed/rtc-fix
rtc: Fix crash when closing device
2023-07-26 01:52:09 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
RichardG867
8d46224893 keyboard: Rename inaccurate fullscreen hotkey function 2023-07-24 15:07:08 -03:00
cold-brewed
f102f05ec0 rtc: Fix crash when closing device 2023-07-24 11:48:51 -04:00
RichardG867
002540e763 serial: Give up on passthrough if no ports are enabled, fixes #3254 2023-07-15 22:24:29 -03:00
TC1995
19fa6c8f8b Machine features and fixes:
Revamped and refactored the Compaq AT clone code, including a more correct Plasma emulation and undev branch the Deskpro 386 while adding the September 1986 and January 1988 bioses.
Added Compaq AT KBC strictly for the Deskpro 386 with the right settings, including the FPU bit.
The generic AMI/Quadtel/Phoenix IBM AT's don't issue the speed problems of the pure IBM AT beyond 8Mhz, so don't limit them to 8Mhz.
2023-07-14 22:14:56 +02:00