This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to program when i need two 82c55

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...