h6. [[OS SWI Calls]] h6(. » [[OS_File]] h6((. » OS_File 10 h2. OS_ File 10 h5. (SWI &08) |_<^{width:3em}. Entry | | |<^. R0 |<^. 10 (reason code) | |<^. R1 |<^. Pointer to filename | |<^. R2 |<^. [[File Types|File type]] | |<^. R4 |<^. Start address | |<^. R5 |<^. End address (exclusive) | |_<^{width:3em}. Exit | | |\2<^. All registers preserved | h4. Use The purpose of this call is to save a block of memory as a file. h4. Notes An error is returned if any of the following conditions are met: object is locked, open or is a directory. h4. See also * [[File Types]] * [[OS_File]] * [[OS_File 0]]