Int 66 Fn 27 - Pendos - Pink - ??? [n]

AH = 27h
BL = ???
BH = ???
CL = ??? (0-3)
DL = ??? (> BL)
DH = ??? (> BH)

Return: ???