Commit Graph

653 Commits

Author SHA1 Message Date
OBattler
24c6ebc6dd Samsung SPC7700P-LW: reset SMBASE on soft reset via the keyboard controller, fixes segmentation fault on soft reset after FDISK. 2024-09-24 04:50:41 +02:00
OBattler
ea878410b0 Serial mouse, microtouch, and modem: Add some more sanity checks. 2024-09-20 13:36:01 +02:00
Jos van Mourik
4b9ee9d591 Fix compiler warning 2024-09-15 21:37:43 +02:00
Jos van Mourik
b2dcc4f1b2 Decouple mouse polling from serial speed, add software baud selection, remove baud menu option 2024-09-15 17:47:06 +02:00
Jos van Mourik
2b4b9aae64 Cleanup 2024-09-15 03:13:54 +02:00
Jos van Mourik
22240a5925 Code style cleanups, optimize if statement order 2024-09-15 01:56:45 +02:00
Jos van Mourik
95844896a0 Merge branch '86Box:master' into master 2024-09-15 01:19:12 +02:00
Jos van Mourik
866d6599a1 Implement Mode Point and Mode Down/Up. Merge HEX/DEC functions in order to do so efficiently. Optimize. 2024-09-15 01:18:37 +02:00
OBattler
db3bbad003 AT KBC: Check for T3100E 'Fn' key after translating the current scan code, should fix the keys with translated scan code set 2 as well. 2024-09-08 12:21:31 +02:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
OBattler
16f4ebab9c Mouse: Fix the if blocks in mouse_subtract_z(). 2024-09-03 00:45:40 +02:00
OBattler
43ff35c10c Add the Acer A1G to the Siemens PCD-2L hack, fixes POST: 31 30 freeze with non-SL-enhanced 486 CPU's. 2024-08-31 19:13:06 +02:00
OBattler
2207367bdd Fixed the segmentation fault on mouse movement when the serial mouse is attached to a disabled serial port. 2024-08-30 23:20:22 +02:00
OBattler
cd3f29f622 Part 2. 2024-08-27 03:29:37 +02:00
OBattler
e858a4344c PCjr cartridges: Also reset the CPU on image eject. 2024-08-21 02:11:41 +02:00
OBattler
6cc7615185 Keyboard AT: Send ACK before the resent scan code on command FE, fixes #4713. 2024-08-13 00:26:53 +02:00
Jasmine Iwanek
892f066ffa Don't depend on DEV_BRANCH
Allows things to be compiled independently
2024-08-08 20:25:03 -04:00
Jasmine Iwanek
3cd59235c9 Move USE_PCL to correct cmakelist 2024-08-08 19:31:50 -04:00
Jasmine Iwanek
0219547a16 Put Wacom tablets on dev branch 2024-08-08 19:31:49 -04:00
Jasmine Iwanek
7b80e6dc15 Compile fix for smbus_sis5595.c logging 2024-08-07 01:07:52 -04:00
OBattler
37ceea4ed0 Fix emulator-handled UI keyboard combinations when keyboard requires capture and is not captured, also fix keyboard input in full screen in such situations, fixes #4697. 2024-08-07 06:11:50 +02:00
Jos van Mourik
01c463df74 Add command handling for more output modes. Fix Reset behavior. 2024-08-04 16:12:10 +02:00
Jos van Mourik
db159ecb11 Add output status command 2024-08-04 14:27:47 +02:00
Jos van Mourik
7692abb60c A liftoff should keep the old touch location 2024-08-04 01:04:09 +02:00
Jos van Mourik
09dad6f6b7 Command handling updates
- Always return <SOH>0<CR> (success) for commands to greatly increase compatibility with unknown command.
- Remove empty commands because of this.
- Remove command wrapper function.
- Fix compiler warnings.
- Fix unit type string for SMT2/3.
- Guard for empty commands.
2024-08-04 00:19:40 +02:00
Jos van Mourik
282d4e0c70 Formatting, use selected bauddrate for serial retry timing too 2024-08-02 15:09:52 +02:00
Jos van Mourik
49d71c19ba Commands cleanup
- Return 0 for unknown commands instead of 1, to not lock up software.
- Add a few extra unknown commands.
- Sort commands alphabetically to keep this mess organized.
- Don't capitalize commands as no software i know needs it.
2024-08-02 01:24:00 +02:00
Jos van Mourik
40dcbaa10e Implement Mode Status 2024-08-02 00:16:49 +02:00
Jos van Mourik
3b2072ac8c Change mouse poll rate per mode to reflect serial write speed, optimize serial fifo lengths 2024-08-01 22:40:20 +02:00
Jos van Mourik
94bffa104a Set CTS/DSR/DCD high like a real Microtouch 2024-08-01 20:47:15 +02:00
Jos van Mourik
fcec4a40f9 Cleanup/bugfix 2024-07-30 20:09:13 +02:00
Jos van Mourik
796e7bbe19 Update TODO 2024-07-29 21:51:44 +02:00
Jos van Mourik
066bd35f1a Optimize Format Tablet
Remove touchdown packet from Format tablet liftoff.
Does not cause issues for windows 95 or DOS.
2024-07-29 21:31:36 +02:00
Jos van Mourik
1eb24bf69b Add Format Decimal and make it default for legacy controller modes 2024-07-29 21:01:54 +02:00
Jos van Mourik
37538fd932 Correct MT format variables, to not confuse them with MT modes 2024-07-29 20:36:21 +02:00
Jos van Mourik
2616c66854 Add controller identity menu option 2024-07-29 20:28:20 +02:00
Jos van Mourik
51cd31b885 Use wrapper function for Microtouch replies 2024-07-29 18:54:06 +02:00
Jos van Mourik
6d4bd6d6f8 Megatouch MAXX WIP
- Fix soh bug to only proces full commands,
- Print unhandled commands too,
- Temporarily change identity to SMT3.
2024-07-27 20:14:22 +02:00
Jos van Mourik
04a7a35f27 Microtouch: add option to turn off visible mouse crosshair for people using touchscreens 2024-07-26 20:12:10 +02:00
Jos van Mourik
66d2cc6101 Cleanup 2024-07-26 02:11:21 +02:00
Jos van Mourik
bd58ad48da Refactor code, make format tablet calibration not happen automatically 2024-07-26 01:19:12 +02:00
Jos van Mourik
4762d2bec0 Update comments 2024-07-25 22:25:54 +02:00
OBattler
2634b206c8 AT KBC: Fix on the fly AT / PS/2 mode switching, fixes PS/2 mouse on machines with VLSI VL82C113 on-chip KBC. 2024-07-23 18:40:38 +02:00
Marcos Alves
de10429567 Updated description of Microtouch Emulation
As it now emulates more protocols than the TouchPen, I figured it'd be better defined as just 3M Microtouch (as it now does part of SMT3(V) and TouchPen 4
2024-07-22 02:02:41 +01:00
OBattler
fd00bcca8b Backported the kbc_at_set_ps2() function required by the VL82c113. 2024-07-22 00:12:12 +02:00
Miran Grča
91ed0a0f81 Merge pull request #4636 from mourix/master
Adding SMT3 Format Hexadecimal to Microtouch driver
2024-07-21 23:45:25 +02:00
Jos van Mourik
d89d9c65f7 Minor cleanup 2024-07-21 17:52:42 +02:00
OBattler
c71b80f399 Merge branch 'master' of https://github.com/86Box/86Box 2024-07-21 04:54:11 +02:00
OBattler
2e6d392ff8 On ASIC keyboard controllers, output on channel 0 (KBC) now overrides any existing bytes in the output buffer, fixes FIC PT-2000 soft reset problems. 2024-07-21 04:53:54 +02:00
Jos van Mourik
b490779990 Add Mode Hexadecimal to allow Photo Play games to work with touch 2024-07-21 01:03:55 +02:00