10 CLEAR ALL
20 BACKGROUND RGB(32,32,32)
30 BITMAP 1 LOAD "hello_p8_gfx.png"
40 TARGET BITMAP 1
50 SWAP PIXELS RGB(0,0,0),0
60 TILESET 1 NEW 32,32,1
70 SCREEN 4
80 DOUBLE BUFFER
90 SET TILESET 1
100 DO
110     CLS
120     FOR i=1 TO 11
130         t1=t+i*4-j*2
140         y=45-j+COS(t1/50)*45
150         BLIT TILE 16+i TO i*25-6,y+40
160     NEXT i
170     t=t+5
180     SWAP BUFFERS CLS
190     PAUSE 0
200 LOOP WHILE INKEY$=""
