RS-232 (9 pin) serial mouse connection to MiSTer running ao486
RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Hi!
I'm going to buy the Mitsumi mouse - exactly the same model I had back in 1997 on my first PC.
It has COM (Serial rs-232) 9pin port connection:
I wonder if there's a way to connect it to MiSTer (possibly via RS232 to USB converter)? Is there any risk of damaging the board?
Will it work at all with ao486 core like the "regular" USB mouse does?
I'm going to buy the Mitsumi mouse - exactly the same model I had back in 1997 on my first PC.
It has COM (Serial rs-232) 9pin port connection:
I wonder if there's a way to connect it to MiSTer (possibly via RS232 to USB converter)? Is there any risk of damaging the board?
Will it work at all with ao486 core like the "regular" USB mouse does?
-
- Posts: 90
- Joined: Sun May 24, 2020 8:39 pm
- Has thanked: 32 times
- Been thanked: 32 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
I think with a proper converter to USB it should work like any other USB HID. The de10-nano is a finicky USB host though, so maybe it won’t.
I’ve been wondering if it would be possible to use the UART-interface for inputting serial mouse input to the ao486 core (similar to midilink and modem)? There’s a program to use a pi (or maybe the ARM on the de10-nano, with a few modifications) to convert usb mouse input to serial mouse output. Could be cool for two-player mode in settlers 1/2: https://github.com/mborjesson/USB-Mouse-to-Serial
I’ve been wondering if it would be possible to use the UART-interface for inputting serial mouse input to the ao486 core (similar to midilink and modem)? There’s a program to use a pi (or maybe the ARM on the de10-nano, with a few modifications) to convert usb mouse input to serial mouse output. Could be cool for two-player mode in settlers 1/2: https://github.com/mborjesson/USB-Mouse-to-Serial
- kathleen
- Top Contributor
- Posts: 421
- Joined: Fri Jun 26, 2020 4:23 am
- Location: Belgium
- Has thanked: 243 times
- Been thanked: 138 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
It seems that such a cable/adapter exists : https://www.crestron.com/Products/Inter ... -RS232KM-6
かすりん
-
- Top Contributor
- Posts: 531
- Joined: Tue May 26, 2020 5:06 am
- Has thanked: 87 times
- Been thanked: 211 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
This is possible with the reorganized UART OSD and new version of MidiLink I'm working on --> viewtopic.php?p=17394#p17394
You would set UART:USBSER
I think serial mice operate at 9600 so you'd want to add:
in '/media/fat/linux/MidiLink.INI'
support for the FT232 is built into the Kernel so I would suggest one with that chipset.
This is the one I just got. --> https://www.ebay.com/itm/5Ft-USB-2-0-to ... 3104025639
Please let me how it works.
I can't find a PS/2 to serial adapter otherwise I'd try it here... I probably like like 5 of them....... somewhere.....
You would set UART:USBSER
I think serial mice operate at 9600 so you'd want to add:
Code: Select all
[AO486]
USBSER_BAUD = 9600
support for the FT232 is built into the Kernel so I would suggest one with that chipset.
This is the one I just got. --> https://www.ebay.com/itm/5Ft-USB-2-0-to ... 3104025639
Please let me how it works.
I can't find a PS/2 to serial adapter otherwise I'd try it here... I probably like like 5 of them....... somewhere.....
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Thanks to all of you for so much valuable feedback!
I'll check the suggested scheme to see how it works and follow up with the results.
I'll check the suggested scheme to see how it works and follow up with the results.
-
- Posts: 90
- Joined: Sun May 24, 2020 8:39 pm
- Has thanked: 32 times
- Been thanked: 32 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Wow! Impressive work! I can’t wait to try this out (I’ll have to dig through my parents’ basement and see if I can’t find an old serial mouse).bbond007 wrote: ↑Tue Feb 02, 2021 12:40 am This is possible with the reorganized UART OSD and new version of MidiLink I'm working on --> https://misterfpga.org/viewtopic.php?p=17394#p17394
You would set UART:USBSER
I think serial mice operate at 9600 so you'd want to add:
in '/media/fat/linux/MidiLink.INI'Code: Select all
[AO486] USBSER_BAUD = 9600
support for the FT232 is built into the Kernel so I would suggest one with that chipset.
This is the one I just got. --> https://www.ebay.com/itm/5Ft-USB-2-0-to ... 3104025639
Please let me how it works.
I can't find a PS/2 to serial adapter otherwise I'd try it here... I probably like like 5 of them....... somewhere.....
This should work with the usb-to-serial-to-usb pi program as well, right? I’ll have to try that out.
- emmadness
- Posts: 29
- Joined: Sun May 24, 2020 6:48 pm
- Location: Argentina
- Been thanked: 1 time
- Contact:
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Sorry for the off, but I ask: is it possible that this adapter:
https://www.aliexpress.com/item/4000680055332.html
work in MiSTer? I am looking for a joystick like the Sega Genesis or Famicom clones to work on the system and allow me to map the buttons on each core.
I know there are options like SNAC or DIY something with Arduino, but I just have to make an Ali purchase at a store that has that adapter and if it's useful, I'll buy it.
https://www.aliexpress.com/item/4000680055332.html
work in MiSTer? I am looking for a joystick like the Sega Genesis or Famicom clones to work on the system and allow me to map the buttons on each core.
I know there are options like SNAC or DIY something with Arduino, but I just have to make an Ali purchase at a store that has that adapter and if it's useful, I'll buy it.
- kathleen
- Top Contributor
- Posts: 421
- Joined: Fri Jun 26, 2020 4:23 am
- Location: Belgium
- Has thanked: 243 times
- Been thanked: 138 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
This is an adaptor USB -> RS232, so not for Joystick. Why not buying directly an USB SNES/Genesic pad clone, I've one on my Mister and it works fine.emmadness wrote: ↑Wed Jun 15, 2022 5:48 pm Sorry for the off, but I ask: is it possible that this adapter:
https://www.aliexpress.com/item/4000680055332.html
work in MiSTer? I am looking for a joystick like the Sega Genesis or Famicom clones to work on the system and allow me to map the buttons on each core.
I know there are options like SNAC or DIY something with Arduino, but I just have to make an Ali purchase at a store that has that adapter and if it's useful, I'll buy it.
https://fr.aliexpress.com/item/32987224556.html
The other option (maybe because I know it works on PC but never tested on Mister) is this adaptor : https://www.tindie.com/products/retroni ... k-adapter/
かすりん
- emmadness
- Posts: 29
- Joined: Sun May 24, 2020 6:48 pm
- Location: Argentina
- Been thanked: 1 time
- Contact:
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Thanks for your prompt response, but I prefer to take advantage of the old clone joysticks from the late 80's and 90's which are much better quality than modern usb joysticks.
- kathleen
- Top Contributor
- Posts: 421
- Joined: Fri Jun 26, 2020 4:23 am
- Location: Belgium
- Has thanked: 243 times
- Been thanked: 138 times
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
I agree with you, so to me the only way to avoid latency is to use the SNAC adaptor with original joysticks (which is also my preferable option even if I often use the clones by ease on PC or other FPGA's) , because I'm not sure that the converter that I proposed you (DB9 -> USB from Tindle) has the same behaviour in terms of latency.
かすりん
Re: RS-232 (9 pin) serial mouse connection to MiSTer running ao486
Looking forward to trying this. I have a CRT with a touch screen that connects through serial, my suspicion is it's probably treated as a serial mouse... Be cool to try it this way.