• Stewart Brodie's avatar
    Fixed "SWI &6D656D not known" system collapse. · b41af248
    Stewart Brodie authored
      Fixed multiple internationalisation of error message.
    Detail:
      Somebody had decided to write a comment that R0-R2 needed to be
        unstacked before exiting the dynamic area remove routine, but
        then forgot to do so.  The crash is the same each time, as the
        address of MessageTrans error buffer it was trying to return
        is the value mistakenly loaded in R15.
      Kernel doesn't try to translate error messages multiple times.
        Not only does this give rise to errors about not being able
        to translate error messages, but causes MessageTrans to have to
        search repeatedly for non-existant tokens, slowing things down
        enormously.
    Admin:
      Tested in Ursula build.
      Not a complete fix - FileCore now leaks map & buffer dynamic areas
        whenever the RAM disc size is altered, but that needs to be fixed
        in FileCore (it needs to accept that OS_ChangeDynamicArea is not
        re-entrant and delete the DAs on a callback)
    
    Version 5.26. Tagged as 'Kernel-5_26'
    b41af248
VersionNum 472 Bytes