@Latch
Yeah I used it in that same example you helped me with, but It doesn't seem to execpt images from the Get Image command.
After loading the ninja image into number 1, I then Get Image into number 10 and Make Memblock from image 10, and it doesn't work.
There wasn't much that I changed.
[edit]
I found a way to make it work. If anyone wants to Make Memblock From Image from an image created by Get Image command you have to Sync befor making the memblock.
The code below will NOT work without the Sync right befor the memblock command.
set display mode 640,480,32
sync on
sync rate 0
get image 10,0,0,32,32,1
sync
make memblock from image 1,10
wd=memblock dword(1,0)
ht=memblock dword(1,4)
dp=memblock dword(1,8)
bytes=dp/8
for y = 0 to ht-1
for x = 0 to wd-1
pos = 12+((x+(y*wd))*bytes)
color = memblock dword(1,pos)
next x
next y