Quote:
> There's nothing sneaky or undocumented about using &H80 + DriveNum for
> hard drives. If it isn't mentioned in your documentation, you need to get
> better documentation.
Quote:
> For INT 13 Service 2?????
> I haven't been able to find a book yet that deals with 80h for HD on this
> service. One in particular is "Using Assembly Language" by Wyatt, Que
> Corporation, Publisher. Wyatt states that C:=2!
> "PC Interrupts" by Ralf Brown is the only publication that even comes
> close to saying 80h is OK for Hard Drives. Under INT13 S02, Brown states
> that bit 7 must be set (pp 204) for DL.
Well, setting bit 7 is (essentially) equivalent to adding 80h. And,
really, it's more precise to say "set bit 7", since 00-7Fh refer to
floppies, and 80h-0FFh refer to hard drives.
Quote:
> Which book do you use for interrupts? It's obvious the Wyatt book is
> USELESS!
Generally, either Ralf Brown's Interrupt List (the online incarnation of
PC INTERRUPTS), or Peter Norton's PROGRAMMER'S GUIDE TO THE IBM PC & PS/2
(more recent editions of which have been retitled THE PC PROGRAMMER'S
BIBLE). I highly recommend the latter not only as an excellently-
organized reference, but also as a fine tutorial introduction to BIOS and
DOS functions.
Additionally, you might want to consult the FAQ for the comp.lang.asm.x86
newsgroup, which has a number of good book recommendations.
I haven't examined the Wyatt book closely, but, just glancing through
it, I've never been especially impressed.
Quote:
> PS: I am just a beginner. Hell, just getting something to print on the
> screen is cause for celebration. Sorry I got in the way.
No need to apologize. My earlier remarks weren't meant as a flame.
I just wanted to head off any further confusion. It's astonishing
how quickly misinformation can propagate across the Net, especially
if you mention the magic word "undocumented". Everyone just loves
knowing a secret. :-)
---
Glen Blankenship