## Graphics Adapter Device Driver Reference

[prev][next][parent][TOC]

### [Declarations]

This section is a list of port mnemonics defined by their offsets. Use MMIO for those whose offset is relative to MemoryIOAddress and PIO for those whose offset is relative to the PortIOAddress field in the Hardware section . Addresses for the ports that are referenced by their mnemonics are resolved at the time of the mode sets, using the MemoryIOAddress and/or PortIOAddress hardware values. These values can be changed at run time to allow for dynamic reconfiguration.

Here is a sample .PMI file for a Viper VLB card:

    sysconfig   = MMIO{0x00100004}
    interrupt_en= MMIO{0x0010000c}
    x0y0        = MMIO{0x00181018}
    x1y1        = MMIO{0x00181028}
    x2y2        = MMIO{0x00181048}
    x3y3        = MMIO{0x00181068}
    cindex      = MMIO{0x0018018c}
    w_off.xy    = MMIO{0x00180190}
    fground     = MMIO{0x00180200}
    bground     = MMIO{0x00180204}
    pmask       = MMIO{0x00180208}
    draw_mode   = MMIO{0x0018020c}
    pat_originx = MMIO{0x00180210}
    pat_originy = MMIO{0x00180214}
    raster      = MMIO{0x00180218}
    pixel8_reg  = MMIO{0x0018021c}
    w_min       = MMIO{0x00180220}
    w_max       = MMIO{0x00180224}
    pattern0    = MMIO{0x00180280}
    pattern2    = MMIO{0x00180284}
    pattern4    = MMIO{0x00180288}
    pattern6    = MMIO{0x0018028c}
    pattern8    = MMIO{0x00180290}
    patternA    = MMIO{0x00180294}
    patternC    = MMIO{0x00180298}
    patternE    = MMIO{0x0018029c}