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

Addressing 8255

Hi,

I have a Philips RD2 board with a memory mapped 8255 with ports A at 8000H, B at 8001H, C at 8002H and a control port at 8003H.

How do I set up my defines so that I can just refer to these memory mapped ports as PORTA, CTRLPRT etc. in a C program?

Muz

Parents
  • By the way Erik, you are not the oldest timer here
    well, since I do not know your age, and you do not know mine I can't argue the point. However, we both, evidently, have ages of experience.
    When I went to college the main electronic component was somewthing called 'tubes' or 'valves' and after collegte I was involved with making the first transistor radio made in Denmark.

    Erik

Reply
  • By the way Erik, you are not the oldest timer here
    well, since I do not know your age, and you do not know mine I can't argue the point. However, we both, evidently, have ages of experience.
    When I went to college the main electronic component was somewthing called 'tubes' or 'valves' and after collegte I was involved with making the first transistor radio made in Denmark.

    Erik

Children
No data