Keep working on it and don't give up. You'll get there. And you'll be surprised how fast you learn if you keep at it.
There are a lot of tutorial type sites on the internet. Visit them and try them out. Download the source for the emulator (and keep it up to date). It isn't a good example of "ideal" code, but its a great example of real world code that gets maintained and changed constantly. Check out changes other people post. Look at the code and try to figure it out. Be curious.
Don't get discouraged if you don't get it right away. I like to describe it as like jumping into the deep end of a pool... you are in over your head. Thinking you will never make it up to the air... then, finally you take that deep breath and go "wow! I'm going to do THAT again"
