From: Nick Newsgroups: comp.os.msdos.djgpp Subject: Re: bit and bytes ... help [ biosdisk ] Date: Wed, 12 Jun 2002 13:00:26 -0400 Organization: MindSpring Enterprises Lines: 3 Message-ID: <3D077E2A.7E811151@yahoo.com> References: <3D0679E1 DOT E9F97F93 AT yahoo DOT com> NNTP-Posting-Host: a5.f7.82.37 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 12 Jun 2002 17:00:46 GMT X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nick wrote: > int sectors_per_track = buffer[0] & 0x1f; D'oh! That should be 0x3f, not 0x1f.