I'm trying to read a text file from a fat12 disk,till now I can only
read the first sector of any file,but I cannot get the next cluster of the file
becuase I'm having problem with the memory buffer which I loaded
the fat table into it,

I'm pretty sure of my functions,but I think my problem is I'm not reading
the fat table from the right address I loaded it.
I think I'm not passing the right address to BX in "getcluster",
or I'm not loading the fat table into memory in the right way.
would you please help me...

Thanx

10 Oct 2008, 05:33

nop

Joined: 01 Sep 2008
Posts: 165
Location: right here left there

nop

hey abuashraf i can understand this code (i think ) looks ok to me but you didnt post all of it

are you running it in dos? i dont think you can cos im pretty sure 0x100:0 and 0x500:0 will be in the dos area unless you load DOS high ?? but there might still be some stuff down there and dos will crash. like 0x3000:0 and 0x4000:0 would be safer if you dont ask dos for the memory

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum