X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.232.190 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Reading sectors: Error 0x701F Organization: Systematic Software Message-ID: <7p0542dv1g6mautep8cflfrvkuru1912ad@4ax.com> References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 22 Date: Sun, 16 Apr 2006 17:50:31 GMT NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw3no 1145209831 64.59.135.176 (Sun, 16 Apr 2006 11:50:31 MDT) NNTP-Posting-Date: Sun, 16 Apr 2006 11:50:31 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 16 Apr 2006 14:24:26 +0100 in comp.os.msdos.djgpp, John Elliott wrote: > I'm trying to write a program that reads sectors from a hard drive >using either INT 25h or INT 21h/AX=7305h. > > If I run it under Windows ME, the reads fail with error 0x701F, >whether it's operating on a FAT32 drive or a FAT16 drive. I can't find >any mention of this error in documentation; it turns up once or twice on >Usenet, always in the context of calling INT 25h or INT 21h/AX=7305h >from a DOS extender. That suggests I've made an error setting up the >__dpmi_regs when making the call, but if so I can't see what it is. Does >anyone have any suggestions? Why not use biosdisk() instead of going through DOS? Worked fine for me on floppy and hard drives. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply