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

@ -435,3 +435,18 @@ 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
`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.

Binary file not shown.