## Graphics Adapter Device Driver Reference

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

### OUTx Commands

OUTx commands perform an I/O output from the source into the destination. Width can be byte, word, or doubleword. The syntax is as follows:

    OUTB( destination, source);
    OUTW( destination, source);
    OUTDW( destination, source);

    <destination>  ::= <pio variable>  |  <constant>
    <source>  ::= {<constant>  |  <register>}

For example:

    outb(seq_address,r1);              //seq_address must have been declared.
    outw(0x3c4,0x5520);