User`s guide
BDOS FUNCTION 12: RETURN VERSION NUMBER
Entry Parameters:
Register C: 0CH
Returned Value:
Register HL: Version Number
The Return Version Number function provides information that allows version
independent programming. It returns a two-byte value in register pair HL: H con-
tains OOH for CP/M and L contains 31H, the BDOS file system version number.
Function 12 is useful for writing applications programs that must run on multiple
versions of CP/M and MP/M.
3-17
BDOS Function Calls CP/M 3 Programmers Guide