From: hipermar AT mail2 DOT esoterica DOT pt (Hiper M.A.R.) Newsgroups: comp.os.msdos.djgpp Subject: Re: Access to hard disk (>8.5GB) Date: Thu, 26 Apr 2001 12:53:48 GMT Organization: Esoterica, Portugal References: <988280877 DOT 267693 AT osiris DOT esoterica DOT pt> <3AE80D68 DOT C5AEC116 AT is DOT elta DOT co DOT il> X-Newsreader: Forte Free Agent 1.0.82 Message-ID: <988289673.899361@isis.esoterica.pt> Cache-Post-Path: isis.esoterica.pt!unknown AT por419 DOT esoterica DOT pt X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Cache-Post-Path: sirith.esoterica.pt!unknown AT isis DOT esoterica DOT pt X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Lines: 24 NNTP-Posting-Host: 195.22.0.29 X-Trace: 988289676 news.dpn.de 320 195.22.0.29 X-Complaints-To: abuse AT dpn DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.... Thanks. >"Hiper M.A.R." wrote: >> >> Djgpp provides means to access directly drives using INT13 (biosdisk; >> _bios_disk). >> This only work if drive is smaller than 8.5 GB. >> Does any one knows or have means to directly access sectors for drives >> > 8.5 GB. Eli Zaretskii wrote: >What functions of Int 31h did you use? IIRC, there are special functions to >access large disks, but you need to issue them with __dpmi_int, since >biosdisk doesn't know about them.