Another way using simple commands is:
sync on : sync rate 60
set bitmap format 21
create bitmap 1,640,480
col as dword
a=0
col = rgb(255,0,0) + (16777216*a)
box 0,0,256,256,col,col,col,col
get image 1,0,0,256,256,2
a=200
col = rgb(0,255,0) + (16777216*a)
box 0,0,256,256,col,col,col,col
get image 2,0,0,256,256,2
a=127
col = rgb(0,0,255) + (16777216*a)
box 0,0,256,256,col,col,col,col
get image 3,0,0,256,256,2
set current bitmap 0
delete bitmap 1
ink rgb(255,255,255),0
do
cls rgb(255,255,255)
paste image 1,0,0,1
paste image 2,100,100,1
paste image 3,200,200,1
text 0,0,"HELLO"
sync
loop
basically the set bitmap format command only works on bitmaps created AFTER the command, so will not work on default bitmap 0, so you have to create one first.
Then you can use the box commmand and paste in fudged colour values that have a transparency value embedded with a homemade rgba command.
Boo!