Code: Select all
;
[MiSTer]
; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; corename - Autoboot first corename_*.rbf found on the SD/USB
; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB
;bootcore=lastcore ; uncomment to autoboot a core, as the last loaded core.
bootcore_timeout=10 ; 10-30 timeout before autoboot, comment for autoboot without timeout.

After the research and development of this new feature, I leave in this thread the results obtained so far. Before sending a pull request to @Sorgelig, I would like to ask some questions.
Changes on github (attached binary on this post):
https://github.com/spark2k06/Main_MiSTer
New entry on MiSTer.ini is necessary:
Code: Select all
lastcoreboot=1 ; set to 1 for autoboot last core loaded.
Demo of this feature:
https://www.youtube.com/watch?v=GWp-JB4359Q
The questions are the following:
1. From Main_Mister program, is it possible to detect that the reset button of the IO addon has been pressed? It would be necessary, so that pressing it will always load the menu. I have not found any simple way to detect it.
2. I do not know why, but the "GnG" kernel does not work ... but not even building with the original sources of the Master branch. As we can see, the size of the result of my compilation differs from the original Sorgelig, any idea?:
