Page 1 of 1

Select default core with hardware switch?

Posted: Wed Jun 30, 2021 3:16 pm
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

Re: Select default core with hardware switch?

Posted: Thu Jul 01, 2021 8:24 am
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.