---
name: "ggiSetSplitline"
section: "3ggi"
platform: "linux"
package: "libggimisc2-dev"
version: "2.0.2-1.2"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/ggiSetSplitline/3ggi"
---

# ggiSetSplitline(3ggi)

Set the hardware split line feature

## NAME

ggiSetSplitline - Set the hardware split line feature

## SYNOPSIS

**#include \<ggi/misc.h\>**

**int ggiSetSplitline(ggi\_visual\_t** *vis***,**  **int** *y***);** .SH "DESCRIPTION"

Original VGA adaptors in order to be efficient when displaying  vertically scrolling scenery implemented a feature that, when  used in combination with the display origin, could cause the screen to wrap. This essentially means you can take the framebuffer and seamlessly join the top edge to the bottom edge, creating  a cylinder of data that you could scroll up or down without actually performing memory move operations. This functions sets the  *y* coordinate at which the screen wraps back.

## RETURN VALUE

0 for OK, otherwise an error code.
