ok im writing a subroutine that reads a single sector from drive A, and the memory buffer is 512bytes

read_sector proc
mov al, 0
mov cl, 1
mov dx,12
mov bx,offset buffer
int 25h
read_sector endp

Posted on 2002-05-24 15:08:49 by Froost
if your proc is executed in real mode (as I assume), it may not work because int 25H/26h return with RETF, not IRET, leaving the flags on the stack. So do a pop xx after the int.

This thing will only work for floppies as you may be aware.
Posted on 2002-05-24 15:33:29 by japheth
:confused: I am at a total loss....Assume that you are decoding the file allocation table of a 1.44 MB diskette, AX contains the previous cluster number, and DX contains the current offset into the FAT. Write a series of assembly language statements that will calculate the new cluster number and place it in AX:confused:
Posted on 2002-05-24 15:50:42 by Froost
Hints .....suggestions?
Posted on 2002-05-24 16:55:09 by Froost
Posted on 2002-05-24 17:02:09 by bdjames
Look at this.
Posted on 2002-05-25 09:06:53 by ViperV`
I have romanian heritage!! ce faci?!?!?
Posted on 2002-05-25 10:37:07 by Froost