Migrated segdefs.h and transdefs.h
Migrated runtime_init.c.
Removed CR-LF from runtime.c.
Migrated runtime.go. Also made the flags variables in runtime_init.go bool instead of int.
runtime_init.h contained just a declaration for init_monitor() and is thus no longer needed. Removed.
Got rid of some leftover #include lines in runtime.go; also removed stat.h as it is no longer needed (its functions are provided by package os on all systems).
Removed readdir.c and readdir.h, as their functions are provided by package os on all systems.
runtime.h contained just the declaration for handle_monitor, which is no longer needed. Removed.
Migrated plugin.c. Removed plugin.h as it only held function declarations.
Migrated perfect6502.c. I'll keep perfect6502.h for now since it has the public interface to the actual simulation code and I'd like to refer to that when I turn this into a library.
Migrated glue.h, which contained several macros and declarations (the macros were converted to either functions or constants; the declarations were removed).
Converted console.h into a dummy console.go for now.
Migrated cbmbasic.c. I think we're ready to build...
Fixed syntax errors. Now for the other errors...
Fixed most other errors. Now to define fatalf...
Added fatalf(). Now to fix the last few errors!
Fixed other errors. Still not all there...
Moved .c files to a c/ folder so as to not confuse the go tool into thinking these files should be built with cgo. Are we done yet?
Yes! It works! Updated the README and here we go!