Entry | |
---|---|
R0 | Reason code |
Other registers dependent on reason code |
Exit | |
---|---|
Registers dependent on reason code |
The purpose of this call is to read/write a block from/to an open file.
The action performed depends on the reason code value in R0.
# | Hex # | Action |
---|---|---|
1 | &01 | Write bytes to given pointer |
2 | &02 | Write bytes to current pointer |
3 | &03 | Read bytes from given pointer |
4 | &04 | Read bytes from current pointer |
5 | &05 | Read name & boot options |
6 | &06 | Read current dir and privilege byte |
7 | &07 | Read library dir and privilege byte |
8 | &08 | Read entries from current dir |
9 | &09 | Read entries from given dir |
10 | &0A | Read entries and info from given dir |
11 | &0B | Read entries and full info from given dir |
12 | &0C | Read entries and full info with filetype from given dir |