Re: [hatari-devel] Boot preference setting/Caps Lock key status when booting

[ Thread Index | Date Index | More Archives ]

The handling of D5 is fine, because when I change the boot preference, TOS
or ASV are booted accordingly when two drive images (one TOS, one ASV)
are attached.
But toggling the preference based on the CapsLock status does not work. I
started Hatari from the command line, but before pressing the Enter key I
enabled CapsLock. It also does not work when Hatari is already running
and I reset it while CapsLock is enabled.

In the past (on a real TT) I had TOS and ASV installed on the same drive
(first partition ASV, all others TOS), and could conveniently switch
between booting ASV or TOS by just pressing a key (CapsLock), instead of
being forced to constantly manipulate the boot preference in the NVRAM
before booting.

> On Montag, 10. September 2018 20:30:38 CEST Uwe Seimet wrote:
> > KbShift() does not return the right Caps Lock status when Hatari is
> > started
> That might be more a problem of SDL then. It's unlikely that you manage to 
> press the CapsLock key after starting Hatari but before TOS is loaded since 
> that is way too fast, so i guess you press it before Hatari is started. Could 
> be that SDL is not able to report the current state of this immediately after 
> startup, before you have pressed any key.

Mail converted by MHonArc 2.6.19+