About the port bytes of interrupt controller 8259A?

< H2 > 8259A Programmable interrupt Controller Port problem < / H2 >
ICW4

and

OCW3

A total of 56 bytes need to be written,

and its port is only

0x20,0x21

0xa0,0xa1

four ports, these ports are also one byte, how to write these 56 bytes into these four ports?

Aug.11,2021

look at the document carefully, there are strict sequence requirements on the operation, you can do two addresses to operate multiple command words, such as writing odd addresses, you can write ICW2,ICW3,ICW4,OCW sequentially also has strict address and data bit requirements, according to the document requirements to write parity two addresses, the chip can identify what command words you are sending. The four ports are two cascaded, and an 8259A has only one address line, that is, two ports.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be1e7c-315bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be1e7c-315bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?