bmp_read_line man page
bmp_read_line — Direct access bank switching line selection for reading. Allegro game programming library.
unsigned long bmp_read_line(BITMAP *bmp, int line);
Selects the line of a bitmap that you are going to read from.
Returns the address of the selected line for reading.