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
when the 8255 was 'standard', every darn thing you made had to be 'tuned' except, of course, those with the psd chips instead. I believe I still have scars from touching the original 'steam driven' '51s oh how Impressed I was about their screaming 8 MHz performance. ICEs were complicated, the '51s were dynamic and could not be stopped without 'losing their mind'. Oh, you young whippersnappers, you have an easy life.
These days, with modern devices, I am almost in the opposite ditch, things work so seamlessly that I almost get surprised when checking timings show anything but "this will work with a wide tolerance".
Erik