AMOS Basic V134 zRR2 and 16 Colour BMP Handler RRichard Wheeldon 1996 R0count\xofs\ yofs\x\y\a\$b\*slack 0fTt&**|_loadbmp0f\>vxB_loadbmpfilename\scr sizeNtfilename|  > \ size s@t> | filename\s>\filename$x!ts>|t!ts>|>|$y!ts>|t!ts>|>|bits!ts>|&slacktt size>v|y|tx>| xofs> yofs> R Print X,Y R Wait Key RDirect "x>Xres\ "y>Xres\% R$ofsbits!ts> |R sbits> scr\x\y\>\res palreadFT 4<*cy>>V>d Ns$ofsbits*cx>\s$ofsbitst*c>|x>>t>|ty>*c|x>F %bits> scr\x\y\>\res palreadFT 4R R Read Data Rt>|$ofsbits<Bay>V> <b>x> 0dttt>\>||/ Jxofstb>|>\yofsa>\0dt>/ Jxofstb>|>\yofsa>\0dt> FFtx>|> 0dttt>\>||% Jxofsx>\yofsa\0dt> t>|t>|>t>|t>|slack ><R  palread<,*c>>bits>b!ts>6*c>|>6g!ts>7*c>|><r!ts>8*c>|> *c\<r>6g>bF`AmBs