From: "Angelene and Klaus Thane" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: biosdisk & int 13 extensions Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sat, 8 Jan 2000 22:53:14 -0600 NNTP-Posting-Host: 216.76.249.221 X-Trace: news1.mia 947393615 216.76.249.221 (Sat, 08 Jan 2000 23:53:35 EST) NNTP-Posting-Date: Sat, 08 Jan 2000 23:53:35 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Inp.: AH = 48h DL = drive (80h-FFh) DS:SI -> buffer for drive parameters (see #0183) Return: CF clear if successful AH = 00h DS:SI buffer filled CF set on error AH = error code (see #0144) Format of IBM/MS INT 13 Extensions drive parameters: Offset Size Description 00h WORD (call) size of buffer (001Ah for v1.x, 001Eh for v2.x) (ret) size of returned data 02h WORD information flags (see #0184) 04h DWORD number of physical cylinders on drive 08h DWORD number of physical heads on drive 0Ch DWORD number of physical sectors per track 10h QWORD total number of sectors on drive 18h WORD bytes per sector ---v2.0+ --- 1Ah DWORD -> EDD configuration parameters (see #0186) FFFFh:FFFFh if not available Note: if the size is less than 30 on call, the final DWORD will not be returned by a v2.x implementation