Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Which Interrupt for CD Drive???

Could anyone please tell me which interrupt (on an IBM pc,intel chips) to use, for ejecting the cd drive??


thank you.


Comments

  • : Could anyone please tell me which interrupt (on an IBM pc,intel chips) to use, for ejecting the cd drive??


    MSCDEX appears to use the Multiplexer Interrupt (2Fh),

    Functions 440Dh, and their subfunctions.


    The function to eject removable media is:


    MOV AX, 440Dh

    MOV BX, DriveNum

    MOV CH, 8h ;Device catagory

    MOV CL, 49h ;Eject Removable media

    INT 2Fh


    Where DriveNum is 1 for A, 2 for B, etc.





    URL:http://acheronx.resnet.tamu.edu

Sign In or Register to comment.