X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f In-Reply-To: <200704040405.l3445112013247@delorie.com> Subject: Re: [OT] djgpp daily digest for 03 Apr 2007 To: djgpp AT delorie DOT com X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: Gordon DOT Schumacher AT seagate DOT com Date: Wed, 4 Apr 2007 08:27:41 -0600 X-MIMETrack: Serialize by Router on SV-GW1/Seagate Internet(Release 7.0.1 HF29|March 07, 2006) at 04/04/2007 07:27:46 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Proofpoint-FWRule: outbound2 X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5502:2.3.11,1.2.37,4.0.164 definitions=2007-04-04_04:2007-04-04,2007-04-04,2007-04-04 signatures=0 Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Jim Michaels wrote on 04/03/2007 10:05:01 PM: # great. I just want to read and save the partition boot & MBR sectors for # archival purposes. :-( # I thought it would be be handy for certain operations of system rebuilding. # # looks like I go back to DOS floppies. I found an API call that might do # the trick, but I would have to know ATA commands, and the PDF for that # is huge. # # Does DJGPP have any other direct disk I/O API than biosdisk()/bios.h? # My guess is no. Take a look at these: http://support.microsoft.com/kb/q100027 http://www.ucosoft.com/archives/74.html From that you should be able to find what you need... IOW don't use DJGPP to write Windows software. If you need a free compiler then use CygWin and/or MinGW.