|
Post by spannernick on Feb 7, 2021 21:24:55 GMT
Would anyone be interested in having a Boot Menu option when PCUAE starts up to boot in to PCUAE or Boot into VICE(boot into any emulator)..? If I do add a menu, it will be hidden by default and to see it you would have to do a 2 key combo or one key, I was thinking like the bios menu on a PC so maybe DEL on the keyboard when you turn on the machine to show it before PCUAE starts-up so you can pick what option you want enabled at start-up. It will probably use Ncurses... And it looks like this... The Raspberry Pi uses it for RPI Config and on Retro PIE Config, it been arounds for a long time 1993.... en.wikipedia.org/wiki/NcursesJust got workout how to add it... picture updated with the real PCUAE Boot Menu....
|
|
|
Post by lantzelot on Feb 8, 2021 8:32:38 GMT
If you decide to add one, can you add an option to boot into the original firmware also?
|
|
|
Post by vic2020ian on Feb 8, 2021 9:52:42 GMT
I voted no as I would prefer to always boot to a Carousel or Emulator rather than a menu.
I would prefer the option to power on straight to any conceivable mode.
e.g. Classic Vic20 or C64 or Plus 4 or Pet or Standard firmware or new Carousel choice.
This could be configured by selecting my preferred option in a script or with CTRL Key like CTRL +7 for Autoboot to set the next boot up mode.
Once booted up to any of these modes CTRL+1 could bring you to the mode selection screen or the Carousel chooser.
|
|
|
Post by spannernick on Feb 8, 2021 14:56:59 GMT
If you decide to add one, can you add an option to boot into the original firmware also? yes..
|
|
|
Post by spannernick on Feb 8, 2021 15:07:15 GMT
I voted no as I would prefer to always boot to a Carousel or Emulator rather than a menu. I would prefer the option to power on straight to any conceivable mode. e.g. Classic Vic20 or C64 or Plus 4 or Pet or Standard firmware or new Carousel choice. This could be configured by selecting my preferred option in a script or with CTRL Key like CTRL +7 for Autoboot to set the next boot up mode. Once booted up to any of these modes CTRL+1 could bring you to the mode selection screen or the Carousel chooser. If I do add a menu, it will be hidden by default and to see it you would have to do a 2 key combo or one key, I was thinking like the bios menu on a PC so maybe DEL on the keyboard when you turn on the machine to show it before PCUAE starts-up so you can pick what option you want enabled at start-up.
|
|
|
Post by vic2020ian on Feb 8, 2021 15:18:23 GMT
I voted no as I would prefer to always boot to a Carousel or Emulator rather than a menu. I would prefer the option to power on straight to any conceivable mode. e.g. Classic Vic20 or C64 or Plus 4 or Pet or Standard firmware or new Carousel choice. This could be configured by selecting my preferred option in a script or with CTRL Key like CTRL +7 for Autoboot to set the next boot up mode. Once booted up to any of these modes CTRL+1 could bring you to the mode selection screen or the Carousel chooser. If I do add a menu, it will be hidden by default and to see it you would have to do a 2 key combo on the keyboard when you turn on the machine to show it before PCUAE starts-up so you can pick what option you want enabled at start-up. Sounds interesting but some boot time intercepts can be a bit awkward like getting into your bios ;-) Then you have to wait and reboot and try again. The menu could display once booted like CTRL F7 for Carousel Chooser and selecting an option writes a flag to a script or dummy file Next_Startup_Mode Alternatively is could function like CTRL 7 Autoboot (no menu needed) Go to your current mode e.g. Vice Plus 4 normally in PCUAE, then hit CTRL+8 to lock that in for next boot and confirm on screen like the Autoboot enabled message. I could live with a hidden menu if that makes more sense, though it seems a heavier solution ;-)
|
|
|
Post by grasshopper on Feb 9, 2021 16:35:44 GMT
I voted yes, but mainly so I can potentially nick your code..... I've set up my C64 Maxi so I can boot up the stock firmware from the internal NAND drive, or boot up an alternative firmware stored on a USB flash drive.
I would quite like to be able to store both THEC64 and THEVIC20 firmware on the flash drive, and then select which one to boot into using a menu. Your Ncurses solution sounds ideal for that.
|
|
|
Post by spannernick on Feb 10, 2021 16:38:25 GMT
Its coming a long nicely now, I fixed the problems I had with dialog.. , you can see the PCUAE Boot Menu in the first post now... The PCUAE Boot Menu loads up just after it mounts the loop device so it has not mounted anything or loaded anything so makes it easier to boot into the firmware's Carousel from the Menu. Next thing to do is hide it and make it only come up if you press and hold down INST DEL key, and clean up the way it boots PCUAE and VICE, they work..
|
|
|
Post by vic2020ian on Feb 10, 2021 19:32:44 GMT
Its coming a long nicely now, I fixed the problems I had with dialog.. , you can see the PCUAE Boot Menu in the first post now... The PCUAE Boot Menu loads up just after it mounts the loop device so it has not mounted anything or loaded anything so makes it easier to boot into the firmware's Carousel from the Menu. Next thing to do is hide it and make it only come up if you press and hold down INST DEL key, and clean up the way it boots PCUAE and VICE, they work.. Looking great Nick - well done on cracking the dialogue box
|
|
|
Post by spannernick on Feb 11, 2021 1:44:18 GMT
|
|