Skip to content

Conversation

@mourix
Copy link
Contributor

@mourix mourix commented Aug 2, 2024

Summary

  • Set CTS/DSR/DCD high like a real Microtouch so linux drivers don't hang anymore.
  • Implement Mode Status for Format Hex/Dec, making the default modes like the real thing.
  • Change fifo sizes and behavior to not feed a serial port that just opened with 500 bytes of click data.
  • Add a few more empty command responses. Set unknown commands to reply back with 0 instead of 1. Sort alphabetically.
  • Currently, the mouse poll interrupt creates serial packets. The old code did so at 100Hz. The real Microtouch sends data as fast as it can do over the serial port, making the rate different per mode. The future solution is to decouple the data generation from the mouse polling, but for now I've set the poll rate to the approximate speed the different modes need as a workaround.

Checklist

mourix added 5 commits August 1, 2024 20:47
- 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.
@OBattler OBattler merged commit de671eb into 86Box:master Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants