YYYYYYYYYYYEEEEEEEEEEEEESSSSSSSSSSS!!!!!!
i finaly have it working!!!! thanks all!!! it wasnt the actual blitting part of the code after all,
it was actually further up!
here is what i had when it wasnt working:
bitMap2 = AllocBitMap(640,480,8,BMF_DISPLAYABLE|BMF_MINPLANES|BMB_SPECIALFMT|PIXFMT_LUT8,bitMap);
InitBitMap(bitMap2,8,640,480);
InitRastPort(&rastPort2);
rastPort2.BitMap = bitMap2;
after using AllocBitMap() i used InitBitMap() which mustof messed up some of the BitMap structure!
but i was getting so frustrated that i was prepared to experiment & decided to remove the InitBitMap line!!
and now it works!
not only that but its fast on 15/16 bit screens now too
or at least, about as fast as 8 bit,
its still fairly slow, but thats ok for now
i probably will go fullscreen with V40 style double buffering from now, but i still want to give the user the option of having the window on a public screen, like alt-enter under windows when using a dos window
i think ill just have two slightly different routines used when changing frames, depending on weather its fullscreen or small window
but you couldnt image how happy i was when it finally worked, and it was much faster aswell
so, to all you programers out there remember what i said about the code above!
:-D