• Robert Sprowson's avatar
    Fix for missing monitor name after load · 5cf8ee42
    Robert Sprowson authored
    The code path that filing systems the register with dontuseload omitted the line printed when *OPT 1 is non-zero.
    In particular this meant FileCore (which has the fsinfo word flag set) didn't report any monitor name.
    For dontusesave, the initial call to do the equivalent of *Create covers the output even though it's a bit early. However, the flag check appeared to be inverted, so an FS with it set would call OS_File, and one clear would call OS_GBPB.
    
    FileSwHdr.s: Remove use_fsfile_Save and use_fsfile_Load switches, since clients declare at runtime what their preference is (since RISC OS 3).
    LowLevel.s: Extract monitor name reporting code, replace with function call to common code.
    FSShared.s: Common function ReportMonitor.
    OSFile.s: After doing a load via OS_GBPB call the monitor name reporting code. Tune up the StrongARM code flush code a little to not need R5 as a temporary. Fix inverted sense of dontusesave.
    
    Version 2.87. Tagged as 'FileSwitch-2_87'
    5cf8ee42
FileSwHdr 3.93 KB