AS1130 First attempt - working

Well...I wish you good luck with that!

As this is the Arduino Forum I doubt you'll get much help with porting code.
If it was from another compiler to the Arduino platform you would get loads of help.
I have shown you some of the things that you can do with the AS1130 and will continue to write code for it until I get fed up or move on to another interesting project but you can't expect me or anyone else to try to help you with coding using a compiler/language/chip that has nothing to do with the Arduino. (not on this Forum anyway)

If I were you, I'd get an Arduino....problem solved.

Otherwise, I don't see that you can progress much further in this Forum and I'm not aware of any help forums for your compiler.