static struct rgabuf rga_pipe[RGA_SLOT_TOTAL + 1];
struct denise_rga rga_denise[DENISE_RGA_SLOT_TOTAL];
static struct linestate *current_line_state;
-static struct linestate lines[MAX_SCANDOUBLED_LINES][2];
+static struct linestate lines[MAX_SCANDOUBLED_LINES + 1][2];
static int rga_denise_cycle, rga_denise_cycle_start, rga_denise_cycle_count;
static int rga_denise_cycle_line = 1;
static struct pipeline_reg preg;
static struct pipeline_func pfunc[MAX_PIPELINE_REG];
-static uae_u16 prev_strobe;
+static uae_u16 prev_strobe, strobe_fast;
static uae_u32 custom_state_flags;
static int not_safe_mode;
static bool dmal_next;
static int fast_lines_cnt;
static bool lineoptimizations_draw_always;
-static uae_u32 scandoubled_bpl_ptr[MAX_SCANDOUBLED_LINES][2][MAX_PLANES];
+static uae_u32 scandoubled_bpl_ptr[MAX_SCANDOUBLED_LINES + 1][2][MAX_PLANES];
static bool scandoubled_bpl_ena[MAX_SCANDOUBLED_LINES + 1];
static evt_t blitter_dma_change_cycle, copper_dma_change_cycle, sprite_dma_change_cycle_on, sprite_dma_change_cycle_off;
int current_linear_vpos, current_linear_hpos;
static int current_linear_vpos_temp, current_linear_hpos_temp;
static int current_linear_temp_change;
+static bool display_redraw;
static int display_hstart_cyclewait, display_hstart_cyclewait_cnt, display_hstart_cyclewait_end;
static int display_hstart_cyclewait_skip, display_hstart_cyclewait_skip2;
static bool display_hstart_cyclewait_start;
static int agnus_trigger_cck;
static int linear_vpos_changes;
static enum nln_how nextline_how;
-static int lof_changed = 0, lof_changing = 0;
static bool prevlofs[3];
static bool vsync_rendered, frame_rendered, frame_shown;
static frame_time_t vsynctimeperline;
changed_prefs.chipset_refreshrate = currprefs.chipset_refreshrate = vblank_hz;
}
stored_chipset_refresh = cr;
- lof_changing = 0;
vb->inxoffset = -1;
vb->inyoffset = -1;
updateextblk();
#if 1
if (lof_store != ((v & 0x8000) ? 1 : 0)) {
lof_store = (v & 0x8000) ? 1 : 0;
- lof_changing = lof_store ? 1 : -1;
}
#endif
// LOL is always reset when VPOSW is written to.
if (!vsync_rendered) {
frame_time_t start, end;
start = read_processor_time();
- vsync_handle_redraw(lof_store, lof_changed, bplcon0, bplcon3, isvsync_chipset() >= 0, initial_frame);
+ vsync_handle_redraw(lof_store, bplcon0, bplcon3, isvsync_chipset() >= 0, initial_frame);
initial_frame = false;
vsync_rendered = true;
end = read_processor_time();
{
if (!vsync_display_rendered) {
vsyncmintimepre = read_processor_time();
+
+ if (!custom_disabled) {
+ draw_denise_vsync_queue(display_redraw);
+ display_redraw = false;
+ }
+ draw_denise_line_queue_flush();
+
if (has_draw_denise()) {
end_draw_denise();
}
if (linear_hpos_prev[2] == linear_hpos_prev[0] || linear_hpos_prev[1] == linear_hpos_prev[0]) {
int hp = linear_hpos_prev[0] > linear_hpos_prev[2] ? linear_hpos_prev[0] : linear_hpos_prev[2];
int vp = linear_vpos_prev[0] > linear_vpos_prev[2] ? linear_vpos_prev[0] : linear_vpos_prev[2];
- if (abs(hp - current_linear_hpos_temp) > 1 || abs(vp - current_linear_vpos_temp) > 1) {
+ int ydiff = (prevlofs[0] != prevlofs[1] && prevlofs[0] == prevlofs[2]) ? 2 : 1;
+ if (abs(hp - current_linear_hpos_temp) >= 2 || abs(vp - current_linear_vpos_temp) >= ydiff) {
current_linear_hpos_temp = hp;
current_linear_vpos_temp = vp;
current_linear_temp_change = 2;
init_beamcon0();
compute_framesync();
devices_syncchange();
+ display_redraw = true;
}
}
}
interlace_seen = is;
init_hz();
changed = true;
+ display_redraw = true;
} else if (nis) {
interlace_seen = 0;
init_hz();
}
if (vpos == vsync_startline + 1 && !maxvpos_display_vsync_next) {
inputdevice_read_msg(true);
- draw_denise_line_queue_flush();
vsync_display_render();
vsync_display_rendered = false;
if (currprefs.cs_hvcsync == 0) {
check_harddis();
init_hz_reset();
- lof_changing = 0;
audio_reset();
cop_state.strobe_next = COP_stop;
if (cycs - CYCLE_UNIT == last_rga_cycle) {
v = regs.chipset_latch_rw;
} else {
- v = 0xffff;
+ if (aga_mode) {
+ v = regs.chipset_latch_rw >> ((addr & 2) ? 0 : 16);
+ } else {
+ v = 0xffff;
+ }
}
#if 0
{
int type = 0;
- if (get_strobe_reg(0) != 0x3c) {
+ if (strobe_fast != 0x3c) {
type = LINETYPE_BLANK;
- } else {
- if (vdiwstate == diw_states::DIW_waiting_start || GET_PLANES(bplcon0) == 0 || !dmaen(DMA_BITPLANE)) {
- if ((bplcon0 & 1) && (bplcon3 & 0x20)) {
- type = LINETYPE_BLANK;
- } else {
- type = LINETYPE_BORDER;
- }
- } else if (ddfstop > ddfstrt && ddfstrt >= 0x14 && GET_RES_AGNUS(bplcon0) == GET_RES_DENISE(bplcon0) && dmaen(DMA_BITPLANE)) {
- type = LINETYPE_BPL;
- }
+ } else if (vdiwstate == diw_states::DIW_waiting_start || GET_PLANES(bplcon0) == 0 || !dmaen(DMA_BITPLANE)) {
+ type = LINETYPE_BORDER;
+ } else if (ddfstop > ddfstrt && ddfstrt >= 0x14 && GET_RES_AGNUS(bplcon0) == GET_RES_DENISE(bplcon0) && dmaen(DMA_BITPLANE)) {
+ type = LINETYPE_BPL;
}
return type;
}
if (l->hbstrt_offset < 0 || l->hbstop_offset < 0) {
return false;
}
- l->color0 = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0];
+ l->color0 = ((bplcon0 & 1) && (bplcon3 & 0x20)) ? 0 : (aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]);
int dvp = calculate_linetype(ldv);
draw_denise_border_line_fast_queue(dvp, nextline_how, l);
return true;
return false;
}
-
static void resetlinestate(void)
{
- if (linear_vpos >= MAX_SCANDOUBLED_LINES) {
+ int lvpos = linear_vpos + 1;
+ if (lvpos >= MAX_SCANDOUBLED_LINES) {
return;
}
- struct linestate *l = &lines[linear_vpos][lof_display];
+ struct linestate *l = &lines[lvpos][lof_display];
l->type = 0;
l->cnt = displayresetcnt - 1;
}
static void storelinestate(void)
{
- if (linear_vpos >= MAX_SCANDOUBLED_LINES) {
+ int lvpos = linear_vpos + 1;
+ if (lvpos >= MAX_SCANDOUBLED_LINES) {
return;
}
- struct linestate *l = &lines[linear_vpos][lof_display];
+ struct linestate *l = &lines[lvpos][lof_display];
l->type = getlinetype();
if (!l->type) {
l->ddfstop = ddfstop;
l->diwstrt = diwstrt;
l->diwstop = diwstop;
- l->color0 = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0];
+ l->color0 = ((bplcon0 & 1) && (bplcon3 & 0x20)) ? 0 : (aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]);
l->bplcon3 = bplcon3;
l->bplcon4 = bplcon4;
l->diwhigh = diwhigh;
l->fmode = fmode;
- l->ltsidx = -1;
if (l->type == LINETYPE_BPL) {
-#if 0
- if (!l->linedatastate) {
- l->linedatastate = xmalloc(uae_u8, MAX_STORED_BPL_DATA_BYTES + 256 * sizeof(uae_u32));
- }
- l->linecolorstate = l->linedatastate;
-#endif
int stop = !harddis_h && ddfstop > 0xd8 ? 0xd8 : ddfstop;
int len = ((stop - ddfstrt) + fetchunit - 1) / fetchunit + 1;
len = len * fetchunit / fetchstart;
if (len < MAX_STORED_BPL_DATA) {
len <<= fetchmode;
l->bpllen = len;
-#if 0
- uae_u8 *dpt = l->linedatastate;
- int planes = GET_PLANES(bplcon0);
- for (int i = 0; i < planes; i++) {
- uaecptr apt = bplpt[i];
-#if 0
- if (custom_fastmode_bplextendmask & (1 << i)) {
- apt += fetchmode_bytes + getbplmod(i);
- }
-#endif
- if (!valid_address(apt, len)) {
- l->type = 0;
- return;
- }
- uae_u8 *pt = get_real_address(apt);
- memcpy(dpt, pt, len);
- dpt += len;
- }
- int colors = getcolorcount(planes);
- l->colors = colors;
- l->linecolorstate = dpt;
- if (aga_mode) {
- memcpy(dpt, agnus_colors.color_regs_aga, colors * sizeof(uae_u32));
- } else {
- memcpy(dpt, agnus_colors.color_regs_ecs, colors * sizeof(uae_u16));
- }
-#endif
}
}
}
static bool checkprevfieldlinestateequal(void)
{
- if (linear_vpos >= MAX_SCANDOUBLED_LINES) {
+ int lvpos = linear_vpos + 1;
+ if (lvpos >= MAX_SCANDOUBLED_LINES + 1 || linear_display_vpos + 1 >= MAX_SCANDOUBLED_LINES) {
return false;
}
bool ret = false;
bool always = draw_always();
- struct linestate *l = &lines[linear_vpos][lof_display];
+ struct linestate *l = &lines[lvpos][lof_display];
int type = getlinetype();
if (type && type == l->type && displayresetcnt == l->cnt) {
- if (type == LINETYPE_BLANK && l->vb) {
+ if (type == LINETYPE_BLANK && strobe_fast != 0x3c) {
if (1) {
ret = true;
}
- } else if (type == LINETYPE_BORDER && !l->vb) {
+ } else if (type == LINETYPE_BORDER && strobe_fast == 0x3c && !l->blankedline) {
if (1) {
- uae_u32 c = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0];
+ uae_u32 c = ((bplcon0 & 1) && (bplcon3 & 0x20)) ? 0 : (aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]);
if (!always && c == l->color0) {
ret = true;
} else if (always || currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL) {
ret = draw_border_fast(l, linear_display_vpos + 1);
}
}
- } else if (type == LINETYPE_BPL && !l->vb) {
+ } else if (type == LINETYPE_BPL && strobe_fast == 0x3c && !l->blankedline) {
if (1) {
int r = checkprevfieldlinestateequalbpl(l);
if ((r && always) || (r && currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL)) {
// no match but same parameters: do quick BPL emulation
+ int planes = GET_PLANES(bplcon0);
storelinestate();
r = draw_line_fast(l, linear_display_vpos + 1, bplpt, true);
- if (doflickerfix_active() && scandoubled_bpl_ena[linear_vpos + 1]) {
- lof_display ^= 1;
- struct linestate *l2 = &lines[linear_vpos][lof_display];
- scandoubled_line = 1;
- uaecptr bplptx[MAX_PLANES];
- for (int i = 0; i < MAX_PLANES; i++) {
- bplptx[i] = scandoubled_bpl_ptr[linear_vpos][lof_display][i];
+ if (doflickerfix_active()) {
+ if (scandoubled_bpl_ena[lvpos]) {
+ lof_display ^= 1;
+ struct linestate *l2 = &lines[lvpos][lof_display];
+ scandoubled_line = 1;
+ uaecptr bplptx[MAX_PLANES];
+ bool skip = false;
+ for (int i = 0; i < planes; i++) {
+ bplptx[i] = scandoubled_bpl_ptr[lvpos][lof_display][i];
+ if (bplptx[i] == 0 || bplptx[i] == 0xffffffff) {
+ skip = true;
+ }
+ }
+ if (skip) {
+ draw_border_fast(l, linear_display_vpos + 2);
+ } else {
+ draw_line_fast(l2, linear_display_vpos + 2, bplptx, false);
+ }
+ scandoubled_line = 0;
+ lof_display ^= 1;
}
- draw_line_fast(l2, linear_display_vpos + 1, bplptx, false);
- scandoubled_line = 0;
- lof_display ^= 1;
}
}
ret = r > 0;
}
}
#endif
+ strobe_fast = get_strobe_reg(0);
int canline = can_fast_custom();
if (canline) {
calculate_linetype(linear_display_vpos + 1);
custom_trigger_start();
- int dvp = calculate_linetype(linear_display_vpos);
- denise_set_line(dvp);
-
check_vsyncs_fast();
if (eventtab[ev_sync].active) {
bool lol, lof;
uae_u16 strobe;
int strobe_pos;
+ int erase;
struct linestate *ls;
};
}
static void denise_handle_quick_strobe(uae_u16 strobe, int offset, int vpos);
+static void draw_denise_vsync(int);
static void update_overlapped_cycles(int endpos)
{
} else if (q->type == 4) {
denise_handle_quick_strobe(q->strobe, q->strobe_pos, q->vpos);
next = true;
+ } else if (q->type == 5) {
+ draw_denise_vsync(q->erase);
}
//evt_t t2 = read_processor_time();
return changed != 0;
}
-void vsync_handle_redraw(int long_field, int lof_changed, uae_u16 bplcon0p, uae_u16 bplcon3p, bool drawlines, bool initial)
+void vsync_handle_redraw(int long_field, uae_u16 bplcon0p, uae_u16 bplcon3p, bool drawlines, bool initial)
{
int monid = 0;
struct amigadisplay *ad = &adisplays[monid];
last_redraw_point++;
- if (lof_changed || interlace_seen <= 0 || (currprefs.gfx_iscanlines && interlace_seen > 0) || last_redraw_point >= 2 || long_field || doublescan < 0) {
+ if (interlace_seen <= 0 || (currprefs.gfx_iscanlines && interlace_seen > 0) || last_redraw_point >= 2 || long_field || doublescan < 0) {
last_redraw_point = 0;
if (!initial) {
}
draw_denise_line_queue_flush();
- denise_mark_last_line();
thread_debug_lock = false;
}
}
-static int prevline;
-static int prev_last_line;
-static int highestline;
-static bool prev_last_line_req;
-
-void denise_mark_last_line(void)
-{
- if (prev_last_line != prevline) {
- prev_last_line = prevline;
- prev_last_line_req = true;
- }
-}
-
-// set current line, used in fast mode emulation
-void denise_set_line(int gfx_ypos)
-{
- if (currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA) {
- gfx_ypos -= minfirstline_linear << currprefs.gfx_vresolution;
- }
- if (gfx_ypos < prevline) {
- prevline = gfx_ypos;
- }
-}
-
static void get_line(int gfx_ypos, enum nln_how how)
{
struct vidbuf_description *vidinfo = &adisplays[0].gfxvidinfo;
struct vidbuffer *vb = vidinfo->inbuffer;
+ int eraselines = 0;
+ int yadjust = currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA ? minfirstline_linear << currprefs.gfx_vresolution : 0;
xlinebuffer = NULL;
xlinebuffer2 = NULL;
return;
}
- if (gfx_ypos < prevline - 1) {
+ gfx_ypos -= yadjust;
- if (!denise_strlong_seen && strlong_emulation) {
- strlong_emulation = false;
- write_log("STRLONG strobe emulation deactivated.\n");
- select_lts();
- denise_lol_shift_enable = false;
- denise_lol_shift_prev = 0;
- }
- denise_strlong_seen = false;
-
- // clear remaining lines if mode height is now smaller than previously
- struct vidbuf_description *vidinfo = &adisplays[0].gfxvidinfo;
- if (prevline != highestline) {
- int l = prevline;
- while (l < highestline && l < vb->inheight) {
- uae_u8 *b = row_map[l];
- memset(b, 0, vb->inwidth * vb->pixbytes);
- l++;
- }
- highestline = prevline;
- }
- }
- if (gfx_ypos > prevline && gfx_ypos >= 0) {
- prevline = gfx_ypos;
- }
-
- if (currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA) {
- gfx_ypos -= minfirstline_linear << currprefs.gfx_vresolution;
+ if (how == nln_none) {
+ return;
}
- prevline = gfx_ypos >= 0 ? gfx_ypos : 0;
-
if (gfx_ypos >= 0 && gfx_ypos < vb->inheight) {
denise_y_end = gfx_ypos + 1;
xlinebuffer = row_map[gfx_ypos];
}
+static void draw_denise_vsync(int erase)
+{
+ struct vidbuf_description *vidinfo = &adisplays[0].gfxvidinfo;
+ struct vidbuffer *vb = vidinfo->inbuffer;
+
+ if (!denise_strlong_seen && strlong_emulation) {
+ strlong_emulation = false;
+ write_log("STRLONG strobe emulation deactivated.\n");
+ select_lts();
+ denise_lol_shift_enable = false;
+ denise_lol_shift_prev = 0;
+ }
+ denise_strlong_seen = false;
+
+ if (erase) {
+ // clear lines if mode height changed
+ struct vidbuf_description *vidinfo = &adisplays[0].gfxvidinfo;
+ int l = 0;
+ while (l < vb->inheight) {
+ uae_u8 *b = row_map[l];
+ memset(b, 0, vb->inwidth * vb->pixbytes);
+ l++;
+ }
+ }
+}
+
static void denise_draw_update(void)
{
if (denise_max_planes != denise_planes) {
internal_pixel_cnt = 0;
internal_pixel_start_cnt = 0;
- if (denise_pixtotal_max == -0x7fffffff || ((this_line->linear_vpos >= denise_vblank_extra_vbstop || this_line->linear_vpos < denise_vblank_extra_vbstrt) && currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA)) {
+ bool blankline = (this_line->linear_vpos >= denise_vblank_extra_vbstop || this_line->linear_vpos < denise_vblank_extra_vbstrt) && currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA;
+
+ if (denise_pixtotal_max == -0x7fffffff || blankline) {
// don't draw vertical blanking if not ultra extreme overscan
while (denise_cck < denise_total) {
- do_denise_cck(denise_linecnt, denise_startpos, denise_cck);
- if (aga_mode) {
- for (int h = 0; h < 2 ;h++) {
- denise_cycle_half = h;
- if (h) {
- denise_hcounter_next = denise_hcounter_new;
- }
- checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h);
- flush_null();
+ while (denise_cck < denise_total) {
+ do_denise_cck(denise_linecnt, denise_startpos, denise_cck);
+ if (lts_changed) {
+ break;
+ }
+ if (aga_mode) {
+ for (int h = 0; h < 2 ;h++) {
+ denise_cycle_half = h;
+ if (h) {
+ denise_hcounter_next = denise_hcounter_new;
+ }
+ if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
+ flush_null();
#ifdef DEBUGGER
- *debug_dma_dhpos_odd = denise_hcounter;
+ *debug_dma_dhpos_odd = denise_hcounter;
#endif
- denise_hcounter++;
- denise_hcounter &= 511;
- denise_hcounter_next++;
- denise_hcounter_next &= 511;
- }
- } else {
- for (int h = 0; h < 2 ;h++) {
- denise_cycle_half = h;
- if (h) {
- denise_hcounter_next = denise_hcounter_new;
+ denise_hcounter++;
+ denise_hcounter &= 511;
+ denise_hcounter_next++;
+ denise_hcounter_next &= 511;
}
- checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h);
- flush_null();
+ } else {
+ for (int h = 0; h < 2 ;h++) {
+ denise_cycle_half = h;
+ if (h) {
+ denise_hcounter_next = denise_hcounter_new;
+ }
+ if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue;
+ flush_null();
#ifdef DEBUGGER
- *debug_dma_dhpos_odd = denise_hcounter;
+ *debug_dma_dhpos_odd = denise_hcounter;
#endif
- denise_hcounter++;
- denise_hcounter &= 511;
- denise_hcounter_next++;
- denise_hcounter_next &= 511;
+ denise_hcounter++;
+ denise_hcounter &= 511;
+ denise_hcounter_next++;
+ denise_hcounter_next &= 511;
+ }
}
+ denise_hcounter = denise_hcounter_new;
+ denise_cck++;
}
- denise_hcounter = denise_hcounter_new;
- denise_cck++;
+ lts_changed = false;
}
if (buf1 && denise_pixtotal_max > 0) {
-#if 0
memset(buf1, 0, ((2 * denise_pixtotal_max) << hresolution) * sizeof(uae_u32));
if (buf2 && buf1 != buf2) {
memset(buf2, 0, ((2 * denise_pixtotal_max) << hresolution) * sizeof(uae_u32));
}
-#endif
if (gbuf) {
memset(gbuf, 0, (2 * denise_pixtotal_max) << hresolution);
}
}
+ last_bpl_pix = 0;
+ setlasthamcolor();
+
} else {
// visible line
uae_u32 *p1 = hbstrt_ptr1 - denise_lol_shift_prev;
uae_u32 *p2 = hbstrt_ptr2 - denise_lol_shift_prev;
for (int i = 0; i < add * 2; i++) {
- *p1++ = BLANK_COLOR;
- *p2++ = BLANK_COLOR;
+ if (hbstrt_ptr1) {
+ *p1++ = BLANK_COLOR;
+ }
+ if (hbstrt_ptr2) {
+ *p2++ = BLANK_COLOR;
+ }
}
}
if (1 && no_denise_lol && denise_pixtotal_max != -0x7fffffff && hbstrt_ptr1 && !lol_fast && denise_strlong_seen) {
uae_u32 *p1 = hbstrt_ptr1 - 2 * add;
uae_u32 *p2 = hbstrt_ptr2 - 2 * add;
for (int i = 0; i < add * 2; i++) {
- *p1++ = BLANK_COLOR;
- *p2++ = BLANK_COLOR;
+ if (hbstrt_ptr1) {
+ *p1++ = BLANK_COLOR;
+ }
+ if (hbstrt_ptr2) {
+ *p2++ = BLANK_COLOR;
+ }
}
}
if (currprefs.gfx_overscanmode < OVERSCANMODE_OVERSCAN) {
ls->bpl1dat_trigger_offset = bpl1dat_trigger_offset;
ls->internal_pixel_cnt = internal_pixel_cnt;
ls->internal_pixel_start_cnt = internal_pixel_start_cnt;
- ls->vb = denise_vblank_active;
+ ls->blankedline = this_line->linear_vpos >= denise_vblank_extra_vbstop || this_line->linear_vpos < denise_vblank_extra_vbstrt;
}
resolution_count[denise_res]++;
LINETOSRC_FUNC lts_old = lts;
bool samecycle = denise_hcounter == denise_hcounter_prev;
+ int bm = bplmode_new;
// if plane count decreases mid-scanline, old data in higher plane count shifters must be still shifted out.
if (denise_planes > denise_max_planes) {
denise_max_planes = denise_planes;
if (denise_bplfmode == 1 && denise_res > 1 && denise_max_planes > 4) {
denise_max_planes = 4;
}
- if (denise_max_planes > 6 && (bplmode_new == CMODE_EXTRAHB || bplmode_new == CMODE_EXTRAHB_ECS_KILLEHB)) {
+ if (denise_max_planes > 6 && (bm == CMODE_EXTRAHB || bm == CMODE_EXTRAHB_ECS_KILLEHB)) {
denise_max_planes = 6;
}
- if (denise_max_planes == 7 && bplmode_new == CMODE_HAM) {
+ if (denise_max_planes == 7 && bm == CMODE_HAM) {
denise_max_planes = 6;
}
denise_odd_even = bplcon1_shift[0] != bplcon1_shift[1];
}
hresolution_add = 1 << hresolution;
- if (denise_max_planes <= 4 && bplmode_new == CMODE_HAM) {
- bplmode_new = CMODE_NORMAL;
+ if (denise_max_planes <= 4 && bm == CMODE_HAM) {
+ bm = CMODE_NORMAL;
}
- if (denise_max_planes <= 5 && (bplmode_new == CMODE_EXTRAHB || bplmode_new == CMODE_EXTRAHB_ECS_KILLEHB)) {
- bplmode_new = CMODE_NORMAL;
+ if (denise_max_planes <= 5 && (bm == CMODE_EXTRAHB || bm == CMODE_EXTRAHB_ECS_KILLEHB)) {
+ bm = CMODE_NORMAL;
}
if (aga_mode) {
if (need_genlock_data) {
int planes = denise_max_planes > 4 ? 1 : 0;
int oddeven = denise_max_odd_even ? 1 : 0;
- int idx = (oddeven) + (bplmode_new * 2) + (planes * 2 * 5) + (spr * 2 * 5 * 2) + (denise_res * 2 * 5 * 2 * 2) + (hresolution * 2 * 5 * 2 * 2 * 3) + (bpldat_fmode * 2 * 5 * 2 * 2 * 3 * 3);
+ int idx = (oddeven) + (bm * 2) + (planes * 2 * 5) + (spr * 2 * 5 * 2) + (denise_res * 2 * 5 * 2 * 2) + (hresolution * 2 * 5 * 2 * 2 * 3) + (bpldat_fmode * 2 * 5 * 2 * 2 * 3 * 3);
lts = linetoscr_aga_genlock_funcs[idx];
} else {
int planes = denise_max_planes > 0 ? (denise_max_planes - 1) / 2 : 0;
int oddeven = denise_max_odd_even ? 1 : 0;
- int idx = (oddeven) + (bplmode_new * 2) + (planes * 2 * 5) + (spr * 2 * 5 * 4) + (denise_res * 2 * 5 * 4 * 2) + (hresolution * 2 * 5 * 4 * 2 * 3) + (bpldat_fmode * 2 * 5 * 4 * 2 * 3 * 3);
+ int idx = (oddeven) + (bm * 2) + (planes * 2 * 5) + (spr * 2 * 5 * 4) + (denise_res * 2 * 5 * 4 * 2) + (hresolution * 2 * 5 * 4 * 2 * 3) + (bpldat_fmode * 2 * 5 * 4 * 2 * 3 * 3);
lts = linetoscr_aga_funcs[idx];
}
}
if (need_genlock_data) {
int oddeven = denise_max_odd_even;
- int idx = (oddeven) + (bplmode_new * 2) + (spr * 2 * 4) + (denise_res * 2 * 4 * 2) + (hresolution * 2 * 4 * 2 * 2);
+ int idx = (oddeven) + (bm * 2) + (spr * 2 * 4) + (denise_res * 2 * 4 * 2) + (hresolution * 2 * 4 * 2 * 2);
lts = strlong_emulation ? linetoscr_ecs_ntsc_genlock_funcs[idx] : linetoscr_ecs_genlock_funcs[idx];
} else {
int planes;
break;
}
int oddeven = denise_max_odd_even;
- int idx = (oddeven) + (bplmode_new * 2) + (planes * 2 * 4) + (spr * 2 * 4 * 4) + (denise_res * 2 * 4 * 4 * 2) + (hresolution * 2 * 4 * 4 * 2 * 2);
+ int idx = (oddeven) + (bm * 2) + (planes * 2 * 4) + (spr * 2 * 4 * 4) + (denise_res * 2 * 4 * 4 * 2) + (hresolution * 2 * 4 * 4 * 2 * 2);
lts = strlong_emulation ? linetoscr_ecs_ntsc_funcs[idx] : linetoscr_ecs_funcs[idx];
}
}
}
-#if 0
-STATIC_INLINE void pfield_doline32_16(uae_u32 *pixels, int wordcount, int planes, uae_u8 *real_bplpt[8])
-{
- while (wordcount-- > 0) {
- uae_u32 b0, b1, b2, b3, b4, b5, b6, b7;
-
- b0 = 0, b1 = 0, b2 = 0, b3 = 0, b4 = 0, b5 = 0, b6 = 0, b7 = 0;
- switch (planes) {
-#ifdef AGA
- case 8: b0 = GETLONG32_16(real_bplpt[7]); real_bplpt[7] += 4;
- case 7: b1 = GETLONG32_16(real_bplpt[6]); real_bplpt[6] += 4;
-#endif
- case 6: b2 = GETLONG32_16(real_bplpt[5]); real_bplpt[5] += 4;
- case 5: b3 = GETLONG32_16(real_bplpt[4]); real_bplpt[4] += 4;
- case 4: b4 = GETLONG32_16(real_bplpt[3]); real_bplpt[3] += 4;
- case 3: b5 = GETLONG32_16(real_bplpt[2]); real_bplpt[2] += 4;
- case 2: b6 = GETLONG32_16(real_bplpt[1]); real_bplpt[1] += 4;
- case 1: b7 = GETLONG32_16(real_bplpt[0]); real_bplpt[0] += 4;
- }
-
- MERGE32(b0, b1, 0x55555555, 1);
- MERGE32(b2, b3, 0x55555555, 1);
- MERGE32(b4, b5, 0x55555555, 1);
- MERGE32(b6, b7, 0x55555555, 1);
-
- MERGE32(b0, b2, 0x33333333, 2);
- MERGE32(b1, b3, 0x33333333, 2);
- MERGE32(b4, b6, 0x33333333, 2);
- MERGE32(b5, b7, 0x33333333, 2);
-
- MERGE32(b0, b4, 0x0f0f0f0f, 4);
- MERGE32(b1, b5, 0x0f0f0f0f, 4);
- MERGE32(b2, b6, 0x0f0f0f0f, 4);
- MERGE32(b3, b7, 0x0f0f0f0f, 4);
-
- MERGE32(b0, b1, 0x00ff00ff, 8);
- MERGE32(b2, b3, 0x00ff00ff, 8);
- MERGE32(b4, b5, 0x00ff00ff, 8);
- MERGE32(b6, b7, 0x00ff00ff, 8);
-
- MERGE32(b0, b2, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[0] = b0;
- pixels[4] = b2;
-#else
- do_put_mem_long(pixels + 0, b0);
- do_put_mem_long(pixels + 4, b2);
-#endif
- MERGE32(b1, b3, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[2] = b1;
- pixels[6] = b3;
-#else
- do_put_mem_long(pixels + 2, b1);
- do_put_mem_long(pixels + 6, b3);
-#endif
- MERGE32(b4, b6, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[1] = b4;
- pixels[5] = b6;
-#else
- do_put_mem_long(pixels + 1, b4);
- do_put_mem_long(pixels + 5, b6);
-#endif
- MERGE32(b5, b7, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[3] = b5;
- pixels[7] = b7;
-#else
- do_put_mem_long(pixels + 3, b5);
- do_put_mem_long(pixels + 7, b7);
-#endif
- pixels += 8;
- }
-}
-
-STATIC_INLINE void pfield_doline32_32(uae_u32 *pixels, int wordcount, int planes, uae_u8 *real_bplpt[8])
-{
- while (wordcount-- > 0) {
- uae_u32 b0, b1, b2, b3, b4, b5, b6, b7;
-
- b0 = 0, b1 = 0, b2 = 0, b3 = 0, b4 = 0, b5 = 0, b6 = 0, b7 = 0;
- switch (planes) {
-#ifdef AGA
- case 8: b0 = GETLONG32_32(real_bplpt[7]); real_bplpt[7] += 4;
- case 7: b1 = GETLONG32_32(real_bplpt[6]); real_bplpt[6] += 4;
-#endif
- case 6: b2 = GETLONG32_32(real_bplpt[5]); real_bplpt[5] += 4;
- case 5: b3 = GETLONG32_32(real_bplpt[4]); real_bplpt[4] += 4;
- case 4: b4 = GETLONG32_32(real_bplpt[3]); real_bplpt[3] += 4;
- case 3: b5 = GETLONG32_32(real_bplpt[2]); real_bplpt[2] += 4;
- case 2: b6 = GETLONG32_32(real_bplpt[1]); real_bplpt[1] += 4;
- case 1: b7 = GETLONG32_32(real_bplpt[0]); real_bplpt[0] += 4;
- }
-
- MERGE32(b0, b1, 0x55555555, 1);
- MERGE32(b2, b3, 0x55555555, 1);
- MERGE32(b4, b5, 0x55555555, 1);
- MERGE32(b6, b7, 0x55555555, 1);
-
- MERGE32(b0, b2, 0x33333333, 2);
- MERGE32(b1, b3, 0x33333333, 2);
- MERGE32(b4, b6, 0x33333333, 2);
- MERGE32(b5, b7, 0x33333333, 2);
-
- MERGE32(b0, b4, 0x0f0f0f0f, 4);
- MERGE32(b1, b5, 0x0f0f0f0f, 4);
- MERGE32(b2, b6, 0x0f0f0f0f, 4);
- MERGE32(b3, b7, 0x0f0f0f0f, 4);
-
- MERGE32(b0, b1, 0x00ff00ff, 8);
- MERGE32(b2, b3, 0x00ff00ff, 8);
- MERGE32(b4, b5, 0x00ff00ff, 8);
- MERGE32(b6, b7, 0x00ff00ff, 8);
-
- MERGE32(b0, b2, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[0] = b0;
- pixels[4] = b2;
-#else
- do_put_mem_long(pixels + 0, b0);
- do_put_mem_long(pixels + 4, b2);
-#endif
- MERGE32(b1, b3, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[2] = b1;
- pixels[6] = b3;
-#else
- do_put_mem_long(pixels + 2, b1);
- do_put_mem_long(pixels + 6, b3);
-#endif
- MERGE32(b4, b6, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[1] = b4;
- pixels[5] = b6;
-#else
- do_put_mem_long(pixels + 1, b4);
- do_put_mem_long(pixels + 5, b6);
-#endif
- MERGE32(b5, b7, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[3] = b5;
- pixels[7] = b7;
-#else
- do_put_mem_long(pixels + 3, b5);
- do_put_mem_long(pixels + 7, b7);
-#endif
- pixels += 8;
- }
-}
-
-
-STATIC_INLINE void pfield_doline32_64(uae_u32 *pixels, int wordcount, int planes, uae_u8 *real_bplpt[8])
-{
- int w = 4;
- while (wordcount-- > 0) {
- uae_u32 b0, b1, b2, b3, b4, b5, b6, b7;
-
- b0 = 0, b1 = 0, b2 = 0, b3 = 0, b4 = 0, b5 = 0, b6 = 0, b7 = 0;
- switch (planes) {
-#ifdef AGA
- case 8: real_bplpt[7] += w; b0 = GETLONG32_64(real_bplpt[7]); real_bplpt[7] += 8;
- case 7: real_bplpt[6] += w; b1 = GETLONG32_64(real_bplpt[6]); real_bplpt[6] += 8;
-#endif
- case 6: real_bplpt[5] += w; b2 = GETLONG32_64(real_bplpt[5]); real_bplpt[5] += 8;
- case 5: real_bplpt[4] += w; b3 = GETLONG32_64(real_bplpt[4]); real_bplpt[4] += 8;
- case 4: real_bplpt[3] += w; b4 = GETLONG32_64(real_bplpt[3]); real_bplpt[3] += 8;
- case 3: real_bplpt[2] += w; b5 = GETLONG32_64(real_bplpt[2]); real_bplpt[2] += 8;
- case 2: real_bplpt[1] += w; b6 = GETLONG32_64(real_bplpt[1]); real_bplpt[1] += 8;
- case 1: real_bplpt[0] += w; b7 = GETLONG32_64(real_bplpt[0]); real_bplpt[0] += 8;
- }
- w = w > 0 ? -12 : 4;
-
- MERGE32(b0, b1, 0x55555555, 1);
- MERGE32(b2, b3, 0x55555555, 1);
- MERGE32(b4, b5, 0x55555555, 1);
- MERGE32(b6, b7, 0x55555555, 1);
-
- MERGE32(b0, b2, 0x33333333, 2);
- MERGE32(b1, b3, 0x33333333, 2);
- MERGE32(b4, b6, 0x33333333, 2);
- MERGE32(b5, b7, 0x33333333, 2);
-
- MERGE32(b0, b4, 0x0f0f0f0f, 4);
- MERGE32(b1, b5, 0x0f0f0f0f, 4);
- MERGE32(b2, b6, 0x0f0f0f0f, 4);
- MERGE32(b3, b7, 0x0f0f0f0f, 4);
-
- MERGE32(b0, b1, 0x00ff00ff, 8);
- MERGE32(b2, b3, 0x00ff00ff, 8);
- MERGE32(b4, b5, 0x00ff00ff, 8);
- MERGE32(b6, b7, 0x00ff00ff, 8);
-
- MERGE32(b0, b2, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[0] = b0;
- pixels[4] = b2;
-#else
- do_put_mem_long(pixels + 0, b0);
- do_put_mem_long(pixels + 4, b2);
-#endif
- MERGE32(b1, b3, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[2] = b1;
- pixels[6] = b3;
-#else
- do_put_mem_long(pixels + 2, b1);
- do_put_mem_long(pixels + 6, b3);
-#endif
- MERGE32(b4, b6, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[1] = b4;
- pixels[5] = b6;
-#else
- do_put_mem_long(pixels + 1, b4);
- do_put_mem_long(pixels + 5, b6);
-#endif
- MERGE32(b5, b7, 0x0000ffff, 16);
-#if DOLINE_SWAP
- pixels[3] = b5;
- pixels[7] = b7;
-#else
- do_put_mem_long(pixels + 3, b5);
- do_put_mem_long(pixels + 7, b7);
-#endif
- pixels += 8;
- }
-}
-
-static void NOINLINE pfield_doline32_n1_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 1, real_bplpt); }
-static void NOINLINE pfield_doline32_n2_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 2, real_bplpt); }
-static void NOINLINE pfield_doline32_n3_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 3, real_bplpt); }
-static void NOINLINE pfield_doline32_n4_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 4, real_bplpt); }
-static void NOINLINE pfield_doline32_n5_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 5, real_bplpt); }
-static void NOINLINE pfield_doline32_n6_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 6, real_bplpt); }
-#ifdef AGA
-static void NOINLINE pfield_doline32_n7_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 7, real_bplpt); }
-static void NOINLINE pfield_doline32_n8_16(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_16(data, count, 8, real_bplpt); }
-#endif
-#ifdef AGA
-static void NOINLINE pfield_doline32_n1_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 1, real_bplpt); }
-static void NOINLINE pfield_doline32_n2_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 2, real_bplpt); }
-static void NOINLINE pfield_doline32_n3_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 3, real_bplpt); }
-static void NOINLINE pfield_doline32_n4_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 4, real_bplpt); }
-static void NOINLINE pfield_doline32_n5_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 5, real_bplpt); }
-static void NOINLINE pfield_doline32_n6_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 6, real_bplpt); }
-static void NOINLINE pfield_doline32_n7_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 7, real_bplpt); }
-static void NOINLINE pfield_doline32_n8_32(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_32(data, count, 8, real_bplpt); }
-static void NOINLINE pfield_doline32_n1_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 1, real_bplpt); }
-static void NOINLINE pfield_doline32_n2_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 2, real_bplpt); }
-static void NOINLINE pfield_doline32_n3_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 3, real_bplpt); }
-static void NOINLINE pfield_doline32_n4_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 4, real_bplpt); }
-static void NOINLINE pfield_doline32_n5_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 5, real_bplpt); }
-static void NOINLINE pfield_doline32_n6_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 6, real_bplpt); }
-static void NOINLINE pfield_doline32_n7_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 7, real_bplpt); }
-static void NOINLINE pfield_doline32_n8_64(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_64(data, count, 8, real_bplpt); }
-#endif
-
-static void pfield_doline_16(int planecnt, int wordcount, uae_u8 *datap, struct linestate *ls)
-{
- uae_u8 **real_bplpt = ls->bplpt;
- uae_u32 *data = (uae_u32*)datap;
- uae_u8 *dpt = ls->linedatastate;
- int len = ls->bpllen;
- for (int i = 0; i < planecnt; i++) {
- memcpy(dpt, ls->bplpt[i], len);
- dpt += len;
- }
- switch (planecnt) {
- default: break;
- case 0: memset(data, 0, wordcount * 32); break;
- case 1: pfield_doline32_n1_16(data, wordcount, real_bplpt); break;
- case 2: pfield_doline32_n2_16(data, wordcount, real_bplpt); break;
- case 3: pfield_doline32_n3_16(data, wordcount, real_bplpt); break;
- case 4: pfield_doline32_n4_16(data, wordcount, real_bplpt); break;
- case 5: pfield_doline32_n5_16(data, wordcount, real_bplpt); break;
- case 6: pfield_doline32_n6_16(data, wordcount, real_bplpt); break;
-#ifdef AGA
- case 7: pfield_doline32_n7_16(data, wordcount, real_bplpt); break;
- case 8: pfield_doline32_n8_16(data, wordcount, real_bplpt); break;
-#endif
- }
-}
-static void pfield_doline_32(int planecnt, int wordcount, uae_u8 *datap, struct linestate *ls)
-{
- uae_u8 **real_bplpt = ls->bplpt;
- uae_u32 *data = (uae_u32*)datap;
- uae_u8 *dpt = ls->linedatastate;
- int len = ls->bpllen;
- for (int i = 0; i < planecnt; i++) {
- memcpy(dpt, ls->bplpt[i], len);
- dpt += len;
- }
- switch (planecnt) {
- default: break;
- case 0: memset(data, 0, wordcount * 32); break;
- case 1: pfield_doline32_n1_32(data, wordcount, real_bplpt); break;
- case 2: pfield_doline32_n2_32(data, wordcount, real_bplpt); break;
- case 3: pfield_doline32_n3_32(data, wordcount, real_bplpt); break;
- case 4: pfield_doline32_n4_32(data, wordcount, real_bplpt); break;
- case 5: pfield_doline32_n5_32(data, wordcount, real_bplpt); break;
- case 6: pfield_doline32_n6_32(data, wordcount, real_bplpt); break;
-#ifdef AGA
- case 7: pfield_doline32_n7_32(data, wordcount, real_bplpt); break;
- case 8: pfield_doline32_n8_32(data, wordcount, real_bplpt); break;
-#endif
- }
-}
-static void pfield_doline_64(int planecnt, int wordcount, uae_u8 *datap, struct linestate *ls)
-{
- uae_u8 **real_bplpt = ls->bplpt;
- uae_u32 *data = (uae_u32*)datap;
- uae_u8 *dpt = ls->linedatastate;
- int len = ls->bpllen;
- for (int i = 0; i < planecnt; i++) {
- memcpy(dpt, ls->bplpt[i], len);
- dpt += len;
- }
- switch (planecnt) {
- default: break;
- case 0: memset(data, 0, wordcount * 32); break;
- case 1: pfield_doline32_n1_64(data, wordcount, real_bplpt); break;
- case 2: pfield_doline32_n2_64(data, wordcount, real_bplpt); break;
- case 3: pfield_doline32_n3_64(data, wordcount, real_bplpt); break;
- case 4: pfield_doline32_n4_64(data, wordcount, real_bplpt); break;
- case 5: pfield_doline32_n5_64(data, wordcount, real_bplpt); break;
- case 6: pfield_doline32_n6_64(data, wordcount, real_bplpt); break;
-#ifdef AGA
- case 7: pfield_doline32_n7_64(data, wordcount, real_bplpt); break;
- case 8: pfield_doline32_n8_64(data, wordcount, real_bplpt); break;
-#endif
- }
-}
-
-static void pfield_doline_not_fast_enough_yet(int planecnt, int wordcount, uae_u8 *data, struct linestate *ls)
-{
- wordcount *= 4;
- uae_u8 *dpt = ls->linedatastate;
- int len = ls->bpllen;
- for (int i = 0; i < planecnt; i++) {
- memcpy(dpt, ls->bplpt[i], len);
- dpt += len;
- }
- while (wordcount-- > 0) {
- uae_u32 v[MAX_PLANES];
- for (int i = 0; i < planecnt; i++) {
- v[i] = *ls->bplpt[i];
- ls->bplpt[i]++;
- }
- for (int i = 0; i < 8; i++) {
- uae_u8 out = 0;
- for (int j = 0; j < planecnt; j++) {
- if (v[j] & 0x80) {
- out |= 1 << j;
- }
- v[j] <<= 1;
- }
- out &= debug_bpl_mask;
- *data++ = out;
- }
- }
-}
-#endif
-
/* See above for comments on inlining. These functions should _not_
be inlined themselves. */
static void NOINLINE pfield_doline32_n1_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 1, real_bplpt); }
{
uae_u8 **real_bplpt = ls->bplpt;
uae_u32 *data = (uae_u32 *)datap;
-#if 0
- uae_u8 *dpt = ls->linedatastate;
- int len = ls->bpllen;
- for (int i = 0; i < planecnt; i++) {
- memcpy(dpt, ls->bplpt[i], len);
- dpt += len;
- }
-#endif
switch (planecnt) {
default: break;
case 0: memset(data, 0, wordcount * 32); break;
return;
}
+ if (ls->blankedline) {
+ return;
+ }
+
uae_u32 *buf1p = buf1;
uae_u32 *buf2p = buf2 != buf1 ? buf2 : NULL;
uae_u8 *gbufp = gbuf;
buf1 = buf1p;
buf2 = buf2p;
-
int start = draw_startoffset;
if (start < hbstop_offset) {
int diff = hbstop_offset - start;
total = end - start;
if (need_genlock_data && gbuf && total) {
- int max = gbuf_end - gbufp;
+ int max = addrdiff(gbuf_end, gbufp);
total += 8;
if (total > max) {
total = max;
return;
}
- if ((this_line->linear_vpos >= denise_vblank_extra_vbstop || this_line->linear_vpos < denise_vblank_extra_vbstrt) && currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA) {
+ if (ls->blankedline) {
return;
}
bool ham = (ls->bplcon0 & 0x800) != 0;
int fmode = 16 << (((ls->fmode & 3) == 3 ? 2 : (ls->fmode & 3)));
- if (ls->ltsidx < 0) {
- bool ehb = planecnt == 6 && !ham && !dpf && (!ecs_denise || !(ls->bplcon2 & 0x200));
- int mode = CMODE_NORMAL;
- if (ham) {
- mode = CMODE_HAM;
- ham_lastcolor = 0;
- } else if (dpf) {
- mode = CMODE_DUALPF;
- } else if (ehb) {
- mode = CMODE_EXTRAHB;
- }
- int idx = mode + 5 * res + 5 * 3 * hresolution;
- if (buf2p) {
- idx += 5 * 3 * 3;
- }
- ls->ltsidx = idx;
+ bool ehb = planecnt == 6 && !ham && !dpf && (!ecs_denise || !(ls->bplcon2 & 0x200));
+ int mode = CMODE_NORMAL;
+ if (ham) {
+ mode = CMODE_HAM;
+ last_bpl_pix = 0;
+ setlasthamcolor();
+ } else if (dpf) {
+ mode = CMODE_DUALPF;
+ } else if (ehb) {
+ mode = CMODE_EXTRAHB;
+ }
+ int ltsidx = mode + 5 * res + 5 * 3 * hresolution;
+ if (buf2p) {
+ ltsidx += 5 * 3 * 3;
}
LINETOSRC_FUNCF ltsf;
if (aga_mode) {
if (need_genlock_data) {
- ltsf = linetoscr_aga_genlock_fast_funcs[ls->ltsidx];
+ ltsf = linetoscr_aga_genlock_fast_funcs[ltsidx];
} else {
- ltsf = linetoscr_aga_fast_funcs[ls->ltsidx];
+ ltsf = linetoscr_aga_fast_funcs[ltsidx];
}
} else {
if (need_genlock_data) {
- ltsf = linetoscr_ecs_genlock_fast_funcs[ls->ltsidx];
+ ltsf = linetoscr_ecs_genlock_fast_funcs[ltsidx];
} else {
- ltsf = linetoscr_ecs_fast_funcs[ls->ltsidx];
+ ltsf = linetoscr_ecs_fast_funcs[ltsidx];
}
}
// clear some more bytes to clear possible lightpen cursor graphics
if (need_genlock_data && gbuf) {
- int max = gbuf_end - gbuf;
+ int max = addrdiff(gbuf_end, gbuf);
int total = 8;
if (total > max) {
total = max;
}
}
+void draw_denise_vsync_queue(int erase)
+{
+ if (MULTITHREADED_DENISE) {
+
+ if (!waitqueue()) {
+ return;
+ }
+ struct denise_rga_queue *q = &rga_queue[rga_queue_write & DENISE_RGA_SLOT_CHUNKS_MASK];
+ q->type = 5;
+ q->erase = erase;
+ q->vpos = vpos;
+ q->linear_vpos = linear_vpos;
+
+ addtowritequeue();
+
+ } else {
+
+ updatelinedata();
+ draw_denise_vsync(erase);
+
+ }
+}
+
void draw_denise_line_queue_flush(void)
{
if (MULTITHREADED_DENISE) {
outf("while (cnt < end) {");
outf(" bool bpl = false;");
- outf(" if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {");
+ outf(" if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {");
outf(" if (cnt >= draw_startoffset) {");
outf(" if (cnt < hbstop_offset) {");
if (doubling <= 0) {
}
/* functions for reading, writing, copying and comparing struct color_entry */
-STATIC_INLINE int color_reg_get (struct color_entry *ce, int c)
+STATIC_INLINE int color_reg_get(struct color_entry *ce, int c)
{
#ifdef AGA
if (aga_mode)
#define MAX_PIXELS_PER_LINE 2304
/* Functions in drawing.c. */
-extern int coord_native_to_amiga_y (int);
-extern int coord_native_to_amiga_x (int);
+extern int coord_native_to_amiga_y(int);
+extern int coord_native_to_amiga_x(int);
/* Determine how to draw a scan line. */
enum nln_how {
nln_upper_black,
nln_lower_black,
nln_upper_black_always,
- nln_lower_black_always
+ nln_lower_black_always,
+ nln_none
};
-extern void vsync_handle_redraw (int long_field, int lof_changed, uae_u16, uae_u16, bool drawlines, bool initial);
-extern bool vsync_handle_check (void);
-extern void reset_drawing (void);
-extern void drawing_init (void);
-extern bool frame_drawn (int monid);
+extern void vsync_handle_redraw(int long_field, uae_u16, uae_u16, bool drawlines, bool initial);
+extern bool vsync_handle_check(void);
+extern void reset_drawing(void);
+extern void drawing_init(void);
+extern bool frame_drawn(int monid);
extern void redraw_frame(void);
extern void full_redraw_all(void);
-extern int get_custom_limits (int *pw, int *ph, int *pdx, int *pdy, int *prealh);
-extern void store_custom_limits (int w, int h, int dx, int dy);
-extern void set_custom_limits (int w, int h, int dx, int dy, bool blank);
-extern void check_custom_limits (void);
-extern void get_custom_topedge (int *x, int *y, bool max);
-extern void get_custom_raw_limits (int *pw, int *ph, int *pdx, int *pdy);
-void get_custom_mouse_limits (int *pw, int *ph, int *pdx, int *pdy, int dbl);
extern int get_custom_limits(int *pw, int *ph, int *pdx, int *pdy, int *prealh, int *hres, int *vres);
+extern void store_custom_limits(int w, int h, int dx, int dy);
+extern void set_custom_limits(int w, int h, int dx, int dy, bool blank);
+extern void check_custom_limits(void);
+extern void get_custom_topedge(int *x, int *y, bool max);
+extern void get_custom_raw_limits(int *pw, int *ph, int *pdx, int *pdy);
+void get_custom_mouse_limits(int *pw, int *ph, int *pdx, int *pdy, int dbl);
extern void putpixel(uae_u8 *buf, uae_u8 *genlockbuf, int x, xcolnr c8);
extern void allocvidbuffer(int monid, struct vidbuffer *buf, int width, int height, int depth);
extern void freevidbuffer(int monid, struct vidbuffer *buf);
int bpl1dat_trigger_offset;
int internal_pixel_cnt;
int internal_pixel_start_cnt;
+ bool blankedline;
int fetchmode_size, fetchstart_mask;
- int ltsidx;
- bool vb;
uae_u16 strobe;
int strobe_pos;
};
bool denise_update_reg_queued(uae_u16 reg, uae_u16 v, uae_u32 cycle);
void denise_store_registers(void);
void denise_restore_registers(void);
-void denise_set_line(int gfx_ypos);
-void denise_mark_last_line(void);
bool denise_is_vb(void);
+void draw_denise_vsync_queue(int);
void draw_denise_line_queue_flush(void);
void quick_denise_rga_queue(int linecnt, int startpos, int endpos);
void denise_handle_quick_strobe_queue(uae_u16 strobe, int strobe_pos, int endpos);
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 2;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;
}
while (cnt < end) {
bool bpl = false;
- if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
+ if (cnt < bpl1dat_trigger_offset || cnt < hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1++;