Int 13h question
Posted: Fri Jan 03, 2003 1:30 pm
A friend asked me to post this question:
ts.Can anyone explain me why the 13h interrupt needs a sector-number less than 13?
For example:That code works butCode: Select all
mov ah, 0x02 mov al, 0x08 mov ch, 0x00 mov cl, 0x12 ; Sector 12 mov dh, 0x00 mov dl, 0x00 int 0x13causes an error (drive not ready)Code: Select all
mov ah, 0x02 mov al, 0x08 mov ch, 0x00 mov cl, 0x13 ; Sector 13 mov dh, 0x00 mov dl, 0x00 int 0x13