Documentation of kernel API

This commit is contained in:
Kyle J Cardoza 2024-07-09 00:42:09 -04:00
parent 01ace8c355
commit 2c42243d4c
2 changed files with 15 additions and 0 deletions

View File

@ -434,4 +434,19 @@ This call attempts to create a `NULL`-terminated string with the path of
the current directory in the drive with the volume name specified in the the current directory in the drive with the volume name specified in the
`drive` argument, and puts that string into the buffer pointed to by `drive` argument, and puts that string into the buffer pointed to by
`dest`. On success, `C` will contain `STATUS_OK`. On failure, `C` will `dest`. On success, `C` will contain `STATUS_OK`. On failure, `C` will
containe a negative value indicating the error type.
## `0x18`: Set Current Directory
Arguments:
- `C`: `0x18`
- `X`: Bank of string
- `Y`: Address of string
Return Values:
- `C`: Status code
This call attempts to change the current directory on a the drive specified
in the supplied `NULL`-terminated string to the directory listed in that
string. On success, `C` will contain `STATUS_OK`. On failure, `C` will
containe a negative value indicating the error type. containe a negative value indicating the error type.

Binary file not shown.