h6. [[OS SWI Calls]] h6(. » [[OS_File]] h6((. » OS_File 15 h2. OS_ File 15 h5. (SWI &08) |_<^{width:3em}. Entry | | |<^. R0 |<^. 15 (reason code) | |<^. R1 |<^. Pointer to filename | |<^. R4 |<^. Pointer to path variable | |_<^{width:3em}. Exit | | |<^. R0 |<^. [[File Object Types|Object type]] | |<^. R1 |<^. Preserved | |<^. R2 |<^. "Load address":linkload | |<^. R3 |<^. "Execution address":linkexecution | |<^. R4 |<^. Object length | |<^. R5 |<^. "Object attributes":linkattributes | |\2<^. R2 – R5 are corrupted if no object is found| h4. Use The purpose of this call is to read catalogue information for a named object using a path variable. h4. Notes There are several different reason codes that can be used to read various catalogue information using the [[OS_File]] call. h4. See also * "Execution address":linkexecution * "Load address":linkload * "Object attributes":linkattributes * [[File Object Types|Object type]] * [[OS_File]] * [[OS_File 5]] * [[OS_File 13]] * [[OS_File 17]] [linkload]FileSwitch%20Key%20Features#load_execution [linkexecution]FileSwitch%20Key%20Features#load_execution [linkattributes]FileSwitch%20Key%20Features#file_attributes