pub fn limit_position(pos: i32) -> u16
LIMITPOS: a position above the maximum is the maximum.
LIMITPOS