I've written my code and it working perfectly but I now have one problem.
When it starts it doesn't go into main. It goes into my screen splash code and shows a picture I don't want. How can I get it to show the picture at the right time.
This is really annoying because I have looked for a bug for more than 30 minutes but the code is perfect.
I cannot waste ant more time on this problem. I will post you the code. Can you check it urgently for me.
I fix it. Had to add xdata to some variables. Ian (the guru oracle) told me the keil corrupts memory if it has not got bigger memory and it eats something stacky. Why is his workaround for this bad bug is not good I think. Should not be needed.
Seems like we either have a troll in the thread, or someone who should spend some more time learning the chip. It isn't normally "the keil" that corrupts memory but programmers who doesn't know what they are doing. But it's always best to blame Keil.
Extra interesting is xdata attributes for variables in a forum thread about ARM - the xdata keyword is normally used with Keil's C51 compiler for 8051 chips.