Showing changes from revision #3 to #4:
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 optionally put a new date/time stamp on it. For ImageEntry_Close, you should then call OS_Args 255 on the image after updating the structure for the closed file; this ensures that all data is flushed to the disc.
If R2 and R3 are both zero your filing system should not try to restamp the file.
This can occur because:
The commands *Close and *Shut are performed by FileSwitch by passing the handles, one at a time, to the relevant filing system for closing, therefore R1 is always non-zero.