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