Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R1 | File handle used by your filing system/image filing system |
R2 | New load address to associate with file |
R3 | New execution address to associate with file |
Exit | |
---|---|
- |
This entry point is called by FileSwitch to request that your filing system close an open file, and put a new date/time stamp on it. For ImageEntry_Close, you should then call OS_Args 255 (page 2-62) on the image after updating the structure for the closed file; this ensures that all data is flushed to the disc.
If your filing system returned from the FSEntry_Args 9 (or ImageEntry_Args? 9) call with R2 and R3 both zero, then they will also have that value here, and you should not try to restamp the file. Restamping takes place if the file has been modified and FSEntry_Args 9 (or ImageEntry_Args? 9) returned a non-zero value in R2.
Note that *Close and *Shut (ie close all open files) are performed by FileSwitch which passes the handles, one at a time, to the relevant filing system for closing. Filing systems should not try to support this themselves.