static bool lts_changed, lts_request;
typedef void (*LINETOSRC_FUNCF)(int,int,int,int,int,int,int,int,int,uae_u32,uae_u8*,uae_u8*,int,int*,int,struct linestate*);
-static int denise_hcounter, denise_hcounter_next, denise_hcounter_new, denise_hcounter_prev;
+static int denise_hcounter, denise_hcounter_next, denise_hcounter_new, denise_hcounter_prev, denise_hcounter_cmp;
static uae_u32 bplxdat[MAX_PLANES], bplxdat2[MAX_PLANES], bplxdat3[MAX_PLANES];
static uae_u64 bplxdat_64[MAX_PLANES], bplxdat2_64[MAX_PLANES], bplxdat3_64[MAX_PLANES];
static uae_u16 bplcon0_denise, bplcon1_denise, bplcon2_denise, bplcon3_denise, bplcon4_denise;
static void do_hbstrt(int cnt)
{
+ // move denise hcounter used to match BPLCON1 reset in HB start to hide the glitch in right edge
+ if (!denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter;
+ }
denise_hblank = true;
if (!exthblankon_ecs) {
hbstrt_offset = internal_pixel_cnt;
denise_hcounter_new += maxhpos * 2;
denise_hcounter_new &= 511;
denise_hcounter = denise_hcounter_new;
+ denise_hcounter_cmp = denise_hcounter;
//write_log("%d %04x %d %d\n", vpos, strobe, offset, denise_hcounter_new);
// 3 = refresh offset, 2 = pipeline delay
denise_hcounter_new = (offset - 3 - 2) * 2 + 2;
denise_hcounter = denise_hcounter_new;
+ denise_hcounter_cmp = denise_hcounter;
check_fast_hb();
}
}
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter;
+ }
denise_cck++;
}
}
if (startcycle == 0) {
get_line(gfx_ypos, how);
+
+ //write_log("# %d %d\n", gfx_ypos, vpos);
+
denise_hcounter_prev = -1;
hbstrt_offset = -1;
hbstop_offset = -1;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
}
denise_pixtotal++;
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter;
+ }
denise_cck++;
}
lts_changed = false;
spr_nearest();
}
+ //write_log("- %d\n", vpos);
+
while (denise_cck < denise_endcycle) {
lts();
lts_changed = false;
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_cnt++;
}
- int dhv = denise_hcounter & bplcon1_shift_mask;
+ int dhv = denise_hcounter_cmp & bplcon1_shift_mask;
if (bplcon1_shift[0] == bplcon1_shift[1]) {
// both even and odd planes copy
if (bpldat_copy[0] && dhv == bplcon1_shift[0]) {
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
}
get_line(gfx_ypos, how);
+
+ //write_log("* %d %d\n", gfx_ypos, vpos);
if (!buf1 && !ls->blankedline && denise_planes > 0) {
resolution_count[denise_res]++;
{
if (oddeven) {
// bitplane shifter shifting
- outf("if (bpldat_copy[0] && (denise_hcounter & %d) == bplcon1_shift[0]) { ", ((16 << bplfmode) >> res) - 1);
+ outf("if (bpldat_copy[0] && (denise_hcounter_cmp & %d) == bplcon1_shift[0]) { ", ((16 << bplfmode) >> res) - 1);
if (bplfmode == 2) {
outf("copybpl%de_64();", planes);
} else {
outf("copybpl%de();", planes);
}
outf("}");
- outf("if (bpldat_copy[1] && (denise_hcounter & %d) == bplcon1_shift[1]) {", ((16 << bplfmode) >> res) - 1);
+ outf("if (bpldat_copy[1] && (denise_hcounter_cmp & %d) == bplcon1_shift[1]) {", ((16 << bplfmode) >> res) - 1);
if (bplfmode == 2) {
outf("copybpl%do_64();", planes);
} else {
outf("}");
} else {
// bitplane shifter shifting
- outf("if (bpldat_copy[0] && (denise_hcounter & %d) == bplcon1_shift[0]) { ", ((16 << bplfmode) >> res) - 1);
+ outf("if (bpldat_copy[0] && (denise_hcounter_cmp & %d) == bplcon1_shift[0]) { ", ((16 << bplfmode) >> res) - 1);
if (bplfmode == 2) {
outf("copybpl%d_64();", planes);
} else {
}
if (oddeven) {
// bitplane shifter shifting
- outf("if (bpldat_copy[0] && ((cnt | %d) & %d) == bplcon1_shift_full_masked[0]) { ", add, (((16 << bplfmode) >> res) << 2) - 1);
+ outf("if (bpldat_copy[0] && ((cmp | %d) & %d) == bplcon1_shift_full_masked[0]) { ", add, (((16 << bplfmode) >> res) << 2) - 1);
if (bplfmode == 2) {
outf("copybpl%de_64();", planes);
} else {
gen_getbpl(0, maxplanes);
}
outf("}");
- outf("if (bpldat_copy[1] && ((cnt | %d) & %d) == bplcon1_shift_full_masked[1]) {", add, (((16 << bplfmode) >> res) << 2) - 1);
+ outf("if (bpldat_copy[1] && ((cmp | %d) & %d) == bplcon1_shift_full_masked[1]) {", add, (((16 << bplfmode) >> res) << 2) - 1);
if (bplfmode == 2) {
outf("copybpl%do_64();", planes);
} else {
outf("}");
} else {
// bitplane shifter shifting
- outf("if (bpldat_copy[0] && ((cnt | %d) & %d) == bplcon1_shift_full_masked[0]) { ", add, (((16 << bplfmode) >> res) << 2) - 1);
+ outf("if (bpldat_copy[0] && ((cmp | %d) & %d) == bplcon1_shift_full_masked[0]) { ", add, (((16 << bplfmode) >> res) << 2) - 1);
if (bplfmode == 2) {
outf("copybpl%d_64();", planes);
} else {
if (aga) {
outf("int cnt = denise_hcounter << 2;");
outf("int cnt_next = denise_hcounter_next << 2;");
+ outf("int cmp = denise_hcounter_cmp << 2;");
} else {
outf("int cnt = denise_hcounter << 2;");
}
outf("#ifdef DEBUGGER");
outf(" *debug_dma_dhpos_odd = denise_hcounter;");
outf("#endif");
+ outf(" denise_hcounter_cmp++;");
+ outf(" denise_hcounter_cmp &= 511;");
outf(" denise_hcounter++;");
outf(" denise_hcounter &= 511;");
outf(" denise_hcounter_next++;");
outf(" internal_pixel_start_cnt = internal_pixel_cnt;");
outf(" }");
outf(" denise_hcounter = denise_hcounter_new;");
+ outf(" if (denise_accurate_mode) {");
+ outf(" denise_hcounter_cmp = denise_hcounter_new;");
+ outf(" }");
outf(" denise_cck++;");
outf(" }");
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
shiftbpl6();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
shiftbpl6o();
loaded_pix = getbpl6();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
shiftbpl2();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
shiftbpl2o();
loaded_pix = getbpl2();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 15) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 15) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
shiftbpl8();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
shiftbpl8o();
loaded_pix = getbpl8();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
shiftbpl4();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
shiftbpl4o();
loaded_pix = getbpl4();
}
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix1;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
last_bpl_pix = pix2;
}
shiftbpl6();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
}
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
shiftbpl2();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
shiftbpl2o();
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
shiftbpl6();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
shiftbpl6o();
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix1;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix2;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
last_bpl_pix = pix3;
}
shiftbpl2();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl2o();
}
loaded_pix = getbpl2_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix1;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
last_bpl_pix = pix2;
}
shiftbpl8();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
}
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
shiftbpl4();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
shiftbpl4o();
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
shiftbpl8();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
shiftbpl8o();
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_32();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 0) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix1;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 1) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix2;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 2) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
last_bpl_pix = pix3;
}
shiftbpl4();
- if (bpldat_copy[0] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && ((cnt | 3) & 31) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 31) == bplcon1_shift_full_masked[1]) {
copybpl4o();
}
loaded_pix = getbpl4_32();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
shiftbpl2_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
shiftbpl2o_64();
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl2_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
shiftbpl6_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
shiftbpl6o_64();
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl6_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u32 dpix_val0 = BLANK_COLOR;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix1;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix2;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
last_bpl_pix = pix3;
}
shiftbpl2_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl2e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl2o_64();
}
loaded_pix = getbpl2_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix1;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix2;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
last_bpl_pix = pix3;
}
shiftbpl6_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl6e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl6o_64();
}
loaded_pix = getbpl6_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 255) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 255) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
shiftbpl4_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
shiftbpl4o_64();
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl4_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
shiftbpl8_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
shiftbpl8o_64();
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[0] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
bplshiftcnt[0] = 0;
loaded_pix = getbpl8_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 127) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 127) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
bplshiftcnt[1] = 0;
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
uae_u8 pix0 = 0;
uae_u8 gpix0 = 0xff;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix1;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix2;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
last_bpl_pix = pix3;
}
shiftbpl4_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl4e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl4o_64();
}
loaded_pix = getbpl4_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
}
int cnt = denise_hcounter << 2;
int cnt_next = denise_hcounter_next << 2;
+ int cmp = denise_hcounter_cmp << 2;
if (checkhorizontal1_aga(denise_hcounter, denise_hcounter_next, h)) continue;
matchsprites_aga(cnt + 0);
uae_u8 pix0 = 0;
last_bpl_pix = pix0;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 0) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 0) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix1;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 1) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 1) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix2;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 2) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 2) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
last_bpl_pix = pix3;
}
shiftbpl8_64();
- if (bpldat_copy[0] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[0]) {
+ if (bpldat_copy[0] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[0]) {
copybpl8e_64();
}
- if (bpldat_copy[1] && ((cnt | 3) & 63) == bplcon1_shift_full_masked[1]) {
+ if (bpldat_copy[1] && ((cmp | 3) & 63) == bplcon1_shift_full_masked[1]) {
copybpl8o_64();
}
loaded_pix = getbpl8_64();
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
shiftbpl2();
shiftbpl2();
}
- if (bpldat_copy[0] && (denise_hcounter & 3) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 3) == bplcon1_shift[0]) {
copybpl2();
}
internal_pixel_cnt += 4;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = gpix0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = gpix1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = gpix3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t0;
*buf2++ = t0;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t1;
*buf2++ = t1;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl5e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl5o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl2e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl2o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf1++ = t3;
*buf2++ = t3;
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t0;
*gbuf++ = dtgbuf[h ^ lol][0];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t1;
*gbuf++ = dtgbuf[h ^ lol][1];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 15) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 15) == bplcon1_shift[0]) {
copybpl6e();
}
- if (bpldat_copy[1] && (denise_hcounter & 15) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 15) == bplcon1_shift[1]) {
copybpl6o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}
*buf2++ = t3;
*gbuf++ = dtgbuf[h ^ lol][3];
}
- if (bpldat_copy[0] && (denise_hcounter & 7) == bplcon1_shift[0]) {
+ if (bpldat_copy[0] && (denise_hcounter_cmp & 7) == bplcon1_shift[0]) {
copybpl4e();
}
- if (bpldat_copy[1] && (denise_hcounter & 7) == bplcon1_shift[1]) {
+ if (bpldat_copy[1] && (denise_hcounter_cmp & 7) == bplcon1_shift[1]) {
copybpl4o();
}
sprites_hidden = sprites_hidden2;
#ifdef DEBUGGER
*debug_dma_dhpos_odd = denise_hcounter;
#endif
+ denise_hcounter_cmp++;
+ denise_hcounter_cmp &= 511;
denise_hcounter++;
denise_hcounter &= 511;
denise_hcounter_next++;
internal_pixel_start_cnt = internal_pixel_cnt;
}
denise_hcounter = denise_hcounter_new;
+ if (denise_accurate_mode) {
+ denise_hcounter_cmp = denise_hcounter_new;
+ }
denise_cck++;
}
}