We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I use one 82c55. I can define as follow: #define D8255A XBYTE[0xeffc] #define D8255B XBYTE[0xeffd] #define D8255C XBYTE[0xeffe] #define C8255 XBYTE[0xefff] Now I need to use two chips of 82c55. And how can I to define their address? Thank U~
"how can I to define their address?"
The address is defined by your hardware - it has absolutely nothing to do with the software tools!
The software simply needs to use whatever addresses have been allocated by the hardware!
BTW: You might want to consider using _at_ to create proper variables, rather than the XBYTE macros...