load_background

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

load_background(char *gfx, int *pal, int *bat, char width, char height);

     This function is an all-in-one function, it is used
     to display a whole background image on the screen, like
     a game title image. It will load BG character data,
     it will load the palette, and finaly if will load the BAT.
     Use it with directives #incchr, #incpal and #incbat
     to manage the different type of data. The BG character
     data will be stored at address 0x1000 to 0x5000 in video
     memory.
Personal tools