Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BIOS ref. - <b>0040h:0010h equipment list</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
0040h:0010h           Equipment List

    Length: 2 bytes

    Contains a list of the hardware installed on the system.

    ------------------------------------------------------------------

    Equipment List

    FEDCBA98  76543210
    xx......  ........  Number of printers installed
    ..x.....  ........  Internal modem installed
    ...x....  ........  Game adapter installed (always 1 on PCJr)
    ....xxx.  ........  Number of RS-232 ports
    .......x  ........  Reserved
    ........  xx......  Number of diskettes - 1 (0=1 diskette)
    ........  ..xx....  Initial video mode
                        00   Reserved
                        01   40 x 25 Color
                        10   80 x 25 Color
                        11   80 x 25 Monochrome
    ........  ....xx..  Reserved
    ........  ......x.  Math coprocessor installed
    ........  .......x  1=diskettes present, 0=no diskettes

    ------------------------------------------------------------------

    Use Int 11h to access the equipment information via the ROM BIOS
    interface.

    The equipment list is initialized during the power- up test
    (POST).

    For the IBM PC, XT, and PCjr, bits 2 and 3 lists the amount of RAM
    installed on the system board in increments of 16K. For example,
    00 means 16K, while 11 means 64K.

    Bit 2 on the XT-286 reports whether or not a pointing device is
    installed.

    Bit 0 indicates only whether the system has one or more diskette
    drives. Refer to bits 6 and 7 to find out how many diskettes are
    actually present. To determine the number of hard disks installed,
    use Int 13h, Function 8.

    If the DIP switches for PCs and XTs are not set correctly
    reflecting the presence of a math coprocessor, then bit 1 (math
    coprocessor present) may be incorrect. A better test for the math
    coprocessor would be to test it directly by executing a math
    coprocessor instruction and then checking to see if the
    instruction was executed.

See Also: Int 11h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson