M68k generator big update

write, fixes, optable