Page 1 of 1

int 11h

Posted: Sat Jun 08, 2002 5:33 pm
by unknown user
how do you use asm int 11h? my book says it "returns a word showing all peripherals attached to the system" but i'm not sure what the word looks like or what register it is or how to make any sense out of it.

Re:int 11h

Posted: Sat Jun 08, 2002 7:48 pm
by DynatOS
INT 0x11 ;Returns Equipment Values in AX

Breakdown of AX after the return:
Bit: Value:
--------------------------------
0 diskette installed
1 8087 (Math Co-Processor) present
2-3 always = 11
4-5 initial video mode
01 = 40x25 COLOR
10 = 80x25 COLOR
11 = 80X25 IBM monochrome
6-7 number of diskette drives (only if bit 0 = 1)
00 = 1
01 = 2
8 0 = dma present, 1= no dma on system
9-11 number of RS232 cards
12 game I/O attached
13 serial printer installed (IBM-PCjr)
14-15 number of printers installed

Re:int 11h

Posted: Sat Jun 08, 2002 8:52 pm
by unknown user
thanks