News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Diskette reading...

Started by ArtemESC, August 23, 2006, 11:12:22 AM

Previous topic - Next topic

ArtemESC

hi, i am want read first disckette sectors...

mov   ah, 02h         
mov   al, SectorCount           
xor   ch, ch                   
mov   cl, 01h         
xor   dx, dx         
int   13h           

But, this code may read sectors of first track only...
    How do it right?

Tedd

You can only read 1 track at a time. So you have to read the sectors of the first track (side 0), then first track (head 1), then second track (head 0), 2nd track (head 1), ..........


P.S. 16-bit code goes in the DOS forum :P
No snowflake in an avalanche feels responsible.