delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/12/06:20:34

From: "Matthew Smith" <matt AT the-good-stuff DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sector Editor?
Date: Sat, 12 Apr 2003 11:05:20 +0100
Lines: 26
Message-ID: <b78off$2mo$1@news7.svr.pol.co.uk>
References: <b76ti5$fni$1 AT newsg4 DOT svr DOT pol DOT co DOT uk> <3e9773bd DOT 19881347 AT news DOT voyager DOT net>
NNTP-Posting-Host: 81.76.150.130
X-Trace: news7.svr.pol.co.uk 1050141999 2776 81.76.150.130 (12 Apr 2003 10:06:39 GMT)
NNTP-Posting-Date: 12 Apr 2003 10:06:39 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Chris Giese" <NoEmailAds AT execpc DOT com> wrote in message
news:3e9773bd DOT 19881347 AT news DOT voyager DOT net...
> "Matthew Smith" <matt AT the-spammers-have-me-already DOT freeserve DOT co DOT uk>
wrote:
>
> >Failing this, can someone show me how to read and write sectors on
an
> >LBA drive using INT 13h extensions?
>
> http://my.execpc.com/~geezer/osd/disks/diskio.zip
>
> Unzip it, and look at function lba_biosdisk() in file DJGPP.C
>

Cheers :) Your code shows I'm basically on the right track.

One thing I can't be sure about is the buffer address in the packet.
You treat this as a far pointer while my reading of the RBIL suggests
this is a flat address. Has your code been tested?

And a question for the near future; the 64bit address, how is that
represented?



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019