Added tons of stubs so VICE compiles and links

that stubs.c file need some love (and sorry for the mess)