calimero wrote:Did not know that! GFA basic can not bitblt or rc_copy in 256 color mod or tc!
lp wrote:calimero wrote:Did not know that! GFA basic can not bitblt or rc_copy in 256 color mod or tc!
RC_COPY internally calls Line-A, thus unlikely to work in any mode over 16 colors. You can blame GFA for not documenting this fact.
BITBLT has three variants. Two variants call the Line-A and again probably won't work for modes over 16 colors. However, if you read the GFA manual carefully one variant calls the VDI. This for sure works in all modes assuming you pass it the correct parameters.
lp wrote:calimero wrote:plz, can you give me one example for bitblt in 256 color mode?
I never manage to make it work
I try it with and without nvdi ...
What are you blitting? Part of the screen to another area of the same screen or some off screen image (buffer) to the screen?
Code: Select all
RC_COPY sprite00.screen%,114,28,38,74 TO xbios.2%,cursor.x.old%,cursor.y.old%
RC_COPY xbios.2%,cursor.x%,cursor.y%,38,74 TO sprite00.screen%,114,28
ON cursor.shape| GOSUB cursor.draw.shape1,cursor.draw.shape2
lp wrote:I'll make an example in 256 color mode as my machine is usually in this mode anyway. Let's move it to PM and not dirty up his nice game thread with GFA chatter. I'll PM you when I completed an example using BITBLT in 256 colors.
Users browsing this forum: No registered users and 2 guests