Select default core with hardware switch?

For topics which do not fit in other specific forums.
8bitAndy
Posts: 40
Joined: Wed Jun 30, 2021 3:03 pm
Has thanked: 17 times
Been thanked: 6 times

Select default core with hardware switch?

Unread post by 8bitAndy »

Hi,
I'm new to MiSTer and am enjoying getting it set up.
Would it be possible to have the default MiSTer core be selected by a hardware switch? I'm thinking of a rotary switch or an old-style radio preset button array that could switch between 5 or so cores.
Thanks
rgavril
Posts: 11
Joined: Tue Jun 30, 2020 12:21 pm
Has thanked: 2 times
Been thanked: 8 times

Re: Select default core with hardware switch?

Unread post by rgavril »

It's possible but it will require some work that might not be easy depending on your skills, this is how I would do it:

Get a rotary switch and connect it to a Arduino. Read the input there and write it on Serial/USB port so you can read it from Mister.

On Mister, make a bash script or small app that continuously reads Arduino serial port and when it detects a change in replaces the bootcore entry in mister.ini and reboots the system.
Post Reply