[net.micro.pc] What do the "reserved" PC-DOS INTs do?

jm@tekadg.UUCP (Jeff Mizener) (10/16/84)

][

I've obtained a copy of the DOS 2.1 Technical Reference Manual from my
local IBM dealer, and it tells me what the non-reserved INTs do.
Fine.  Now what do the reserved INTs do?  Like INT 10?  This one I
know -- pass it 0Fh in AH, and it returns the number of columns in the
current display in AH.  That one I found out by disassembling MORE.COM.
But whatif I pass it a 0Ch?

I've gotten to the point of asking this by trying to patch MORE.COM
(DOS 2.1 and ?) to behave like it does on UNIX.  The PC Tech Journal
has a patch to remove the need for the "<" (Oct 84, p. 148), and
I want to eliminate some of the other dissimilarities.  

Why?  As an intellectual exercise.  I last did assembly language programming
my sophomore year ('76).  Humor me.  I normally do analog hardware.

Respectfully Submitted,

	Jeff Mizener / Tektronix Portables ADG / Beaverton OR

{ucbvax,decvax,purdue,uw-beaver,hplabs,allegra,ihnp4,ogcvax}!tektronix!tekadg!jm
ARPA:	tekadg!jm.tek@udel-relay 	CSnet:	tekadg!jm@tek

"It don't mean a thing if it ain't got that swing" -- Duke Ellington

jsoc@lasspvax.UUCP (John Socha) (11/27/84)

In article <> jm@tekadg.UUCP (Jeff Mizener) writes:
>
> ...what do the reserved INTs do?  Like INT 10?  This one I
>know -- pass it 0Fh in AH, and it returns the number of columns in the
>current display in AH.

INT 10H is one of the ROM BIOS interrupts that's quite useful.  You'll
find a full description at the end of the IBM Technical Reference
manual (not to be confused with the DOS Tech. Ref. man.).  Amoung other
functions, these routines write characters to the screen, move the cursor,
and scroll windows.  So they're worth learning about.  The IBM Tech. Ref.
manual contains full listings of all the machine language programs in the
ROM BIOS, and that's worth the price of the Tech. Ref. manual.

Or, and this is a biased add, you can check page 196 of Assembly Language
Safari on the IBM PC: First Explorations, a book from Brady (part of
Prentice Hall).  You'll also find lots of information on how to use the
ROM BIOS calls for screen I/O.  (I'm biased because I'm the author.)

	John Socha
	----------