> It would be great if somebody could give me some hints here. Look at m32c - it does all this by default.