move IO defs from preprocessor to vars
fix double include
fix build problems for USB resident driver
fix ROM entry point