Does anyone know where I can find the parameters and mathematical formulas for the G-code commands if I want to program a G-code interpreter from scratch.
Been using Google but can't find anything that explains it or gives a simple list over them.
I have a idea for a project where I want to control a CNC machine with an old BASIC computer (Commodore 64 for example) and libraries wont help me to much. why? I like old computers and it's fun to try it.
A base line reference for the language is easily found at Wikipedia: https://en.wikipedia.org/wiki/G-code.
This doesn't describe how to implement these commands, but it sounds like you want to just generate them (surely you don't intend for the Commodore to read and execute G commands? It hasn't got the computational power to do it).