[comp.sys.ibm.pc] Book On PC Interrupt Codes Wanted

john@agora.UUCP (John Cavanaugh) (08/28/88)

  Howdy.  I am looking for a book that shows all of the interupt codes
for the PC.  I want stuff like what interrupts do what, what has to be in
the registers for things to happen, etc.

  Anybody have any ideas?

  Thanks.


 -John Cavanaugh                           ...!tektronix!tessi!agora!john
=============================================================================
 "Thinking we're all getting older and wiser, when we're just getting old"
                                                          -David Gilmour

creps@silver.bacs.indiana.edu (Steve Creps) (08/29/88)

In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
>  Howdy.  I am looking for a book that shows all of the interupt codes
>for the PC.  I want stuff like what interrupts do what, what has to be in
>the registers for things to happen, etc.

   If you want a book, Peter Norton's _Programmer's Guide to the IBM PC_
lists most of the interrupts (all the documented ones, I think), although
I'm no longer very impressed with the book. (Examples in BASIC, come on!)
It's pretty decent from a purely reference point-of-view though.
   A more complete list, although less verbose, is periodically posted to
this group. I haven't seen it here for quite a while, so maybe the person
keeping this list will post an updated version soon (just an observation;
not a request).
   Barring that, you might try anonymous ftp to simtel20.arpa, in
PD1:<MSDOS.SOMETHING-OR-OTHER>INTERRUP.ARC. I think I saw it there too.
   Hope this helps.

-	-	-	-	-	-	-	-	-	-
Steve Creps, Indiana University, Bloomington, home of the "Hoosiers"
	creps@silver.bacs.indiana.edu (192.12.206.2)
	{inuxc,rutgers,pyramid,pur-ee}!iuvax!silver!creps
	creps@iubacs.bitnet (forwarded)

ralf@b.gp.cs.cmu.edu (Ralf Brown) (08/30/88)

In article <2175@silver.bacs.indiana.edu> creps@silver.UUCP (Steve Creps) writes:
}In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
}>  Howdy.  I am looking for a book that shows all of the interupt codes
}>for the PC.  I want stuff like what interrupts do what, what has to be in
}>the registers for things to happen, etc.
  ...
}   A more complete list, although less verbose, is periodically posted to
}this group. I haven't seen it here for quite a while, so maybe the person
}keeping this list will post an updated version soon (just an observation;
}not a request).

Yes, I've been planning to release a new version later this month (now that
everyone who's been off the net for the summer is back).  As always, any and
all info will be appreciated.  I'll post a list of known weak areas in the
list as soon as I catch up on the last two weeks of netnews....

}   Barring that, you might try anonymous ftp to simtel20.arpa, in
}PD1:<MSDOS.SOMETHING-OR-OTHER>INTERRUP.ARC. I think I saw it there too.

PD1:<MSDOS.SYSUTL>INTERRUP.ARC.  Unfortunately, SIMTEL20 is down for an
undetermined period of time, so that won't help right now.
-- 
{harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) 
ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make.
FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler
BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?

sc2y@vax5.CCS.CORNELL.EDU (08/30/88)

In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
>
>  Howdy.  I am looking for a book that shows all of the interupt codes
>for the PC.  I want stuff like what interrupts do what, what has to be in
>the registers for things to happen, etc.

Ray Duncan, _Inside MS-DOS_  (Microsoft, 1987)

ward@eplrx7.UUCP (Rick Ward) (08/30/88)

> In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
> >  Howdy.  I am looking for a book that shows all of the interupt codes
> >for the PC.  I want stuff like what interrupts do what, what has to be in
> >the registers for things to happen, etc.

Advanced MS-DOS is a very good book by Microsoft Press.  It includes
examples in C and assembly language and covers all documented interrupts.
It is available in most book store chains.

Rick
-- 
    Rick Ward                         |        E.I. Dupont Co.
    uunet!eplrx7!ward                 |        Engineering Physics Lab
    (302) 695-7395                    |        Wilmington, Delaware 19898
                                      |        Mail Stop: E357-302

pcm@iwarpj.intel.com (Phil C. Miller) (08/30/88)

}In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
}>  Howdy.  I am looking for a book that shows all of the interupt codes
}>for the PC.  I want stuff like what interrupts do what, what has to be in
}>the registers for things to happen, etc.

I've had pretty good luck with "Advanced MS-DOS", by Ray Duncan.
This book covers some pretty diverse areas in systems programming, like:

    o which systems calls are available with which versions of DOS
    o writing MS-DOS filters
    o writing MS-DOS device drivers
    o writing MS-DOS interrupt handlers
    o writing your own DOS shell
    o using expanded memory
    o MS-DOS disk internals, FAT structure, file structure, etc.
    o serial port I/O
    o display programming (BIOS & low-level)

    Sorry about the stream of consciousness list, but...

    Anyway, the book has lots of examples, written in both assembler and
    C (Microsoft C 3.0 or later).  The book also makes frequent mention of
    XENIX and UNIX.  I THINK (but admit I didn't look carefully) that the
    book has a programming example showing how to read Unix/Xenix files.

    All in all, a VERY useful book which I have used quite a bit.

    This book has a more portable sibling by the same author:
    IBM ROM BIOS, by Ray Duncan, in the Microsoft Press Programmer's Quick
    Reference Series.

    Hope this info is of some use!




Phil Miller

cgs@umd5.umd.edu (Chris Sylvain) (08/31/88)

In article <16823@vax5.CCS.CORNELL.EDU> sc2y@vax5.ccs.cornell.edu () writes:
>In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
]]
]]  Howdy.  I am looking for a book that shows all of the interupt codes
]]for the PC.  I want stuff like what interrupts do what, what has to be in
]]the registers for things to happen, etc.
]
]Ray Duncan, _Inside MS-DOS_  (Microsoft, 1987)

Allen L. Wyatt, _Using Assembly Language_ (QUE Corporation, 1987)

 -- like the Peter Norton book, only without examples in BASIC
-- 
--==---==---==--
.. the Jabberwock, with eyes of flame, ..
   ARPA: cgs@umd5.UMD.EDU     BITNET: cgs%umd5@umd2
   UUCP: ..!uunet!umd5.umd.edu!cgs

sullivan@marge.math.binghamton.edu (fred sullivan) (08/31/88)

In article <1140@agora.UUCP> john@agora.UUCP (John Cavanaugh) writes:
>
>  Howdy.  I am looking for a book that shows all of the interupt codes
>for the PC.  I want stuff like what interrupts do what, what has to be in
>the registers for things to happen, etc.
>
I looked at a number of books, and decided that by far the best is DOS
Programmer's Reference by Terry Dettmann, published by Que, ISBN
0-88022-327-8.  I think it's the only one that tells you about "undocumented"
interrupts.  It's not perfect though: it fails to explain how to truncate
a file.

This book is much better than the one from Microsoft Press.  It describes
DOS and BIOS interrupts, and tells you about directory structures and such
things.  It's $22.95.  (They are within a dollar of this price.)  Examples
are in assembly or C.  It's about 800 pages, and the information density is
high.  It can't be hard to find -- I bought mine at a bookstore in a mall.

Fred Sullivan				SUNY at Binghamton
Dept. Math. Sciences			Binghamton, NY 13903
					sullivan@marge.math.binghamton.edu
First you make a roux!