• Robert Sprowson's avatar
    Slacken pointer checks · 42e284a3
    Robert Sprowson authored
    The pointer comparison checking required when running in a system with > 64M memory was tightened up from Wimp-4_75 to Wimp-4_76, but to allow the module to target pre RISC OS 5 systems an option to relax those checks is required.
    Each check has been revisited and where appropriate demarked with a "AcceptLoosePointer" macro, which just remaps the pointer into the stricter form and carries on. In the strict checking case, the macro reduces to nothing.
    
    Detail:
    Add AcceptLoosePointers switch.
    Retire singular use of StrongARM switch (calling XOS_SynchroniseCodeAreas is harmless pre StrongARM anyway).
    Rename Ursula_RPC options to RO400.
    Put duplicate documentation in the attic.
    Allow -2 or -1 as the iconbar handle in Wimp_ResizeIcon (ticket #203).
    Tighten up the list terminator check in the DebugMemory switch of Memory.s
    
    Tested on RISC OS 3.10 (emulated), 3.50, 3.60, 3.70, 4.02.
    
    Version 5.24. Tagged as 'Wimp-5_24'
    42e284a3
To find the state of this project's repository at the time of any of these versions, check out the tags..
NewSWIs 28.3 KB