Author Topic: How can I read it?  (Read 15603 times)

nobody

  • Guest
How can I read it?
« on: October 28, 2008, 12:53:21 PM »
mov ah, 2
mov al, 1 ; How many?
mov ch, 0 ; Cylinder
mov cl, 2 ; Sector
mov dh, 0 ; Head
mov dl, 0 ; Drive
int 0x13
----------------------------------------------
This reads 2th sector of Floppy.

If HDD, the following is the code?
(I wish to read 64th sector of HDD.)

mov ah, 2
mov al, 1
mov ch, 0
mov cl, 64
mov dh, 0
mov dl, 80
int 0x13