Thread View: net.micro.pc
4 messages
4 total messages
Started by ROBIN
Fri, 31 Oct 1986 14:54
ms-dos int 11
Author: ROBIN
Date: Fri, 31 Oct 1986 14:54
Date: Fri, 31 Oct 1986 14:54
17 lines
1117 bytes
1117 bytes
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. Max S. Robin AT&T Bell Laboratories voice:201-386-6865 email:whuts!2212msr
Re: ms-dos int 11
Author: brown
Date: Mon, 03 Nov 1986 17:10
Date: Mon, 03 Nov 1986 17:10
29 lines
1669 bytes
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------/
Re: ms-dos int 11
Author: Robert Belanger
Date: Tue, 04 Nov 1986 17:50
Date: Tue, 04 Nov 1986 17:50
23 lines
1413 bytes
1413 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. > >Max S. Robin >AT&T Bell Laboratories >voice:201-386-6865 >email:whuts!2212msr -- Robert Belanger ...!philabs!micomvax!belanger
Re: ms-dos int 11
Author: Thomas Hjellming
Date: Tue, 04 Nov 1986 22:49
Date: Tue, 04 Nov 1986 22:49
16 lines
792 bytes
792 bytes
Try the following from DEBUG/SYMDEB
-a100
-int 11
-<cr>
-g 102 ; assumes that IP=100h!
Then look at the printed value in the AX register.
This should do it for you.
Tom Hjellming
Colorado Networks Division
Hewlett-Packard
...!hplabs!hpfcla!hpcnof!thj
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads