• Robert Sprowson's avatar
    Fix for num lock oddity at power on when configured off · e8eb2eba
    Robert Sprowson authored
    The default OS_Byte value enabled num lock, but this was passed to the keyboard *before* a decision to wipe the CMOS (and hence potentially override it) was made.
    This left the LED on until a key was pressed, regardless of the configured state.
    Change the default OS_Byte value to be off so there's only one transition (off->on, or off->off), and refresh the keyboard after the validity of CMOS has been made.
    Ref: https://www.riscosopen.org/forum/forums/4/topics/10400
    Version 5.99. Tagged as 'Kernel-5_99'
osinit 24.6 KB