[][src]Constant rubidium::BG2_REF_POINT

pub const BG2_REF_POINT: WriteOnlyVolAddr<[i32; 2]>;

"Background 2 Reference Point" (Affine/Bitmap mode only).

Given in [x, y].

Each coordinate is a signed fixed-point value:

  • 8 fraction bits
  • 19 integer bits
  • sign bit

This adds up to less than 32 bits used, but you can just write a normal i32 value and it'll ignore the high bits and "wrap" into the correct range.