Function 82h    Program Termination                          (AT, XT/286, PS/2) 

AH 82h

BX device ID

return: CF set on error

AH status

note Closes all devices opened with function 80h