• Robert Sprowson's avatar
    Sort out SetBorder · fe354937
    Robert Sprowson authored
    NewReset.s:
    The one remaining use of SetBorder was to denote the user asked for and got a CMOS reset, which in the HAL case emitted a warning because setting the border is potentially complicated/slow.
    To solve this, the reset is noted and replaces the normal RISC OS banner with a warning message. The behaviour and text for this comes from the BBC Master, though the escape key is used in place of break since a reset isn't actually needed.
    Moved the unused cputable inside its corresponding switch.
    Two occurrences of WriteS_Translated would have executed the message in the V=1 case.
    KernelWS/Resources:
    Flag added to workspace, translation added to messages files.
    Heapman.s:
    Commented out use of SetBorder removed.
    Kernel.s:
    SetBorder macro removed.
    Middle.s:
    Switched out use of SetBorder removed.
    Super1.s:
    Conditional WriteS_Translated would try to execute the message in the opposite condition case.
    
    
    Version 5.35, 4.79.2.157. Tagged as 'Kernel-5_35-4_79_2_157'
    fe354937
Messages 6.63 KB