How do you check to see if there is a CD loaded in the CD-ROM when the drive door is closed, and how do you differentiate between the drive door being open/closed and the door being closed but the tray empty? I'm using assembly language, but even general info on this would be useful. Thanks.