3 paletteRam+=(idx&0x01)*256*2;
4 if (flags&FLAGS_READMODIFY)
10 c=jaguar_byte_read(ptr++);
12 if (flags&FLAGS_TRANSPARENT)
16 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[c+0]);
17 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[c+1]);
20 current_line_buffer-=2;
24 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[c+0]);
25 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[c+1]);
28 if (count==8) // 8 bytes = a phrase (64 bits)
40 c=jaguar_byte_read(ptr++);
42 if (flags&FLAGS_TRANSPARENT)
46 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[c+0]);
47 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[c+1]);
50 current_line_buffer+=2;
54 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[c+0]);
55 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[c+1]);
58 if (count==8) // 8 bytes = a phrase (64 bits)
69 if (flags&FLAGS_HFLIP)
73 c=jaguar_byte_read(ptr++);
75 if (flags&FLAGS_TRANSPARENT)
79 *current_line_buffer--=paletteRam[c+0];
80 *current_line_buffer--=paletteRam[c+1];
83 current_line_buffer-=2;
87 *current_line_buffer--=paletteRam[c+0];
88 *current_line_buffer--=paletteRam[c+1];
91 if (count==8) // 8 bytes = a phrase (64 bits)
103 c=jaguar_byte_read(ptr++);
105 if (flags&FLAGS_TRANSPARENT)
109 *current_line_buffer++=paletteRam[c+0];
110 *current_line_buffer++=paletteRam[c+1];
113 current_line_buffer+=2;
117 *current_line_buffer++=paletteRam[c+0];
118 *current_line_buffer++=paletteRam[c+1];
121 if (count==8) // 8 bytes = a phrase (64 bits)