Add SDL Mouse Support MacOS

Job ID: 39922932

Budget: $30 – $250 CAD

I’m maintaining a personal fork of the 8086tiny-TMT DOS emulator (repo: https://github.com/netpipe/8086tiny-TMT) and I’d like to extend it with basic mouse support when running on macOS. Right now the emulator accepts only keyboard input; my goal is to let users point and click inside DOS programs exactly as they would under real hardware.

Scope
• Implement mouse input through the SDL library—the codebase is already using SDL for video/audio, so this should slot neatly into the existing event loop.
• Focus on standard DOS INT 33h behaviour (movement, button-down / button-up). Scrolling, custom shortcuts, or extra buttons are out of scope for now.
• Keep the feature macOS-ready; Linux/Windows paths can remain untouched but must still compile.
• Update build files (Makefile/Xcode or CMake, whichever you prefer) and document any new dependencies.

Deliverables
1. A clean pull request against the GitHub repo with:
– Source modifications and any new header(s) or assets
– Comments explaining the SDL event handling and INT 33h mapping
2. A brief README section or markdown note describing how to build and test the mouse functionality on macOS.
3. A demo video or GIF showing a DOS mouse-aware program (e.g., Windows 3.0, GWBASIC menus, or any shareware title you like) responding to clicks inside the emulator.

Acceptance Criteria
• Emulator builds on macOS with standard clang toolchain.
• Mouse cursor movement and left/right clicks register correctly inside DOS software that expects INT 33h.
• No regressions in keyboard or video output.

I’ll supply my earlier ChatGPT brainstorming notes if they help you ramp up faster.
Related categories: Mac OS C++ Programming