Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!munnari.oz.au!uniwa!cc.curtin.edu.au!cutmcvax!campbell From: campbell@cutmcvax.cs.curtin.edu.au (Trevor George Campbell CC361) Newsgroups: comp.lang.pascal Subject: Re: how can I readout my FAT? Message-ID: Date: 24 Apr 91 11:50:58 GMT Article-I.D.: cutmcvax.campbell.672493858 References: <9770@star.cs.vu.nl> <4585@gmdzi.gmd.de> Sender: news@cutmcvax.cs.curtin.edu.au (Usenet News System) Organization: Curtin University of Technology, Computing Science Lines: 22 Nntp-Posting-Host: cutmcvax.cs.curtin.edu.au focke@gmdzi.gmd.de (Stefan Focke) writes: >erwvegm@cs.vu.nl (Erwin van Egmond) writes: >> I must probably readout my FAT, but how do I do that? >- You have to find out if you have a 12-bit or a 16-Bit FAT (DOS 4.x) > I do not know where you can find this information. Who can help? you can tell if it is a 12 bit FAT by the fact that with a you can only access at most 4087 clusters (?? sectors) using a 12 bits.. (ie: 4096 - the flags that indicate end of file... = 4087). If on the other hand the disk has more than 4087 (strictly greater) then it must be a 16 bit FAT .... you can find out how many allocation units the disk has by checking the DPB (Drive Parameter Block) part of the boot block.... I don't have more info on me at this stage... but if you want I may be able to e-mail (or post if enough interest) the source for such a program (limited capabilities) in TURBO ASSEMBLER (with a bit more time I could probably do a quick program in TURBO PASCAL).... Trevor alias <****>