When the BITBLT is executed it destroys the palette of one of my colors? You can easily see this because initially the background is blue as intended, then changes color when the scroller starts. The scroller text is a dark green which I don't understand where it is even defined.. I don't think the inlined font file contains any kind of palette.

I think the problem maybe lies in the small_font() procedure where it defines a struct for BITBLT. Btw, I can't see any documentation for this struct in the manual.

PROCEDURE small_font DIM small_font(40) small_font(3)=1 ! Foreground Colour small_font(4)=1 ! Background Colour small_font(9)=8 ! Offset to the next word of the same bitplane small_font(10)=160 ! Offset to the next line of the source screen small_font(11)=2 ! Offset to the next bitplane (always 2) small_font(15)=8 ! Offset to the next word of the same bitplane small_font(16)=160 ! Offset to the next line of the destination screen small_font(17)=2 ! Offset to the next bitplane (always 2) small_font(2)=1 ! No of Bitplanes small_font(5)=3 ! Logical 'Put' Mode 0 to 15 small_font(8)=small_font ! Address of source screen small_font(14)=XBIOS(2) ! Address of the Destination screen small_font(0)=1 ! Screen Width in Pixels small_font(1)=8 ! Screen Height in Pixels small_font(12)=318 ! X Offset for Destination small_font(13)=191 ! Y Offset for DestinationRETURN

I'm attaching my source with the slightly modified scroller.

You do not have the required permissions to view the files attached to this post.