can use def/use same as 6809 even though *most* flag setting is only done before using the flags - there are still some where flags are set and not used, eg add hl,bc do the flag calculation first and then then addition, rather than mixing them, so the flag part can be removed if need be (esp for HL += BC. Use HL+BC instead of 'i') set the individual 'def' flag bits in the statement even though all bits are set at once with a table lookup later may be able to only dump needed flag bits, or even better the actual comparison and not use flag bits at all get the ini file code out of 6809 sbt for comments and commentline memmove optimisation - no, use memcpy as long as behaviour when overlapping is the same sound output and button/joystick input to be handled. may not need to do anything special for video ram