www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/04/18/22:16:12

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 18 Apr 2006 21:04:12 -0500
From: Eric <NoOne AT invalid DOT com>
Subject: SATA drives and EDD?
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 18 Apr 2006 19:04:12 -0700
User-Agent: KNode/0.9.2
MIME-Version: 1.0
Message-ID: <womdnTxDR94BB9jZnZ2dnUVZ_tednZ2d@comcast.com>
Lines: 18
NNTP-Posting-Host: 67.183.204.127
X-Trace: sv3-drhZnT15RZ/QInXrPib4ZHwYUN3te2n8c2/ETg5rYbwBpLrtWC9WNW89oY8GYiIfmVUcWLpKgy+8yXP!b99qUrBrER+anXCLdX9qpdh0WXSL/AvUKWuyicSFQP/ZRh3121Hv/HdwWCSdnS38vB2Eu0DvSgV4!FbIuTHFkjc8Vn94=
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Will BIOS int 13h Ah=41h return CY=0 if the only HDD is a SATA drive?
I've got a ATA DVD-Writer and a SATA HDD  but the int 13 call that checks
for EDD extensions always returns with CY=1. surely they didnt remove these
EDD extensions from the BIOS? So I'm guessing that if all you have is SATA
then the BIOS cant access it via EDD so it returns CY=1 "pretending " the
EDD isnt there?
ie:
__dpmi_regs r;

r.x.bx = 0x55AA;
r.h.dl = int13_drive_num;
r.h.ah = 0x41;
__dpmi_int(0x13, &r);
  r.x.flags & 1 always == 1

Note: i havnt tried my code on a non-SATA system.
Eric

- Raw text -


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