Castling short with the king on b1/b8 in 960 is indeed the longest the king can move in something legal.
Of course, if we do some garbage-in-garbage-out stuff with castling flags, we fool the GUI into doing longer:
:)
Of course, if we do some garbage-in-garbage-out stuff with castling flags, we fool the GUI into doing longer:
:)