| delorie.com/archives/browse.cgi | search | 
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f | 
| X-Trace-PostClient-IP: | 68.147.232.190 | 
| From: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid> | 
| Newsgroups: | comp.os.msdos.djgpp | 
| Subject: | Re: Reading sectors: Error 0x701F | 
| Organization: | Systematic Software | 
| Message-ID: | <7p0542dv1g6mautep8cflfrvkuru1912ad@4ax.com> | 
| References: | <e1tgib$ns9$1$8300dec7 AT news DOT demon DOT co DOT uk> | 
| X-Newsreader: | Forte Agent 1.93/32.576 English (American) | 
| MIME-Version: | 1.0 | 
| 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 <jce AT seasip DOT demon DOT co DOT uk> 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
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |