This was taken from the PIIX4 manual, and thus doesn't have all the legacy crap (relative to "modern" ISA PICs, anyway), so if you have a real i8259 manual, fill in some more bits.