// to Curt. ;-) Without that excellent documentation which shows *exactly*
// what's going on inside the TOM chip, we'd all still be guessing as to how
// the wily blitter and other pieces of the Jaguar puzzle actually work.
-// Now how about those JERRY ASIC nets gentlemen...? [We have those now!] ;-)
//
#include "blitter.h"
// Various conditional compilation goodies...
-#define LOG_BLITS
+//#define LOG_BLITS
#define USE_ORIGINAL_BLITTER
//#define USE_MIDSUMMER_BLITTER
#else
logBlit = true;
#endif
-/*if (blit_start_log == 0) // Wait for the signal...
+if (blit_start_log == 0) // Wait for the signal...
logBlit = false;//*/
//temp, for testing...
/*if (cmd != 0x49820609)
Addq_y := JOIN (addq_y, addq_y[0..15]);*/
////////////////////////////////////// C++ CODE //////////////////////////////////////
- int16_t mask[8] = { 0xFFFF, 0xFFFE, 0xFFFC, 0xFFF8, 0xFFF0, 0xFFE0, 0xFFC0, 0x0000 };
+ uint16_t mask[8] = { 0xFFFF, 0xFFFE, 0xFFFC, 0xFFF8, 0xFFF0, 0xFFE0, 0xFFC0, 0x0000 };
addq_x = addqt_x & mask[modx];
addq_y = addqt_y & 0xFFFF;
//////////////////////////////////////////////////////////////////////////////////////