Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 11h
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   11h
 
  Title:       Get Equipment Configuration
 
  See also:    Configuration Data Memory
 
  Description:                                          [PC] [AT] [PS/2]
 
     Obtains the equipment list code word from the ROM BIOS. Bits 2-3
     of the returned value are used only in the ROM BIOS for the
     original IBM PC with the 64K system board and on the PCjr.
 
     Input       Output
 
     None        AX = Equipment list code word
 
                 Bits      Significance
 
                 14-15     Number of printers installed
                 13        = 1 (if internal modem installed
                             (PC and XT only))
                           = 1 (if serial printer attached (PCjr))
                 12        = 1 (if game adapter installed)
                 9-11      Number of RS-232 ports installed
                 8         Reserved
                 6-7       Number of floppy disk drives
                           (if bit 0 = 1)
                           00 = 1
                           01 = 2
                           10 = 3
                           11 = 4
                 4-5       Initial video mode
                           00  reserved
                           01  40-by-25 color text
                           10  80-by-25 color text
                           11  80-by-25 monochrome
                 2-3       System board RAM size (PC)
                           00 = 16K
                           01 = 32K
                           10 = 48K
                           11 = 64K
                 2         = 1 (if pointing device installed (PS/2))
                 1         = 1 (if math coprocessor installed)
                 0         = 1 (if floppy disk drive(s) installed)
                                    -♦-