Allan, There a small bug in the X version of SimCoupe that gives the wrong colours on the main screen in modes 1+2 when used on 16+32bpp displays - the default ink colour in modes 1+2 is dislayed as dark blue instead of dull white. The i_pix and p_pix values are 8 bit, but are assigned 16-and 32-bit clut values before being written to the frame-buffer.
Nothing serious, but took me a good while to track down as the compiler didn't even give a warning! Si