Ian are you saying Hi Tech C already runs pretty much as s with XC8? My issue is I look at the libs to see how things are done, I then go and like you say do my own thing, normally by using the register name or bitfield name. Where I have run into trouble, is the documentation. The other problem is while learning, if I cant something to work, I use the lib in part. Then use the watch window and debug, that way I see what registers and bits need setting. Then I take the lib code out, and replace with my own.
The advantage it gave me was, I could read the datasheet and not always understand the language used, but once the code works, you can then watch the registers and go back into the datasheet and understand what they are saying. So I am not writing code to use the libs, I use them when I get stuck, so I can go peek at why I was stuck. Then I delete that function and replace with a often tweaked version, this has helped me understand what is sometimes a too technical babble datasheet. The babble makes sense doing it the way I was.
But if Hi Tech C is close to XC8 then I have a couple of books that will help. Dad got Mikro C when he first started, it got used once because you cant use the pk's to debug with it. Also to me its alot like flow code, it dosnt teach you anything, but if you just want to get things done without having to mess with code, then Mikro C I think is ace, I have never used it as such. But its what I think you once called a RDS. I dont want a RDS , I dont want to use libs, I use them to work back from so I can teach myself.
And that is the main problem, I am a kid trying to learn and there just isnt the resources geared up for that, no one teaches you how to get information from a datasheet. For example it took ages before I realized that in the oscon table in the datasheet, where it gives you bits called IRFC then tells you 001 000 111 etc etc for setting the speed of the internal osc, no where, no one said look that IRCF can be used, you can write in your code IRCF2=1 etc etc, that would have made a massive difference. 18 months after trying to learn, I came across that fact and I use bit field names alot in my code.
Small silly bits of info like that, make it much easier for someone with no idea easy to learn.
BUT my point was not that I want to use the libs, but a new person is lead to believe that you can use the examples given in the xc8 docs, and get it to work! you cant, not at the moment. Also they have used a doc format that means you cant cut and paste into code, all the formatting goes funny and words merge.
I will do some screen shots later.
thank you for the information guy's, it helps. Its real hard learning without books and without someone sitting there with you. Frustration makes you give up in the end.