Documentation of kernel API

This commit is contained in:
Kyle J Cardoza 2024-07-08 23:33:55 -04:00
parent 34de02afe4
commit 2cd3aad730
1 changed files with 11 additions and 11 deletions

View File

@ -329,9 +329,9 @@ Arguments:
- 0x02: Seek relative to the end of the file - 0x02: Seek relative to the end of the file
Return value: Return value:
C: Status code - C: Status code
X: New file position (31:16) - X: New file position (31:16)
Y: New file position (15:0) - Y: New file position (15:0)
This call moves the internal file pointer, the position in the specified file from This call moves the internal file pointer, the position in the specified file from
which data can be read or to which data can be written. On success, this call returns which data can be read or to which data can be written. On success, this call returns
@ -345,12 +345,12 @@ This call performs driver-specific functions.
## 0x14: Delete File ## 0x14: Delete File
Arguments: Arguments:
C: 0x14 - C: 0x14
X: Bank of pathname - X: Bank of pathname
Y: Address of pathname - Y: Address of pathname
Return Values: Return Values:
C: Status code - C: Status code
This call attempts to delete the file indicated by the given NULL-terminated string, This call attempts to delete the file indicated by the given NULL-terminated string,
which must contain a fully-qualified pathname. On success, this C will contain which must contain a fully-qualified pathname. On success, this C will contain
@ -360,12 +360,12 @@ error.
## 0x15: Move File ## 0x15: Move File
Arguments: Arguments:
C: 0x15 - C: 0x15
X: Bank of argument structure - X: Bank of argument structure
Y: Address of argument structure - Y: Address of argument structure
Return Values: Return Values:
C: Status code - C: Status code
Argument Structure: Argument Structure: