Author: 0 (0)
Date: -0
hi guys,
is there anyone who can tell me how to optimize
my chunk2planar routines ? i can't reach www.dhs.nu
so i ask you, at the moment i'm doing:
moveq #100-1,D6
ROWS:
moveq #20-1,D7
ONEROW: moveq #0,D0
move.w (A0)+,D0 * A0 : CHUNKYBUFFER
lsl.w #4,D0
or.w (A0)+,D0
lsl.l #2,D0
move.l 0(A1,D0.l),D0
movep.l D0,0(A2) * A2 : SCREEN
movep.l D0,160(A2)
moveq #0,D0
move.w (A0)+,D0
lsl.w #4,D0
or.w (A0)+,D0
lsl.l #2,D0
move.l 0(A1,D0.l),D0
movep.l D0,1(A2)
movep.l D0,161(A2)
addq.w #8,A2
dbra D7,ONEROW
add.w #160,A2
dbra D6,ROWS
to convert a whole screen...if you know a faster way apart from
preshifting the colors (even if you resize the "effect-window") then
please send a reply. thanx in advance----
|