System information
FUNCTION 24: RETURN LOG-IN VECTOR
Entry Parameters:
Register C: 18H
Returned Value:
Registers HL: Log-in Vector
The log-in vector value returned by CP/M is a 16-bit value in HL, where the least significant bit
of L corresponds to the first drive A and the high-order bit of H corresponds to the sixteenth
drive, labeled P. A 0 bit indicates that the drive is not on-line, while a I bit marks a drive that is
actively on-line as a result of an explicit disk drive selection or an implicit drive select caused by
a file operation that specified a nonzero dr field. The user should note that compatibility is
maintained with earlier releases, because registers A and L contain the same values upon return.
FUNCTION 25: RETURN CURRENT DISK
Entry Parameters:
Register C: 19H
Returned Value:
Register A: Current Disk
Function 25 returns the currently selected default disk number in register A. The disk numbers
range from 0 through 15 corresponding to drives A through P.
5.2 Call Conventions CP/M Operating System Manual
5-26