6 extern uint16_t lifebg_data[], lifebg_data_end[];
7 extern unsigned char lifebg_cmap[], lifebg_cmap_end[];
8 extern uint16_t lifebg_tmap[], lifebg_tmap_end[];
16 vdp_setup_addr(VDP_VRAM, 0);
17 while(src < lifebg_data_end) {
30 vdp_setup_addr(VDP_VRAM, 0xd000); /* nametable B */
31 while(src < lifebg_tmap_end) {
32 VDP_DATA = VDP_TILENAME(*src++, 2, 0);
38 vdp_setcolor(2, i, cptr[0] >> 4, cptr[1] >> 4, cptr[2] >> 4);