DOS Internal - Get extended error code

Entry:
AX = 122Dh
Return:
AX = current extended error code