Mode-x hardware scrolling and split screens. allegro game programming library.
#include <allegro.h>
Example exscroll
This program demonstrates how to use hardware scrolling. The scrolling should work on anything that supports virtual screens larger than the physical screen.
BITMAP(3alleg4), END_OF_MAIN(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), clear_keybuf(3alleg4), create_sub_bitmap(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), install_keyboard(3alleg4), keypressed(3alleg4), rectfill(3alleg4), release_bitmap(3alleg4), screen(3alleg4), scroll_screen(3alleg4), set_color(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), vline(3alleg4)