m68000: implement TAS callback (currently only used by megadrive) in a more sensible and versatile way [Alex Jackson]