• Robert Sprowson's avatar
    Fix for softload not working on RISC OS 5.20 · 7d218ba5
    Robert Sprowson authored
    Kernel 5.35 4.79.2.186 introduced a bug whereby a logical to physical lookup
    would return the wrong value in the bottom 12 bits of the result. Workaround
    this by computing that ourselves, otherwise the lookup of &8000 fails with
    an unmapped address leading to startnew() jumping to address -1.
    Tested on a Risc PC softloading 5.22 on top of 5.20.
    
    Version 1.22. Tagged as 'SoftLoad-1_22'
    7d218ba5