-- title: raster5 -- author: mieki256 -- desc: test scroll offset -- site: website link -- license: MIT License -- version: 0.1 -- script: lua t=0 x,y=96,24 function TIC() cls(13) map(0,0) spr(1+t%60//30*2,x,y,0,3,0,0,2,2) print("HELLO WORLD!",84,84,12) t=t+1 end function BDR(v) -- TIC-80 0.90 later local y=v-4 if y<0 or y>135 then return end my_bdr(y) end function SCN(v) -- TIC-80 0.70.6 my_bdr(v) end function my_bdr(y) poke(0x3FF9,0) -- screen offset x poke(0x3FFA,y*0.5) -- screen offset y end