hai,
i have written the assembly code to access the drive parameter.i checked with debug.but the entire buffer is filled with 0s.what is the problem with the code .i have written according to "interrupt list" by Half Brown.
Also give idea about read sector using 42h.
the assembly code is like this
.model small
.stack
.data
.code
mov ah,48h
mov dl,80h
mov cx,2000h
mov ds,cx
mov si,0000
int 13h
mov 4ch
int 21h
end
thank you,
with luv,
P.Dhivagar
i have written the assembly code to access the drive parameter.i checked with debug.but the entire buffer is filled with 0s.what is the problem with the code .i have written according to "interrupt list" by Half Brown.
Also give idea about read sector using 42h.
the assembly code is like this
.model small
.stack
.data
.code
mov ah,48h
mov dl,80h
mov cx,2000h
mov ds,cx
mov si,0000
int 13h
mov 4ch
int 21h
end
thank you,
with luv,
P.Dhivagar