• Robert Sprowson's avatar
    Fix some bugs, tidy up a bit · 620ec992
    Robert Sprowson authored
    Bugs
    - Fix data abort when entering the password at the command prompt, OS_ReadLine with flags in R0 on a 32 bit system treats them as an address
    - Correct mode change when sulking to use the right CPSR_c value (was using mode %1111 for ABT32 when should be %10111
    Tidying
    - no need to use run time checks for 26 or 32 bit now we have sight of No32bitCode and No26bitCode switches
    - trim some REM's left over from conversion from BASIC
    - escape '$' in resource name
    - use read_CMOS function in FSLock_Init
    - use selective I cache flush rather than whole world
    - use CLRV and SETV macros
    - use ASCII_LowerCase macros
    Tested in an IOMD ROM, no longer data aborts with FSLock_Unlock command, binary inspected at key sites in a 26 bit version too but not tested.
    
    Version 1.24. Tagged as 'FSLock-1_24'
    620ec992
VersionNum 807 Bytes