From 2cd3aad7303e3acf55008308a93108b96b23ffd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20J=C2=A0Cardoza?= Date: Mon, 8 Jul 2024 23:33:55 -0400 Subject: [PATCH] Documentation of kernel API --- doc/syscalls.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/syscalls.md b/doc/syscalls.md index 60fe324..ac66bb9 100644 --- a/doc/syscalls.md +++ b/doc/syscalls.md @@ -329,9 +329,9 @@ Arguments: - 0x02: Seek relative to the end of the file Return value: - C: Status code - X: New file position (31:16) - Y: New file position (15:0) + - C: Status code + - X: New file position (31:16) + - Y: New file position (15:0) 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 @@ -345,12 +345,12 @@ This call performs driver-specific functions. ## 0x14: Delete File Arguments: - C: 0x14 - X: Bank of pathname - Y: Address of pathname + - C: 0x14 + - X: Bank of pathname + - Y: Address of pathname Return Values: - C: Status code + - C: Status code 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 @@ -360,12 +360,12 @@ error. ## 0x15: Move File Arguments: - C: 0x15 - X: Bank of argument structure - Y: Address of argument structure + - C: 0x15 + - X: Bank of argument structure + - Y: Address of argument structure Return Values: - C: Status code + - C: Status code Argument Structure: