• Jeffrey Lee's avatar
    Fix a couple of RISCOS_MapInIO bugs · 0ee90f05
    Jeffrey Lee authored
    - s/HAL - Fix ADD v. SUB muddle that could prevent addresses from being rounded down correctly. Fix incorrect logical address being returned to caller on pre-ARMv6 machines due to PageTableSync corrupting a1.
    - s/NewReset - Initialising the CMOS RAM cache while in the middle of setting up the processor vectors feels a bit silly. Move the code to just afterwards so that it feels a bit safer, and so that early crashes are easier to debug (processor vectors in stable state)
    Tested on Iyonix.
    Fixes ROM softload failure reported on forums:
    Version 6.23. Tagged as 'Kernel-6_23'
VersionASM 846 Bytes