From: Toni Wilen Date: Sun, 2 Mar 2025 15:49:42 +0000 (+0200) Subject: Chipset optimizations and fixes X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=fe635b0c70777f8c242d565e5585bcce1541ea61;p=francis%2Fwinuae.git Chipset optimizations and fixes --- diff --git a/cfgfile.cpp b/cfgfile.cpp index b06b9439..88cd9f50 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -189,6 +189,7 @@ static const TCHAR *cscompa[] = { _T("Velvet"), _T("Casablanca"), _T("DraCo"), NULL }; +static const TCHAR *displayopts[] = { _T("full"), _T("partial"), _T("none"), NULL }; static const TCHAR *qsmodes[] = { _T("A500"), _T("A500+"), _T("A600"), _T("A1000"), _T("A1200"), _T("A3000"), _T("A4000"), _T(""), _T("CD32"), _T("CDTV"), _T("CDTV-CR"), _T("ARCADIA"), NULL }; /* 3-state boolean! */ @@ -2757,6 +2758,7 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type) cfgfile_write_strarr(f, _T("collision_level"), collmode, p->collision_level); cfgfile_write_strarr(f, _T("chipset_compatible"), cscompa, p->cs_compatible); + cfgfile_write_strarr(f, _T("display_optimizations"), displayopts, p->cs_optimizations); cfgfile_dwrite_strarr(f, _T("ciaatod"), ciaatodmode, p->cs_ciaatod); cfgfile_dwrite_strarr(f, _T("rtc"), rtctype, p->cs_rtc); cfgfile_dwrite(f, _T("chipset_rtc_adjust"), _T("%d"), p->cs_rtc_adjust); @@ -6319,8 +6321,11 @@ static int cfgfile_parse_hardware (struct uae_prefs *p, const TCHAR *option, TCH return 1; } - if (cfgfile_strval (option, value, _T("chipset_compatible"), &p->cs_compatible, cscompa, 0)) { - built_in_chipset_prefs (p); + if (cfgfile_strval(option, value, _T("chipset_compatible"), &p->cs_compatible, cscompa, 0)) { + built_in_chipset_prefs(p); + return 1; + } + if (cfgfile_strval(option, value, _T("display_optimizations"), &p->cs_optimizations, displayopts, 0)) { return 1; } diff --git a/custom.cpp b/custom.cpp index 1b480be7..38059698 100644 --- a/custom.cpp +++ b/custom.cpp @@ -175,35 +175,108 @@ static void handle_pipelined_custom_write(bool now) static uae_u32 rga_slot_in_offset, rga_slot_first_offset, rga_slot_out_offset; static evt_t last_rga_cycle; +static bool drga_written; +static bool fast_mode_ce_not; +static bool drga_bpl, drga_spr; +static int fast_mode_strobe_cnt; +static uae_u8 bpl_line_store[256 * 8]; -static void write_drga(uae_u16 rga, uaecptr pt, uae_u32 v) +static void write_drga_strobe(uae_u16 rga) { struct denise_rga *r = &rga_denise[rga_denise_cycle]; -#if 0 - if (r->line == rga_denise_cycle_line && r->rga != 0x1fe) { - write_log("write_drga conflict %04x/%04x -> %04x/%04x\n", r->rga, r->v, rga, v); + r->rga = rga; + r->flags = 0; + r->line = rga_denise_cycle_line; + if (rga == 0x38 || rga == 0x3a || rga == 0x3c) { + if (agnus_hpos != 3 || fast_mode_strobe_cnt != 0) { + fast_mode_ce_not = true; + } } -#endif + if (rga == 0x3e) { + if (agnus_hpos != 5 || fast_mode_strobe_cnt != 1) { + fast_mode_ce_not = true; + } + } + fast_mode_strobe_cnt++; +}; +static void write_drga(uae_u16 rga, uaecptr pt, uae_u32 v) +{ + struct denise_rga *r = &rga_denise[rga_denise_cycle]; r->rga = rga; r->v = v; r->pt = pt; r->flags = 0; r->line = rga_denise_cycle_line; + fast_mode_ce_not = true; }; -static void write_drga_wide(uae_u16 rga, uaecptr pt, uae_u64 v) +static void write_drga_dat_spr(uae_u16 rga, uaecptr pt, uae_u32 v) { struct denise_rga *r = &rga_denise[rga_denise_cycle]; -#if 0 - if (r->line == rga_denise_cycle_line && r->rga != 0x1fe) { - write_log("write_drga conflict %04x/%04x -> %04x/%04x\n", r->rga, r->v, rga, v); + r->rga = rga; + r->v = v; + r->pt = pt; + r->flags = 0; + r->line = rga_denise_cycle_line; + drga_spr = true; +}; +static void write_drga_dat_spr_wide(uae_u16 rga, uaecptr pt, uae_u64 v) +{ + struct denise_rga *r = &rga_denise[rga_denise_cycle]; + r->rga = rga; + r->v64 = v; + r->pt = pt; + r->flags = 0; + r->line = rga_denise_cycle_line; + drga_spr = true; +}; + +static uae_u16 *fast_plane_store16[MAX_PLANES]; +static uae_u32 *fast_plane_store32[MAX_PLANES]; +static uae_u64 *fast_plane_store64[MAX_PLANES]; + +static void write_drga_dat_bpl16(uae_u16 rga, uaecptr pt, uae_u16 v, int plane) +{ + struct denise_rga *r = &rga_denise[rga_denise_cycle]; + r->rga = rga; + r->v = v; + r->pt = pt; + r->flags = 0; + r->line = rga_denise_cycle_line; + if (currprefs.cpu_memory_cycle_exact) { + *fast_plane_store16[plane] = v; + fast_plane_store16[plane]++; } -#endif + drga_bpl = true; +}; +static void write_drga_dat_bpl32(uae_u16 rga, uaecptr pt, uae_u32 v, int plane) +{ + struct denise_rga *r = &rga_denise[rga_denise_cycle]; + r->rga = rga; + r->v = v; + r->pt = pt; + r->flags = 0; + r->line = rga_denise_cycle_line; + if (currprefs.cpu_memory_cycle_exact) { + *fast_plane_store32[plane] = v; + fast_plane_store32[plane]++; + } + drga_bpl = true; +}; +static void write_drga_dat_bpl64(uae_u16 rga, uaecptr pt, uae_u64 v, int plane) +{ + struct denise_rga *r = &rga_denise[rga_denise_cycle]; r->rga = rga; r->v64 = v; r->pt = pt; r->flags = 0; r->line = rga_denise_cycle_line; + if (currprefs.cpu_memory_cycle_exact) { + *fast_plane_store64[plane] = v; + fast_plane_store64[plane]++; + } + drga_bpl = true; }; + static void write_drga_flag(uae_u32 flags, uae_u32 mask) { struct denise_rga *r = &rga_denise[rga_denise_cycle]; @@ -561,6 +634,7 @@ static uae_u32 saved_color_regs_aga[32]; static struct color_entry agnus_colors; static int varsync_changed, varsync_maybe_changed[2]; static bool programmed_register_accessed_v, programmed_register_accessed_h; +static bool need_vdiw_check; static int varhblank_lines, varhblank_val[2]; static int exthblank_lines[2]; static uae_u16 vt_old, ht_old, hs_old, vs_old; @@ -588,6 +662,7 @@ static uaecptr refptr, refptr_p; static uae_u32 refmask; static int line_disabled; static bool custom_disabled; +static int display_hstart_fastmode; #define HSYNCTIME (maxhpos * CYCLE_UNIT) @@ -614,6 +689,8 @@ int sprite_buffer_res; static uae_s16 bpl1mod, bpl2mod; static uaecptr bplpt[MAX_PLANES]; +static uaecptr bplptx[MAX_PLANES]; + uae_u16 bplcon0; static uae_u16 bplcon1, bplcon2, bplcon3, bplcon4; @@ -2150,6 +2227,7 @@ static void calcvdiw(void) plffirstline = vstrt; plflastline = vstop; + need_vdiw_check = true; } /* display mode changed (lores, doubling etc..), recalculate everything */ @@ -3094,6 +3172,9 @@ static void DMACON(int hpos, uae_u16 v) if (changed & (DMA_MASTER | DMA_AUD3 | DMA_AUD2 | DMA_AUD1 | DMA_AUD0)) { audio_state_machine(); } + if (changed & (DMA_MASTER | DMA_BITPLANE | DMA_COPPER)) { + fast_mode_ce_not = true; + } } static int irq_forced; @@ -3388,6 +3469,7 @@ static void BEAMCON0(uae_u16 v) if (beamcon0_changed) { init_beamcon0(); } + need_vdiw_check = true; } } @@ -3471,10 +3553,12 @@ void set_picasso_hack_rate(int hz) static void BPLxPTH(uae_u16 v, int num) { bplpt[num] = (bplpt[num] & 0x0000ffff) | ((uae_u32)v << 16); + fast_mode_ce_not = true; } static void BPLxPTL(uae_u16 v, int num) { bplpt[num] = (bplpt[num] & 0xffff0000) | (v & 0x0000fffe); + fast_mode_ce_not = true; } static uae_u16 BPLCON0_Agnus_mask(uae_u16 v) @@ -3508,6 +3592,7 @@ static void BPLCON0_delayed(uae_u32 va) } checksyncstopped(va); + fast_mode_ce_not = true; } static void BPLCON0(uae_u16 v) @@ -3523,6 +3608,8 @@ static void BPLCON0(uae_u16 v) return; } + fast_mode_ce_not = true; + // UHRES, BYPASS if (va & (0x0080 | 0x0020)) { not_safe_mode |= 1; @@ -3542,35 +3629,40 @@ static void BPLCON1(uae_u16 v) #if DISABLE_BPLCON1 v = 0; #endif - bplcon1_saved = v; bplcon1 = v; + fast_mode_ce_not = true; } static void BPLCON2(uae_u16 v) { bplcon2_saved = v; bplcon2 = v; + fast_mode_ce_not = true; } static void BPLCON3(uae_u16 v) { bplcon3_saved = v; bplcon3 = v; + fast_mode_ce_not = true; } static void BPLCON4(uae_u16 v) { bplcon4_saved = v; bplcon4 = v; + fast_mode_ce_not = true; } static void BPL1MOD(uae_u16 v) { v &= ~1; bpl1mod = v; + fast_mode_ce_not = true; } static void BPL2MOD(uae_u16 v) { v &= ~1; bpl2mod = v; + fast_mode_ce_not = true; } static void BPLxDAT(int num, uae_u16 data) @@ -3638,6 +3730,7 @@ static void DDFSTRT(uae_u16 v) v &= ddf_mask; ddfstrt = 0xffff; push_pipeline(&ddfstrt, v); + fast_mode_ce_not = true; } static void DDFSTOP(uae_u16 v) @@ -3646,6 +3739,7 @@ static void DDFSTOP(uae_u16 v) ddfstop_saved = v; v &= ddf_mask; push_pipeline(&ddfstop, v); + fast_mode_ce_not = true; } static void FMODE(uae_u16 v) @@ -3665,6 +3759,7 @@ static void FMODE(uae_u16 v) } set_chipset_mode(false); setup_fmodes(bplcon0); + fast_mode_ce_not = true; } static void FNULL(uae_u16 v) @@ -4234,15 +4329,28 @@ static void custom_wput_copper(uaecptr pt, uaecptr addr, uae_u32 value, int noge copper_access = 0; } +static void bpl_autoscale(void) +{ + if (bplcon0_planes > 0 && linear_vpos > plflastline_total) { + plflastline_total = linear_vpos; + } + if (bplcon0_planes > 0 && plffirstline_total > linear_vpos) { + plffirstline_total = linear_vpos; + } +} + static void bprun_start(int hpos) { bpl_hstart = hpos; fetch_cycle = 0; - if (ddffirstword_total > hpos) { + if (bplcon0_planes > 0 && ddffirstword_total > hpos) { ddffirstword_total = hpos + 4 + 8; } - if (bplcon0_planes > 0 && plffirstline_total > linear_vpos) { - plffirstline_total = linear_vpos; + + bpl_autoscale(); + + for (int i = 0; i < GET_PLANES(bplcon0); i++) { + bplptx[i] = bplpt[i]; } } @@ -5028,6 +5136,35 @@ static void check_no_signal(void) } } +static void handle_nosignal(void) +{ + if (nosignal_status < 0) { + nosignal_status = 0; + } + if (nosignal_cnt) { + nosignal_cnt--; + if (nosignal_cnt == 0) { + nosignal_status = -1; + } + } + if (nosignal_trigger) { + struct amigadisplay *ad = &adisplays[0]; + nosignal_trigger = false; + if (!ad->specialmonitoron) { + if (currprefs.gfx_monitorblankdelay > 0) { + nosignal_status = 1; + nosignal_cnt = (int)(currprefs.gfx_monitorblankdelay / (1000.0f / vblank_hz)); + if (nosignal_cnt <= 0) { + nosignal_cnt = 1; + } + } else { + nosignal_status = 2; + nosignal_cnt = (int)(vblank_hz / 2); + } + } + } +} + // emulated hardware vsync static void vsync_handler_post(void) { @@ -5079,31 +5216,7 @@ static void vsync_handler_post(void) bogusframe--; } - if (nosignal_status < 0) { - nosignal_status = 0; - } - if (nosignal_cnt) { - nosignal_cnt--; - if (nosignal_cnt == 0) { - nosignal_status = -1; - } - } - if (nosignal_trigger) { - struct amigadisplay *ad = &adisplays[0]; - nosignal_trigger = false; - if (!ad->specialmonitoron) { - if (currprefs.gfx_monitorblankdelay > 0) { - nosignal_status = 1; - nosignal_cnt = (int)(currprefs.gfx_monitorblankdelay / (1000.0f / vblank_hz)); - if (nosignal_cnt <= 0) { - nosignal_cnt = 1; - } - } else { - nosignal_status = 2; - nosignal_cnt = (int)(vblank_hz / 2); - } - } - } + handle_nosignal(); config_check_vsync(); if (timehack_alive > 0) { @@ -5246,6 +5359,8 @@ static void reset_autoscale(void) ddffirstword_total_old = ddffirstword_total; ddflastword_total_old = ddflastword_total; + //write_log("%4d %4d %4d %4d %4d %4d\n", diwfirstword_total, diwlastword_total, ddffirstword_total, ddflastword_total, plffirstline_total, plflastline_total); + first_planes_vpos = 0; last_planes_vpos = 0; diwfirstword_total = 30000; @@ -6386,6 +6501,11 @@ void custom_reset(bool hardreset, bool keyboardreset) rga_denise_cycle_start = 0; rga_denise_cycle_count = 0; rga_denise_cycle_line = 1; + for (int i = 0; i < MAX_PLANES; i++) { + fast_plane_store16[i] = (uae_u16*)bpl_line_store; + fast_plane_store32[i] = (uae_u32*)bpl_line_store; + fast_plane_store64[i] = (uae_u64*)bpl_line_store; + } vsync_startline = 3; copper_dma_change_cycle = 0; @@ -6498,6 +6618,10 @@ void custom_reset(bool hardreset, bool keyboardreset) vsstrt = 0xffff; vsstop = 0xffff; hcenter = 0xffff; + bplhstop = 0xffff; + bplhstrt = 0xffff; + sprhstop = 0xffff; + sprhstrt = 0xffff; #if 0 for (int i = 0; i < 32; i++) { @@ -8489,6 +8613,7 @@ void check_prefs_changed_custom(void) currprefs.cs_ciatype[0] = changed_prefs.cs_ciatype[0]; currprefs.cs_ciatype[1] = changed_prefs.cs_ciatype[1]; currprefs.cs_memorypatternfill = changed_prefs.cs_memorypatternfill; + currprefs.cs_optimizations = changed_prefs.cs_optimizations; if (currprefs.chipset_mask != changed_prefs.chipset_mask || currprefs.picasso96_nocustom != changed_prefs.picasso96_nocustom || @@ -9437,12 +9562,10 @@ static void bpl_dma_normal_stop(int hpos) if (!ecs_agnus) { ddf_limit = true; } - if (hpos > ddflastword_total) { + if (bplcon0_planes > 0 && hpos > ddflastword_total) { ddflastword_total = hpos; } - if (bplcon0_planes > 0 && linear_vpos > plflastline_total) { - plflastline_total = linear_vpos; - } + bpl_autoscale(); } STATIC_INLINE bool islastbplseq(void) @@ -10026,12 +10149,73 @@ static void check_vidsyncs(void) DENISE_RGA_FLAG_BLANKEN_CSYNC_ON | DENISE_RGA_FLAG_BLANKEN_CSYNC); } +static void check_vsyncs_fast(void) +{ + if (agnus_vb == 2) { + agnus_vb = 1; + update_agnus_vb(); + } + // P_VE + if (ecs_agnus) { + if (agnus_bsvb) { + agnus_p_ve = true; + } + if ((vpos == 9 && lof_store && !beamcon0_pal) || (vpos == 8) || (vpos == 7 && lof_store && beamcon0_pal) || agnus_equdis) { + agnus_p_ve = false; + } + } + // VE + if (vpos == 0) { + agnus_ve = true; + } + if ((vpos == 9 && lof_store && !beamcon0_pal) || (vpos == 8) || (vpos == 7 && lof_store && beamcon0_pal) || agnus_equdis) { + agnus_ve = false; + } + // VSYNC + if (vpos == 3 && lof_store) { + agnus_vsync = true; + lof_detect = 1; + update_lof_detect(); + } + if (vpos == 5 && !lof_store) { + agnus_vsync = false; + } + if (vpos == 2 && !lof_store) { + agnus_vsync = true; + lof_detect = 0; + update_lof_detect(); + } + if (vpos == 5 && lof_store) { + agnus_vsync = false; + } + + // Programmed VSYNC + if (programmed_register_accessed_v) { + if (!lof_store && vpos == vsstrt) { + agnus_pvsync = true; + lof_pdetect = 0; + } + if (!lof_store && vpos == vsstop) { + agnus_pvsync = false; + } + if (lof_store && vpos == vsstrt) { + agnus_pvsync = true; + lof_pdetect = 1; + } + if (lof_store && vpos == vsstop) { + agnus_pvsync = false; + } + } + check_vidsyncs(); +} + static void check_vsyncs(void) { bool pal = beamcon0_pal; agnus_bsvb_prev = agnus_bsvb; agnus_bsvb = false; + need_vdiw_check = true; if ((agnusa1000 && vpos == 0) || (!agnusa1000 && vpos == maxvpos + lof_store - 1)) { agnus_bsvb = true; @@ -10142,66 +10326,6 @@ static void check_vsyncs(void) update_agnus_vb(); } } - - if (custom_fastmode || eventtab[ev_sync].active) { - if (agnus_vb > 1) { - agnus_vb = 1; - update_agnus_vb(); - } - // P_VE - if (ecs_agnus) { - if (agnus_bsvb) { - agnus_p_ve = true; - } - if ((vpos == 9 && lof_store && !beamcon0_pal) || (vpos == 8) || (vpos == 7 && lof_store && beamcon0_pal) || agnus_equdis) { - agnus_p_ve = false; - } - } - // VE - if (vpos == 0) { - agnus_ve = true; - } - if ((vpos == 9 && lof_store && !beamcon0_pal) || (vpos == 8) || (vpos == 7 && lof_store && beamcon0_pal) || agnus_equdis) { - agnus_ve = false; - } - // VSYNC - if (vpos == 3 && lof_store) { - agnus_vsync = true; - lof_detect = 1; - update_lof_detect(); - } - if (vpos == 5 && !lof_store) { - agnus_vsync = false; - } - if (vpos == 2 && !lof_store) { - agnus_vsync = true; - lof_detect = 0; - update_lof_detect(); - } - if (vpos == 5 && lof_store) { - agnus_vsync = false; - } - - // Programmed VSYNC - if (programmed_register_accessed_v) { - if (!lof_store && vpos == vsstrt) { - agnus_pvsync = true; - lof_pdetect = 0; - } - if (!lof_store && vpos == vsstop) { - agnus_pvsync = false; - } - if (lof_store && vpos == vsstrt) { - agnus_pvsync = true; - lof_pdetect = 1; - } - if (lof_store && vpos == vsstop) { - agnus_pvsync = false; - } - } - - check_vidsyncs(); - } } static void do_scandouble(void) @@ -10237,12 +10361,13 @@ static void next_denise_rga(void) { rga_denise_cycle_start = rga_denise_cycle; rga_denise_cycle_count = 0; - rga_denise[(rga_denise_cycle - 1) & DENISE_RGA_SLOT_MASK].line++; - rga_denise[(rga_denise_cycle - 2) & DENISE_RGA_SLOT_MASK].line++; - rga_denise[(rga_denise_cycle - 3) & DENISE_RGA_SLOT_MASK].line++; - rga_denise[(rga_denise_cycle - 4) & DENISE_RGA_SLOT_MASK].line++; - rga_denise[(rga_denise_cycle - 5) & DENISE_RGA_SLOT_MASK].line++; - rga_denise[rga_denise_cycle].line++; + for (int i = 0; i <= 5; i++) { + struct denise_rga *rga = &rga_denise[(rga_denise_cycle - i) & DENISE_RGA_SLOT_MASK]; + if (rga->line == rga_denise_cycle_line && rga->rga != 0x1fe) { + fast_mode_ce_not = true; + } + rga->line++; + } rga_denise_cycle_line++; } @@ -10264,16 +10389,30 @@ static int getlinetype(void) { int type = 0; - if (agnus_vb_active) { - type = LINETYPE_BLANK; - } else if (vdiwstate == diw_states::DIW_waiting_start || GET_PLANES(bplcon0) == 0 || !dmaen(DMA_BITPLANE)) { - if ((bplcon0 & 1) && (bplcon3 & 0x20)) { + if (currprefs.cpu_memory_cycle_exact) { + if (get_strobe_reg(0) != 0x3c) { type = LINETYPE_BLANK; - } else { - type = LINETYPE_BORDER; + } else if (!drga_bpl) { + if ((bplcon0 & 1) && (bplcon3 & 0x20)) { + type = LINETYPE_BLANK; + } else { + type = LINETYPE_BORDER; + } + } else if (drga_bpl && ddfstop > ddfstrt && ddfstrt >= 0x14 && GET_RES_AGNUS(bplcon0) == GET_RES_DENISE(bplcon0) && dmaen(DMA_BITPLANE)) { + type = LINETYPE_BPL; + } + } else { + if (get_strobe_reg(0) != 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 (ddfstop > ddfstrt && ddfstrt >= 0x14 && GET_RES_AGNUS(bplcon0) == GET_RES_DENISE(bplcon0)) { - type = LINETYPE_BPL; } return type; } @@ -10325,7 +10464,7 @@ static int getbplmod(int plane) return mod; } -static int checkprevfieldlinestateequalbpl(struct linestate *l) +static int checkprevfieldlinestateequalbpl(struct linestate *l, bool dontaddbpl) { if (l->bplcon0 == bplcon0 && l->bplcon2 == bplcon2 && @@ -10339,7 +10478,8 @@ static int checkprevfieldlinestateequalbpl(struct linestate *l) l->fmode == fmode && l->bpllen > 0) { - if (l->bplcon1 != bplcon1) { + int bc1mask = aga_mode ? 0xffff : 0x00ff; + if (l->bplcon1 != (bplcon1 & bc1mask)) { return -1; } // compare bpl data @@ -10347,7 +10487,7 @@ static int checkprevfieldlinestateequalbpl(struct linestate *l) int planes = GET_PLANES(bplcon0); int len = l->bpllen; for (int i = 0; i < planes; i++) { - uaecptr apt = bplpt[i]; + uaecptr apt = currprefs.cpu_memory_cycle_exact ? bplptx[i] : bplpt[i]; #if 0 if (custom_fastmode_bplextendmask & (1 << i)) { int mod = getbplmod(i); @@ -10374,10 +10514,12 @@ static int checkprevfieldlinestateequalbpl(struct linestate *l) return -1; } } - // advance bpl pointers - for (int i = 0; i < planes; i++) { - int mod = getbplmod(i); - bplpt[i] += mod + len; + if (!dontaddbpl && !currprefs.cpu_memory_cycle_exact) { + // advance bpl pointers + for (int i = 0; i < planes; i++) { + int mod = getbplmod(i); + bplpt[i] += mod + len; + } } return 1; } @@ -10385,59 +10527,81 @@ static int checkprevfieldlinestateequalbpl(struct linestate *l) } // draw border line quickly (no copper, no sprites, no weird things, normal mode) -static bool draw_border_fast(struct linestate *l) +static bool draw_border_fast(struct linestate *l, int ldv) { 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]; - int dvp = calculate_linetype(linear_display_vpos + 1); + int dvp = calculate_linetype(ldv); return draw_denise_border_line_fast(dvp, nextline_how, l); } + // draw bitplane line quickly (no copper, no sprites, no weird things, normal mode) -static int draw_line_fast(struct linestate *l) +static bool draw_line_fast(struct linestate *l, int ldv) { + if (l->hbstrt_offset < 0 || l->hbstop_offset < 0) { + return false; + } if (l->bpl1dat_trigger_offset < 0) { - return 0; + return false; } // no HAM+DPF if ((bplcon0 & (0x800 | 0x400)) == (0x800 | 0x400)) { - return 0; + return false; } int planes = GET_PLANES(bplcon0); + int bc1mask = aga_mode ? 0xffff : 0x00ff; // no odd/even scroll if not DPF - if (!(bplcon0 & 0x400) && (bplcon1 & 0x0f0f) != ((bplcon1 >> 4) & 0x0f0f)) { - return 0; - } - - for (int i = 0; i < planes; i++) { - l->bplpt[i] = get_real_address(bplpt[i]); + if (!(bplcon0 & 0x400) && ((bplcon1 & bc1mask) & 0x0f0f) != (((bplcon1 & bc1mask) >> 4) & 0x0f0f)) { + return false; } int colors = getcolorcount(planes); int len = l->bpllen; + if (currprefs.cpu_memory_cycle_exact) { + for (int i = 0; i < planes; i++) { + uae_u8 *pt = bpl_line_store + i * 256; + l->bplpt[i] = pt; + } + } else { + for (int i = 0; i < planes; i++) { + uaecptr pt = bplpt[i]; + l->bplpt[i] = get_real_address(pt); + } + } l->colors = colors; - uae_u8 *dpt = l->linedatastate + planes * len; + uae_u8 *dpt = l->linecolorstate; 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)); } - l->bplcon1 = bplcon1; + l->color0 = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]; + l->bplcon1 = bplcon1 & bc1mask; l->fetchmode_size = fetchmode_size; l->fetchstart_mask = fetchstart_mask; - l->linecolorstate = dpt; // draw quickly, store new state - int dvp = calculate_linetype(linear_display_vpos + 1); + int dvp = calculate_linetype(ldv); if (draw_denise_bitplane_line_fast(dvp, nextline_how, l)) { - // advance bpl pointers - int len = l->bpllen; - for (int i = 0; i < planes; i++) { - int mod = getbplmod(i); - bplpt[i] += mod + len; + if (!currprefs.cpu_memory_cycle_exact) { + // advance bpl pointers + int len = l->bpllen; + for (int i = 0; i < planes; i++) { + int mod = getbplmod(i); + bplpt[i] += mod + len; + } } - return 1; + return true; } - return 0; + return false; +} + +static bool draw_always(void) +{ + if (nextline_how == nln_lower_black_always || nextline_how == nln_upper_black_always || nextline_how == nln_nblack) { + return true; + } + return false; } static bool checkprevfieldlinestateequal(void) @@ -10446,29 +10610,30 @@ static bool checkprevfieldlinestateequal(void) return false; } bool ret = false; + bool always = draw_always(); struct linestate *l = &lines[linear_vpos][lof_display]; int type = getlinetype(); if (type && type == l->type && displayresetcnt == l->cnt) { - if (type == LINETYPE_BLANK) { + if (type == LINETYPE_BLANK && l->vb) { if (1) { ret = true; } - } else if (type == LINETYPE_BORDER) { + } else if (type == LINETYPE_BORDER && !l->vb) { if (1) { uae_u32 c = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]; - if (c == l->color0) { + if (!always && c == l->color0) { ret = true; - } else { - ret = draw_border_fast(l); + } else if (always || currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL) { + ret = draw_border_fast(l, linear_display_vpos + 1); } } - } else if (type == LINETYPE_BPL) { + } else if (type == LINETYPE_BPL && !l->vb) { if (1) { - int r = checkprevfieldlinestateequalbpl(l); - if (r < 0) { + int r = checkprevfieldlinestateequalbpl(l, always); + if (always || (r < 0 && currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL)) { // no match but same parameters: do quick BPL emulation - r = draw_line_fast(l); + r = draw_line_fast(l, linear_display_vpos + 1); } ret = r > 0; } @@ -10487,8 +10652,6 @@ static void resetlinestate(void) l->cnt = displayresetcnt - 1; } -#define MAX_STORED_BPL_DATA 204 - static void storelinestate(void) { if (linear_vpos >= MAX_SCANDOUBLED_LINES) { @@ -10497,10 +10660,15 @@ static void storelinestate(void) struct linestate *l = &lines[linear_vpos][lof_display]; l->type = getlinetype(); + if (!l->type) { + l->cnt = displayresetcnt - 1; + return; + } + int bc1mask = aga_mode ? 0xffff : 0x00ff; l->bpllen = -1; l->cnt = displayresetcnt; l->bplcon0 = bplcon0; - l->bplcon1 = bplcon1; + l->bplcon1 = bplcon1 & bc1mask; l->bplcon2 = bplcon2; l->ddfstrt = ddfstrt; l->ddfstop = ddfstop; @@ -10516,7 +10684,7 @@ static void storelinestate(void) if (l->type == LINETYPE_BPL) { if (!l->linedatastate) { - l->linedatastate = xmalloc(uae_u8, MAX_STORED_BPL_DATA * sizeof(uae_u64) + 256 * sizeof(uae_u32)); + l->linedatastate = xmalloc(uae_u8, MAX_STORED_BPL_DATA_BYTES + 256 * sizeof(uae_u32)); } int stop = !harddis_h && ddfstop > 0xd8 ? 0xd8 : ddfstop; int len = ((stop - ddfstrt) + fetchunit - 1) / fetchunit + 1; @@ -10528,7 +10696,7 @@ static void storelinestate(void) uae_u8 *dpt = l->linedatastate; int planes = GET_PLANES(bplcon0); for (int i = 0; i < planes; i++) { - uaecptr apt = bplpt[i]; + uaecptr apt = currprefs.cpu_memory_cycle_exact ? bplptx[i] : bplpt[i]; #if 0 if (custom_fastmode_bplextendmask & (1 << i)) { apt += fetchmode_bytes + getbplmod(i); @@ -10544,6 +10712,7 @@ static void storelinestate(void) } 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 { @@ -10553,10 +10722,73 @@ static void storelinestate(void) } } +static bool draw_line_ce_fast(void) +{ + if (linear_vpos >= MAX_SCANDOUBLED_LINES) { + return false; + } + bool ret = false; + bool always = draw_always(); + struct linestate *l = &lines[linear_vpos][lof_display]; + + int type = getlinetype(); + if (type && type == l->type && displayresetcnt == l->cnt) { + if (type == LINETYPE_BLANK && l->vb) { + if (1) { + ret = true; + } + } else if (type == LINETYPE_BORDER && !l->vb) { + if (1) { + uae_u32 c = aga_mode ? agnus_colors.color_regs_aga[0] : agnus_colors.color_regs_ecs[0]; + if (c == l->color0) { + ret = true; + } else if (always|| currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL) { + ret = draw_border_fast(l, linear_display_vpos); + } + } + } else if (type == LINETYPE_BPL && !l->vb) { + if (1) { + int r = checkprevfieldlinestateequalbpl(l, always); + if (always || (r < 0 && currprefs.cs_optimizations == DISPLAY_OPTIMIZATIONS_FULL)) { + // no match but same parameters: do quick BPL emulation + r = draw_line_fast(l, linear_display_vpos); + } + ret = r > 0; + } + } + } + if (ret) { + uae_u16 strobe = get_strobe_reg(0); + denise_handle_quick_strobe(strobe, agnus_hpos); + } else { + l->type = 0; + } + return ret; +} + +static void clear_fast_mode_ce(void) +{ + fast_mode_strobe_cnt = 0; + drga_written = false; + fast_mode_ce_not = false; + drga_bpl = false; + drga_spr = false; +} + static void draw_line(void) { + bool can_fast_ce = currprefs.cpu_memory_cycle_exact && currprefs.cs_optimizations < DISPLAY_OPTIMIZATIONS_NONE; + int dvp = calculate_linetype(linear_display_vpos); + if (can_fast_ce && !fast_mode_ce_not && !drga_spr) { + if (draw_line_ce_fast()) { + clear_fast_mode_ce(); + fast_lines_cnt++; + return; + } + } + int wclks = linear_hpos - (display_hstart_cyclewait_skip - display_hstart_cyclewait_skip2); if (wclks > linear_hpos) { wclks = linear_hpos; @@ -10571,6 +10803,13 @@ static void draw_line(void) struct linestate *l = NULL; if (linear_vpos < MAX_SCANDOUBLED_LINES) { l = &lines[linear_vpos][lof_display]; + if (can_fast_ce) { + if (!fast_mode_ce_not && !drga_spr) { + storelinestate(); + } else { + resetlinestate(); + } + } } int cs = 0;// (beamcon0 & BEAMCON0_VARHSYEN) ? agnus_phsync_end - agnus_phsync_start : agnus_hsync_end - agnus_hsync_start; @@ -10578,6 +10817,8 @@ static void draw_line(void) draw_denise_line(dvp, nextline_how, rga_denise_cycle_line, rga_denise_cycle_start, rga_denise_cycle_count, display_hstart_cyclewait_skip, display_hstart_cyclewait_skip2, wclks, cs, cslen, lol, l); + + clear_fast_mode_ce(); } static void dmal_fast(void) @@ -10746,8 +10987,6 @@ static void draw_line_fast(void) } #endif -static int display_hstart_fastmode; - static void quick_denise_rga(void) { for (int i = 0; i < rga_denise_cycle_count; i++) { @@ -10757,8 +10996,6 @@ static void quick_denise_rga(void) denise_update_reg(rd->rga, rd->v); } } - uae_u16 strobe = get_strobe_reg(0); - //denise_handle_quick_strobe(strobe, display_hstart_fastmode); } static void do_draw_line(void) @@ -10768,7 +11005,7 @@ static void do_draw_line(void) quick_denise_rga(); next_denise_rga(); decide_line_end(); - return; + goto end; } if (!custom_disabled) { if (custom_fastmode >= 0) { @@ -10792,6 +11029,15 @@ static void do_draw_line(void) } decide_line_end(); + +end:; + if (currprefs.cpu_memory_cycle_exact) { + for (int i = 0; i < MAX_PLANES; i++) { + fast_plane_store16[i] = (uae_u16*)(bpl_line_store + i * 256); + fast_plane_store32[i] = (uae_u32*)(bpl_line_store + i * 256); + fast_plane_store64[i] = (uae_u64*)(bpl_line_store + i * 256); + } + } } static void decide_hsync(void) @@ -10807,11 +11053,6 @@ static void decide_hsync(void) } } -static void check_extra(void) -{ - check_bpl_vdiw(); -} - static void handle_pipelined_write(void) { if (pipelined_write_addr == 0x1fe) { @@ -10823,7 +11064,7 @@ static void handle_pipelined_write(void) static int can_fast_custom(void) { - if (1 && currprefs.chipset_hr) { + if (currprefs.cs_optimizations >= DISPLAY_OPTIMIZATIONS_NONE) { return 0; } if (not_safe_mode || syncs_stopped || agnus_pos_change > -2) { @@ -10982,6 +11223,25 @@ static void start_sync_fast_handler(void) } #endif +static void custom_trigger_start_nosync(void) +{ + linear_display_vpos = linear_vpos; + linear_vpos++; + if (linear_vpos >= maxvpos + lof_store) { + nosignal_trigger = true; + linear_vpos = 0; + end_draw_denise(); + if (!custom_disabled) { + start_draw_denise(); + } + vsync_handler_post(); + devices_vsync_pre(); + inputdevice_read_msg(true); + vsync_display_render(); + vsync_display_rendered = false; + } +} + static void custom_trigger_start(void) { vpos_prev = vpos; @@ -10992,6 +11252,7 @@ static void custom_trigger_start(void) } linear_display_vpos = linear_vpos; linear_vpos++; + bpl_autoscale(); linear_vpos_vsync++; if (beamcon0_has_vsync) { @@ -11082,7 +11343,7 @@ static void custom_trigger_start(void) agnus_trigger_cck = get_cck_cycles(); start_dmal(); - check_extra(); + check_bpl_vdiw(); int custom_fastmode_prev = custom_fastmode; #if 0 @@ -11098,7 +11359,7 @@ static void custom_trigger_start(void) } #endif - if (custom_disabled && !eventtab[ev_sync].active && !currprefs.cpu_memory_cycle_exact) { + if (custom_disabled && !eventtab[ev_sync].active && !currprefs.cpu_memory_cycle_exact && currprefs.cs_optimizations < DISPLAY_OPTIMIZATIONS_NONE) { custom_fastmode = 0; start_sync_imm_handler(); write_log("Chipset emulation inactive\n"); @@ -11113,24 +11374,25 @@ static void custom_trigger_start(void) #endif } - if (!custom_disabled && !currprefs.cpu_memory_cycle_exact) { - if (vpos == 0) { - static int pctx, pctxcnt; - int pct = fast_lines_cnt * 100 / (maxvpos > 0 ? maxvpos : 1); - if (pct > 100) { - pct = 100; - } - pctx += pct; - pctxcnt++; - if (pctxcnt == 50) { - int v = pctx / pctxcnt; - write_log("%03d%%%%\n", v); - pctxcnt = 0; - pctx = 0; + if (vpos == 0 && fast_lines_cnt) { + static int pctx, pctxcnt; + int pct = fast_lines_cnt * 100 / (maxvpos > 0 ? maxvpos : 1); + if (pct > 100) { + pct = 100; + } + pctx += pct; + pctxcnt++; + if (pctxcnt == 50) { + int v = pctx / pctxcnt; + write_log("%03d%%%%\n", v); + pctxcnt = 0; + pctx = 0; - } - fast_lines_cnt = 0; } + fast_lines_cnt = 0; + } + + if (!custom_disabled && !currprefs.cpu_memory_cycle_exact && currprefs.cs_optimizations < DISPLAY_OPTIMIZATIONS_NONE) { #if 0 if (bpl_active_this_line) { custom_fastmode_bplextendmask = 0; @@ -11145,6 +11407,7 @@ static void custom_trigger_start(void) #endif int canline = can_fast_custom(); if (canline) { + calculate_linetype(linear_display_vpos + 1); bool same = checkprevfieldlinestateequal(); if (same) { start_sync_equalline_handler(); @@ -11154,7 +11417,6 @@ static void custom_trigger_start(void) custom_fastmode = 1; do_imm_dmal(); } - check_vsyncs(); } else { storelinestate(); } @@ -11165,6 +11427,8 @@ static void custom_trigger_start(void) if (!eventtab[ev_sync].active) { custom_fastmode = 0; + } else { + check_vsyncs_fast(); } #if 0 @@ -11182,6 +11446,7 @@ static void fakehsync_handler(uae_u32 v) hsync_handler(false); next_denise_rga(); event2_newevent_xx(-1, CYCLE_UNIT * maxhpos, 0, fakehsync_handler); + custom_trigger_start_nosync(); } } @@ -11770,7 +12035,7 @@ static void handle_rga_out(void) } prev_strobe = r->reg; if (!custom_disabled) { - write_drga(r->reg, NULL, 0); + write_drga_strobe(r->reg); } // load DMAL in next cycle dmal_next = true; @@ -11779,7 +12044,7 @@ static void handle_rga_out(void) break; case 0x03e: // STRLONG if (!custom_disabled) { - write_drga(r->reg, NULL, 0); + write_drga_strobe(r->reg); } done = true; break; @@ -11810,26 +12075,26 @@ static void handle_rga_out(void) if (fetchmode_fmode_spr == 0) { uae_u16 dat = fetch16(r); if (!dmastate) { - write_drga(r->reg, pt, dat); + write_drga_dat_spr(r->reg, pt, dat); } else { - write_drga(r->reg, pt, dat << 16); + write_drga_dat_spr(r->reg, pt, dat << 16); } sdat = dat; } else if (fetchmode_fmode_spr == 1) { uae_u32 dat = fetch32_spr(r); sdat = dat >> 16; if (!dmastate) { - write_drga(r->reg, pt, sdat); + write_drga_dat_spr(r->reg, pt, sdat); } else { - write_drga(r->reg, pt, dat); + write_drga_dat_spr(r->reg, pt, dat); } } else { uae_u64 dat = fetch64(r); sdat = dat >> 48; if (!dmastate) { - write_drga(r->reg, pt, sdat); + write_drga_dat_spr(r->reg, pt, sdat); } else { - write_drga_wide(r->reg, pt, dat); + write_drga_dat_spr_wide(r->reg, pt, dat); } } @@ -11872,20 +12137,20 @@ static void handle_rga_out(void) #endif if (!aga_mode) { uae_u32 dat = fetch16(r); - write_drga(r->reg, pt, dat); + write_drga_dat_bpl16(r->reg, pt, dat, num); regs.chipset_latch_rw = (uae_u16)dat; } else { if (fetchmode_fmode_bpl == 0) { uae_u32 dat = fetch16(r); - write_drga(r->reg, pt, dat); + write_drga_dat_bpl16(r->reg, pt, dat, num); regs.chipset_latch_rw = (uae_u16)dat; } else if (fetchmode_fmode_bpl == 1) { uae_u32 dat = fetch32_bpl(r); - write_drga(r->reg, pt, dat); + write_drga_dat_bpl32(r->reg, pt, dat, num); regs.chipset_latch_rw = (uae_u16)dat; } else { uae_u64 dat64 = fetch64(r); - write_drga_wide(r->reg, pt, dat64); + write_drga_dat_bpl64(r->reg, pt, dat64, num); regs.chipset_latch_rw = (uae_u16)dat64; } } @@ -12031,7 +12296,10 @@ static void do_cck(bool docycles) decide_bpl(agnus_hpos); } - check_extra(); + if (need_vdiw_check) { + need_vdiw_check = false; + check_bpl_vdiw(); + } check_hsyncs(); @@ -12051,7 +12319,6 @@ static void do_cck(bool docycles) decide_hsync(); empty_pipeline(); - inc_cck(); if (docycles) { do_cycles_normal(1 * CYCLE_UNIT); @@ -12139,7 +12406,7 @@ static void sync_equalline_handler(void) rga_denise_cycle &= DENISE_RGA_SLOT_MASK; uae_u16 str = get_strobe_reg(0); - write_drga(str, NULL, 0); + write_drga_strobe(str); if (prev_strobe == 0x3c && str != 0x3c) { INTREQ_INT(5, 0); } @@ -12186,8 +12453,10 @@ static void sync_equalline_handler(void) int dvp = calculate_linetype(linear_display_vpos); denise_set_line(dvp); + check_vsyncs_fast(); + if (eventtab[ev_sync].active) { - check_extra(); + check_bpl_vdiw(); do_imm_dmal(); } else { custom_fastmode = -1; diff --git a/drawing.cpp b/drawing.cpp index 844cf9c2..b50990b0 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -39,6 +39,8 @@ #include "devices.h" #include "gfxboard.h" +#define BLANK_COLOR 0x000000 + #define AUTOSCALE_SPRITES 1 #define LOL_SHIFT_COLORS 0 @@ -115,6 +117,7 @@ static int sprite_offs[256]; /* OCS/ECS color lookup table. */ xcolnr xcolors[4096]; +static uae_u32 chunky_out[4096], dpf_chunky_out[4096]; #ifdef AGA /* AGA mode color lookup tables */ @@ -3023,6 +3026,8 @@ void denise_reset(bool hard) dummyint = 0; memset(&dummydrec, 0, sizeof(dummydrec)); + memset(chunky_out, 0, sizeof(chunky_out)); + memset(dpf_chunky_out, 0, sizeof(dpf_chunky_out)); debug_dma_dhpos_odd = &dummyint; debug_dma_ptr = &dummydrec; denise_cycle_half = 0; @@ -3407,6 +3412,16 @@ static void expand_drga_blanken(struct denise_rga *rd) } } +bool denise_is_vb(void) +{ + if (delayed_vblank_ecs > 0) { + return true; + } else if (delayed_vblank_ecs < 0) { + return false; + } + return denise_vblank; +} + static void handle_strobes(struct denise_rga *rd) { if (ecs_denise) { @@ -4061,6 +4076,15 @@ static uae_u32 denise_render_sprites_ecs_shres(void) return v; } +static void do_hb(void) +{ + denise_hblank_active = denise_hblank; + denise_vblank_active = denise_vblank; + denise_blank_active2 = denise_hblank_active || denise_vblank_active; + denise_blank_active = denise_blank_enabled ? denise_blank_active2 : false; + denise_sprite_blank_active = denise_blank_active; +} + static void do_hbstrt(int cnt) { denise_hblank = true; @@ -4075,11 +4099,7 @@ static void do_hbstrt(int cnt) denise_vblank = true; delayed_vblank_ecs = 0; } - denise_hblank_active = denise_hblank; - denise_vblank_active = denise_vblank; - denise_blank_active2 = denise_hblank_active || denise_vblank_active; - denise_blank_active = denise_blank_enabled ? denise_blank_active2 : false; - denise_sprite_blank_active = denise_blank_active; + do_hb(); hstart_new(); linear_denise_hbstrt = cnt; } @@ -4103,11 +4123,7 @@ static void do_hbstop(int cnt) denise_vblank = false; delayed_vblank_ecs = 0; } - denise_hblank_active = denise_hblank; - denise_vblank_active = denise_vblank; - denise_blank_active2 = denise_hblank_active || denise_vblank_active; - denise_blank_active = denise_blank_enabled ? denise_blank_active2 : false; - denise_sprite_blank_active = denise_blank_active; + do_hb(); linear_denise_hbstop = cnt; } #ifdef DEBUGGER @@ -4260,6 +4276,43 @@ static void do_hstop_ecs(int cnt) #endif } +// fast mode hblank handling +static void check_fast_hb(void) +{ + if (!exthblankon_aga && !exthblankon_ecs) { + if (delayed_vblank_ecs > 0) { + denise_vblank = true; + delayed_vblank_ecs = 0; + } else if (delayed_vblank_ecs < 0) { + denise_vblank = false; + delayed_vblank_ecs = 0; + } + denise_hblank = true; + do_hb(); + } else { + if (delayed_vblank_ecs > 0) { + denise_pvblank = true; + delayed_vblank_ecs = 0; + denise_vblank_active = denise_pvblank; + denise_blank_active2 = denise_hblank_active || denise_vblank_active; + denise_blank_active = denise_blank_enabled ? denise_blank_active2 : false; + } + if (delayed_vblank_ecs < 0) { + denise_pvblank = false; + delayed_vblank_ecs = 0; + denise_vblank_active = denise_pvblank; + denise_blank_active2 = denise_hblank_active || denise_vblank_active; + denise_blank_active = denise_blank_enabled ? denise_blank_active2 : false; + } + if (exthblankon_aga) { + do_exthblankon_aga(); + } + denise_phblank = true; + } + hstart_new(); +} + + // fix strobe position after fast mode void denise_handle_quick_strobe(uae_u16 strobe, int offset) { @@ -4273,13 +4326,9 @@ void denise_handle_quick_strobe(uae_u16 strobe, int offset) // 3 = refresh offset, 2 = pipeline delay denise_hcounter_new = (offset - 3 - 2) * 2 + 2; denise_hcounter = denise_hcounter_new; + check_fast_hb(); } } -void denise_handle_quick_disable_hblank(void) -{ - do_hbstop(linear_denise_hbstop); - do_phbstop_aga(linear_denise_hbstop); -} bool denise_update_reg_queued(uae_u16 reg, uae_u16 v, uae_u32 cycle) { @@ -5065,15 +5114,6 @@ void draw_denise_line(int gfx_ypos, enum nln_how how, uae_u32 linecnt, int start lts_changed = false; } - if (ls) { - ls->hstrt_offset = hstrt_offset; - ls->hstop_offset = hstop_offset; - ls->hbstrt_offset = hbstrt_offset; - ls->hbstop_offset = hbstop_offset; - ls->bpl1dat_trigger_offset = bpl1dat_trigger_offset; - ls->internal_pixel_cnt = internal_pixel_cnt; - ls->internal_pixel_start_cnt = internal_pixel_start_cnt; - } #if 0 static int testtoggle[1000]; testtoggle[gfx_ypos]++; @@ -5169,6 +5209,18 @@ void draw_denise_line(int gfx_ypos, enum nln_how how, uae_u32 linecnt, int start emulate_black_level_calibration(buf1t, buf2t, bufdt, total, calib_start, calib_len); } } + + if (ls) { + ls->hstrt_offset = hstrt_offset; + ls->hstop_offset = hstop_offset; + ls->hbstrt_offset = hbstrt_offset; + ls->hbstop_offset = hbstop_offset; + 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; + } + resolution_count[denise_res]++; lines_count++; } @@ -5403,7 +5455,7 @@ static void lts_unaligned_aga(int cnt, int cnt_next, int h) // bitplanes uae_u8 pix = 0; - uae_u32 dpix_val = 0; + uae_u32 dpix_val = BLANK_COLOR; uae_u16 gpix = 0xffff; if (!denise_blank_active) { // borderblank ends 1 shres pixel early @@ -5622,13 +5674,14 @@ static void lts_unaligned_ecs(int cnt, int cnt_next, int h) } // bitplanes - uae_u32 dpix_val = 0; + uae_u32 dpix_val = BLANK_COLOR; uae_u8 pix = 0; uae_u16 gpix = 0xffff; if (!denise_blank_active) { gpix = 0; // borderblank ends 1 shres pixel early dpix_val = cnt == denise_brdstop ? denise_colors.acolors[0] : bordercolor; + if (denise_hdiw && bpl1dat_trigger) { pix = getbpl6(); @@ -5783,10 +5836,169 @@ Don't touch this if you don't know what you are doing. */ #define DOLINE_SWAP 0 -#define GETLONG32(P) (do_get_mem_long((uae_u32*)P)) +STATIC_INLINE uae_u32 GETLONG32_16(uae_u8 *P) +{ + uae_u32 v = (*(uae_u32 *)P); + v = (v >> 16) | (v << 16); + return v; +} +#define GETLONG32_8(P) (do_get_mem_long((uae_u32*)P)) +#define GETLONG32_32(P) (*((uae_u32*)P)) +#define GETLONG32_64(P) (*((uae_u32*)P)) #define GETLONG64(P) (*(uae_u64*)P) -STATIC_INLINE void pfield_doline32_1(uae_u32 *pixels, int wordcount, int planes, uae_u8 *real_bplpt[8]) + +STATIC_INLINE void pfield_doline32_8(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_8(real_bplpt[7]); real_bplpt[7] += 4; + case 7: b1 = GETLONG32_8(real_bplpt[6]); real_bplpt[6] += 4; +#endif + case 6: b2 = GETLONG32_8(real_bplpt[5]); real_bplpt[5] += 4; + case 5: b3 = GETLONG32_8(real_bplpt[4]); real_bplpt[4] += 4; + case 4: b4 = GETLONG32_8(real_bplpt[3]); real_bplpt[3] += 4; + case 3: b5 = GETLONG32_8(real_bplpt[2]); real_bplpt[2] += 4; + case 2: b6 = GETLONG32_8(real_bplpt[1]); real_bplpt[1] += 4; + case 1: b7 = GETLONG32_8(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_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; @@ -5794,15 +6006,15 @@ STATIC_INLINE void pfield_doline32_1(uae_u32 *pixels, int wordcount, int planes, b0 = 0, b1 = 0, b2 = 0, b3 = 0, b4 = 0, b5 = 0, b6 = 0, b7 = 0; switch (planes) { #ifdef AGA - case 8: b0 = GETLONG32(real_bplpt[7]); real_bplpt[7] += 4; - case 7: b1 = GETLONG32(real_bplpt[6]); real_bplpt[6] += 4; + 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(real_bplpt[5]); real_bplpt[5] += 4; - case 5: b3 = GETLONG32(real_bplpt[4]); real_bplpt[4] += 4; - case 4: b4 = GETLONG32(real_bplpt[3]); real_bplpt[3] += 4; - case 3: b5 = GETLONG32(real_bplpt[2]); real_bplpt[2] += 4; - case 2: b6 = GETLONG32(real_bplpt[1]); real_bplpt[1] += 4; - case 1: b7 = GETLONG32(real_bplpt[0]); real_bplpt[0] += 4; + 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); @@ -5861,20 +6073,199 @@ STATIC_INLINE void pfield_doline32_1(uae_u32 *pixels, int wordcount, int planes, } } + +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; + } +} /* See above for comments on inlining. These functions should _not_ be inlined themselves. */ -static void NOINLINE pfield_doline32_n1(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 1, real_bplpt); } -static void NOINLINE pfield_doline32_n2(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 2, real_bplpt); } -static void NOINLINE pfield_doline32_n3(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 3, real_bplpt); } -static void NOINLINE pfield_doline32_n4(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 4, real_bplpt); } -static void NOINLINE pfield_doline32_n5(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 5, real_bplpt); } -static void NOINLINE pfield_doline32_n6(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 6, real_bplpt); } +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); } +static void NOINLINE pfield_doline32_n2_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 2, real_bplpt); } +static void NOINLINE pfield_doline32_n3_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 3, real_bplpt); } +static void NOINLINE pfield_doline32_n4_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 4, real_bplpt); } +static void NOINLINE pfield_doline32_n5_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 5, real_bplpt); } +static void NOINLINE pfield_doline32_n6_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 6, real_bplpt); } +#ifdef AGA +static void NOINLINE pfield_doline32_n7_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 7, real_bplpt); } +static void NOINLINE pfield_doline32_n8_8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_8(data, count, 8, real_bplpt); } +#endif +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_n7(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 7, real_bplpt); } -static void NOINLINE pfield_doline32_n8(uae_u32 *data, int count, uae_u8 *real_bplpt[8]) { pfield_doline32_1(data, count, 8, real_bplpt); } +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(int planecnt, int wordcount, uae_u8 *datap, struct linestate *ls) +static void pfield_doline_8(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_8(data, wordcount, real_bplpt); break; + case 2: pfield_doline32_n2_8(data, wordcount, real_bplpt); break; + case 3: pfield_doline32_n3_8(data, wordcount, real_bplpt); break; + case 4: pfield_doline32_n4_8(data, wordcount, real_bplpt); break; + case 5: pfield_doline32_n5_8(data, wordcount, real_bplpt); break; + case 6: pfield_doline32_n6_8(data, wordcount, real_bplpt); break; +#ifdef AGA + case 7: pfield_doline32_n7_8(data, wordcount, real_bplpt); break; + case 8: pfield_doline32_n8_8(data, wordcount, real_bplpt); break; +#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; @@ -5887,15 +6278,15 @@ static void pfield_doline(int planecnt, int wordcount, uae_u8 *datap, struct lin switch (planecnt) { default: break; case 0: memset(data, 0, wordcount * 32); break; - case 1: pfield_doline32_n1(data, wordcount, real_bplpt); break; - case 2: pfield_doline32_n2(data, wordcount, real_bplpt); break; - case 3: pfield_doline32_n3(data, wordcount, real_bplpt); break; - case 4: pfield_doline32_n4(data, wordcount, real_bplpt); break; - case 5: pfield_doline32_n5(data, wordcount, real_bplpt); break; - case 6: pfield_doline32_n6(data, wordcount, real_bplpt); 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(data, wordcount, real_bplpt); break; - case 8: pfield_doline32_n8(data, wordcount, real_bplpt); break; + case 7: pfield_doline32_n7_64(data, wordcount, real_bplpt); break; + case 8: pfield_doline32_n8_64(data, wordcount, real_bplpt); break; #endif } } @@ -5948,6 +6339,7 @@ static int l_shift(int v, int shift) } } +// draw border from hb to hb bool draw_denise_border_line_fast(int gfx_ypos, enum nln_how how, struct linestate *ls) { get_line(gfx_ypos, how); @@ -5957,7 +6349,7 @@ bool draw_denise_border_line_fast(int gfx_ypos, enum nln_how how, struct linesta } uae_u32 *buf1p = buf1; - uae_u32 *buf2p = buf2 != buf1 ? buf2 : buf1; + uae_u32 *buf2p = buf2 != buf1 ? buf2 : NULL; int rshift = RES_MAX - hresolution; @@ -5973,33 +6365,74 @@ bool draw_denise_border_line_fast(int gfx_ypos, enum nln_how how, struct linesta int hbstrt_offset = ls->hbstrt_offset >> rshift; int hbstop_offset = ls->hbstop_offset >> rshift; - int draw_start = 0; int draw_end = ls->internal_pixel_cnt >> rshift; int draw_startoffset = ls->internal_pixel_start_cnt >> rshift; + //write_log("%d %08x %03d %03d %03d %03d\n", vpos, ls->color0, hbstrt_offset, hbstop_offset, draw_startoffset, draw_end); + buf1 = buf1p; buf2 = buf2p; - for (int cnt = draw_start; cnt < hbstrt_offset; cnt++) { - if (cnt >= draw_end) { - break; + int start = draw_startoffset; + if (start < hbstop_offset) { + int diff = hbstop_offset - start; + buf1 += diff; + buf2 += diff; + start = hbstop_offset; + } + int end = draw_end > hbstrt_offset ? hbstrt_offset : draw_end; + int total = end - start; + + if (buf2p) { + while (total >= 8) { + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + *buf2++ = bgcol; + + total -= 8; + } + while (total > 0) { + *buf1++ = bgcol; + *buf2++ = bgcol; + total--; } - if (cnt >= draw_startoffset) { - if (cnt >= hbstop_offset) { - *buf1++ = bgcol; - *buf2++ = bgcol; - } else { - buf1++; - buf2++; - } + } else { + while (total >= 8) { + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + *buf1++ = bgcol; + total -= 8; + } + while (total > 0) { + *buf1++ = bgcol; + total--; } } return true; } -extern int blop; -static uae_u32 chunky_out[4096], dpf_chunky_out[4096]; +static int previous_c_len; + bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct linestate *ls) { get_line(gfx_ypos, how); @@ -6014,6 +6447,7 @@ bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines int res = GET_RES_DENISE(ls->bplcon0); bool dpf = (ls->bplcon0 & 0x400) != 0; 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 && !bplham && !dpf && (!ecs_denise || !(ls->bplcon0 & 1) || !(ls->bplcon2 & 0x200)); @@ -6042,7 +6476,17 @@ bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines uae_u32 *cstart = chunky_out + 1024; int len = (ls->bpllen + 3) / 4; - pfield_doline(planecnt, len, (uae_u8*)cstart, ls); + if (currprefs.cpu_memory_cycle_exact) { + if (fmode == 16) { + pfield_doline_16(planecnt, len, (uae_u8*)cstart, ls); + } else if (fmode == 32) { + pfield_doline_32(planecnt, len, (uae_u8*)cstart, ls); + } else { + pfield_doline_64(planecnt, len, (uae_u8*)cstart, ls); + } + } else { + pfield_doline_8(planecnt, len, (uae_u8*)cstart, ls); + } bool ecsena = ecs_denise && (ls->bplcon0 & 1) != 0; bool brdblank = (ls->bplcon3 & 0x20) && ecsena; @@ -6091,7 +6535,6 @@ bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines int rshift = RES_MAX - hresolution; int delay1 = (ls->bplcon1 & 0x0f) | ((ls->bplcon1 & 0x0c00) >> 6); - int fmode = 16 << (((ls->fmode & 3) == 3 ? 2 : (ls->fmode & 3))); int delaymask = (fmode >> res) - 1; int delayoffset = ls->fetchmode_size - (((ls->ddfstrt - 0x18) & ls->fetchstart_mask) << 1); delay1 += delayoffset; @@ -6121,7 +6564,8 @@ bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines int hbstrt_offset = ls->hbstrt_offset >> rshift; int hbstop_offset = ls->hbstop_offset >> rshift; - int hstrt_offset = ls->hstrt_offset < 0 || ls->hstrt_offset >= ls->hbstrt_offset ? hbstop_offset : ls->hstrt_offset >> rshift; + // negative checks are needed to handle always-on HDIW + int hstrt_offset = ls->hstrt_offset < 0 || ls->hstop_offset < 0 || ls->hstrt_offset >= ls->hbstrt_offset ? hbstop_offset : ls->hstrt_offset >> rshift; int hstop_offset = ls->hstop_offset < 0 ? hbstrt_offset : ls->hstop_offset >> rshift; int bpl1dat_trigger_offset = (ls->bpl1dat_trigger_offset + (1 << RES_MAX)) >> rshift; int draw_start = 0; @@ -6135,33 +6579,76 @@ bool draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines uae_u32 *colors_aga = (uae_u32*)ls->linecolorstate; buf1 = buf1p; buf2 = buf2p; - int cpadd = doubling < 0 ? (doubling < -1 ? 4 : 2) : 1; - int bufadd = doubling > 0 ? (doubling > 1 ? 4 : 2) : 1; +// int cpadd = doubling < 0 ? (doubling < -1 ? 4 : 2) : 1; +// int bufadd = doubling > 0 ? (doubling > 1 ? 4 : 2) : 1; + + int cpadd = doubling < 0 ? (doubling < -1 ? 2 : 1) : 0; + int bufadd = doubling > 0 ? (doubling > 1 ? 2 : 1) : 0; + // subpixel handling int subpix = (ls->bplcon1 & 0x0300) >> 8; int cpadds[4] = { 0, 0, 0, 0 }; if (doubling <= 0) { - cpadds[0] = cpadd; + cpadds[0] = 1 << cpadd; } else if (doubling == 1) { if (subpix & 2) { cp--; - cpadds[0] = cpadd; + cpadds[0] = 1 << cpadd; } else { - cpadds[1] = cpadd; + cpadds[1] = 1 << cpadd; } } else { if (subpix & 2) { cp--; - cpadds[0] = cpadd; + cpadds[0] = 1 << cpadd; } else { - cpadds[2] = cpadd; + cpadds[2] = 1 << cpadd; } } +#if 1 + ltsf(draw_start, draw_end, draw_startoffset, hbstrt_offset, hbstop_offset, hstrt_offset, hstop_offset, bpl1dat_trigger_offset, planecnt, bgcol, cp, cp2, cpadd, cpadds, bufadd, bxor, ls->linecolorstate); +#else + + int cnt = draw_start; + + if (hstrt_offset > bpl1dat_trigger_offset) { + int d = hstrt_offset - bpl1dat_trigger_offset; + cp += cpadd * d; + } + cnt = draw_startoffset; + if (cnt < hbstop_offset) { + int d = hbstop_offset - cnt; + buf1 += bufadd * d; + buf2 += bufadd * d; + cnt = hbstop_offset; + } + if (draw_end > hbstrt_offset) { + draw_end = hbstrt_offset; + } + + while (cnt < draw_end) { + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcol; + *buf2++ = bgcol; + } + if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + } + cnt += bufadd; + } +#endif return true; } diff --git a/genlinetoscr.cpp b/genlinetoscr.cpp index 20dbd11c..dd7e7dba 100644 --- a/genlinetoscr.cpp +++ b/genlinetoscr.cpp @@ -383,7 +383,7 @@ static void gen_prepix(int i) if (genlock) { outf("uae_u16 gpix%d = 0xffff;", i); } - outf("uae_u32 dpix_val%d = 0;", i); + outf("uae_u32 dpix_val%d = BLANK_COLOR;", i); } static void gen_copybpl_lines(int oddeven) @@ -907,7 +907,7 @@ static void gen_fastdraw_mode(int off, int total) } else { outf("c = *cp;"); if (off == total - 1) { - outf("cp += cpadd;"); + outf("cp += 1 << cpadd;"); } if (modes == CMODE_DUALPF) { outf("{"); @@ -946,18 +946,35 @@ static void gen_fastdraw(void) } outf("int cnt = draw_start;"); - outf("while (cnt < draw_end) {"); - outf(" bool bpl = false;"); - outf(" if (cnt >= hbstrt_offset) {"); - outf(" break;"); + outf("if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) {"); + outf(" cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset;"); + outf(" if (cnt > hbstop_offset) {"); + outf(" cnt = hbstop_offset;"); outf(" }"); - outf("if (cnt >= draw_startoffset) {"); + outf("}"); + outf("int end = draw_end;"); + outf("if (end > hbstrt_offset) {"); + outf(" end = hbstrt_offset;"); + outf("}"); + outf("if (cnt < draw_startoffset) {"); + outf(" int d = (draw_startoffset - cnt) >> bufadd;"); + outf(" cp += d << cpadd;"); + outf(" cnt = draw_startoffset;"); + outf("}"); + outf(" if (cnt < hbstop_offset) {"); - outf(" buf1 += bufadd;"); + outf(" int d = (hbstop_offset - cnt) >> bufadd;"); + outf(" buf1 += d << bufadd;"); if (isbuf2) { - outf(" buf2 += bufadd;"); + outf(" buf2 += d << bufadd;"); } - outf("} else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {"); + outf(" cnt = hbstop_offset;"); + outf("}"); + + + outf("while (cnt < end) {"); + outf(" bool bpl = false;"); + outf(" if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) {"); if (doubling <= 0) { outf("*buf1++ = bgcolor;"); if (isbuf2) { @@ -982,8 +999,7 @@ static void gen_fastdraw(void) outf("*buf2++ = bgcolor;"); } } - outf("}"); - outf("if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) {"); + outf("} else {"); outf("bpl = true;"); outf("uae_u8 c;"); outf("uae_u32 col;"); @@ -999,11 +1015,10 @@ static void gen_fastdraw(void) gen_fastdraw_mode(3, 4); } outf("}"); - outf("}"); outf("if (cnt >= bpl1dat_trigger_offset && !bpl) {"); - outf(" cp += cpadd;"); + outf(" cp += 1 << cpadd;"); outf("}"); - outf("cnt += bufadd;"); + outf("cnt += 1 << bufadd;"); outf("}"); } diff --git a/include/drawing.h b/include/drawing.h index bc5fad77..c12169cc 100644 --- a/include/drawing.h +++ b/include/drawing.h @@ -40,6 +40,9 @@ extern bool exthblanken; #define CCK_SHRES_SHIFT 3 +#define MAX_STORED_BPL_DATA 204 +#define MAX_STORED_BPL_DATA_BYTES (MAX_STORED_BPL_DATA * sizeof(uae_u64)) + /* color values in two formats: 12 (OCS/ECS) or 24 (AGA) bit Amiga RGB (color_regs), * and the native color value; both for each Amiga hardware color register. * @@ -190,6 +193,7 @@ struct linestate int internal_pixel_start_cnt; int fetchmode_size, fetchstart_mask; int ltsidx; + bool vb; }; extern struct color_entry denise_colors; @@ -205,7 +209,7 @@ void denise_store_registers(void); void denise_restore_registers(void); void denise_set_line(int gfx_ypos); void denise_mark_last_line(void); -void denise_handle_quick_disable_hblank(void); void denise_handle_quick_strobe(uae_u16 strobe, int offset); +bool denise_is_vb(void); #endif /* UAE_DRAWING_H */ diff --git a/include/options.h b/include/options.h index cb76c596..fc17139b 100644 --- a/include/options.h +++ b/include/options.h @@ -505,6 +505,10 @@ struct monconfig #define KB_A2000_8039 6 #define KB_Ax000_6570 7 +#define DISPLAY_OPTIMIZATIONS_FULL 0 +#define DISPLAY_OPTIMIZATIONS_PARTIAL 1 +#define DISPLAY_OPTIMIZATIONS_NONE 2 + struct uae_prefs { struct strlist *all_lines; @@ -749,6 +753,7 @@ struct uae_prefs { bool cs_ipldelay; bool cs_floppydatapullup; uae_u32 seed; + int cs_optimizations; struct boardromconfig expansionboard[MAX_EXPANSION_BOARDS]; diff --git a/linetoscr_aga_fast.cpp b/linetoscr_aga_fast.cpp index 36e822e5..a6a2f043 100644 --- a/linetoscr_aga_fast.cpp +++ b/linetoscr_aga_fast.cpp @@ -8,3645 +8,4725 @@ static void lts_aga_n_ilores_dlores_b1(int draw_start, int draw_end, int draw_st { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; + } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { bool bpl = false; - if (cnt >= hbstrt_offset) { - break; - } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - c = *cp; - cp += cpadds[2]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[2]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - c = *cp; - cp += cpadds[3]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[3]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - c = *cp; - cp += cpadds[2]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - c = *cp; - cp += cpadds[3]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + c = *cp; + cp += cpadds[2]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + c = *cp; + cp += cpadds[3]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[2]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[2]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[3]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[3]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[2]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[3]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[2]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[3]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[2]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[3]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[2]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[3]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + dpval ^= bxor; + col = colors_aga[dpval]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadds[1]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += cpadds[1]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_n_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_dpf_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - { - uae_u8 dpval = dpf_lookup[c]; - if (dpf_lookup_no[c]) { - dpval += dblpfofs[bpldualpf2of]; - } - dpval ^= bxor; - col = colors_aga[dpval]; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + { + uae_u8 dpval = dpf_lookup[c]; + if (dpf_lookup_no[c]) { + dpval += dblpfofs[bpldualpf2of]; } - *buf1++ = col; - *buf2++ = col; + dpval ^= bxor; + col = colors_aga[dpval]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ehb_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - if (c & 0x20) { - uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; - col = CONVERT_RGB(v); - } else { - col = colors_aga[c]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + if (c & 0x20) { + uae_u32 v = (colors_aga[c & 31] >> 1) & 0x7f7f7f; + col = CONVERT_RGB(v); + } else { + col = colors_aga[c]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_ham_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + col = decode_ham_pixel_aga_fast(c, planes, bxor, colors_aga); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_aga_kehb_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u32 *colors_aga = (uae_u32*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadds[0]; - c ^= bxor; - col = colors_aga[c & 31]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += cpadds[0]; + c ^= bxor; + col = colors_aga[c & 31]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static LINETOSRC_FUNCF linetoscr_aga_fast_funcs[] = { diff --git a/linetoscr_aga_fm0.cpp b/linetoscr_aga_fm0.cpp index 43dfd2a0..9bae1590 100644 --- a/linetoscr_aga_fm0.cpp +++ b/linetoscr_aga_fm0.cpp @@ -17,7 +17,7 @@ static void lts_aga_fm0_n0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -75,7 +75,7 @@ static void lts_aga_fm0_n1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -136,7 +136,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -199,7 +199,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -289,7 +289,7 @@ static void lts_aga_fm0_n0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -347,7 +347,7 @@ static void lts_aga_fm0_n1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -408,7 +408,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -471,7 +471,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -561,7 +561,7 @@ static void lts_aga_fm0_n0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -619,7 +619,7 @@ static void lts_aga_fm0_n1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -680,7 +680,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -743,7 +743,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -809,7 +809,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -873,7 +873,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -940,7 +940,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -998,7 +998,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1059,7 +1059,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1118,7 +1118,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1180,7 +1180,7 @@ static void lts_aga_fm0_n0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1238,7 +1238,7 @@ static void lts_aga_fm0_n1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1299,7 +1299,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1362,7 +1362,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1436,7 +1436,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1494,7 +1494,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1564,7 +1564,7 @@ static void lts_aga_fm0_n0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1637,7 +1637,7 @@ static void lts_aga_fm0_n1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1713,7 +1713,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1791,7 +1791,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1896,7 +1896,7 @@ static void lts_aga_fm0_n0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1969,7 +1969,7 @@ static void lts_aga_fm0_n1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2045,7 +2045,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2123,7 +2123,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2228,7 +2228,7 @@ static void lts_aga_fm0_n0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2301,7 +2301,7 @@ static void lts_aga_fm0_n1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2377,7 +2377,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2455,7 +2455,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2536,7 +2536,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2615,7 +2615,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2697,7 +2697,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2770,7 +2770,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2846,7 +2846,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2920,7 +2920,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2997,7 +2997,7 @@ static void lts_aga_fm0_n0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3070,7 +3070,7 @@ static void lts_aga_fm0_n1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3146,7 +3146,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3224,7 +3224,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3313,7 +3313,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3386,7 +3386,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3469,7 +3469,7 @@ static void lts_aga_fm0_n0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3528,7 +3528,7 @@ static void lts_aga_fm0_n1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3590,7 +3590,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3654,7 +3654,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3745,7 +3745,7 @@ static void lts_aga_fm0_n0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3804,7 +3804,7 @@ static void lts_aga_fm0_n1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3866,7 +3866,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3930,7 +3930,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4102,7 +4102,7 @@ static void lts_aga_fm0_n0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4176,7 +4176,7 @@ static void lts_aga_fm0_n1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4253,7 +4253,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4332,7 +4332,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4438,7 +4438,7 @@ static void lts_aga_fm0_n0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4512,7 +4512,7 @@ static void lts_aga_fm0_n1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4589,7 +4589,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4668,7 +4668,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4853,7 +4853,7 @@ static void lts_aga_fm0_n0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4914,7 +4914,7 @@ static void lts_aga_fm0_n1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4978,7 +4978,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5044,7 +5044,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5258,7 +5258,7 @@ static void lts_aga_fm0_n0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5334,7 +5334,7 @@ static void lts_aga_fm0_n1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5413,7 +5413,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5494,7 +5494,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5721,7 +5721,7 @@ static void lts_aga_fm0_n0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5745,7 +5745,7 @@ static void lts_aga_fm0_n0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5818,7 +5818,7 @@ static void lts_aga_fm0_n1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5853,7 +5853,7 @@ static void lts_aga_fm0_n1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5937,7 +5937,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5966,7 +5966,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6044,7 +6044,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6084,7 +6084,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6197,7 +6197,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6221,7 +6221,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6294,7 +6294,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6329,7 +6329,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6413,7 +6413,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6442,7 +6442,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6520,7 +6520,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6560,7 +6560,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6673,7 +6673,7 @@ static void lts_aga_fm0_n0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6697,7 +6697,7 @@ static void lts_aga_fm0_n0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6770,7 +6770,7 @@ static void lts_aga_fm0_n1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6805,7 +6805,7 @@ static void lts_aga_fm0_n1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6889,7 +6889,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6918,7 +6918,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6996,7 +6996,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7036,7 +7036,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7125,7 +7125,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7155,7 +7155,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7234,7 +7234,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7275,7 +7275,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7365,7 +7365,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7389,7 +7389,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7462,7 +7462,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7497,7 +7497,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7581,7 +7581,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7606,7 +7606,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7680,7 +7680,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7716,7 +7716,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7801,7 +7801,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7825,7 +7825,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7898,7 +7898,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7933,7 +7933,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8017,7 +8017,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8046,7 +8046,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8124,7 +8124,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8164,7 +8164,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8261,7 +8261,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8285,7 +8285,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8358,7 +8358,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8393,7 +8393,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8486,7 +8486,7 @@ static void lts_aga_fm0_n0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8519,7 +8519,7 @@ static void lts_aga_fm0_n0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8613,7 +8613,7 @@ static void lts_aga_fm0_n1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8657,7 +8657,7 @@ static void lts_aga_fm0_n1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8762,7 +8762,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8800,7 +8800,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8899,7 +8899,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8948,7 +8948,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9082,7 +9082,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9115,7 +9115,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9209,7 +9209,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9253,7 +9253,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9358,7 +9358,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9396,7 +9396,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9495,7 +9495,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9544,7 +9544,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9678,7 +9678,7 @@ static void lts_aga_fm0_n0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9711,7 +9711,7 @@ static void lts_aga_fm0_n0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9805,7 +9805,7 @@ static void lts_aga_fm0_n1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9849,7 +9849,7 @@ static void lts_aga_fm0_n1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9954,7 +9954,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9992,7 +9992,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10091,7 +10091,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10140,7 +10140,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10250,7 +10250,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10289,7 +10289,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10389,7 +10389,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10439,7 +10439,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10550,7 +10550,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10583,7 +10583,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10677,7 +10677,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10721,7 +10721,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10826,7 +10826,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10860,7 +10860,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10955,7 +10955,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11000,7 +11000,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11106,7 +11106,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11139,7 +11139,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11233,7 +11233,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11277,7 +11277,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11382,7 +11382,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11420,7 +11420,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11519,7 +11519,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11568,7 +11568,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11686,7 +11686,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11719,7 +11719,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11813,7 +11813,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11857,7 +11857,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11969,7 +11969,7 @@ static void lts_aga_fm0_n0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11987,7 +11987,7 @@ static void lts_aga_fm0_n0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12054,7 +12054,7 @@ static void lts_aga_fm0_n1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12075,7 +12075,7 @@ static void lts_aga_fm0_n1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12145,7 +12145,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12168,7 +12168,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12240,7 +12240,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12266,7 +12266,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12365,7 +12365,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12383,7 +12383,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12450,7 +12450,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12471,7 +12471,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12541,7 +12541,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12564,7 +12564,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12636,7 +12636,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12662,7 +12662,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12842,7 +12842,7 @@ static void lts_aga_fm0_n0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12869,7 +12869,7 @@ static void lts_aga_fm0_n0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12957,7 +12957,7 @@ static void lts_aga_fm0_n1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12987,7 +12987,7 @@ static void lts_aga_fm0_n1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13078,7 +13078,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13110,7 +13110,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13203,7 +13203,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13238,7 +13238,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13358,7 +13358,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13385,7 +13385,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13473,7 +13473,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13503,7 +13503,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13594,7 +13594,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13626,7 +13626,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13719,7 +13719,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13754,7 +13754,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13953,7 +13953,7 @@ static void lts_aga_fm0_n0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13972,7 +13972,7 @@ static void lts_aga_fm0_n0_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14040,7 +14040,7 @@ static void lts_aga_fm0_n1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14062,7 +14062,7 @@ static void lts_aga_fm0_n1_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14133,7 +14133,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14157,7 +14157,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14230,7 +14230,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14257,7 +14257,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14478,7 +14478,7 @@ static void lts_aga_fm0_n0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14506,7 +14506,7 @@ static void lts_aga_fm0_n0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14595,7 +14595,7 @@ static void lts_aga_fm0_n1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14626,7 +14626,7 @@ static void lts_aga_fm0_n1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14718,7 +14718,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14751,7 +14751,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14845,7 +14845,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14881,7 +14881,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15121,7 +15121,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15145,7 +15145,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15169,7 +15169,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15193,7 +15193,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15284,7 +15284,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15319,7 +15319,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15354,7 +15354,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15389,7 +15389,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15491,7 +15491,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15520,7 +15520,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15549,7 +15549,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15578,7 +15578,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15674,7 +15674,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15714,7 +15714,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15754,7 +15754,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15794,7 +15794,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15925,7 +15925,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15949,7 +15949,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15973,7 +15973,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15997,7 +15997,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16088,7 +16088,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16123,7 +16123,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16158,7 +16158,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16193,7 +16193,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16295,7 +16295,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16324,7 +16324,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16353,7 +16353,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16382,7 +16382,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16478,7 +16478,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16518,7 +16518,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16558,7 +16558,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16598,7 +16598,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16729,7 +16729,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16753,7 +16753,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16777,7 +16777,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16801,7 +16801,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16892,7 +16892,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16927,7 +16927,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16962,7 +16962,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16997,7 +16997,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17099,7 +17099,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17128,7 +17128,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17157,7 +17157,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17186,7 +17186,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17282,7 +17282,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17322,7 +17322,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17362,7 +17362,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17402,7 +17402,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17509,7 +17509,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17539,7 +17539,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17569,7 +17569,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17599,7 +17599,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17696,7 +17696,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17737,7 +17737,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17778,7 +17778,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17819,7 +17819,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17927,7 +17927,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17951,7 +17951,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17975,7 +17975,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17999,7 +17999,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18090,7 +18090,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18125,7 +18125,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18160,7 +18160,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18195,7 +18195,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18297,7 +18297,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18322,7 +18322,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18347,7 +18347,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18372,7 +18372,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18464,7 +18464,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18500,7 +18500,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18536,7 +18536,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18572,7 +18572,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18675,7 +18675,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18699,7 +18699,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18723,7 +18723,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18747,7 +18747,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18838,7 +18838,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18873,7 +18873,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18908,7 +18908,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18943,7 +18943,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19045,7 +19045,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19074,7 +19074,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19103,7 +19103,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19132,7 +19132,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19228,7 +19228,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19268,7 +19268,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19308,7 +19308,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19348,7 +19348,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19463,7 +19463,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19487,7 +19487,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19511,7 +19511,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19535,7 +19535,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19626,7 +19626,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19661,7 +19661,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19696,7 +19696,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19731,7 +19731,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19842,7 +19842,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19875,7 +19875,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19908,7 +19908,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19941,7 +19941,7 @@ static void lts_aga_fm0_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20065,7 +20065,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20109,7 +20109,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20153,7 +20153,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20197,7 +20197,7 @@ static void lts_aga_fm0_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20332,7 +20332,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20370,7 +20370,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20408,7 +20408,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20446,7 +20446,7 @@ static void lts_aga_fm0_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20575,7 +20575,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20624,7 +20624,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20673,7 +20673,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20722,7 +20722,7 @@ static void lts_aga_fm0_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20886,7 +20886,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20919,7 +20919,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20952,7 +20952,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20985,7 +20985,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21109,7 +21109,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21153,7 +21153,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21197,7 +21197,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21241,7 +21241,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21376,7 +21376,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21414,7 +21414,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21452,7 +21452,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21490,7 +21490,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21619,7 +21619,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21668,7 +21668,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21717,7 +21717,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21766,7 +21766,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21930,7 +21930,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21963,7 +21963,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21996,7 +21996,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22029,7 +22029,7 @@ static void lts_aga_fm0_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22153,7 +22153,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22197,7 +22197,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22241,7 +22241,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22285,7 +22285,7 @@ static void lts_aga_fm0_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22420,7 +22420,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22458,7 +22458,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22496,7 +22496,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22534,7 +22534,7 @@ static void lts_aga_fm0_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22663,7 +22663,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22712,7 +22712,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22761,7 +22761,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22810,7 +22810,7 @@ static void lts_aga_fm0_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22950,7 +22950,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22989,7 +22989,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23028,7 +23028,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23067,7 +23067,7 @@ static void lts_aga_fm0_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23197,7 +23197,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23247,7 +23247,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23297,7 +23297,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23347,7 +23347,7 @@ static void lts_aga_fm0_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23488,7 +23488,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23521,7 +23521,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23554,7 +23554,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23587,7 +23587,7 @@ static void lts_aga_fm0_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23711,7 +23711,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23755,7 +23755,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23799,7 +23799,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23843,7 +23843,7 @@ static void lts_aga_fm0_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23978,7 +23978,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24012,7 +24012,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24046,7 +24046,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24080,7 +24080,7 @@ static void lts_aga_fm0_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24205,7 +24205,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24250,7 +24250,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24295,7 +24295,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24340,7 +24340,7 @@ static void lts_aga_fm0_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24476,7 +24476,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24509,7 +24509,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24542,7 +24542,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24575,7 +24575,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24699,7 +24699,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24743,7 +24743,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24787,7 +24787,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24831,7 +24831,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24966,7 +24966,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25004,7 +25004,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25042,7 +25042,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25080,7 +25080,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25209,7 +25209,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25258,7 +25258,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25307,7 +25307,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25356,7 +25356,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25504,7 +25504,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25537,7 +25537,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25570,7 +25570,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25603,7 +25603,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25727,7 +25727,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25771,7 +25771,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25815,7 +25815,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25859,7 +25859,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26001,7 +26001,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26025,7 +26025,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26049,7 +26049,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26073,7 +26073,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26164,7 +26164,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26199,7 +26199,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26234,7 +26234,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26269,7 +26269,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26371,7 +26371,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26400,7 +26400,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26429,7 +26429,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26458,7 +26458,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26554,7 +26554,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26594,7 +26594,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26634,7 +26634,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26674,7 +26674,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26805,7 +26805,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26829,7 +26829,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26853,7 +26853,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26877,7 +26877,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26968,7 +26968,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27003,7 +27003,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27038,7 +27038,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27073,7 +27073,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27175,7 +27175,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27204,7 +27204,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27233,7 +27233,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27262,7 +27262,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27358,7 +27358,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27398,7 +27398,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27438,7 +27438,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27478,7 +27478,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27690,7 +27690,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27723,7 +27723,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27756,7 +27756,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27789,7 +27789,7 @@ static void lts_aga_fm0_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27913,7 +27913,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27957,7 +27957,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28001,7 +28001,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28045,7 +28045,7 @@ static void lts_aga_fm0_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28180,7 +28180,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28218,7 +28218,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28256,7 +28256,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28294,7 +28294,7 @@ static void lts_aga_fm0_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28423,7 +28423,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28472,7 +28472,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28521,7 +28521,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28570,7 +28570,7 @@ static void lts_aga_fm0_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28734,7 +28734,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28767,7 +28767,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28800,7 +28800,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28833,7 +28833,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28957,7 +28957,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29001,7 +29001,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29045,7 +29045,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29089,7 +29089,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29224,7 +29224,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29262,7 +29262,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29300,7 +29300,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29338,7 +29338,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29467,7 +29467,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29516,7 +29516,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29565,7 +29565,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29614,7 +29614,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29857,7 +29857,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29875,7 +29875,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29893,7 +29893,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29911,7 +29911,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29996,7 +29996,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30017,7 +30017,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30038,7 +30038,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30059,7 +30059,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30147,7 +30147,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30170,7 +30170,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30193,7 +30193,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30216,7 +30216,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30306,7 +30306,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30332,7 +30332,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30358,7 +30358,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30384,7 +30384,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30622,7 +30622,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30649,7 +30649,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30676,7 +30676,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30703,7 +30703,7 @@ static void lts_aga_fm0_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30821,7 +30821,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30851,7 +30851,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30881,7 +30881,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30911,7 +30911,7 @@ static void lts_aga_fm0_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31032,7 +31032,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31064,7 +31064,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31096,7 +31096,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31128,7 +31128,7 @@ static void lts_aga_fm0_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31251,7 +31251,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31286,7 +31286,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31321,7 +31321,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31356,7 +31356,7 @@ static void lts_aga_fm0_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { diff --git a/linetoscr_aga_fm0_genlock.cpp b/linetoscr_aga_fm0_genlock.cpp index 240400b3..88b0fa36 100644 --- a/linetoscr_aga_fm0_genlock.cpp +++ b/linetoscr_aga_fm0_genlock.cpp @@ -18,7 +18,7 @@ static void lts_aga_fm0_n0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -81,7 +81,7 @@ static void lts_aga_fm0_n1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -147,7 +147,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -215,7 +215,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -310,7 +310,7 @@ static void lts_aga_fm0_n0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -373,7 +373,7 @@ static void lts_aga_fm0_n1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -439,7 +439,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -507,7 +507,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -586,7 +586,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -649,7 +649,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -724,7 +724,7 @@ static void lts_aga_fm0_n0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -804,7 +804,7 @@ static void lts_aga_fm0_n1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -887,7 +887,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -972,7 +972,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1084,7 +1084,7 @@ static void lts_aga_fm0_n0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1164,7 +1164,7 @@ static void lts_aga_fm0_n1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1247,7 +1247,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1332,7 +1332,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1428,7 +1428,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1508,7 +1508,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1598,7 +1598,7 @@ static void lts_aga_fm0_n0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1662,7 +1662,7 @@ static void lts_aga_fm0_n1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1729,7 +1729,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1798,7 +1798,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1935,7 +1935,7 @@ static void lts_aga_fm0_n0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2016,7 +2016,7 @@ static void lts_aga_fm0_n1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2100,7 +2100,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2186,7 +2186,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2498,7 +2498,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2525,7 +2525,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -2605,7 +2605,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2643,7 +2643,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -2734,7 +2734,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2766,7 +2766,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -2851,7 +2851,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2894,7 +2894,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3014,7 +3014,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3041,7 +3041,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3121,7 +3121,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3159,7 +3159,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3250,7 +3250,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3282,7 +3282,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3367,7 +3367,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3410,7 +3410,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3514,7 +3514,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3541,7 +3541,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3621,7 +3621,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3659,7 +3659,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3759,7 +3759,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3795,7 +3795,7 @@ static void lts_aga_fm0_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -3900,7 +3900,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3947,7 +3947,7 @@ static void lts_aga_fm0_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4063,7 +4063,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4104,7 +4104,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4214,7 +4214,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4266,7 +4266,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4411,7 +4411,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4447,7 +4447,7 @@ static void lts_aga_fm0_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4552,7 +4552,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4599,7 +4599,7 @@ static void lts_aga_fm0_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4715,7 +4715,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4756,7 +4756,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4866,7 +4866,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4918,7 +4918,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5047,7 +5047,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5083,7 +5083,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5188,7 +5188,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5235,7 +5235,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5358,7 +5358,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5379,7 +5379,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5453,7 +5453,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5477,7 +5477,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5554,7 +5554,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5580,7 +5580,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5659,7 +5659,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5688,7 +5688,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5835,7 +5835,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5865,7 +5865,7 @@ static void lts_aga_fm0_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5964,7 +5964,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5997,7 +5997,7 @@ static void lts_aga_fm0_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6099,7 +6099,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6134,7 +6134,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6238,7 +6238,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6276,7 +6276,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6606,7 +6606,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6633,7 +6633,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -6660,7 +6660,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6687,7 +6687,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -6789,7 +6789,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6827,7 +6827,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -6865,7 +6865,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6903,7 +6903,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -7016,7 +7016,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7048,7 +7048,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -7080,7 +7080,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7112,7 +7112,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -7219,7 +7219,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7262,7 +7262,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -7305,7 +7305,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7348,7 +7348,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -7490,7 +7490,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7517,7 +7517,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -7544,7 +7544,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7571,7 +7571,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -7673,7 +7673,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7711,7 +7711,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -7749,7 +7749,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7787,7 +7787,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -7900,7 +7900,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7932,7 +7932,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -7964,7 +7964,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7996,7 +7996,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -8103,7 +8103,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8146,7 +8146,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -8189,7 +8189,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8232,7 +8232,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -8358,7 +8358,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8385,7 +8385,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -8412,7 +8412,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8439,7 +8439,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -8541,7 +8541,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8579,7 +8579,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -8617,7 +8617,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8655,7 +8655,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -8777,7 +8777,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8813,7 +8813,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -8849,7 +8849,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8885,7 +8885,7 @@ static void lts_aga_fm0_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -9028,7 +9028,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9075,7 +9075,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -9122,7 +9122,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9169,7 +9169,7 @@ static void lts_aga_fm0_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -9323,7 +9323,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9364,7 +9364,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -9405,7 +9405,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9446,7 +9446,7 @@ static void lts_aga_fm0_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -9594,7 +9594,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9646,7 +9646,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -9698,7 +9698,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9750,7 +9750,7 @@ static void lts_aga_fm0_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -9933,7 +9933,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9969,7 +9969,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10005,7 +10005,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10041,7 +10041,7 @@ static void lts_aga_fm0_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -10184,7 +10184,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10231,7 +10231,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10278,7 +10278,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10325,7 +10325,7 @@ static void lts_aga_fm0_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -10479,7 +10479,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10520,7 +10520,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10561,7 +10561,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10602,7 +10602,7 @@ static void lts_aga_fm0_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -10750,7 +10750,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10802,7 +10802,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10854,7 +10854,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10906,7 +10906,7 @@ static void lts_aga_fm0_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11073,7 +11073,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11109,7 +11109,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11145,7 +11145,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11181,7 +11181,7 @@ static void lts_aga_fm0_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11324,7 +11324,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11371,7 +11371,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11418,7 +11418,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11465,7 +11465,7 @@ static void lts_aga_fm0_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11626,7 +11626,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11653,7 +11653,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11680,7 +11680,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11707,7 +11707,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11809,7 +11809,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11847,7 +11847,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11885,7 +11885,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11923,7 +11923,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12036,7 +12036,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12068,7 +12068,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12100,7 +12100,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12132,7 +12132,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12239,7 +12239,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12282,7 +12282,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12325,7 +12325,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12368,7 +12368,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12551,7 +12551,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12587,7 +12587,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12623,7 +12623,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12659,7 +12659,7 @@ static void lts_aga_fm0_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12802,7 +12802,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12849,7 +12849,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12896,7 +12896,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12943,7 +12943,7 @@ static void lts_aga_fm0_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13097,7 +13097,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13138,7 +13138,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13179,7 +13179,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13220,7 +13220,7 @@ static void lts_aga_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13368,7 +13368,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13420,7 +13420,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13472,7 +13472,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13524,7 +13524,7 @@ static void lts_aga_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; diff --git a/linetoscr_aga_fm1.cpp b/linetoscr_aga_fm1.cpp index 40314e9c..54b93444 100644 --- a/linetoscr_aga_fm1.cpp +++ b/linetoscr_aga_fm1.cpp @@ -17,7 +17,7 @@ static void lts_aga_fm1_n0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -75,7 +75,7 @@ static void lts_aga_fm1_n1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -136,7 +136,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -199,7 +199,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -289,7 +289,7 @@ static void lts_aga_fm1_n0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -347,7 +347,7 @@ static void lts_aga_fm1_n1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -408,7 +408,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -471,7 +471,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -561,7 +561,7 @@ static void lts_aga_fm1_n0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -619,7 +619,7 @@ static void lts_aga_fm1_n1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -680,7 +680,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -743,7 +743,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -809,7 +809,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -873,7 +873,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -940,7 +940,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -998,7 +998,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1059,7 +1059,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1118,7 +1118,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1180,7 +1180,7 @@ static void lts_aga_fm1_n0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1238,7 +1238,7 @@ static void lts_aga_fm1_n1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1299,7 +1299,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1362,7 +1362,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1436,7 +1436,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1494,7 +1494,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1564,7 +1564,7 @@ static void lts_aga_fm1_n0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1637,7 +1637,7 @@ static void lts_aga_fm1_n1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1713,7 +1713,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1791,7 +1791,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1896,7 +1896,7 @@ static void lts_aga_fm1_n0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1969,7 +1969,7 @@ static void lts_aga_fm1_n1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2045,7 +2045,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2123,7 +2123,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2228,7 +2228,7 @@ static void lts_aga_fm1_n0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2301,7 +2301,7 @@ static void lts_aga_fm1_n1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2377,7 +2377,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2455,7 +2455,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2536,7 +2536,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2615,7 +2615,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2697,7 +2697,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2770,7 +2770,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2846,7 +2846,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2920,7 +2920,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2997,7 +2997,7 @@ static void lts_aga_fm1_n0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3070,7 +3070,7 @@ static void lts_aga_fm1_n1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3146,7 +3146,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3224,7 +3224,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3313,7 +3313,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3386,7 +3386,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3469,7 +3469,7 @@ static void lts_aga_fm1_n0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3528,7 +3528,7 @@ static void lts_aga_fm1_n1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3590,7 +3590,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3654,7 +3654,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3745,7 +3745,7 @@ static void lts_aga_fm1_n0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3804,7 +3804,7 @@ static void lts_aga_fm1_n1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3866,7 +3866,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3930,7 +3930,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4021,7 +4021,7 @@ static void lts_aga_fm1_n0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4080,7 +4080,7 @@ static void lts_aga_fm1_n1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4142,7 +4142,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4206,7 +4206,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4273,7 +4273,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4338,7 +4338,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4406,7 +4406,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4423,7 +4423,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dlores(void) loaded_pix = getbpl6_32(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4480,7 +4480,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4500,7 +4500,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dlores(void) loaded_pix = getbpl6_32(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4560,7 +4560,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4620,7 +4620,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4683,7 +4683,7 @@ static void lts_aga_fm1_n0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4742,7 +4742,7 @@ static void lts_aga_fm1_n1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4804,7 +4804,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4868,7 +4868,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4943,7 +4943,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4960,7 +4960,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores(void) loaded_pix = getbpl8_32(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5017,7 +5017,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5037,7 +5037,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores(void) loaded_pix = getbpl8_32(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5106,7 +5106,7 @@ static void lts_aga_fm1_n0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5180,7 +5180,7 @@ static void lts_aga_fm1_n1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5257,7 +5257,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5336,7 +5336,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5442,7 +5442,7 @@ static void lts_aga_fm1_n0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5516,7 +5516,7 @@ static void lts_aga_fm1_n1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5593,7 +5593,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5672,7 +5672,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5778,7 +5778,7 @@ static void lts_aga_fm1_n0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5852,7 +5852,7 @@ static void lts_aga_fm1_n1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5929,7 +5929,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6008,7 +6008,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6090,7 +6090,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6170,7 +6170,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6253,7 +6253,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6278,7 +6278,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6342,7 +6342,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6370,7 +6370,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6437,7 +6437,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6512,7 +6512,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6590,7 +6590,7 @@ static void lts_aga_fm1_n0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6664,7 +6664,7 @@ static void lts_aga_fm1_n1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6741,7 +6741,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6820,7 +6820,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6910,7 +6910,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6935,7 +6935,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6999,7 +6999,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7027,7 +7027,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7101,7 +7101,7 @@ static void lts_aga_fm1_n0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7162,7 +7162,7 @@ static void lts_aga_fm1_n1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7226,7 +7226,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7292,7 +7292,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7385,7 +7385,7 @@ static void lts_aga_fm1_n0_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7446,7 +7446,7 @@ static void lts_aga_fm1_n1_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7510,7 +7510,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7576,7 +7576,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7750,7 +7750,7 @@ static void lts_aga_fm1_n0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7826,7 +7826,7 @@ static void lts_aga_fm1_n1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7905,7 +7905,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7986,7 +7986,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8094,7 +8094,7 @@ static void lts_aga_fm1_n0_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8170,7 +8170,7 @@ static void lts_aga_fm1_n1_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8249,7 +8249,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8330,7 +8330,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8517,7 +8517,7 @@ static void lts_aga_fm1_n0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8541,7 +8541,7 @@ static void lts_aga_fm1_n0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8614,7 +8614,7 @@ static void lts_aga_fm1_n1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8649,7 +8649,7 @@ static void lts_aga_fm1_n1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8733,7 +8733,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8762,7 +8762,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8840,7 +8840,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8880,7 +8880,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8993,7 +8993,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9017,7 +9017,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9090,7 +9090,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9125,7 +9125,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9209,7 +9209,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9238,7 +9238,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9316,7 +9316,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9356,7 +9356,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9469,7 +9469,7 @@ static void lts_aga_fm1_n0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9493,7 +9493,7 @@ static void lts_aga_fm1_n0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9566,7 +9566,7 @@ static void lts_aga_fm1_n1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9601,7 +9601,7 @@ static void lts_aga_fm1_n1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9685,7 +9685,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9714,7 +9714,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9792,7 +9792,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9832,7 +9832,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9921,7 +9921,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9951,7 +9951,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10030,7 +10030,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10071,7 +10071,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10161,7 +10161,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10185,7 +10185,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10258,7 +10258,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10293,7 +10293,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10377,7 +10377,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10402,7 +10402,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10476,7 +10476,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10512,7 +10512,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10597,7 +10597,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10621,7 +10621,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10694,7 +10694,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10729,7 +10729,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10813,7 +10813,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10842,7 +10842,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10920,7 +10920,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10960,7 +10960,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11057,7 +11057,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11081,7 +11081,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11154,7 +11154,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11189,7 +11189,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11282,7 +11282,7 @@ static void lts_aga_fm1_n0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11315,7 +11315,7 @@ static void lts_aga_fm1_n0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11409,7 +11409,7 @@ static void lts_aga_fm1_n1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11453,7 +11453,7 @@ static void lts_aga_fm1_n1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11558,7 +11558,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11596,7 +11596,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11695,7 +11695,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11744,7 +11744,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11878,7 +11878,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11911,7 +11911,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12005,7 +12005,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12049,7 +12049,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12154,7 +12154,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12192,7 +12192,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12291,7 +12291,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12340,7 +12340,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12474,7 +12474,7 @@ static void lts_aga_fm1_n0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12507,7 +12507,7 @@ static void lts_aga_fm1_n0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12601,7 +12601,7 @@ static void lts_aga_fm1_n1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12645,7 +12645,7 @@ static void lts_aga_fm1_n1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12750,7 +12750,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12788,7 +12788,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12887,7 +12887,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12936,7 +12936,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13046,7 +13046,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13085,7 +13085,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13185,7 +13185,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13235,7 +13235,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13346,7 +13346,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13379,7 +13379,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13473,7 +13473,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13517,7 +13517,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13622,7 +13622,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13656,7 +13656,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13751,7 +13751,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13796,7 +13796,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13902,7 +13902,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13935,7 +13935,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14029,7 +14029,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14073,7 +14073,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14178,7 +14178,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14216,7 +14216,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14315,7 +14315,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14364,7 +14364,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14482,7 +14482,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14515,7 +14515,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14609,7 +14609,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14653,7 +14653,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14765,7 +14765,7 @@ static void lts_aga_fm1_n0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14783,7 +14783,7 @@ static void lts_aga_fm1_n0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14850,7 +14850,7 @@ static void lts_aga_fm1_n1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14871,7 +14871,7 @@ static void lts_aga_fm1_n1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14941,7 +14941,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14964,7 +14964,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15036,7 +15036,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15062,7 +15062,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15161,7 +15161,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15179,7 +15179,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15246,7 +15246,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15267,7 +15267,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15337,7 +15337,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15360,7 +15360,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15432,7 +15432,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15458,7 +15458,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15557,7 +15557,7 @@ static void lts_aga_fm1_n0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15575,7 +15575,7 @@ static void lts_aga_fm1_n0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15642,7 +15642,7 @@ static void lts_aga_fm1_n1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15663,7 +15663,7 @@ static void lts_aga_fm1_n1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15733,7 +15733,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15756,7 +15756,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15828,7 +15828,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15854,7 +15854,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15929,7 +15929,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15953,7 +15953,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16026,7 +16026,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16053,7 +16053,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16129,7 +16129,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16147,7 +16147,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16214,7 +16214,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16235,7 +16235,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16305,7 +16305,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16324,7 +16324,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16392,7 +16392,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16414,7 +16414,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16485,7 +16485,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16503,7 +16503,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16570,7 +16570,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16591,7 +16591,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16661,7 +16661,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16684,7 +16684,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16756,7 +16756,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16782,7 +16782,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16865,7 +16865,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16883,7 +16883,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16950,7 +16950,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16971,7 +16971,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17050,7 +17050,7 @@ static void lts_aga_fm1_n0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17077,7 +17077,7 @@ static void lts_aga_fm1_n0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17165,7 +17165,7 @@ static void lts_aga_fm1_n1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17195,7 +17195,7 @@ static void lts_aga_fm1_n1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17286,7 +17286,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17318,7 +17318,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17411,7 +17411,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17446,7 +17446,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17566,7 +17566,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17593,7 +17593,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17681,7 +17681,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17711,7 +17711,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17802,7 +17802,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17834,7 +17834,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17927,7 +17927,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17962,7 +17962,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18082,7 +18082,7 @@ static void lts_aga_fm1_n0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18109,7 +18109,7 @@ static void lts_aga_fm1_n0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18197,7 +18197,7 @@ static void lts_aga_fm1_n1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18227,7 +18227,7 @@ static void lts_aga_fm1_n1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18318,7 +18318,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18350,7 +18350,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18443,7 +18443,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18478,7 +18478,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18574,7 +18574,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18607,7 +18607,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18701,7 +18701,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18737,7 +18737,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18834,7 +18834,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18861,7 +18861,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18949,7 +18949,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18979,7 +18979,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19070,7 +19070,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19098,7 +19098,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19187,7 +19187,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19218,7 +19218,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19310,7 +19310,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19337,7 +19337,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19425,7 +19425,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19455,7 +19455,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19546,7 +19546,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19578,7 +19578,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19671,7 +19671,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19706,7 +19706,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19810,7 +19810,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19837,7 +19837,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19925,7 +19925,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19955,7 +19955,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20053,7 +20053,7 @@ static void lts_aga_fm1_n0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20072,7 +20072,7 @@ static void lts_aga_fm1_n0_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20140,7 +20140,7 @@ static void lts_aga_fm1_n1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20162,7 +20162,7 @@ static void lts_aga_fm1_n1_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20233,7 +20233,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20257,7 +20257,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20330,7 +20330,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20357,7 +20357,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20457,7 +20457,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20476,7 +20476,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20544,7 +20544,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20566,7 +20566,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20637,7 +20637,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20661,7 +20661,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20734,7 +20734,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20761,7 +20761,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20942,7 +20942,7 @@ static void lts_aga_fm1_n0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20970,7 +20970,7 @@ static void lts_aga_fm1_n0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21059,7 +21059,7 @@ static void lts_aga_fm1_n1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21090,7 +21090,7 @@ static void lts_aga_fm1_n1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21182,7 +21182,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21215,7 +21215,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21309,7 +21309,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21345,7 +21345,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21466,7 +21466,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21494,7 +21494,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21583,7 +21583,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21614,7 +21614,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21706,7 +21706,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21739,7 +21739,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21833,7 +21833,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21869,7 +21869,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22069,7 +22069,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22093,7 +22093,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22117,7 +22117,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22141,7 +22141,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22232,7 +22232,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22267,7 +22267,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22302,7 +22302,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22337,7 +22337,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22439,7 +22439,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22468,7 +22468,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22497,7 +22497,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22526,7 +22526,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22622,7 +22622,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22662,7 +22662,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22702,7 +22702,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22742,7 +22742,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22873,7 +22873,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22897,7 +22897,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22921,7 +22921,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22945,7 +22945,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23036,7 +23036,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23071,7 +23071,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23106,7 +23106,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23141,7 +23141,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23243,7 +23243,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23272,7 +23272,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23301,7 +23301,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23330,7 +23330,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23426,7 +23426,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23466,7 +23466,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23506,7 +23506,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23546,7 +23546,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23677,7 +23677,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23701,7 +23701,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23725,7 +23725,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23749,7 +23749,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23840,7 +23840,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23875,7 +23875,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23910,7 +23910,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23945,7 +23945,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24047,7 +24047,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24076,7 +24076,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24105,7 +24105,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24134,7 +24134,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24230,7 +24230,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24270,7 +24270,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24310,7 +24310,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24350,7 +24350,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24457,7 +24457,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24487,7 +24487,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24517,7 +24517,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24547,7 +24547,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24644,7 +24644,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24685,7 +24685,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24726,7 +24726,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24767,7 +24767,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24875,7 +24875,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24899,7 +24899,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24923,7 +24923,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24947,7 +24947,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25038,7 +25038,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25073,7 +25073,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25108,7 +25108,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25143,7 +25143,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25245,7 +25245,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25270,7 +25270,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25295,7 +25295,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25320,7 +25320,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25412,7 +25412,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25448,7 +25448,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25484,7 +25484,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25520,7 +25520,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25623,7 +25623,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25647,7 +25647,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25671,7 +25671,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25695,7 +25695,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25786,7 +25786,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25821,7 +25821,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25856,7 +25856,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25891,7 +25891,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25993,7 +25993,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26022,7 +26022,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26051,7 +26051,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26080,7 +26080,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26176,7 +26176,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26216,7 +26216,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26256,7 +26256,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26296,7 +26296,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26411,7 +26411,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26435,7 +26435,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26459,7 +26459,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26483,7 +26483,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26574,7 +26574,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26609,7 +26609,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26644,7 +26644,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26679,7 +26679,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26790,7 +26790,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26823,7 +26823,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26856,7 +26856,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26889,7 +26889,7 @@ static void lts_aga_fm1_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27013,7 +27013,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27057,7 +27057,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27101,7 +27101,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27145,7 +27145,7 @@ static void lts_aga_fm1_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27280,7 +27280,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27318,7 +27318,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27356,7 +27356,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27394,7 +27394,7 @@ static void lts_aga_fm1_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27523,7 +27523,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27572,7 +27572,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27621,7 +27621,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27670,7 +27670,7 @@ static void lts_aga_fm1_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27834,7 +27834,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27867,7 +27867,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27900,7 +27900,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27933,7 +27933,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28057,7 +28057,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28101,7 +28101,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28145,7 +28145,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28189,7 +28189,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28324,7 +28324,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28362,7 +28362,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28400,7 +28400,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28438,7 +28438,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28567,7 +28567,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28616,7 +28616,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28665,7 +28665,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28714,7 +28714,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28878,7 +28878,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28911,7 +28911,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28944,7 +28944,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28977,7 +28977,7 @@ static void lts_aga_fm1_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29101,7 +29101,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29145,7 +29145,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29189,7 +29189,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29233,7 +29233,7 @@ static void lts_aga_fm1_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29368,7 +29368,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29406,7 +29406,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29444,7 +29444,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29482,7 +29482,7 @@ static void lts_aga_fm1_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29611,7 +29611,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29660,7 +29660,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29709,7 +29709,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29758,7 +29758,7 @@ static void lts_aga_fm1_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29898,7 +29898,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29937,7 +29937,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29976,7 +29976,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30015,7 +30015,7 @@ static void lts_aga_fm1_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30145,7 +30145,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30195,7 +30195,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30245,7 +30245,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30295,7 +30295,7 @@ static void lts_aga_fm1_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30436,7 +30436,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30469,7 +30469,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30502,7 +30502,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30535,7 +30535,7 @@ static void lts_aga_fm1_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30659,7 +30659,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30703,7 +30703,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30747,7 +30747,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30791,7 +30791,7 @@ static void lts_aga_fm1_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30926,7 +30926,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30960,7 +30960,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30994,7 +30994,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31028,7 +31028,7 @@ static void lts_aga_fm1_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31153,7 +31153,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31198,7 +31198,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31243,7 +31243,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31288,7 +31288,7 @@ static void lts_aga_fm1_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31424,7 +31424,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31457,7 +31457,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31490,7 +31490,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31523,7 +31523,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31647,7 +31647,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31691,7 +31691,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31735,7 +31735,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31779,7 +31779,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31914,7 +31914,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31952,7 +31952,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31990,7 +31990,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32028,7 +32028,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32157,7 +32157,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32206,7 +32206,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32255,7 +32255,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32304,7 +32304,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32452,7 +32452,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32485,7 +32485,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32518,7 +32518,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32551,7 +32551,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32675,7 +32675,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32719,7 +32719,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32763,7 +32763,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32807,7 +32807,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32949,7 +32949,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32973,7 +32973,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32997,7 +32997,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33021,7 +33021,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33112,7 +33112,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33147,7 +33147,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33182,7 +33182,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33217,7 +33217,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33319,7 +33319,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33348,7 +33348,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33377,7 +33377,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33406,7 +33406,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33502,7 +33502,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33542,7 +33542,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33582,7 +33582,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33622,7 +33622,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33753,7 +33753,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33777,7 +33777,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33801,7 +33801,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33825,7 +33825,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33916,7 +33916,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33951,7 +33951,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33986,7 +33986,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34021,7 +34021,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34123,7 +34123,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34152,7 +34152,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34181,7 +34181,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34210,7 +34210,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34306,7 +34306,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34346,7 +34346,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34386,7 +34386,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34426,7 +34426,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34557,7 +34557,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34581,7 +34581,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34605,7 +34605,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34629,7 +34629,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34720,7 +34720,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34755,7 +34755,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34790,7 +34790,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34825,7 +34825,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34927,7 +34927,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34956,7 +34956,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34985,7 +34985,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35014,7 +35014,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35110,7 +35110,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35150,7 +35150,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35190,7 +35190,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35230,7 +35230,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35337,7 +35337,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35367,7 +35367,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35397,7 +35397,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35427,7 +35427,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35524,7 +35524,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35565,7 +35565,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35606,7 +35606,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35647,7 +35647,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35755,7 +35755,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35779,7 +35779,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35803,7 +35803,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35827,7 +35827,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35918,7 +35918,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35953,7 +35953,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35988,7 +35988,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36023,7 +36023,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36125,7 +36125,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36150,7 +36150,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36175,7 +36175,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36200,7 +36200,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36292,7 +36292,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36328,7 +36328,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36364,7 +36364,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36400,7 +36400,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36503,7 +36503,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36527,7 +36527,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36551,7 +36551,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36575,7 +36575,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36666,7 +36666,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36701,7 +36701,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36736,7 +36736,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36771,7 +36771,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36873,7 +36873,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36902,7 +36902,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36931,7 +36931,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36960,7 +36960,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37056,7 +37056,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37096,7 +37096,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37136,7 +37136,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37176,7 +37176,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37291,7 +37291,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37315,7 +37315,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37339,7 +37339,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37363,7 +37363,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37454,7 +37454,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37489,7 +37489,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37524,7 +37524,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37559,7 +37559,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37670,7 +37670,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37703,7 +37703,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37736,7 +37736,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37769,7 +37769,7 @@ static void lts_aga_fm1_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37893,7 +37893,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37937,7 +37937,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37981,7 +37981,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38025,7 +38025,7 @@ static void lts_aga_fm1_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38160,7 +38160,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38198,7 +38198,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38236,7 +38236,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38274,7 +38274,7 @@ static void lts_aga_fm1_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38403,7 +38403,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38452,7 +38452,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38501,7 +38501,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38550,7 +38550,7 @@ static void lts_aga_fm1_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38714,7 +38714,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38747,7 +38747,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38780,7 +38780,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38813,7 +38813,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38937,7 +38937,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38981,7 +38981,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39025,7 +39025,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39069,7 +39069,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39204,7 +39204,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39242,7 +39242,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39280,7 +39280,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39318,7 +39318,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39447,7 +39447,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39496,7 +39496,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39545,7 +39545,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39594,7 +39594,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39758,7 +39758,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39791,7 +39791,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39824,7 +39824,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39857,7 +39857,7 @@ static void lts_aga_fm1_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39981,7 +39981,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40025,7 +40025,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40069,7 +40069,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40113,7 +40113,7 @@ static void lts_aga_fm1_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40248,7 +40248,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40286,7 +40286,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40324,7 +40324,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40362,7 +40362,7 @@ static void lts_aga_fm1_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40491,7 +40491,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40540,7 +40540,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40589,7 +40589,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40638,7 +40638,7 @@ static void lts_aga_fm1_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40778,7 +40778,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40817,7 +40817,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40856,7 +40856,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40895,7 +40895,7 @@ static void lts_aga_fm1_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41025,7 +41025,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41075,7 +41075,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41125,7 +41125,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41175,7 +41175,7 @@ static void lts_aga_fm1_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41316,7 +41316,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41349,7 +41349,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41382,7 +41382,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41415,7 +41415,7 @@ static void lts_aga_fm1_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41539,7 +41539,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41583,7 +41583,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41627,7 +41627,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41671,7 +41671,7 @@ static void lts_aga_fm1_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41806,7 +41806,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41840,7 +41840,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41874,7 +41874,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41908,7 +41908,7 @@ static void lts_aga_fm1_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42033,7 +42033,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42078,7 +42078,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42123,7 +42123,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42168,7 +42168,7 @@ static void lts_aga_fm1_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42304,7 +42304,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42337,7 +42337,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42370,7 +42370,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42403,7 +42403,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42527,7 +42527,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42571,7 +42571,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42615,7 +42615,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42659,7 +42659,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42794,7 +42794,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42832,7 +42832,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42870,7 +42870,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42908,7 +42908,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43037,7 +43037,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43086,7 +43086,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43135,7 +43135,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43184,7 +43184,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43332,7 +43332,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43365,7 +43365,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43398,7 +43398,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43431,7 +43431,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43555,7 +43555,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43599,7 +43599,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43643,7 +43643,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43687,7 +43687,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43829,7 +43829,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43847,7 +43847,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43865,7 +43865,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43883,7 +43883,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43968,7 +43968,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43989,7 +43989,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44010,7 +44010,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44031,7 +44031,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44119,7 +44119,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44142,7 +44142,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44165,7 +44165,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44188,7 +44188,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44278,7 +44278,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44304,7 +44304,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44330,7 +44330,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44356,7 +44356,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44473,7 +44473,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44491,7 +44491,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44509,7 +44509,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44527,7 +44527,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44612,7 +44612,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44633,7 +44633,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44654,7 +44654,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44675,7 +44675,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44763,7 +44763,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44786,7 +44786,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44809,7 +44809,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44832,7 +44832,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44922,7 +44922,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44948,7 +44948,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44974,7 +44974,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45000,7 +45000,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45198,7 +45198,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45225,7 +45225,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45252,7 +45252,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45279,7 +45279,7 @@ static void lts_aga_fm1_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45397,7 +45397,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45427,7 +45427,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45457,7 +45457,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45487,7 +45487,7 @@ static void lts_aga_fm1_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45608,7 +45608,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45640,7 +45640,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45672,7 +45672,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45704,7 +45704,7 @@ static void lts_aga_fm1_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45827,7 +45827,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45862,7 +45862,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45897,7 +45897,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45932,7 +45932,7 @@ static void lts_aga_fm1_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46082,7 +46082,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46109,7 +46109,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46136,7 +46136,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46163,7 +46163,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46281,7 +46281,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46311,7 +46311,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46341,7 +46341,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46371,7 +46371,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46492,7 +46492,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46524,7 +46524,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46556,7 +46556,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46588,7 +46588,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46711,7 +46711,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46746,7 +46746,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46781,7 +46781,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46816,7 +46816,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { diff --git a/linetoscr_aga_fm1_genlock.cpp b/linetoscr_aga_fm1_genlock.cpp index 30dff175..bf3037b5 100644 --- a/linetoscr_aga_fm1_genlock.cpp +++ b/linetoscr_aga_fm1_genlock.cpp @@ -18,7 +18,7 @@ static void lts_aga_fm1_n0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -81,7 +81,7 @@ static void lts_aga_fm1_n1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -147,7 +147,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -215,7 +215,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -310,7 +310,7 @@ static void lts_aga_fm1_n0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -373,7 +373,7 @@ static void lts_aga_fm1_n1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -439,7 +439,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -507,7 +507,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -586,7 +586,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -649,7 +649,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -724,7 +724,7 @@ static void lts_aga_fm1_n0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -804,7 +804,7 @@ static void lts_aga_fm1_n1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -887,7 +887,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -972,7 +972,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1084,7 +1084,7 @@ static void lts_aga_fm1_n0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1164,7 +1164,7 @@ static void lts_aga_fm1_n1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1247,7 +1247,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1332,7 +1332,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1428,7 +1428,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1508,7 +1508,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1598,7 +1598,7 @@ static void lts_aga_fm1_n0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1662,7 +1662,7 @@ static void lts_aga_fm1_n1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1729,7 +1729,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1798,7 +1798,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1894,7 +1894,7 @@ static void lts_aga_fm1_n0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1958,7 +1958,7 @@ static void lts_aga_fm1_n1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2025,7 +2025,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2094,7 +2094,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2174,7 +2174,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2194,7 +2194,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2254,7 +2254,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2277,7 +2277,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2349,7 +2349,7 @@ static void lts_aga_fm1_n0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2430,7 +2430,7 @@ static void lts_aga_fm1_n1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2514,7 +2514,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2600,7 +2600,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2713,7 +2713,7 @@ static void lts_aga_fm1_n0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2794,7 +2794,7 @@ static void lts_aga_fm1_n1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2878,7 +2878,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2964,7 +2964,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3061,7 +3061,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3089,7 +3089,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3158,7 +3158,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3189,7 +3189,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3268,7 +3268,7 @@ static void lts_aga_fm1_n0_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3334,7 +3334,7 @@ static void lts_aga_fm1_n1_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3403,7 +3403,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3474,7 +3474,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3613,7 +3613,7 @@ static void lts_aga_fm1_n0_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3696,7 +3696,7 @@ static void lts_aga_fm1_n1_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3782,7 +3782,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3870,7 +3870,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4024,7 +4024,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4051,7 +4051,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4131,7 +4131,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4169,7 +4169,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4260,7 +4260,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4292,7 +4292,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4377,7 +4377,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4420,7 +4420,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4540,7 +4540,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4567,7 +4567,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4647,7 +4647,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4685,7 +4685,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4776,7 +4776,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4808,7 +4808,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -4893,7 +4893,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4936,7 +4936,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5040,7 +5040,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5067,7 +5067,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5147,7 +5147,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5185,7 +5185,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5285,7 +5285,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5321,7 +5321,7 @@ static void lts_aga_fm1_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5426,7 +5426,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5473,7 +5473,7 @@ static void lts_aga_fm1_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5589,7 +5589,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5630,7 +5630,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5740,7 +5740,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5792,7 +5792,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5937,7 +5937,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5973,7 +5973,7 @@ static void lts_aga_fm1_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6078,7 +6078,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6125,7 +6125,7 @@ static void lts_aga_fm1_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6241,7 +6241,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6282,7 +6282,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6392,7 +6392,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6444,7 +6444,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6573,7 +6573,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6609,7 +6609,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6714,7 +6714,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6761,7 +6761,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6884,7 +6884,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6905,7 +6905,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6979,7 +6979,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7003,7 +7003,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7080,7 +7080,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7106,7 +7106,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7185,7 +7185,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7214,7 +7214,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7320,7 +7320,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7341,7 +7341,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7415,7 +7415,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7439,7 +7439,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7516,7 +7516,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7542,7 +7542,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7621,7 +7621,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7650,7 +7650,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7740,7 +7740,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7761,7 +7761,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7835,7 +7835,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7859,7 +7859,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7945,7 +7945,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7975,7 +7975,7 @@ static void lts_aga_fm1_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8074,7 +8074,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8107,7 +8107,7 @@ static void lts_aga_fm1_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8209,7 +8209,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8244,7 +8244,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8348,7 +8348,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8386,7 +8386,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8517,7 +8517,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8547,7 +8547,7 @@ static void lts_aga_fm1_n0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8646,7 +8646,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8679,7 +8679,7 @@ static void lts_aga_fm1_n1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8781,7 +8781,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8816,7 +8816,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8920,7 +8920,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8958,7 +8958,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9073,7 +9073,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9103,7 +9103,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9202,7 +9202,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9235,7 +9235,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9344,7 +9344,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9366,7 +9366,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9441,7 +9441,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9466,7 +9466,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9544,7 +9544,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9571,7 +9571,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9651,7 +9651,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9681,7 +9681,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9829,7 +9829,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9860,7 +9860,7 @@ static void lts_aga_fm1_n0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9960,7 +9960,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9994,7 +9994,7 @@ static void lts_aga_fm1_n1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10097,7 +10097,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10133,7 +10133,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10238,7 +10238,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10277,7 +10277,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10448,7 +10448,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10475,7 +10475,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10502,7 +10502,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10529,7 +10529,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -10631,7 +10631,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10669,7 +10669,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10707,7 +10707,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10745,7 +10745,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -10858,7 +10858,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10890,7 +10890,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -10922,7 +10922,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10954,7 +10954,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11061,7 +11061,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11104,7 +11104,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11147,7 +11147,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11190,7 +11190,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11332,7 +11332,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11359,7 +11359,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11386,7 +11386,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11413,7 +11413,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11515,7 +11515,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11553,7 +11553,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11591,7 +11591,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11629,7 +11629,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11742,7 +11742,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11774,7 +11774,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -11806,7 +11806,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11838,7 +11838,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -11945,7 +11945,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11988,7 +11988,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12031,7 +12031,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12074,7 +12074,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12200,7 +12200,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12227,7 +12227,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12254,7 +12254,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12281,7 +12281,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12383,7 +12383,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12421,7 +12421,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12459,7 +12459,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12497,7 +12497,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12619,7 +12619,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12655,7 +12655,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12691,7 +12691,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12727,7 +12727,7 @@ static void lts_aga_fm1_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -12870,7 +12870,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12917,7 +12917,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -12964,7 +12964,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13011,7 +13011,7 @@ static void lts_aga_fm1_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13165,7 +13165,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13206,7 +13206,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13247,7 +13247,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13288,7 +13288,7 @@ static void lts_aga_fm1_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13436,7 +13436,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13488,7 +13488,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13540,7 +13540,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13592,7 +13592,7 @@ static void lts_aga_fm1_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13775,7 +13775,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13811,7 +13811,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13847,7 +13847,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13883,7 +13883,7 @@ static void lts_aga_fm1_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14026,7 +14026,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14073,7 +14073,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14120,7 +14120,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14167,7 +14167,7 @@ static void lts_aga_fm1_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14321,7 +14321,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14362,7 +14362,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14403,7 +14403,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14444,7 +14444,7 @@ static void lts_aga_fm1_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14592,7 +14592,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14644,7 +14644,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14696,7 +14696,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14748,7 +14748,7 @@ static void lts_aga_fm1_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14915,7 +14915,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14951,7 +14951,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14987,7 +14987,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15023,7 +15023,7 @@ static void lts_aga_fm1_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15166,7 +15166,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15213,7 +15213,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15260,7 +15260,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15307,7 +15307,7 @@ static void lts_aga_fm1_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15468,7 +15468,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15495,7 +15495,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15522,7 +15522,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15549,7 +15549,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15651,7 +15651,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15689,7 +15689,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15727,7 +15727,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15765,7 +15765,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15878,7 +15878,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15910,7 +15910,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15942,7 +15942,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15974,7 +15974,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16081,7 +16081,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16124,7 +16124,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16167,7 +16167,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16210,7 +16210,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16352,7 +16352,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16379,7 +16379,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16406,7 +16406,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16433,7 +16433,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16535,7 +16535,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16573,7 +16573,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16611,7 +16611,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16649,7 +16649,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16762,7 +16762,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16794,7 +16794,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16826,7 +16826,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16858,7 +16858,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16965,7 +16965,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17008,7 +17008,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17051,7 +17051,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17094,7 +17094,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17220,7 +17220,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17247,7 +17247,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17274,7 +17274,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17301,7 +17301,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17403,7 +17403,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17441,7 +17441,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17479,7 +17479,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17517,7 +17517,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17639,7 +17639,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17675,7 +17675,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17711,7 +17711,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17747,7 +17747,7 @@ static void lts_aga_fm1_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17890,7 +17890,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17937,7 +17937,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17984,7 +17984,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18031,7 +18031,7 @@ static void lts_aga_fm1_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18185,7 +18185,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18226,7 +18226,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18267,7 +18267,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18308,7 +18308,7 @@ static void lts_aga_fm1_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18456,7 +18456,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18508,7 +18508,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18560,7 +18560,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18612,7 +18612,7 @@ static void lts_aga_fm1_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18795,7 +18795,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18831,7 +18831,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18867,7 +18867,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18903,7 +18903,7 @@ static void lts_aga_fm1_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19046,7 +19046,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19093,7 +19093,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19140,7 +19140,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19187,7 +19187,7 @@ static void lts_aga_fm1_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19341,7 +19341,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19382,7 +19382,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19423,7 +19423,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19464,7 +19464,7 @@ static void lts_aga_fm1_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19612,7 +19612,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19664,7 +19664,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19716,7 +19716,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19768,7 +19768,7 @@ static void lts_aga_fm1_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19935,7 +19935,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19971,7 +19971,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20007,7 +20007,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20043,7 +20043,7 @@ static void lts_aga_fm1_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20186,7 +20186,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20233,7 +20233,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20280,7 +20280,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20327,7 +20327,7 @@ static void lts_aga_fm1_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20488,7 +20488,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20509,7 +20509,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20530,7 +20530,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20551,7 +20551,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20647,7 +20647,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20671,7 +20671,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20695,7 +20695,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20719,7 +20719,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20818,7 +20818,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20844,7 +20844,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20870,7 +20870,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20896,7 +20896,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20997,7 +20997,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21026,7 +21026,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21055,7 +21055,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21084,7 +21084,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21253,7 +21253,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21283,7 +21283,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21313,7 +21313,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21343,7 +21343,7 @@ static void lts_aga_fm1_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21480,7 +21480,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21513,7 +21513,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21546,7 +21546,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21579,7 +21579,7 @@ static void lts_aga_fm1_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21719,7 +21719,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21754,7 +21754,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21789,7 +21789,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21824,7 +21824,7 @@ static void lts_aga_fm1_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21966,7 +21966,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -22004,7 +22004,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -22042,7 +22042,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -22080,7 +22080,7 @@ static void lts_aga_fm1_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; diff --git a/linetoscr_aga_fm2.cpp b/linetoscr_aga_fm2.cpp index b38b9707..37c24359 100644 --- a/linetoscr_aga_fm2.cpp +++ b/linetoscr_aga_fm2.cpp @@ -17,7 +17,7 @@ static void lts_aga_fm2_n0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -75,7 +75,7 @@ static void lts_aga_fm2_n1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -136,7 +136,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -199,7 +199,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -289,7 +289,7 @@ static void lts_aga_fm2_n0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -347,7 +347,7 @@ static void lts_aga_fm2_n1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -408,7 +408,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -471,7 +471,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -561,7 +561,7 @@ static void lts_aga_fm2_n0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -619,7 +619,7 @@ static void lts_aga_fm2_n1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -680,7 +680,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -743,7 +743,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -809,7 +809,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -873,7 +873,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -940,7 +940,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -998,7 +998,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1059,7 +1059,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1118,7 +1118,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1180,7 +1180,7 @@ static void lts_aga_fm2_n0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1238,7 +1238,7 @@ static void lts_aga_fm2_n1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1299,7 +1299,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1362,7 +1362,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1436,7 +1436,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1494,7 +1494,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1564,7 +1564,7 @@ static void lts_aga_fm2_n0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1637,7 +1637,7 @@ static void lts_aga_fm2_n1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1713,7 +1713,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1791,7 +1791,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1896,7 +1896,7 @@ static void lts_aga_fm2_n0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1969,7 +1969,7 @@ static void lts_aga_fm2_n1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2045,7 +2045,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2123,7 +2123,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2228,7 +2228,7 @@ static void lts_aga_fm2_n0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2301,7 +2301,7 @@ static void lts_aga_fm2_n1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2377,7 +2377,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2455,7 +2455,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2536,7 +2536,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2615,7 +2615,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2697,7 +2697,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2770,7 +2770,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2846,7 +2846,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2920,7 +2920,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2997,7 +2997,7 @@ static void lts_aga_fm2_n0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3070,7 +3070,7 @@ static void lts_aga_fm2_n1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3146,7 +3146,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3224,7 +3224,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3313,7 +3313,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3386,7 +3386,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3469,7 +3469,7 @@ static void lts_aga_fm2_n0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3528,7 +3528,7 @@ static void lts_aga_fm2_n1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3590,7 +3590,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3654,7 +3654,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3745,7 +3745,7 @@ static void lts_aga_fm2_n0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3804,7 +3804,7 @@ static void lts_aga_fm2_n1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3866,7 +3866,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3930,7 +3930,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4021,7 +4021,7 @@ static void lts_aga_fm2_n0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4080,7 +4080,7 @@ static void lts_aga_fm2_n1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4142,7 +4142,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4206,7 +4206,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4273,7 +4273,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4338,7 +4338,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4406,7 +4406,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4423,7 +4423,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4480,7 +4480,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4500,7 +4500,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4560,7 +4560,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4620,7 +4620,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4683,7 +4683,7 @@ static void lts_aga_fm2_n0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4742,7 +4742,7 @@ static void lts_aga_fm2_n1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4804,7 +4804,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4868,7 +4868,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4943,7 +4943,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4960,7 +4960,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5017,7 +5017,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5037,7 +5037,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5106,7 +5106,7 @@ static void lts_aga_fm2_n0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5180,7 +5180,7 @@ static void lts_aga_fm2_n1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5257,7 +5257,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5336,7 +5336,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5442,7 +5442,7 @@ static void lts_aga_fm2_n0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5516,7 +5516,7 @@ static void lts_aga_fm2_n1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5593,7 +5593,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5672,7 +5672,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5778,7 +5778,7 @@ static void lts_aga_fm2_n0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5852,7 +5852,7 @@ static void lts_aga_fm2_n1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5929,7 +5929,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6008,7 +6008,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6090,7 +6090,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6170,7 +6170,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6253,7 +6253,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6278,7 +6278,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6342,7 +6342,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6370,7 +6370,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6437,7 +6437,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6512,7 +6512,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6590,7 +6590,7 @@ static void lts_aga_fm2_n0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6664,7 +6664,7 @@ static void lts_aga_fm2_n1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6741,7 +6741,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6820,7 +6820,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6910,7 +6910,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6935,7 +6935,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6999,7 +6999,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7027,7 +7027,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7101,7 +7101,7 @@ static void lts_aga_fm2_n0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7162,7 +7162,7 @@ static void lts_aga_fm2_n1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7226,7 +7226,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7292,7 +7292,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7385,7 +7385,7 @@ static void lts_aga_fm2_n0_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7446,7 +7446,7 @@ static void lts_aga_fm2_n1_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7510,7 +7510,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7576,7 +7576,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7669,7 +7669,7 @@ static void lts_aga_fm2_n0_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7730,7 +7730,7 @@ static void lts_aga_fm2_n1_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7794,7 +7794,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7860,7 +7860,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7929,7 +7929,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7996,7 +7996,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8066,7 +8066,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8083,7 +8083,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8099,7 +8099,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8115,7 +8115,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8172,7 +8172,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8192,7 +8192,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8211,7 +8211,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8230,7 +8230,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8290,7 +8290,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8352,7 +8352,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8417,7 +8417,7 @@ static void lts_aga_fm2_n0_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8478,7 +8478,7 @@ static void lts_aga_fm2_n1_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8542,7 +8542,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8608,7 +8608,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8685,7 +8685,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8702,7 +8702,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8718,7 +8718,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8734,7 +8734,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8791,7 +8791,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8811,7 +8811,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8830,7 +8830,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8849,7 +8849,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8918,7 +8918,7 @@ static void lts_aga_fm2_n0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8994,7 +8994,7 @@ static void lts_aga_fm2_n1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9073,7 +9073,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9154,7 +9154,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9262,7 +9262,7 @@ static void lts_aga_fm2_n0_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9338,7 +9338,7 @@ static void lts_aga_fm2_n1_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9417,7 +9417,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9498,7 +9498,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9606,7 +9606,7 @@ static void lts_aga_fm2_n0_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9682,7 +9682,7 @@ static void lts_aga_fm2_n1_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9761,7 +9761,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9842,7 +9842,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9926,7 +9926,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10008,7 +10008,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10093,7 +10093,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10118,7 +10118,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10134,7 +10134,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores_spr(void) loaded_pix = getbpl6_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10150,7 +10150,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dlores_spr(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10214,7 +10214,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10242,7 +10242,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10261,7 +10261,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores_spr(void) loaded_pix = getbpl6_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10280,7 +10280,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dlores_spr(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10347,7 +10347,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10424,7 +10424,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10504,7 +10504,7 @@ static void lts_aga_fm2_n0_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10580,7 +10580,7 @@ static void lts_aga_fm2_n1_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10659,7 +10659,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10740,7 +10740,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10832,7 +10832,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10857,7 +10857,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10873,7 +10873,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr(void) loaded_pix = getbpl8_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10889,7 +10889,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10953,7 +10953,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10981,7 +10981,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11000,7 +11000,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr(void) loaded_pix = getbpl8_64(); loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11019,7 +11019,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11093,7 +11093,7 @@ static void lts_aga_fm2_n0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11117,7 +11117,7 @@ static void lts_aga_fm2_n0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11190,7 +11190,7 @@ static void lts_aga_fm2_n1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11225,7 +11225,7 @@ static void lts_aga_fm2_n1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11309,7 +11309,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11338,7 +11338,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11416,7 +11416,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11456,7 +11456,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11569,7 +11569,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11593,7 +11593,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11666,7 +11666,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11701,7 +11701,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11785,7 +11785,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11814,7 +11814,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11892,7 +11892,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11932,7 +11932,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12045,7 +12045,7 @@ static void lts_aga_fm2_n0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12069,7 +12069,7 @@ static void lts_aga_fm2_n0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12142,7 +12142,7 @@ static void lts_aga_fm2_n1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12177,7 +12177,7 @@ static void lts_aga_fm2_n1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12261,7 +12261,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12290,7 +12290,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12368,7 +12368,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12408,7 +12408,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12497,7 +12497,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12527,7 +12527,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12606,7 +12606,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12647,7 +12647,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12737,7 +12737,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12761,7 +12761,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12834,7 +12834,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12869,7 +12869,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12953,7 +12953,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12978,7 +12978,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13052,7 +13052,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13088,7 +13088,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13173,7 +13173,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13197,7 +13197,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13270,7 +13270,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13305,7 +13305,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13389,7 +13389,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13418,7 +13418,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13496,7 +13496,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13536,7 +13536,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13633,7 +13633,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13657,7 +13657,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13730,7 +13730,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13765,7 +13765,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13858,7 +13858,7 @@ static void lts_aga_fm2_n0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13891,7 +13891,7 @@ static void lts_aga_fm2_n0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13985,7 +13985,7 @@ static void lts_aga_fm2_n1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14029,7 +14029,7 @@ static void lts_aga_fm2_n1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14134,7 +14134,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14172,7 +14172,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14271,7 +14271,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14320,7 +14320,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14454,7 +14454,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14487,7 +14487,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14581,7 +14581,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14625,7 +14625,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14730,7 +14730,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14768,7 +14768,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14867,7 +14867,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14916,7 +14916,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15050,7 +15050,7 @@ static void lts_aga_fm2_n0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15083,7 +15083,7 @@ static void lts_aga_fm2_n0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15177,7 +15177,7 @@ static void lts_aga_fm2_n1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15221,7 +15221,7 @@ static void lts_aga_fm2_n1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15326,7 +15326,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15364,7 +15364,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15463,7 +15463,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15512,7 +15512,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15622,7 +15622,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15661,7 +15661,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15761,7 +15761,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15811,7 +15811,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15922,7 +15922,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15955,7 +15955,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16049,7 +16049,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16093,7 +16093,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16198,7 +16198,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16232,7 +16232,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16327,7 +16327,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16372,7 +16372,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16478,7 +16478,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16511,7 +16511,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16605,7 +16605,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16649,7 +16649,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16754,7 +16754,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16792,7 +16792,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16891,7 +16891,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16940,7 +16940,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17058,7 +17058,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17091,7 +17091,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17185,7 +17185,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17229,7 +17229,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17341,7 +17341,7 @@ static void lts_aga_fm2_n0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17359,7 +17359,7 @@ static void lts_aga_fm2_n0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17426,7 +17426,7 @@ static void lts_aga_fm2_n1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17447,7 +17447,7 @@ static void lts_aga_fm2_n1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17517,7 +17517,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17540,7 +17540,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17612,7 +17612,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17638,7 +17638,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17737,7 +17737,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17755,7 +17755,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17822,7 +17822,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17843,7 +17843,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17913,7 +17913,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17936,7 +17936,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18008,7 +18008,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18034,7 +18034,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18133,7 +18133,7 @@ static void lts_aga_fm2_n0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18151,7 +18151,7 @@ static void lts_aga_fm2_n0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18218,7 +18218,7 @@ static void lts_aga_fm2_n1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18239,7 +18239,7 @@ static void lts_aga_fm2_n1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18309,7 +18309,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18332,7 +18332,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18404,7 +18404,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18430,7 +18430,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18505,7 +18505,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18529,7 +18529,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18602,7 +18602,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18629,7 +18629,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18705,7 +18705,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18723,7 +18723,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18790,7 +18790,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18811,7 +18811,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18881,7 +18881,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18900,7 +18900,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18968,7 +18968,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -18990,7 +18990,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19061,7 +19061,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19079,7 +19079,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19146,7 +19146,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19167,7 +19167,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19237,7 +19237,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19260,7 +19260,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19332,7 +19332,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19358,7 +19358,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19441,7 +19441,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19459,7 +19459,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19526,7 +19526,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19547,7 +19547,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19626,7 +19626,7 @@ static void lts_aga_fm2_n0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19653,7 +19653,7 @@ static void lts_aga_fm2_n0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19741,7 +19741,7 @@ static void lts_aga_fm2_n1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19771,7 +19771,7 @@ static void lts_aga_fm2_n1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19862,7 +19862,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19894,7 +19894,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -19987,7 +19987,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20022,7 +20022,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20142,7 +20142,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20169,7 +20169,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20257,7 +20257,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20287,7 +20287,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20378,7 +20378,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20410,7 +20410,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20503,7 +20503,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20538,7 +20538,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20658,7 +20658,7 @@ static void lts_aga_fm2_n0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20685,7 +20685,7 @@ static void lts_aga_fm2_n0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20773,7 +20773,7 @@ static void lts_aga_fm2_n1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20803,7 +20803,7 @@ static void lts_aga_fm2_n1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20894,7 +20894,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -20926,7 +20926,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21019,7 +21019,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21054,7 +21054,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21150,7 +21150,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21183,7 +21183,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21277,7 +21277,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21313,7 +21313,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21410,7 +21410,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21437,7 +21437,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21525,7 +21525,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21555,7 +21555,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21646,7 +21646,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21674,7 +21674,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21763,7 +21763,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21794,7 +21794,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21886,7 +21886,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -21913,7 +21913,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22001,7 +22001,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22031,7 +22031,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22122,7 +22122,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22154,7 +22154,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22247,7 +22247,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22282,7 +22282,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22386,7 +22386,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22413,7 +22413,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22501,7 +22501,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22531,7 +22531,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22629,7 +22629,7 @@ static void lts_aga_fm2_n0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22648,7 +22648,7 @@ static void lts_aga_fm2_n0_p2_ishres_dhires(void) shiftbpl2_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22716,7 +22716,7 @@ static void lts_aga_fm2_n1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22738,7 +22738,7 @@ static void lts_aga_fm2_n1_p2_ishres_dhires(void) shiftbpl2_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22809,7 +22809,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22833,7 +22833,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dhires(void) shiftbpl2_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22906,7 +22906,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -22933,7 +22933,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dhires(void) shiftbpl2_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23033,7 +23033,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23052,7 +23052,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires(void) shiftbpl4_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23120,7 +23120,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23142,7 +23142,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires(void) shiftbpl4_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23213,7 +23213,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23237,7 +23237,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires(void) shiftbpl4_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23310,7 +23310,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23337,7 +23337,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires(void) shiftbpl4_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23437,7 +23437,7 @@ static void lts_aga_fm2_n0_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23456,7 +23456,7 @@ static void lts_aga_fm2_n0_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23524,7 +23524,7 @@ static void lts_aga_fm2_n1_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23546,7 +23546,7 @@ static void lts_aga_fm2_n1_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23617,7 +23617,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23641,7 +23641,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23714,7 +23714,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23741,7 +23741,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23817,7 +23817,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23842,7 +23842,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23916,7 +23916,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -23944,7 +23944,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24021,7 +24021,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24038,7 +24038,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24055,7 +24055,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24072,7 +24072,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24138,7 +24138,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24158,7 +24158,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires(void) loaded_pix = getbpl6_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24178,7 +24178,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24198,7 +24198,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires(void) loaded_pix = getbpl6_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24267,7 +24267,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24287,7 +24287,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24356,7 +24356,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24379,7 +24379,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dhires(void) shiftbpl6_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24451,7 +24451,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24470,7 +24470,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires(void) shiftbpl8_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24538,7 +24538,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24560,7 +24560,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires(void) shiftbpl8_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24631,7 +24631,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24655,7 +24655,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires(void) shiftbpl8_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24728,7 +24728,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24755,7 +24755,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires(void) shiftbpl8_64(); internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24839,7 +24839,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24856,7 +24856,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24873,7 +24873,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24890,7 +24890,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24956,7 +24956,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24976,7 +24976,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires(void) loaded_pix = getbpl8_64(); loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -24996,7 +24996,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 2; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25016,7 +25016,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires(void) loaded_pix = getbpl8_64(); loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25094,7 +25094,7 @@ static void lts_aga_fm2_n0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25122,7 +25122,7 @@ static void lts_aga_fm2_n0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25211,7 +25211,7 @@ static void lts_aga_fm2_n1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25242,7 +25242,7 @@ static void lts_aga_fm2_n1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25334,7 +25334,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25367,7 +25367,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25461,7 +25461,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25497,7 +25497,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25618,7 +25618,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25646,7 +25646,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25735,7 +25735,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25766,7 +25766,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25858,7 +25858,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25891,7 +25891,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -25985,7 +25985,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26021,7 +26021,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26142,7 +26142,7 @@ static void lts_aga_fm2_n0_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26170,7 +26170,7 @@ static void lts_aga_fm2_n0_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26259,7 +26259,7 @@ static void lts_aga_fm2_n1_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26290,7 +26290,7 @@ static void lts_aga_fm2_n1_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26382,7 +26382,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26415,7 +26415,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26509,7 +26509,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26545,7 +26545,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26642,7 +26642,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26676,7 +26676,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26771,7 +26771,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26808,7 +26808,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26906,7 +26906,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26931,7 +26931,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26949,7 +26949,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -26974,7 +26974,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dhires_spr(void) } loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27053,7 +27053,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27081,7 +27081,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27102,7 +27102,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27130,7 +27130,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dhires_spr(void) } loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27212,7 +27212,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27241,7 +27241,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27331,7 +27331,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27363,7 +27363,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27456,7 +27456,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27484,7 +27484,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27573,7 +27573,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27604,7 +27604,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27696,7 +27696,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27729,7 +27729,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27823,7 +27823,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27859,7 +27859,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27964,7 +27964,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -27989,7 +27989,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28007,7 +28007,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28032,7 +28032,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr(void) } loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28111,7 +28111,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28139,7 +28139,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr(void) } loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28160,7 +28160,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr(void) internal_pixel_cnt += 2; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28188,7 +28188,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr(void) } loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28277,7 +28277,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28301,7 +28301,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28325,7 +28325,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28349,7 +28349,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28440,7 +28440,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28475,7 +28475,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28510,7 +28510,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28545,7 +28545,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28647,7 +28647,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28676,7 +28676,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28705,7 +28705,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28734,7 +28734,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28830,7 +28830,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28870,7 +28870,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28910,7 +28910,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -28950,7 +28950,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29081,7 +29081,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29105,7 +29105,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29129,7 +29129,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29153,7 +29153,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29244,7 +29244,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29279,7 +29279,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29314,7 +29314,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29349,7 +29349,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29451,7 +29451,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29480,7 +29480,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29509,7 +29509,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29538,7 +29538,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29634,7 +29634,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29674,7 +29674,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29714,7 +29714,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29754,7 +29754,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29885,7 +29885,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29909,7 +29909,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29933,7 +29933,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -29957,7 +29957,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30048,7 +30048,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30083,7 +30083,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30118,7 +30118,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30153,7 +30153,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30255,7 +30255,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30284,7 +30284,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30313,7 +30313,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30342,7 +30342,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30438,7 +30438,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30478,7 +30478,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30518,7 +30518,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30558,7 +30558,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30665,7 +30665,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30695,7 +30695,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30725,7 +30725,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30755,7 +30755,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30852,7 +30852,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30893,7 +30893,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30934,7 +30934,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -30975,7 +30975,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31083,7 +31083,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31107,7 +31107,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31131,7 +31131,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31155,7 +31155,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31246,7 +31246,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31281,7 +31281,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31316,7 +31316,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31351,7 +31351,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31453,7 +31453,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31478,7 +31478,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31503,7 +31503,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31528,7 +31528,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31620,7 +31620,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31656,7 +31656,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31692,7 +31692,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31728,7 +31728,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31831,7 +31831,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31855,7 +31855,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31879,7 +31879,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31903,7 +31903,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -31994,7 +31994,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32029,7 +32029,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32064,7 +32064,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32099,7 +32099,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32201,7 +32201,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32230,7 +32230,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32259,7 +32259,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32288,7 +32288,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32384,7 +32384,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32424,7 +32424,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32464,7 +32464,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32504,7 +32504,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32619,7 +32619,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32643,7 +32643,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32667,7 +32667,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32691,7 +32691,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32782,7 +32782,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32817,7 +32817,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32852,7 +32852,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32887,7 +32887,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -32998,7 +32998,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33031,7 +33031,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33064,7 +33064,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33097,7 +33097,7 @@ static void lts_aga_fm2_n0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33221,7 +33221,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33265,7 +33265,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33309,7 +33309,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33353,7 +33353,7 @@ static void lts_aga_fm2_n1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33488,7 +33488,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33526,7 +33526,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33564,7 +33564,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33602,7 +33602,7 @@ static void lts_aga_fm2_dpf0_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33731,7 +33731,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33780,7 +33780,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33829,7 +33829,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -33878,7 +33878,7 @@ static void lts_aga_fm2_dpf1_p2_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34042,7 +34042,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34075,7 +34075,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34108,7 +34108,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34141,7 +34141,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34265,7 +34265,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34309,7 +34309,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34353,7 +34353,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34397,7 +34397,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34532,7 +34532,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34570,7 +34570,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34608,7 +34608,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34646,7 +34646,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34775,7 +34775,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34824,7 +34824,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34873,7 +34873,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -34922,7 +34922,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35086,7 +35086,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35119,7 +35119,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35152,7 +35152,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35185,7 +35185,7 @@ static void lts_aga_fm2_n0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35309,7 +35309,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35353,7 +35353,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35397,7 +35397,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35441,7 +35441,7 @@ static void lts_aga_fm2_n1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35576,7 +35576,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35614,7 +35614,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35652,7 +35652,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35690,7 +35690,7 @@ static void lts_aga_fm2_dpf0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35819,7 +35819,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35868,7 +35868,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35917,7 +35917,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -35966,7 +35966,7 @@ static void lts_aga_fm2_dpf1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36106,7 +36106,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36145,7 +36145,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36184,7 +36184,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36223,7 +36223,7 @@ static void lts_aga_fm2_ehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36353,7 +36353,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36403,7 +36403,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36453,7 +36453,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36503,7 +36503,7 @@ static void lts_aga_fm2_ehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36644,7 +36644,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36677,7 +36677,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36710,7 +36710,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36743,7 +36743,7 @@ static void lts_aga_fm2_ham0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36867,7 +36867,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36911,7 +36911,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36955,7 +36955,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -36999,7 +36999,7 @@ static void lts_aga_fm2_ham1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37134,7 +37134,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37168,7 +37168,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37202,7 +37202,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37236,7 +37236,7 @@ static void lts_aga_fm2_kehb0_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37361,7 +37361,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37406,7 +37406,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37451,7 +37451,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37496,7 +37496,7 @@ static void lts_aga_fm2_kehb1_p6_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37632,7 +37632,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37665,7 +37665,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37698,7 +37698,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37731,7 +37731,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37855,7 +37855,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37899,7 +37899,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37943,7 +37943,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -37987,7 +37987,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38122,7 +38122,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38160,7 +38160,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38198,7 +38198,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38236,7 +38236,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38365,7 +38365,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38414,7 +38414,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38463,7 +38463,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38512,7 +38512,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38660,7 +38660,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38693,7 +38693,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38726,7 +38726,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38759,7 +38759,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38883,7 +38883,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38927,7 +38927,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -38971,7 +38971,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39015,7 +39015,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39157,7 +39157,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39181,7 +39181,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39205,7 +39205,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39229,7 +39229,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39320,7 +39320,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39355,7 +39355,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39390,7 +39390,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39425,7 +39425,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39527,7 +39527,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39556,7 +39556,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39585,7 +39585,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39614,7 +39614,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39710,7 +39710,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39750,7 +39750,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39790,7 +39790,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39830,7 +39830,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39961,7 +39961,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -39985,7 +39985,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40009,7 +40009,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40033,7 +40033,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40124,7 +40124,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40159,7 +40159,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40194,7 +40194,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40229,7 +40229,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40331,7 +40331,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40360,7 +40360,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40389,7 +40389,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40418,7 +40418,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40514,7 +40514,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40554,7 +40554,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40594,7 +40594,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40634,7 +40634,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40765,7 +40765,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40789,7 +40789,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40813,7 +40813,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40837,7 +40837,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40928,7 +40928,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40963,7 +40963,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -40998,7 +40998,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41033,7 +41033,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41135,7 +41135,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41164,7 +41164,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41193,7 +41193,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41222,7 +41222,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41318,7 +41318,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41358,7 +41358,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41398,7 +41398,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41438,7 +41438,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41545,7 +41545,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41575,7 +41575,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41605,7 +41605,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41635,7 +41635,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41732,7 +41732,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41773,7 +41773,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41814,7 +41814,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41855,7 +41855,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41963,7 +41963,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -41987,7 +41987,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42011,7 +42011,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42035,7 +42035,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42126,7 +42126,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42161,7 +42161,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42196,7 +42196,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42231,7 +42231,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42333,7 +42333,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42358,7 +42358,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42383,7 +42383,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42408,7 +42408,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42500,7 +42500,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42536,7 +42536,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42572,7 +42572,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42608,7 +42608,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42711,7 +42711,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42735,7 +42735,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42759,7 +42759,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42783,7 +42783,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42874,7 +42874,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42909,7 +42909,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42944,7 +42944,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -42979,7 +42979,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43081,7 +43081,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43110,7 +43110,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43139,7 +43139,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43168,7 +43168,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43264,7 +43264,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43304,7 +43304,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43344,7 +43344,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43384,7 +43384,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43499,7 +43499,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43523,7 +43523,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43547,7 +43547,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43571,7 +43571,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43662,7 +43662,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43697,7 +43697,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43732,7 +43732,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43767,7 +43767,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43878,7 +43878,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43911,7 +43911,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43944,7 +43944,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -43977,7 +43977,7 @@ static void lts_aga_fm2_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44101,7 +44101,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44145,7 +44145,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44189,7 +44189,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44233,7 +44233,7 @@ static void lts_aga_fm2_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44368,7 +44368,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44406,7 +44406,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44444,7 +44444,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44482,7 +44482,7 @@ static void lts_aga_fm2_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44611,7 +44611,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44660,7 +44660,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44709,7 +44709,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44758,7 +44758,7 @@ static void lts_aga_fm2_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44922,7 +44922,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44955,7 +44955,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -44988,7 +44988,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45021,7 +45021,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45145,7 +45145,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45189,7 +45189,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45233,7 +45233,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45277,7 +45277,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45412,7 +45412,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45450,7 +45450,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45488,7 +45488,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45526,7 +45526,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45655,7 +45655,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45704,7 +45704,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45753,7 +45753,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45802,7 +45802,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45966,7 +45966,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -45999,7 +45999,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46032,7 +46032,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46065,7 +46065,7 @@ static void lts_aga_fm2_n0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46189,7 +46189,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46233,7 +46233,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46277,7 +46277,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46321,7 +46321,7 @@ static void lts_aga_fm2_n1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46456,7 +46456,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46494,7 +46494,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46532,7 +46532,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46570,7 +46570,7 @@ static void lts_aga_fm2_dpf0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46699,7 +46699,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46748,7 +46748,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46797,7 +46797,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46846,7 +46846,7 @@ static void lts_aga_fm2_dpf1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -46986,7 +46986,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47025,7 +47025,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47064,7 +47064,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47103,7 +47103,7 @@ static void lts_aga_fm2_ehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47233,7 +47233,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47283,7 +47283,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47333,7 +47333,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47383,7 +47383,7 @@ static void lts_aga_fm2_ehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47524,7 +47524,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47557,7 +47557,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47590,7 +47590,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47623,7 +47623,7 @@ static void lts_aga_fm2_ham0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47747,7 +47747,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47791,7 +47791,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47835,7 +47835,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -47879,7 +47879,7 @@ static void lts_aga_fm2_ham1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48014,7 +48014,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48048,7 +48048,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48082,7 +48082,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48116,7 +48116,7 @@ static void lts_aga_fm2_kehb0_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48241,7 +48241,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48286,7 +48286,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48331,7 +48331,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48376,7 +48376,7 @@ static void lts_aga_fm2_kehb1_p6_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48512,7 +48512,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48545,7 +48545,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48578,7 +48578,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48611,7 +48611,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48735,7 +48735,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48779,7 +48779,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48823,7 +48823,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -48867,7 +48867,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49002,7 +49002,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49040,7 +49040,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49078,7 +49078,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49116,7 +49116,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49245,7 +49245,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49294,7 +49294,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49343,7 +49343,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49392,7 +49392,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49540,7 +49540,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49573,7 +49573,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49606,7 +49606,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49639,7 +49639,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49763,7 +49763,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49807,7 +49807,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49851,7 +49851,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -49895,7 +49895,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50037,7 +50037,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50055,7 +50055,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50073,7 +50073,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50091,7 +50091,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50176,7 +50176,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50197,7 +50197,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50218,7 +50218,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50239,7 +50239,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50327,7 +50327,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50350,7 +50350,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50373,7 +50373,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50396,7 +50396,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50486,7 +50486,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50512,7 +50512,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50538,7 +50538,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50564,7 +50564,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50681,7 +50681,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50699,7 +50699,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50717,7 +50717,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50735,7 +50735,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50820,7 +50820,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50841,7 +50841,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50862,7 +50862,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50883,7 +50883,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50971,7 +50971,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -50994,7 +50994,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51017,7 +51017,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51040,7 +51040,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51130,7 +51130,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51156,7 +51156,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51182,7 +51182,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51208,7 +51208,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51325,7 +51325,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51343,7 +51343,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51361,7 +51361,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51379,7 +51379,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51464,7 +51464,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51485,7 +51485,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51506,7 +51506,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51527,7 +51527,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51615,7 +51615,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51638,7 +51638,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51661,7 +51661,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51684,7 +51684,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51774,7 +51774,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51800,7 +51800,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51826,7 +51826,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51852,7 +51852,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51945,7 +51945,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51969,7 +51969,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -51993,7 +51993,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52017,7 +52017,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52108,7 +52108,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52135,7 +52135,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52162,7 +52162,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52189,7 +52189,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52283,7 +52283,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52301,7 +52301,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52319,7 +52319,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52337,7 +52337,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52422,7 +52422,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52443,7 +52443,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52464,7 +52464,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52485,7 +52485,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52573,7 +52573,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52592,7 +52592,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52611,7 +52611,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52630,7 +52630,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52716,7 +52716,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52738,7 +52738,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52760,7 +52760,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52782,7 +52782,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52871,7 +52871,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52889,7 +52889,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52907,7 +52907,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -52925,7 +52925,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53010,7 +53010,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53031,7 +53031,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53052,7 +53052,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53073,7 +53073,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53161,7 +53161,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53184,7 +53184,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53207,7 +53207,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53230,7 +53230,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53320,7 +53320,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53346,7 +53346,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53372,7 +53372,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53398,7 +53398,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53499,7 +53499,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53517,7 +53517,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53535,7 +53535,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53553,7 +53553,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53638,7 +53638,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres(void) int cnt_next = denise_hcounter_next << 2; if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53659,7 +53659,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres(void) loaded_pixs[0] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53680,7 +53680,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres(void) loaded_pixs[1] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53701,7 +53701,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres(void) loaded_pixs[2] = loaded_pix; internal_pixel_cnt += 1; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53798,7 +53798,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53825,7 +53825,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53852,7 +53852,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53879,7 +53879,7 @@ static void lts_aga_fm2_n0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -53997,7 +53997,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54027,7 +54027,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54057,7 +54057,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54087,7 +54087,7 @@ static void lts_aga_fm2_n1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54208,7 +54208,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54240,7 +54240,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54272,7 +54272,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54304,7 +54304,7 @@ static void lts_aga_fm2_dpf0_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54427,7 +54427,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54462,7 +54462,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54497,7 +54497,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54532,7 +54532,7 @@ static void lts_aga_fm2_dpf1_p2_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54682,7 +54682,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54709,7 +54709,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54736,7 +54736,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54763,7 +54763,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54881,7 +54881,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54911,7 +54911,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54941,7 +54941,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -54971,7 +54971,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55092,7 +55092,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55124,7 +55124,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55156,7 +55156,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55188,7 +55188,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55311,7 +55311,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55346,7 +55346,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55381,7 +55381,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55416,7 +55416,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55566,7 +55566,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55593,7 +55593,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55620,7 +55620,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55647,7 +55647,7 @@ static void lts_aga_fm2_n0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55765,7 +55765,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55795,7 +55795,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55825,7 +55825,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55855,7 +55855,7 @@ static void lts_aga_fm2_n1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -55976,7 +55976,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56008,7 +56008,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56040,7 +56040,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56072,7 +56072,7 @@ static void lts_aga_fm2_dpf0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56195,7 +56195,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56230,7 +56230,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56265,7 +56265,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56300,7 +56300,7 @@ static void lts_aga_fm2_dpf1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56426,7 +56426,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56459,7 +56459,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56492,7 +56492,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56525,7 +56525,7 @@ static void lts_aga_fm2_ehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56649,7 +56649,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56685,7 +56685,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56721,7 +56721,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56757,7 +56757,7 @@ static void lts_aga_fm2_ehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56884,7 +56884,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56911,7 +56911,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56938,7 +56938,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -56965,7 +56965,7 @@ static void lts_aga_fm2_ham0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57083,7 +57083,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57113,7 +57113,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57143,7 +57143,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57173,7 +57173,7 @@ static void lts_aga_fm2_ham1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57294,7 +57294,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57322,7 +57322,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57350,7 +57350,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57378,7 +57378,7 @@ static void lts_aga_fm2_kehb0_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57497,7 +57497,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57528,7 +57528,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57559,7 +57559,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57590,7 +57590,7 @@ static void lts_aga_fm2_kehb1_p6_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57712,7 +57712,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57739,7 +57739,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57766,7 +57766,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57793,7 +57793,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57911,7 +57911,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57941,7 +57941,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -57971,7 +57971,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58001,7 +58001,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58122,7 +58122,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58154,7 +58154,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58186,7 +58186,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58218,7 +58218,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58341,7 +58341,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58376,7 +58376,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58411,7 +58411,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58446,7 +58446,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58580,7 +58580,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58607,7 +58607,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58634,7 +58634,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58661,7 +58661,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58779,7 +58779,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58809,7 +58809,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58839,7 +58839,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -58869,7 +58869,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr(void) internal_pixel_cnt += 1; matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { diff --git a/linetoscr_aga_fm2_genlock.cpp b/linetoscr_aga_fm2_genlock.cpp index 67358e31..9faca872 100644 --- a/linetoscr_aga_fm2_genlock.cpp +++ b/linetoscr_aga_fm2_genlock.cpp @@ -18,7 +18,7 @@ static void lts_aga_fm2_n0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -81,7 +81,7 @@ static void lts_aga_fm2_n1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -147,7 +147,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -215,7 +215,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -310,7 +310,7 @@ static void lts_aga_fm2_n0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -373,7 +373,7 @@ static void lts_aga_fm2_n1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -439,7 +439,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -507,7 +507,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -586,7 +586,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -649,7 +649,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -724,7 +724,7 @@ static void lts_aga_fm2_n0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -804,7 +804,7 @@ static void lts_aga_fm2_n1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -887,7 +887,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -972,7 +972,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1084,7 +1084,7 @@ static void lts_aga_fm2_n0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1164,7 +1164,7 @@ static void lts_aga_fm2_n1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1247,7 +1247,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1332,7 +1332,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1428,7 +1428,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1508,7 +1508,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1598,7 +1598,7 @@ static void lts_aga_fm2_n0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1662,7 +1662,7 @@ static void lts_aga_fm2_n1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1729,7 +1729,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1798,7 +1798,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1894,7 +1894,7 @@ static void lts_aga_fm2_n0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1958,7 +1958,7 @@ static void lts_aga_fm2_n1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2025,7 +2025,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2094,7 +2094,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2174,7 +2174,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2194,7 +2194,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2254,7 +2254,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2277,7 +2277,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2349,7 +2349,7 @@ static void lts_aga_fm2_n0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2430,7 +2430,7 @@ static void lts_aga_fm2_n1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2514,7 +2514,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2600,7 +2600,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2713,7 +2713,7 @@ static void lts_aga_fm2_n0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2794,7 +2794,7 @@ static void lts_aga_fm2_n1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2878,7 +2878,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2964,7 +2964,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3061,7 +3061,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3089,7 +3089,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3158,7 +3158,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3189,7 +3189,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3268,7 +3268,7 @@ static void lts_aga_fm2_n0_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3334,7 +3334,7 @@ static void lts_aga_fm2_n1_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3403,7 +3403,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3474,7 +3474,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3572,7 +3572,7 @@ static void lts_aga_fm2_n0_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3638,7 +3638,7 @@ static void lts_aga_fm2_n1_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3707,7 +3707,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3778,7 +3778,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3860,7 +3860,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3880,7 +3880,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3897,7 +3897,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_genlock(void) loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3914,7 +3914,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3974,7 +3974,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3997,7 +3997,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4017,7 +4017,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_genlock(void) loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4037,7 +4037,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4109,7 +4109,7 @@ static void lts_aga_fm2_n0_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4192,7 +4192,7 @@ static void lts_aga_fm2_n1_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4278,7 +4278,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4366,7 +4366,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4481,7 +4481,7 @@ static void lts_aga_fm2_n0_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4564,7 +4564,7 @@ static void lts_aga_fm2_n1_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4650,7 +4650,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4738,7 +4738,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4837,7 +4837,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4865,7 +4865,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4882,7 +4882,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr_genlock(void) loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4899,7 +4899,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dlores_spr_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4968,7 +4968,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4999,7 +4999,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5019,7 +5019,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr_genlock(void) loaded_pixs[1] = loaded_pix; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5039,7 +5039,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dlores_spr_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5118,7 +5118,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5145,7 +5145,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5225,7 +5225,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5263,7 +5263,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5354,7 +5354,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5386,7 +5386,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5471,7 +5471,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5514,7 +5514,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5634,7 +5634,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5661,7 +5661,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5741,7 +5741,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5779,7 +5779,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5870,7 +5870,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5902,7 +5902,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -5987,7 +5987,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6030,7 +6030,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6134,7 +6134,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6161,7 +6161,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6241,7 +6241,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6279,7 +6279,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6379,7 +6379,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6415,7 +6415,7 @@ static void lts_aga_fm2_n0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6520,7 +6520,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6567,7 +6567,7 @@ static void lts_aga_fm2_n1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6683,7 +6683,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6724,7 +6724,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6834,7 +6834,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6886,7 +6886,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7031,7 +7031,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7067,7 +7067,7 @@ static void lts_aga_fm2_n0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7172,7 +7172,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7219,7 +7219,7 @@ static void lts_aga_fm2_n1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7335,7 +7335,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7376,7 +7376,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7486,7 +7486,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7538,7 +7538,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7667,7 +7667,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7703,7 +7703,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7808,7 +7808,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7855,7 +7855,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7978,7 +7978,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7999,7 +7999,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8073,7 +8073,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8097,7 +8097,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8174,7 +8174,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8200,7 +8200,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8279,7 +8279,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8308,7 +8308,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8414,7 +8414,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8435,7 +8435,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8509,7 +8509,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8533,7 +8533,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8610,7 +8610,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8636,7 +8636,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8715,7 +8715,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8744,7 +8744,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8834,7 +8834,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8855,7 +8855,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -8929,7 +8929,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -8953,7 +8953,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9039,7 +9039,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9069,7 +9069,7 @@ static void lts_aga_fm2_n0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9168,7 +9168,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9201,7 +9201,7 @@ static void lts_aga_fm2_n1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9303,7 +9303,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9338,7 +9338,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9442,7 +9442,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9480,7 +9480,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9611,7 +9611,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9641,7 +9641,7 @@ static void lts_aga_fm2_n0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9740,7 +9740,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9773,7 +9773,7 @@ static void lts_aga_fm2_n1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -9875,7 +9875,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -9910,7 +9910,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10014,7 +10014,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10052,7 +10052,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10167,7 +10167,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10197,7 +10197,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10296,7 +10296,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10329,7 +10329,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10438,7 +10438,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10460,7 +10460,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10535,7 +10535,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10560,7 +10560,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10638,7 +10638,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10665,7 +10665,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10745,7 +10745,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10775,7 +10775,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10882,7 +10882,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -10904,7 +10904,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -10979,7 +10979,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11004,7 +11004,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11082,7 +11082,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11109,7 +11109,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11189,7 +11189,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11219,7 +11219,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11310,7 +11310,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11330,7 +11330,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11348,7 +11348,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11368,7 +11368,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11439,7 +11439,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11462,7 +11462,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11483,7 +11483,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11506,7 +11506,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11589,7 +11589,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11620,7 +11620,7 @@ static void lts_aga_fm2_n0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11720,7 +11720,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11754,7 +11754,7 @@ static void lts_aga_fm2_n1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11857,7 +11857,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -11893,7 +11893,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -11998,7 +11998,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12037,7 +12037,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12169,7 +12169,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12200,7 +12200,7 @@ static void lts_aga_fm2_n0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12300,7 +12300,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12334,7 +12334,7 @@ static void lts_aga_fm2_n1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12437,7 +12437,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12473,7 +12473,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12578,7 +12578,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12617,7 +12617,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12733,7 +12733,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12761,7 +12761,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12780,7 +12780,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12808,7 +12808,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dhires_spr_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12896,7 +12896,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -12927,7 +12927,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr_genlock(void) loaded_pixs[0] = loaded_pix; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12949,7 +12949,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -12980,7 +12980,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dhires_spr_genlock(void) loaded_pixs[2] = loaded_pix; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { dpix_val3 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13078,7 +13078,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13105,7 +13105,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13132,7 +13132,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13159,7 +13159,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13261,7 +13261,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13299,7 +13299,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13337,7 +13337,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13375,7 +13375,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13488,7 +13488,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13520,7 +13520,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13552,7 +13552,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13584,7 +13584,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13691,7 +13691,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13734,7 +13734,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -13777,7 +13777,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -13820,7 +13820,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -13962,7 +13962,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -13989,7 +13989,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14016,7 +14016,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14043,7 +14043,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14145,7 +14145,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14183,7 +14183,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14221,7 +14221,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14259,7 +14259,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14372,7 +14372,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14404,7 +14404,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14436,7 +14436,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14468,7 +14468,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14575,7 +14575,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14618,7 +14618,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14661,7 +14661,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14704,7 +14704,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -14830,7 +14830,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -14857,7 +14857,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -14884,7 +14884,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -14911,7 +14911,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15013,7 +15013,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15051,7 +15051,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15089,7 +15089,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15127,7 +15127,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15249,7 +15249,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15285,7 +15285,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15321,7 +15321,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15357,7 +15357,7 @@ static void lts_aga_fm2_n0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15500,7 +15500,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15547,7 +15547,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15594,7 +15594,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15641,7 +15641,7 @@ static void lts_aga_fm2_n1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -15795,7 +15795,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -15836,7 +15836,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -15877,7 +15877,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -15918,7 +15918,7 @@ static void lts_aga_fm2_dpf0_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16066,7 +16066,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16118,7 +16118,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16170,7 +16170,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16222,7 +16222,7 @@ static void lts_aga_fm2_dpf1_p4_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16405,7 +16405,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16441,7 +16441,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16477,7 +16477,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16513,7 +16513,7 @@ static void lts_aga_fm2_n0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16656,7 +16656,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16703,7 +16703,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -16750,7 +16750,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -16797,7 +16797,7 @@ static void lts_aga_fm2_n1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -16951,7 +16951,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -16992,7 +16992,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17033,7 +17033,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17074,7 +17074,7 @@ static void lts_aga_fm2_dpf0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17222,7 +17222,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17274,7 +17274,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17326,7 +17326,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17378,7 +17378,7 @@ static void lts_aga_fm2_dpf1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17545,7 +17545,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17581,7 +17581,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17617,7 +17617,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17653,7 +17653,7 @@ static void lts_aga_fm2_ham0_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -17796,7 +17796,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -17843,7 +17843,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -17890,7 +17890,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -17937,7 +17937,7 @@ static void lts_aga_fm2_ham1_p8_ilores_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18098,7 +18098,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18125,7 +18125,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18152,7 +18152,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18179,7 +18179,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18281,7 +18281,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18319,7 +18319,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18357,7 +18357,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18395,7 +18395,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18508,7 +18508,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18540,7 +18540,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18572,7 +18572,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18604,7 +18604,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18711,7 +18711,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -18754,7 +18754,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -18797,7 +18797,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -18840,7 +18840,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -18982,7 +18982,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19009,7 +19009,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19036,7 +19036,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19063,7 +19063,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19165,7 +19165,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19203,7 +19203,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19241,7 +19241,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19279,7 +19279,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19392,7 +19392,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19424,7 +19424,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19456,7 +19456,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19488,7 +19488,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19595,7 +19595,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19638,7 +19638,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19681,7 +19681,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19724,7 +19724,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -19850,7 +19850,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -19877,7 +19877,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -19904,7 +19904,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -19931,7 +19931,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20033,7 +20033,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20071,7 +20071,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20109,7 +20109,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20147,7 +20147,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20269,7 +20269,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20305,7 +20305,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20341,7 +20341,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20377,7 +20377,7 @@ static void lts_aga_fm2_n0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20520,7 +20520,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20567,7 +20567,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20614,7 +20614,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20661,7 +20661,7 @@ static void lts_aga_fm2_n1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -20815,7 +20815,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -20856,7 +20856,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -20897,7 +20897,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -20938,7 +20938,7 @@ static void lts_aga_fm2_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21086,7 +21086,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21138,7 +21138,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21190,7 +21190,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21242,7 +21242,7 @@ static void lts_aga_fm2_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21425,7 +21425,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21461,7 +21461,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21497,7 +21497,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21533,7 +21533,7 @@ static void lts_aga_fm2_n0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21676,7 +21676,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -21723,7 +21723,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -21770,7 +21770,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -21817,7 +21817,7 @@ static void lts_aga_fm2_n1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -21971,7 +21971,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -22012,7 +22012,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -22053,7 +22053,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -22094,7 +22094,7 @@ static void lts_aga_fm2_dpf0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -22242,7 +22242,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -22294,7 +22294,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -22346,7 +22346,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -22398,7 +22398,7 @@ static void lts_aga_fm2_dpf1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -22565,7 +22565,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -22601,7 +22601,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -22637,7 +22637,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -22673,7 +22673,7 @@ static void lts_aga_fm2_ham0_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -22816,7 +22816,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -22863,7 +22863,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -22910,7 +22910,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -22957,7 +22957,7 @@ static void lts_aga_fm2_ham1_p8_ihires_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -23118,7 +23118,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -23139,7 +23139,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -23160,7 +23160,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -23181,7 +23181,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -23277,7 +23277,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -23301,7 +23301,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -23325,7 +23325,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -23349,7 +23349,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -23448,7 +23448,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -23474,7 +23474,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -23500,7 +23500,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -23526,7 +23526,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -23627,7 +23627,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -23656,7 +23656,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -23685,7 +23685,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -23714,7 +23714,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -23842,7 +23842,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -23863,7 +23863,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -23884,7 +23884,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -23905,7 +23905,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24001,7 +24001,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24025,7 +24025,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24049,7 +24049,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24073,7 +24073,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24172,7 +24172,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24198,7 +24198,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24224,7 +24224,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24250,7 +24250,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24351,7 +24351,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24380,7 +24380,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24409,7 +24409,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24438,7 +24438,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24550,7 +24550,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24571,7 +24571,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24592,7 +24592,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24613,7 +24613,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24709,7 +24709,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_genlock(void) if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24733,7 +24733,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24757,7 +24757,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24781,7 +24781,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -24889,7 +24889,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -24919,7 +24919,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -24949,7 +24949,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -24979,7 +24979,7 @@ static void lts_aga_fm2_n0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -25116,7 +25116,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -25149,7 +25149,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -25182,7 +25182,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -25215,7 +25215,7 @@ static void lts_aga_fm2_n1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -25355,7 +25355,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -25390,7 +25390,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -25425,7 +25425,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -25460,7 +25460,7 @@ static void lts_aga_fm2_dpf0_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -25602,7 +25602,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -25640,7 +25640,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -25678,7 +25678,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -25716,7 +25716,7 @@ static void lts_aga_fm2_dpf1_p4_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -25885,7 +25885,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -25915,7 +25915,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -25945,7 +25945,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -25975,7 +25975,7 @@ static void lts_aga_fm2_n0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -26112,7 +26112,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -26145,7 +26145,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -26178,7 +26178,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -26211,7 +26211,7 @@ static void lts_aga_fm2_n1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -26351,7 +26351,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -26386,7 +26386,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -26421,7 +26421,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -26456,7 +26456,7 @@ static void lts_aga_fm2_dpf0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -26598,7 +26598,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -26636,7 +26636,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -26674,7 +26674,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -26712,7 +26712,7 @@ static void lts_aga_fm2_dpf1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -26865,7 +26865,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -26895,7 +26895,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -26925,7 +26925,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -26955,7 +26955,7 @@ static void lts_aga_fm2_ham0_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; @@ -27092,7 +27092,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -27125,7 +27125,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 1); uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -27158,7 +27158,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 2); uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -27191,7 +27191,7 @@ static void lts_aga_fm2_ham1_p8_ishres_dshres_spr_genlock(void) matchsprites_aga(cnt + 3); uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; if (!denise_blank_active) { gpix3 = get_genlock_transparency_border(); dpix_val3 = bordercolor; diff --git a/linetoscr_ecs_fast.cpp b/linetoscr_ecs_fast.cpp index 444296c8..a15b3209 100644 --- a/linetoscr_ecs_fast.cpp +++ b/linetoscr_ecs_fast.cpp @@ -8,3399 +8,4479 @@ static void lts_ecs_n_ilores_dlores_b1(int draw_start, int draw_end, int draw_st { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dlores_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dhires_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; + } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { bool bpl = false; - if (cnt >= hbstrt_offset) { - break; - } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + *buf1++ = col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dshres_b1(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dlores_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dhires_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ilores_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; + } + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ihires_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf1++ = bgcolor; - *buf2++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf1++ = bgcolor; + *buf2++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_n_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_dpf_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - { - uae_u8 dpval = dpf_lookup[c]; - col = xcolors[colors_ocs[dpval]]; - } - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + { + uae_u8 dpval = dpf_lookup[c]; + col = xcolors[colors_ocs[dpval]]; + } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ehb_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - c &= bplehb_mask; - if (c <= 31) { - col = xcolors[colors_ocs[c]]; - } else { - col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; - } - *buf1++ = col; - *buf2++ = col; + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + c &= bplehb_mask; + if (c <= 31) { + col = xcolors[colors_ocs[c]]; + } else { + col = xcolors[(colors_ocs[c - 32] >> 1) & 0x777]; } + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_ham_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = decode_ham_pixel_fast(c, colors_ocs); - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = decode_ham_pixel_fast(c, colors_ocs); + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static void lts_ecs_kehb_ishres_dshres_b2(int draw_start, int draw_end, int draw_startoffset, int hbstrt_offset, int hbstop_offset, int hstrt_offset, int hstop_offset,int bpl1dat_trigger_offset, int planes, uae_u32 bgcolor, uae_u8 *cp, uae_u8 *cp2, int cpadd, int *cpadds, int bufadd, uae_u8 bxor, void *colors) { uae_u16 *colors_ocs = (uae_u16*)colors; int cnt = draw_start; - while (cnt < draw_end) { - bool bpl = false; - if (cnt >= hbstrt_offset) { - break; + if (draw_startoffset > cnt && bpl1dat_trigger_offset > cnt) { + cnt = draw_startoffset > bpl1dat_trigger_offset ? bpl1dat_trigger_offset : draw_startoffset; + if (cnt > hbstop_offset) { + cnt = hbstop_offset; } - if (cnt >= draw_startoffset) { - if (cnt < hbstop_offset) { - buf1 += bufadd; - buf2 += bufadd; - } else if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { - *buf1++ = bgcolor; - *buf2++ = bgcolor; - } - if (cnt >= bpl1dat_trigger_offset && cnt >= hstrt_offset && cnt < hstop_offset) { - bpl = true; - uae_u8 c; - uae_u32 col; - c = *cp; - cp += cpadd; - col = xcolors[colors_ocs[c & 31]]; - *buf1++ = col; - *buf2++ = col; - } + } + int end = draw_end; + if (end > hbstrt_offset) { + end = hbstrt_offset; + } + if (cnt < draw_startoffset) { + int d = (draw_startoffset - cnt) >> bufadd; + cp += d << cpadd; + cnt = draw_startoffset; + } + if (cnt < hbstop_offset) { + int d = (hbstop_offset - cnt) >> bufadd; + buf1 += d << bufadd; + buf2 += d << bufadd; + cnt = hbstop_offset; + } + while (cnt < end) { + bool bpl = false; + if (cnt < bpl1dat_trigger_offset || cnt < hstrt_offset || cnt >= hstop_offset) { + *buf1++ = bgcolor; + *buf2++ = bgcolor; + } else { + bpl = true; + uae_u8 c; + uae_u32 col; + c = *cp; + cp += 1 << cpadd; + col = xcolors[colors_ocs[c & 31]]; + *buf1++ = col; + *buf2++ = col; } if (cnt >= bpl1dat_trigger_offset && !bpl) { - cp += cpadd; + cp += 1 << cpadd; } - cnt += bufadd; + cnt += 1 << bufadd; } } static LINETOSRC_FUNCF linetoscr_ecs_fast_funcs[] = { diff --git a/linetoscr_ecs_shres.cpp b/linetoscr_ecs_shres.cpp index e0958def..e003c308 100644 --- a/linetoscr_ecs_shres.cpp +++ b/linetoscr_ecs_shres.cpp @@ -15,13 +15,13 @@ static void lts_ecs_shres_dlores(void) } int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { @@ -80,13 +80,13 @@ static void lts_ecs_shres_dhires(void) } int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { @@ -188,13 +188,13 @@ static void lts_ecs_shres_dshres(void) } int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { @@ -317,16 +317,16 @@ static void lts_ecs_shres_dlores_genlock(void) int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { @@ -386,16 +386,16 @@ static void lts_ecs_shres_dhires_genlock(void) int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { @@ -500,16 +500,16 @@ static void lts_ecs_shres_dshres_genlock(void) int cnt = denise_hcounter << 2; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; uae_u8 pix3 = 0; uae_u16 gpix3 = 0xffff; - uae_u32 dpix_val3 = 0; + uae_u32 dpix_val3 = BLANK_COLOR; bool shifted = false; checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h); if (!denise_blank_active) { diff --git a/linetoscr_ocs_ecs.cpp b/linetoscr_ocs_ecs.cpp index 692eec2d..ace2efe3 100644 --- a/linetoscr_ocs_ecs.cpp +++ b/linetoscr_ocs_ecs.cpp @@ -16,7 +16,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -73,7 +73,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -133,7 +133,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -191,7 +191,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -268,7 +268,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -325,7 +325,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -385,7 +385,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -443,7 +443,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -520,7 +520,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -580,7 +580,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -643,7 +643,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -704,7 +704,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -776,7 +776,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -836,7 +836,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -899,7 +899,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -959,7 +959,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1022,7 +1022,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1083,7 +1083,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1147,7 +1147,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1212,7 +1212,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1280,7 +1280,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1340,7 +1340,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1404,7 +1404,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1476,7 +1476,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1551,7 +1551,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1624,7 +1624,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1716,7 +1716,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1788,7 +1788,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1863,7 +1863,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1936,7 +1936,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2028,7 +2028,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2103,7 +2103,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2181,7 +2181,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2257,7 +2257,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2344,7 +2344,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2419,7 +2419,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2497,7 +2497,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2572,7 +2572,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2650,7 +2650,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2726,7 +2726,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2805,7 +2805,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2885,7 +2885,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2968,7 +2968,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3043,7 +3043,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3120,7 +3120,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3133,7 +3133,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3190,7 +3190,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3203,7 +3203,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3263,7 +3263,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3277,7 +3277,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3335,7 +3335,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3349,7 +3349,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3426,7 +3426,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3439,7 +3439,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3496,7 +3496,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3509,7 +3509,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3569,7 +3569,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3583,7 +3583,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3641,7 +3641,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3655,7 +3655,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3797,7 +3797,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3818,7 +3818,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3882,7 +3882,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3903,7 +3903,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3970,7 +3970,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3992,7 +3992,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4057,7 +4057,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4079,7 +4079,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4163,7 +4163,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4184,7 +4184,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4248,7 +4248,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4269,7 +4269,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4336,7 +4336,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4358,7 +4358,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4423,7 +4423,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4445,7 +4445,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4592,7 +4592,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4663,7 +4663,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4737,7 +4737,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4809,7 +4809,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4900,7 +4900,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4971,7 +4971,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5045,7 +5045,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5117,7 +5117,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5208,7 +5208,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5282,7 +5282,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5359,7 +5359,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5434,7 +5434,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5520,7 +5520,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5594,7 +5594,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5671,7 +5671,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5745,7 +5745,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5822,7 +5822,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5897,7 +5897,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5975,7 +5975,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6054,7 +6054,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6136,7 +6136,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6210,7 +6210,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6288,7 +6288,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6375,7 +6375,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6465,7 +6465,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6553,7 +6553,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6660,7 +6660,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6747,7 +6747,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6837,7 +6837,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6925,7 +6925,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7032,7 +7032,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7122,7 +7122,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7215,7 +7215,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7306,7 +7306,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7408,7 +7408,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7498,7 +7498,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7591,7 +7591,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7681,7 +7681,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7774,7 +7774,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7865,7 +7865,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7959,7 +7959,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8054,7 +8054,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8152,7 +8152,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8242,7 +8242,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8334,7 +8334,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8347,7 +8347,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8415,7 +8415,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8428,7 +8428,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8499,7 +8499,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8513,7 +8513,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8582,7 +8582,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8596,7 +8596,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8684,7 +8684,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8697,7 +8697,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8765,7 +8765,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8778,7 +8778,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8849,7 +8849,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8863,7 +8863,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8932,7 +8932,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8946,7 +8946,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9099,7 +9099,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9120,7 +9120,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9196,7 +9196,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9217,7 +9217,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9296,7 +9296,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9318,7 +9318,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9395,7 +9395,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9417,7 +9417,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9513,7 +9513,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9534,7 +9534,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9610,7 +9610,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9631,7 +9631,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9710,7 +9710,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9732,7 +9732,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9809,7 +9809,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9831,7 +9831,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9990,7 +9990,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10089,7 +10089,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10191,7 +10191,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10291,7 +10291,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10410,7 +10410,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10509,7 +10509,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10611,7 +10611,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10711,7 +10711,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10830,7 +10830,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10932,7 +10932,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11037,7 +11037,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11140,7 +11140,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11254,7 +11254,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11356,7 +11356,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11461,7 +11461,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11563,7 +11563,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11668,7 +11668,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11771,7 +11771,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11877,7 +11877,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11984,7 +11984,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12094,7 +12094,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12196,7 +12196,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12302,7 +12302,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12419,7 +12419,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12539,7 +12539,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12657,7 +12657,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12794,7 +12794,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12911,7 +12911,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13031,7 +13031,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13149,7 +13149,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13286,7 +13286,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13406,7 +13406,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13529,7 +13529,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13650,7 +13650,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13782,7 +13782,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13902,7 +13902,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14025,7 +14025,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14145,7 +14145,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14268,7 +14268,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14389,7 +14389,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14513,7 +14513,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14638,7 +14638,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14766,7 +14766,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14886,7 +14886,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15008,7 +15008,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15022,7 +15022,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15117,7 +15117,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15131,7 +15131,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15229,7 +15229,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15244,7 +15244,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15340,7 +15340,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15355,7 +15355,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15470,7 +15470,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15484,7 +15484,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15579,7 +15579,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15593,7 +15593,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15691,7 +15691,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15706,7 +15706,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15802,7 +15802,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15817,7 +15817,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15997,7 +15997,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16019,7 +16019,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16124,7 +16124,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16146,7 +16146,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16254,7 +16254,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16277,7 +16277,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16383,7 +16383,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16406,7 +16406,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16531,7 +16531,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16553,7 +16553,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16658,7 +16658,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16680,7 +16680,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16788,7 +16788,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16811,7 +16811,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16917,7 +16917,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16940,7 +16940,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { diff --git a/linetoscr_ocs_ecs_genlock.cpp b/linetoscr_ocs_ecs_genlock.cpp index 6ece5ae3..0092fbe4 100644 --- a/linetoscr_ocs_ecs_genlock.cpp +++ b/linetoscr_ocs_ecs_genlock.cpp @@ -17,7 +17,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -81,7 +81,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -148,7 +148,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -213,7 +213,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -281,7 +281,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -350,7 +350,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -422,7 +422,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -486,7 +486,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -554,7 +554,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -635,7 +635,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -719,7 +719,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -801,7 +801,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -886,7 +886,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -972,7 +972,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1061,7 +1061,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1142,7 +1142,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1225,7 +1225,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1241,7 +1241,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1302,7 +1302,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1318,7 +1318,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1382,7 +1382,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1399,7 +1399,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1461,7 +1461,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1478,7 +1478,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1560,7 +1560,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1584,7 +1584,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1654,7 +1654,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1678,7 +1678,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1751,7 +1751,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1776,7 +1776,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1847,7 +1847,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1872,7 +1872,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1961,7 +1961,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2041,7 +2041,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2124,7 +2124,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2205,7 +2205,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2289,7 +2289,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2374,7 +2374,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2462,7 +2462,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2542,7 +2542,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2626,7 +2626,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2724,7 +2724,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2825,7 +2825,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2924,7 +2924,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3026,7 +3026,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3129,7 +3129,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3235,7 +3235,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3333,7 +3333,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3433,7 +3433,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3449,7 +3449,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3522,7 +3522,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3538,7 +3538,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3614,7 +3614,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3631,7 +3631,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3705,7 +3705,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3722,7 +3722,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3816,7 +3816,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3840,7 +3840,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3923,7 +3923,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3947,7 +3947,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4033,7 +4033,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4058,7 +4058,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4142,7 +4142,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4167,7 +4167,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4269,7 +4269,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4381,7 +4381,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4496,7 +4496,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4609,7 +4609,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4725,7 +4725,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4842,7 +4842,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4962,7 +4962,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5074,7 +5074,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5190,7 +5190,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5322,7 +5322,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5457,7 +5457,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5590,7 +5590,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5726,7 +5726,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5863,7 +5863,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6003,7 +6003,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6135,7 +6135,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6269,7 +6269,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6286,7 +6286,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6390,7 +6390,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6407,7 +6407,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6514,7 +6514,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6532,7 +6532,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6637,7 +6637,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6655,7 +6655,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6780,7 +6780,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6805,7 +6805,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6921,7 +6921,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6946,7 +6946,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7065,7 +7065,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7091,7 +7091,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7208,7 +7208,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7234,7 +7234,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; diff --git a/linetoscr_ocs_ecs_ntsc.cpp b/linetoscr_ocs_ecs_ntsc.cpp index 0f870532..453b93e7 100644 --- a/linetoscr_ocs_ecs_ntsc.cpp +++ b/linetoscr_ocs_ecs_ntsc.cpp @@ -16,7 +16,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -74,7 +74,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -135,7 +135,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -194,7 +194,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -272,7 +272,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -330,7 +330,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -391,7 +391,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -450,7 +450,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -528,7 +528,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -589,7 +589,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -653,7 +653,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -715,7 +715,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -788,7 +788,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -849,7 +849,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -913,7 +913,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -974,7 +974,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1038,7 +1038,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1100,7 +1100,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1165,7 +1165,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1231,7 +1231,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1300,7 +1300,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1361,7 +1361,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1426,7 +1426,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1499,7 +1499,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1575,7 +1575,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1649,7 +1649,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1742,7 +1742,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1815,7 +1815,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1891,7 +1891,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -1965,7 +1965,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2058,7 +2058,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2134,7 +2134,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2213,7 +2213,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2290,7 +2290,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2378,7 +2378,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2454,7 +2454,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2533,7 +2533,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2609,7 +2609,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2688,7 +2688,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2765,7 +2765,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2845,7 +2845,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -2926,7 +2926,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3010,7 +3010,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3086,7 +3086,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3164,7 +3164,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3177,7 +3177,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3235,7 +3235,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3248,7 +3248,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3309,7 +3309,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3323,7 +3323,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3382,7 +3382,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3396,7 +3396,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3474,7 +3474,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3487,7 +3487,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3545,7 +3545,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3558,7 +3558,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3619,7 +3619,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3633,7 +3633,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3692,7 +3692,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3706,7 +3706,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3849,7 +3849,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3870,7 +3870,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3935,7 +3935,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -3956,7 +3956,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4024,7 +4024,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4046,7 +4046,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4112,7 +4112,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4134,7 +4134,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4219,7 +4219,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4240,7 +4240,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4305,7 +4305,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4326,7 +4326,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4394,7 +4394,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4416,7 +4416,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4482,7 +4482,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4504,7 +4504,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4652,7 +4652,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4725,7 +4725,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4801,7 +4801,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4875,7 +4875,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -4968,7 +4968,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5041,7 +5041,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5117,7 +5117,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5191,7 +5191,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5284,7 +5284,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5360,7 +5360,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5439,7 +5439,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5516,7 +5516,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5604,7 +5604,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5680,7 +5680,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5759,7 +5759,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5835,7 +5835,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5914,7 +5914,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -5991,7 +5991,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6071,7 +6071,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6152,7 +6152,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6236,7 +6236,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6312,7 +6312,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6392,7 +6392,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6481,7 +6481,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6573,7 +6573,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6663,7 +6663,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6772,7 +6772,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6861,7 +6861,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -6953,7 +6953,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7043,7 +7043,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7152,7 +7152,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7244,7 +7244,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7339,7 +7339,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7432,7 +7432,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7536,7 +7536,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7628,7 +7628,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7723,7 +7723,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7815,7 +7815,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -7910,7 +7910,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8003,7 +8003,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8099,7 +8099,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8196,7 +8196,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8296,7 +8296,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8388,7 +8388,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8482,7 +8482,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8495,7 +8495,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8565,7 +8565,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8578,7 +8578,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8651,7 +8651,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8665,7 +8665,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8736,7 +8736,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8750,7 +8750,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_ntsc(void) shiftbpl2(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8840,7 +8840,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8853,7 +8853,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8923,7 +8923,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -8936,7 +8936,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9009,7 +9009,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9023,7 +9023,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9094,7 +9094,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9108,7 +9108,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_ntsc(void) shiftbpl4(); internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9263,7 +9263,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9284,7 +9284,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9362,7 +9362,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9383,7 +9383,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9464,7 +9464,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9486,7 +9486,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9565,7 +9565,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9587,7 +9587,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9685,7 +9685,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9706,7 +9706,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9784,7 +9784,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9805,7 +9805,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9886,7 +9886,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9908,7 +9908,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -9987,7 +9987,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10009,7 +10009,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_ntsc(void) } internal_pixel_cnt += 2; uae_u8 pix1 = 0; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { dpix_val1 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10170,7 +10170,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10273,7 +10273,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10379,7 +10379,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10483,7 +10483,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10606,7 +10606,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10709,7 +10709,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10815,7 +10815,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -10919,7 +10919,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11042,7 +11042,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11148,7 +11148,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11257,7 +11257,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11364,7 +11364,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11482,7 +11482,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11588,7 +11588,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11697,7 +11697,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11803,7 +11803,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -11912,7 +11912,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12019,7 +12019,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12129,7 +12129,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12240,7 +12240,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12354,7 +12354,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12460,7 +12460,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12570,7 +12570,7 @@ static void lts_ecs_fm0_n0_p2_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12691,7 +12691,7 @@ static void lts_ecs_fm0_n1_p2_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12815,7 +12815,7 @@ static void lts_ecs_fm0_dpf0_p2_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -12937,7 +12937,7 @@ static void lts_ecs_fm0_dpf1_p2_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13078,7 +13078,7 @@ static void lts_ecs_fm0_n0_p4_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13199,7 +13199,7 @@ static void lts_ecs_fm0_n1_p4_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13323,7 +13323,7 @@ static void lts_ecs_fm0_dpf0_p4_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13445,7 +13445,7 @@ static void lts_ecs_fm0_dpf1_p4_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13586,7 +13586,7 @@ static void lts_ecs_fm0_n0_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13710,7 +13710,7 @@ static void lts_ecs_fm0_n1_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13837,7 +13837,7 @@ static void lts_ecs_fm0_dpf0_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -13962,7 +13962,7 @@ static void lts_ecs_fm0_dpf1_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14098,7 +14098,7 @@ static void lts_ecs_fm0_ham0_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14222,7 +14222,7 @@ static void lts_ecs_fm0_ham1_p5_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14349,7 +14349,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14473,7 +14473,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14600,7 +14600,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14725,7 +14725,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14853,7 +14853,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -14982,7 +14982,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15114,7 +15114,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15238,7 +15238,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15364,7 +15364,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15378,7 +15378,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15477,7 +15477,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15491,7 +15491,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15593,7 +15593,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15608,7 +15608,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15708,7 +15708,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15723,7 +15723,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15842,7 +15842,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15856,7 +15856,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15955,7 +15955,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -15969,7 +15969,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16071,7 +16071,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16086,7 +16086,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16186,7 +16186,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_ntsc(void) int cnt = denise_hcounter << 2; if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16201,7 +16201,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16385,7 +16385,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16407,7 +16407,7 @@ static void lts_ecs_fm0_n0_p2_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16516,7 +16516,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16538,7 +16538,7 @@ static void lts_ecs_fm0_n1_p2_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16650,7 +16650,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16673,7 +16673,7 @@ static void lts_ecs_fm0_dpf0_p2_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16783,7 +16783,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16806,7 +16806,7 @@ static void lts_ecs_fm0_dpf1_p2_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16935,7 +16935,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -16957,7 +16957,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17066,7 +17066,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17088,7 +17088,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17200,7 +17200,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17223,7 +17223,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17333,7 +17333,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_ntsc(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; matchsprites(cnt + 0); uae_u8 pix0 = 0; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { dpix_val0 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { @@ -17356,7 +17356,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_ntsc(void) internal_pixel_cnt += 1; internal_pixel_cnt += 1; uae_u8 pix2 = 0; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { dpix_val2 = bordercolor; if (denise_hdiw && bpl1dat_trigger) { diff --git a/linetoscr_ocs_ecs_ntsc_genlock.cpp b/linetoscr_ocs_ecs_ntsc_genlock.cpp index 94db7612..779d8891 100644 --- a/linetoscr_ocs_ecs_ntsc_genlock.cpp +++ b/linetoscr_ocs_ecs_ntsc_genlock.cpp @@ -17,7 +17,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -83,7 +83,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -152,7 +152,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -219,7 +219,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -289,7 +289,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -360,7 +360,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -434,7 +434,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -500,7 +500,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -570,7 +570,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -653,7 +653,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -739,7 +739,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -823,7 +823,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -910,7 +910,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -998,7 +998,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1089,7 +1089,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1172,7 +1172,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1257,7 +1257,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1273,7 +1273,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1336,7 +1336,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1352,7 +1352,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1418,7 +1418,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1435,7 +1435,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1499,7 +1499,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1516,7 +1516,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1600,7 +1600,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1624,7 +1624,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dlores_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1696,7 +1696,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1720,7 +1720,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dlores_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1795,7 +1795,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1820,7 +1820,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dlores_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -1893,7 +1893,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -1918,7 +1918,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dlores_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -2009,7 +2009,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2093,7 +2093,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2180,7 +2180,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2265,7 +2265,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2353,7 +2353,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2442,7 +2442,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2534,7 +2534,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2618,7 +2618,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2706,7 +2706,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2808,7 +2808,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -2913,7 +2913,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3016,7 +3016,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3122,7 +3122,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3229,7 +3229,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3339,7 +3339,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3441,7 +3441,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3545,7 +3545,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3561,7 +3561,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3638,7 +3638,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3654,7 +3654,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3734,7 +3734,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3751,7 +3751,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3829,7 +3829,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3846,7 +3846,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -3944,7 +3944,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -3968,7 +3968,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dhires_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4055,7 +4055,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4079,7 +4079,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dhires_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4169,7 +4169,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4194,7 +4194,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dhires_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4282,7 +4282,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4307,7 +4307,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dhires_spr_ntsc_genlock(void) internal_pixel_cnt += 2; uae_u8 pix1 = 0; uae_u16 gpix1 = 0xffff; - uae_u32 dpix_val1 = 0; + uae_u32 dpix_val1 = BLANK_COLOR; if (!denise_blank_active) { gpix1 = get_genlock_transparency_border(); dpix_val1 = bordercolor; @@ -4413,7 +4413,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4533,7 +4533,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4656,7 +4656,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4777,7 +4777,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -4901,7 +4901,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5026,7 +5026,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5154,7 +5154,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5274,7 +5274,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5398,7 +5398,7 @@ static void lts_ecs_fm0_n0_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5538,7 +5538,7 @@ static void lts_ecs_fm0_n1_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5681,7 +5681,7 @@ static void lts_ecs_fm0_dpf0_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5822,7 +5822,7 @@ static void lts_ecs_fm0_dpf1_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -5966,7 +5966,7 @@ static void lts_ecs_fm0_ehb0_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6111,7 +6111,7 @@ static void lts_ecs_fm0_ehb1_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6259,7 +6259,7 @@ static void lts_ecs_fm0_ham0_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6399,7 +6399,7 @@ static void lts_ecs_fm0_ham1_p6_ilores_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6541,7 +6541,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6558,7 +6558,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6670,7 +6670,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6687,7 +6687,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6802,7 +6802,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6820,7 +6820,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -6933,7 +6933,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_ntsc_genlock(void) if (checkhorizontal1_ecs(denise_hcounter, denise_hcounter_next, h)) continue; uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -6951,7 +6951,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7084,7 +7084,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7109,7 +7109,7 @@ static void lts_ecs_fm0_n0_p4_ihires_dshres_spr_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7233,7 +7233,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7258,7 +7258,7 @@ static void lts_ecs_fm0_n1_p4_ihires_dshres_spr_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7385,7 +7385,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7411,7 +7411,7 @@ static void lts_ecs_fm0_dpf0_p4_ihires_dshres_spr_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; @@ -7536,7 +7536,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_ntsc_genlock(void) matchsprites(cnt + 0); uae_u8 pix0 = 0; uae_u16 gpix0 = 0xffff; - uae_u32 dpix_val0 = 0; + uae_u32 dpix_val0 = BLANK_COLOR; if (!denise_blank_active) { gpix0 = get_genlock_transparency_border(); dpix_val0 = bordercolor; @@ -7562,7 +7562,7 @@ static void lts_ecs_fm0_dpf1_p4_ihires_dshres_spr_ntsc_genlock(void) internal_pixel_cnt += 1; uae_u8 pix2 = 0; uae_u16 gpix2 = 0xffff; - uae_u32 dpix_val2 = 0; + uae_u32 dpix_val2 = BLANK_COLOR; if (!denise_blank_active) { gpix2 = get_genlock_transparency_border(); dpix_val2 = bordercolor; diff --git a/od-win32/resources/resource.h b/od-win32/resources/resource.h index 44b68b80..254c324b 100644 --- a/od-win32/resources/resource.h +++ b/od-win32/resources/resource.h @@ -1132,6 +1132,7 @@ #define IDC_KEYBOARDMODE 1717 #define IDC_CS_CD32C2P 1718 #define IDC_SOUND_PORTAUDIO 1718 +#define IDC_DISPLAY_OPTIMIZATION 1718 #define IDC_CS_CD32NVRAM 1719 #define IDC_CS_CDTVCD 1720 #define IDC_CS_CDTVRAM 1721 diff --git a/od-win32/resources/winuae.rc b/od-win32/resources/winuae.rc index 3f8695e7..59755930 100644 --- a/od-win32/resources/winuae.rc +++ b/od-win32/resources/winuae.rc @@ -2,8 +2,8 @@ // #pragma code_page(65001) -#include "resource.h" #include "winres.h" +#include "resource.h" ///////////////////////////////////////////////////////////////////////////// // English (United Kingdom) resources @@ -769,8 +769,8 @@ BEGIN "Button",BS_AUTOCHECKBOX | BS_LEFT | WS_GROUP | WS_TABSTOP,12,92,194,10 CONTROL "Cycle-exact (DMA/Memory accesses)",IDC_CYCLEEXACTMEMORY, "Button",BS_AUTOCHECKBOX | BS_LEFT | WS_GROUP | WS_TABSTOP,12,105,194,10 - RTEXT "Chipset Extra:",IDC_STATIC,226,65,61,15,SS_CENTERIMAGE - COMBOBOX IDC_CS_EXT,295,65,88,65,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + RTEXT "Chipset Extra:",IDC_STATIC,226,75,61,15,SS_CENTERIMAGE + COMBOBOX IDC_CS_EXT,295,75,88,65,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP GROUPBOX "Options",IDC_STATIC,221,4,173,175 CONTROL "Subpixel display emulation",IDC_SUBPIXEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,234,16,150,10 CONTROL "Immediate Blitter [] Faster but less compatible blitter emulation.",IDC_BLITIMM, @@ -806,6 +806,8 @@ BEGIN CONTROL "Keyboard N-key rollover [] Always emulate n-key rollover (no key ghosting or jamming when pressing multiple keys at the same time) even if selected emulated keyboard model does not support it.",IDC_KEYBOARDNKRO, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,162,150,10 GROUPBOX "Keyboard",IDC_STATIC,0,125,215,53 + RTEXT "Optimizations:",IDC_STATIC,226,55,61,15,SS_CENTERIMAGE + COMBOBOX IDC_DISPLAY_OPTIMIZATION,295,57,88,65,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END IDD_CHIPSET2 DIALOGEX 0, 0, 396, 316 diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index ad3b3cd4..61e6a4ca 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -9337,6 +9337,7 @@ static void values_to_chipsetdlg (HWND hDlg) CheckDlgButton(hDlg, IDC_CYCLEEXACT, workprefs.cpu_cycle_exact); CheckDlgButton(hDlg, IDC_CYCLEEXACTMEMORY, workprefs.cpu_memory_cycle_exact); xSendDlgItemMessage(hDlg, IDC_CS_EXT, CB_SETCURSEL, workprefs.cs_compatible, 0); + xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_SETCURSEL, workprefs.cs_optimizations, 0); xSendDlgItemMessage(hDlg, IDC_MONITOREMU, CB_SETCURSEL, workprefs.monitoremu, 0); xSendDlgItemMessage(hDlg, IDC_MONITOREMU_MON, CB_SETCURSEL, workprefs.monitoremu_mon, 0); xSendDlgItemMessage(hDlg, IDC_GENLOCKMODE, CB_SETCURSEL, workprefs.genlock_image, 0); @@ -9435,6 +9436,10 @@ static void values_from_chipsetdlg (HWND hDlg, UINT msg, WPARAM wParam, LPARAM l cs_compatible = nn; built_in_chipset_prefs (&workprefs); } + nn = xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_GETCURSEL, 0, 0); + if (nn != CB_ERR) { + workprefs.cs_optimizations = nn; + } nn = xSendDlgItemMessage(hDlg, IDC_MONITOREMU, CB_GETCURSEL, 0, 0); if (nn != CB_ERR) workprefs.monitoremu = nn; @@ -9525,6 +9530,11 @@ static INT_PTR CALLBACK ChipsetDlgProc (HWND hDlg, UINT msg, WPARAM wParam, LPAR appendkbmcurom(tmp, has657036); xSendDlgItemMessage(hDlg, IDC_KEYBOARDMODE, CB_ADDSTRING, 0, tmp); + xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_RESETCONTENT, 0, 0); + xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_ADDSTRING, 0, (LPARAM)_T("Full")); + xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_ADDSTRING, 0, (LPARAM)_T("Partial")); + xSendDlgItemMessage(hDlg, IDC_DISPLAY_OPTIMIZATION, CB_ADDSTRING, 0, (LPARAM)_T("None")); + xSendDlgItemMessage(hDlg, IDC_CS_EXT, CB_RESETCONTENT, 0, 0); xSendDlgItemMessage(hDlg, IDC_CS_EXT, CB_ADDSTRING, 0, (LPARAM)_T("Custom")); WIN32GUI_LoadUIString(IDS_GENERIC, buffer, sizeof buffer / sizeof(TCHAR));