T13/2132-D Revision 3 June 23, 2010
70 Working Draft Enhanced Disk Drive - 4 (EDD-4)
9 INT 15h Removable Media Eject
This function shall be called by the BIOS in response to a software request (INT 13h, AH=46h, Eject Device) to
eject media from a removable media device.
A user may press an eject button or use a software command to request that a particular media be ejected. By
default the INT 15h handler returns with ejection accepted status. A disk cache program may replace this INT 15
call and return acceptance or rejection based on the state of its buffers for this disk. This function may also be
used by operating system software as a media change request.
Entry
AH 52h
DL BIOS device number
Exit
Carry Clear Function completed without error
AH Shall be cleared to zero. ejection may proceed
Carry Set Function completed with an error
AH Shall be set to the error code, B1h or B3h, ejection is rejected