`Initialize the program
SET DISPLAY MODE 640, 480, 32
`HIDE MOUSE
CLS
sync on
`Load background bitmap
LOAD BITMAP "background.bmp", 0
`Load the source bitmap file
LOAD BITMAP "F15.bmp",1
SET CURRENT BITMAP 1
`Grab image 1 from bitmap
GET IMAGE 1,0,0,300,300
SET CURRENT BITMAP 0
get image 2,0,0,640,480
sync
sprite 2,0,0,2
hide sprite 2
SPRITE 1,170,90,1
hide sprite 1
`Draw the sprite
paste sprite 2,0,0
paste sprite 1, 170, 90
sync
`Wait for keypress
WAIT KEY
END
How's this?
The fastest code is the code never written.