if ((opcode & 0xF000) == 0xF000) {
if (warned < 20) {
write_log (L"B-Trap %x at %x (%p)\n", opcode, pc, regs.pc_p);
- activate_debugger ();
+ //activate_debugger ();
warned++;
}
Exception (0xB, 0);
}
}
+static void copyallinvert (uae_u8 *src, uae_u8 *dst)
+{
+ int x, y, w;
+
+ w = picasso96_state.Width * picasso_vidinfo.pixbytes;
+ if (picasso96_state.RGBFormat == host_mode) {
+ for (y = 0; y < picasso96_state.Height; y++) {
+ for (x = 0; x < w; x++)
+ dst[x] = src[x] ^ 0xff;
+ dst += picasso_vidinfo.rowbytes;
+ src += picasso96_state.BytesPerRow;
+ }
+ } else {
+ for (y = 0; y < picasso96_state.Height; y++) {
+ for (x = 0; x < w; x++)
+ src[x] ^= 0xff;
+ copyrow (src, dst, 0, y, picasso96_state.Width);
+ for (x = 0; x < w; x++)
+ src[x] ^= 0xff;
+ }
+ }
+}
+
static void copyall (uae_u8 *src, uae_u8 *dst)
{
int y;