Commit 61dadf8c authored by Ben Avison's avatar Ben Avison
Browse files

Retired FileCore_Create "No directory state" startup option

  Despite what the PRM says about *Configure options Dir and NoDir, the
  CMOS bit which they control was actually read by the filing systems and
  passed to FileCore via register R3 passed to FileCore_Create. In practice,
  only ADFS appears to have done this correctly. However, since RISC OS 3.00,
  FileCore has not managed the CSD (this function being taken over by
  FileSwitch) so this option hasn't actually done anything for the last
  21 years! Given that the other FileCore filing systems have managed fine
  without the Dir/NoDir option being set correctly, I think the time has come
  to stop using this part of the FileCore_Create API, which means we can free
  up a bit of CMOS.
  Builds but not tested, but a very low-risk change.

Version 3.43. Tagged as 'ADFS-3_43'
parent 2720c90b
| Copyright 2012 Castle Technology Ltd
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| See the License for the specific language governing permissions and
| limitations under the License.
Dir <Obey$Dir>
amu_machine gpa_debug THROWBACK=-throwback
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "3.42" Module_MajorVersion SETS "3.43"
Module_Version SETA 342 Module_Version SETA 343
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "19 Mar 2012" Module_Date SETS "21 Mar 2012"
Module_ApplicationDate SETS "19-Mar-12" Module_ApplicationDate SETS "21-Mar-12"
Module_ComponentName SETS "ADFS" Module_ComponentName SETS "ADFS"
Module_ComponentPath SETS "castle/RiscOS/Sources/FileSys/ADFS/ADFS" Module_ComponentPath SETS "castle/RiscOS/Sources/FileSys/ADFS/ADFS"
Module_FullVersion SETS "3.42" Module_FullVersion SETS "3.43"
Module_HelpVersion SETS "3.42 (19 Mar 2012)" Module_HelpVersion SETS "3.43 (21 Mar 2012)"
/* (3.42) /* (3.43)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 3.42 #define Module_MajorVersion_CMHG 3.43
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 19 Mar 2012 #define Module_Date_CMHG 21 Mar 2012
#define Module_MajorVersion "3.42" #define Module_MajorVersion "3.43"
#define Module_Version 342 #define Module_Version 343
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "19 Mar 2012" #define Module_Date "21 Mar 2012"
#define Module_ApplicationDate "19-Mar-12" #define Module_ApplicationDate "21-Mar-12"
#define Module_ComponentName "ADFS" #define Module_ComponentName "ADFS"
#define Module_ComponentPath "castle/RiscOS/Sources/FileSys/ADFS/ADFS" #define Module_ComponentPath "castle/RiscOS/Sources/FileSys/ADFS/ADFS"
#define Module_FullVersion "3.42" #define Module_FullVersion "3.43"
#define Module_HelpVersion "3.42 (19 Mar 2012)" #define Module_HelpVersion "3.43 (21 Mar 2012)"
#define Module_LibraryVersionInfo "3:42" #define Module_LibraryVersionInfo "3:43"
...@@ -266,8 +266,6 @@ InitEntry ROUT ; NO REENTRANCY CHECK NEEDED ...@@ -266,8 +266,6 @@ InitEntry ROUT ; NO REENTRANCY CHECK NEEDED
baddr R1, org baddr R1, org
ORR R3, R3, R6, LSL #8 ;OR in # winnies ORR R3, R3, R6, LSL #8 ;OR in # winnies
ORR R3, R3, R5, LSL #16 ;OR in default drive ORR R3, R3, R5, LSL #16 ;OR in default drive
AND R2, R2, #DriveConfig_StartupOpt_NoDir:SHR:24
ORR R3, R3, R2, LSL #24 ;OR in start up options
BL ReadDirCacheCMOS ;(->R0,R4,V) BL ReadDirCacheCMOS ;(->R0,R4,V)
[ FileCache [ FileCache
BL ReadFileCacheCMOS ;(->R0,R5,V) BL ReadFileCacheCMOS ;(->R0,R5,V)
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
; ;
org org
;Module Header ;Module Header
ASSERT {PC}-org=0 ASSERT {PC}-org=0
& 0 ;no start entry & 0 ;no start entry
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment