Obtains the equipment list code word from the ROM BIOS.
Call with:
Nothing
Returns:
AX = equipment list code word
Bit(s) Significance
0 = 1 if floppy disk drive(s) installed
1 = 1 if math coprocessor installed
2 = 1 if pointing device installed (PS/2)
2—3 system board ram size (PC, see Note)
00 = 16 KB
01 = 32 KB
10 = 48 KB
11 = 64 KB
4—5 initial video mode
00 reserved
01 40-by-25 color text
10 80-by-25 color text
11 80-by-25 monochrome
6—7 number of floppy disk drives (if bit 0 =
1)
00 = 1
01 = 2
10 = 3
11 = 4
8 reserved
9—11 number of RS-232 ports installed
12 = 1 if game adapter installed
13 = 1 if internal modem installed (PC and XT
only)
= 1 if serial printer attached (PCjr)
14—15 number of printers installed
Note:
Bits 2—3 of the returned value are used only in the ROM BIOS for the original IBM PC with the 64 KB system board and on the PCjr.