Entry | |
---|---|
R0 | 5 |
R2 | Buffer |
Exit | |
---|---|
R0 | Preserved |
R2 | Preserved |
C flag corrupted |
The purpose of this call is to read the name of the disc which contains the current directory, and its boot option.
The data returned in the buffer is in the following format.
<name length byte><disc name><boot option byte>
of disc containing the current directory
OS_GBPB 6 reads the Currently Selected Directory (CSD), and privilege status in relation to that directory.
OS_GBPB 7 reads the name of the library directory, and privilege status in relation to that directory.