Commit Graph

605 Commits

Author SHA1 Message Date
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
OBattler
b750471e5c Removed two temporary lines in device/kbc_at.c that shouldn't have been committed. 2023-07-03 02:42:33 +02:00
OBattler
e328a3c2de Added the Siemens Award keyboard controller and a small hack (will have to do due to the scarcity of information until we get ahold of an actual Siemens PCD-2L) to make the Siemens PCD-2L POST correctly again, fixes #3444. 2023-07-03 02:36:17 +02:00
OBattler
3a60d62434 Fixed thetype of temp in kbc_send_to_ob(), fixes the incorrect sending of 0xFF's to the guest. 2023-06-29 13:57:16 +02:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
OBattler
8b559f1271 Fixed Y polarity in the MM Series packet format on the Logitech Serial Mouse. 2023-06-19 01:59:33 +02:00
OBattler
eb4c9f3e40 Fixed warnings in the VISO and Wacom Tablet codes. 2023-06-11 14:00:18 +02:00
OBattler
9a60ca1e77 Correctly implemented the two MM67 half-registers, closes #3347. 2023-05-24 22:12:42 +02:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
d314255362 MM67: Convert year from BCD if it is stored in BCD mode. 2023-05-16 01:09:48 +02:00
OBattler
194918b86a Some minor keyboard and keyboard controller fixes and three-phased the keyboard and PS/2 mouse BAT. 2023-05-16 00:20:09 +02:00
OBattler
69f76176fe Removed unncessary files. 2023-05-07 03:30:42 +02:00
OBattler
ecb8091d41 Fixed Cacodemon345's OHCI mess and implemented proper OHCI IRQ updating, fixes the Gigabyte GA-5AX POST. 2023-05-07 02:53:04 +02:00
OBattler
f16f7a2464 Some minor Logitech serial mouse bug fixes and implemented the auto baud rate mode. 2023-05-02 21:53:42 +02:00