a2_scroll(apple2_state_t *st)
{
int i;
- st->textlines[st->cursy][st->cursx] ^= 0xc0; /* turn off cursor */
+ st->textlines[st->cursy][st->cursx] |= 0xc0; /* turn off cursor */
+
for (i=0; i<23; i++) {
memcpy(st->textlines[i],st->textlines[i+1],40);
}
memset(st->textlines[23],0xe0,40);
- st->textlines[st->cursy][st->cursx] ^= 0xc0; /* turn cursor back on */
}
static void
and even bytes have different color spaces. So, pattern[0..600]
gets the dots for one scan line. */
- char *pp=&sim->inp->signal[row+ANALOGTV_TOP+4][ANALOGTV_PIC_START+100];
+ signed char *pp=&sim->inp->signal[row+ANALOGTV_TOP+4][ANALOGTV_PIC_START+100];
if ((sim->st->gr_mode&A2_GR_HIRES) &&
(row<160 || (sim->st->gr_mode&A2_GR_FULL))) {