🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8694

Re: ms-dos int 11

#8694
From: brown
Date: Mon, 03 Nov 1986 17:10
29 lines
1669 bytes
In article <1038@whuts.UUCP> 2212msr@whuts.UUCP (ROBIN) writes:
>I'm new to writing assembly lang. programs on ms-dos machine and was wondering
>if someone could answer a question.  Int 11 is supposed to return the
>equipment configuration in the AX register.  However I can not seem to get
>anything into this register.  When I write a 2 line debug routine as folllows:
>-a100
>-int 11
>-int 20
>and then look at the registers, AX is 0000.  Can someone give me some
>indication of what I'm dong wrong?
>
>I should mention that this program is being written on an IBM PC/AT, but it
>doesn't work on an AT&T 6300 or 6300+ either.

My first guess is that the int 20 is messing up the AX register.  I suggest
that you use the debug GO option and break your little thing so that debug
will stop on the next address after the int 11.  Debug will then display
the contents of all the registers.

But, do you know what the AX register will be returning?  The information
is bit encoded.

I hope this helps a little bit.
-- 
		  ihnp4------\
		harvard-\     \
Mr. Video	   seismo!uwvax!nicmad!brown
		  topaz-/     /
		 decvax------/
Technical Details
Message-ID: <1297@nicmad.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!astroatc!nicmad!brown
References: <1038@whuts.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!astroatc!nicmad!brown
From: brown@nicmad.UUCP
Newsgroups: net.micro.pc
Subject: Re: ms-dos int 11
Message-ID: <1297@nicmad.UUCP>
Date: Mon, 3-Nov-86 12:10:15 EST
Article-I.D.: nicmad.1297
Posted: Mon Nov  3 12:10:15 1986
Date-Received: Tue, 4-Nov-86 05:20:32 EST
References: <1038@whuts.UUCP>
Reply-To: brown@nicmad.UUCP (Mr. Video)
Distribution: net
Organization: Nicolet Instrument Corp. Madison WI
Lines: 29