From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Access to hard disk (>8.5GB) Date: Thu, 26 Apr 2001 17:09:42 +0300 Lines: 16 Message-ID: <3AE82C26.4E4BA171@is.elta.co.il> References: <988280877 DOT 267693 AT osiris DOT esoterica DOT pt> <3AE80D68 DOT C5AEC116 AT is DOT elta DOT co DOT il> <988289673 DOT 899361 AT isis DOT esoterica DOT pt> NNTP-Posting-Host: diup-220-37.inter.net.il (213.8.220.37) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 988294328 13302811 213.8.220.37 (16 [61365]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Hiper M.A.R." wrote: > > Hi Eli, > The functions I used are: > unsigned _bios_disk(unsigned cmd, struct diskinfo_t *di) > int biosdisk(int cmd, int drive, int head, int track, int sector, int > nsects, void *buffer); > This functions use both INT13h. > Examples issuing a __dpmi_int would be appreciated.... __dpmi_int is very similar to int86. Sections 18.2, 18.4 and 18.5 of the DJGPP FAQ list explain how to use it, and provide code samples. If, after reading that, something is still unclear, please ask specific questions. As for the relevant functions of Int 13h, you should be able to find them in Ralf Brown's Interrupt List; I think they are functions 42h and 43h.