Re: [cc65] char-copy and interrupts (C64)

Date view Thread view Subject view

From: Tim Schürmann (
Date: 2003-03-15 17:08:34


Ullrich von Bassewitz schrieb:

> I would just disable interrupts using SEI/CLI:
>         SEI ();
>         ((unsigned char*) 0x0001) &= 0xFB;
>         memcpy (tobla, fromblubb, ((256*8)*2));
>         ((unsigned char*) 0x0001) |= 0x04;
>         CLI ();

Thanks for your help. I'm now using the solution above.

Now, i have another problem: after switching to the upper memory, cursor(1) has
a strange behavior. On each screen-position it shows a diffrent charcter. Is
this correct or did i something wrong?



To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-15 17:07:53 CET