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
Int 13h question
-
thesame
Int 13h question
A friend asked me to post this question:
-
Slasher
Re:Int 13h question
hi,
0x12 is hex for 18 (1*(16^1)+2*(16^0))!!!
0x13 is therefore 19(1*(16^1)+3*(16^0))!!!
1.44 floppys have sectors from 1 to 18!!!
0x12 is hex for 18 (1*(16^1)+2*(16^0))!!!
0x13 is therefore 19(1*(16^1)+3*(16^0))!!!
1.44 floppys have sectors from 1 to 18!!!