ibm PCjr — 2-016

8259A Programming Considerations The 8259A is set up with the following characteristics: • Buffered Mode • 8086 Mode • Edge Triggered Mode • Single Mode Master (No Cascading is Allowed) The 8259A I/O is located at I/O address hex 20 and hex 21. The 8259A is set up to issue interrupt types hex 8 to hex F which use pointers to point to memory address hex 20 to hex 3F. The following figure is an example setup.

0263 BO 13 MaY AL,13H ; ICW I - Reset edge sense circuit set single ; 8259 Chip and ICW4 read 0265 E6 20 OUT INTAOO,AL 0267 B008 MaY AL,8 ; ICW2 - Set interrupt type 8 (8-F) 0269 E6 21 OUT INTAOI,AL 026B B009 MaY AL,9 ; ICW4 - Set buffered model master and 8086 mode 0260 E6 21 OUT INTAOI,AL Example Set Up 2-16 Interrupt Controller