X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Using Extended INT13 LBA and for hard disk access and DPMI under DJGPP Organization: Systematic Software Message-ID: <34pj70tslg6f1k87pd3916qfma2gctbmg5@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: 40 Date: Mon, 12 Apr 2004 00:38:41 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw2no 1081730321 24.71.223.147 (Sun, 11 Apr 2004 18:38:41 MDT) NNTP-Posting-Date: Sun, 11 Apr 2004 18:38:41 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 12 Apr 2004 00:15:07 GMT in comp.os.msdos.djgpp, "Dick Correa" wrote: >"Brian Inglis" wrote in message >news:p2ti70tbmf7lcvf9ismj0uqo4kodlgm1t3 AT 4ax DOT com... >> On Sun, 11 Apr 2004 13:28:54 GMT in comp.os.msdos.djgpp, "Dick Correa" >> wrote: >> >> >The title kinda says it all... Does anyone have a code snippet for >reading >> >the hard drive using the extended LBA mode int13 calls using DPMI and >djgpp. >> >I wrote a handler for a windows 95 program using dosalloc and real mode >and >> >protected mode pointers with a simulated int13 call using dpmi int31 >stuff >> >with Borland C 3.1, but I can't seem to get a handle on it with djgpp. >> > >> >If you can point me in the right direction I would greatly appreciate it. >> >> Have you looked at: >> info libc a biosdisk >Actually no I haven't... However, I have actually seen a small snippet of >code in this newsgroup but I didn't DL it ... It was perfect for what I >wanted to do... > >Also, if biosdisk is anything like the real mode biosdisk then it is CHS >oriented not LBA oriented... > >Thanx for the thought though and I will look at the code... You might try searching for LBA in the newsgroup on Google groups or the gatewayed mailing list archive of djgpp on delorie.com. -- 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