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
ret
read_sector endp
:stupid:
read_sector proc
mov al, 0
mov cl, 1
mov dx,12
mov bx,offset buffer
int 25h
ret
read_sector endp
:stupid:
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.
This thing will only work for floppies as you may be aware.
: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:
Hints .....suggestions?
Look at this.
I have romanian heritage!! ce faci?!?!?