|
Your initialization program is incomplete. The initialization always starts from ICW1, followed by ICW2, and then the last command word (if needed).
Therefore, the port value has been sent to DX when ICW2 is defined, and ICW2, ICW3 and ICW4 have the same port address, so there is no need to write a value to DX. Whether ICW2 is followed by ICW3 or ICW4 or both, it depends on your ICW1 situation. Take your example, ICW1 is 11H, which means that both ICW3 and ICW4 are required, so you need to send the value to port 0FFE9H three times in a row. , 8259 will be received as ICW2, ICW3, ICW4 |
|