the code is
Code: Select all
#include "fbgfx.bi"
dim as integer i,j,r,g,b,c
screen 13: setmouse ,,0 : cls :'- 320x200 256 colours
for for g=0 to 7:for r=0 to 7:for b=0 to 3
c=(g*32)+(r*4)+b
palette c,(r*&h080000)+(g*&h000800)+(b*&h000010)
next:next:next
line (0,0)-(319,199),15,bf
for i=0 to 15
for j=0 to 15
line (i*20+2,j*12+2)-(i*20+15,j*12+7),j*16+i,b
line (i*20+2+2,j*12+2+2)-(i*20+15+2,j*12+7+2),j*16+i,bf
next:next
sleep
do someone know what is happening? thanks! :)