7.1. Example One

The first example is a simple card, such as a parallel printer card, with a limited amount of configurability. This example card needs four consecutive I/O ports at a base address of 0x0378, 0x0278 or 0x03BC. This device also needs one interrupt that can be IRQ 5 or IRQ 7. The choice of IRQ is completely separate from the choice of I/O port. The resource data for this card would be:


     TAG Plug and Play Version Number
     TAG Identifier String
     TAG Logical Device ID
     TAG IRQ Format (MASK IRQ 5,IRQ7)
     TAG Start DF (Length 0)
          TAG I/O Format (Length 4, Min Base 0x0378, Max Base 0x0378)
     TAG Start DF (Length 0)
          TAG I/O Format (Length 4, Min Base 0x0278, Max Base 0x0278)
     TAG Start DF (Length 0)
          TAG I/O Format (Length 4, Min Base 0x03BC, Max Base 0x03BC)
     TAG End DF
     TAG END Tag