4 if (flags&FLAGS_READMODIFY)
8 if (flags&FLAGS_TRANSPARENT)
12 c=jaguar_byte_read(ptr++);
17 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[(cl<<1)+0]);
18 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[(cl<<1)+1]);
21 current_line_buffer-=2;
24 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[(ch<<1)+0]);
25 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[(ch<<1)+1]);
28 current_line_buffer-=2;
30 if (count==8) // 8 bytes = a phrase (64 bits)
42 c=jaguar_byte_read(ptr++);
45 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[(cl<<1)+0]);
46 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[(cl<<1)+1]);
47 *current_line_buffer--=BLEND_Y(*current_line_buffer,paletteRam[(ch<<1)+0]);
48 *current_line_buffer--=BLEND_CC(*current_line_buffer,paletteRam[(ch<<1)+1]);
50 if (count==8) // 8 bytes = a phrase (64 bits)
61 if (flags&FLAGS_TRANSPARENT)
65 c=jaguar_byte_read(ptr++);
70 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[(cl<<1)+0]);
71 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[(cl<<1)+1]);
74 current_line_buffer+=2;
77 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[(ch<<1)+0]);
78 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[(ch<<1)+1]);
81 current_line_buffer+=2;
83 if (count==8) // 8 bytes = a phrase (64 bits)
95 c=jaguar_byte_read(ptr++);
98 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[(cl<<1)+0]);
99 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[(cl<<1)+1]);
100 *current_line_buffer++=BLEND_Y(*current_line_buffer,paletteRam[(ch<<1)+0]);
101 *current_line_buffer++=BLEND_CC(*current_line_buffer,paletteRam[(ch<<1)+1]);
104 if (count==8) // 8 bytes = a phrase (64 bits)
115 if (flags&FLAGS_HFLIP)
117 if (flags&FLAGS_TRANSPARENT)
121 c=jaguar_byte_read(ptr++);
126 *current_line_buffer--=paletteRam[(cl<<1)+0];
127 *current_line_buffer--=paletteRam[(cl<<1)+1];
130 current_line_buffer-=2;
133 *current_line_buffer--=paletteRam[(ch<<1)+0];
134 *current_line_buffer--=paletteRam[(ch<<1)+1];
137 current_line_buffer-=2;
139 if (count==8) // 8 bytes = a phrase (64 bits)
151 c=jaguar_byte_read(ptr++);
154 *current_line_buffer--=paletteRam[(cl<<1)+0];
155 *current_line_buffer--=paletteRam[(cl<<1)+1];
156 *current_line_buffer--=paletteRam[(ch<<1)+0];
157 *current_line_buffer--=paletteRam[(ch<<1)+1];
159 if (count==8) // 8 bytes = a phrase (64 bits)
170 if (flags&FLAGS_TRANSPARENT)
174 c=jaguar_byte_read(ptr++);
179 *current_line_buffer++=paletteRam[(cl<<1)+0];
180 *current_line_buffer++=paletteRam[(cl<<1)+1];
183 current_line_buffer+=2;
186 *current_line_buffer++=paletteRam[(ch<<1)+0];
187 *current_line_buffer++=paletteRam[(ch<<1)+1];
190 current_line_buffer+=2;
192 if (count==8) // 8 bytes = a phrase (64 bits)
204 c=jaguar_byte_read(ptr++);
207 *current_line_buffer++=paletteRam[(cl<<1)+0];
208 *current_line_buffer++=paletteRam[(cl<<1)+1];
209 *current_line_buffer++=paletteRam[(ch<<1)+0];
210 *current_line_buffer++=paletteRam[(ch<<1)+1];
212 if (count==8) // 8 bytes = a phrase (64 bits)