Adding BG/OBJ affine setting SWI code