Showing changes from revision #4 to #5:
Added | Removed | Changed
Entry | |
---|---|
R0 | Reason code, and path bits if reason <> 0 |
R1 | Filename for opening files, handle otherwise |
R2 | Pathname, if ‘path used’ is 1 or 2 |
Exit | |
---|---|
R0 | File handle or 0 if object doesn’t exist (if opening and R0 bit 3 is 0 on entry) |
The purpose of this call is to either open or close files.
R0 | Action |
---|---|
&00 | Closes file R1, or all files if R1 = 0 |
&40 | Open existing file with read-only access |
&80 | Create empty file with read/write access |
&C0 | Open existing file with read/write access |