diff --git a/assets/bios/tandemport.js b/assets/bios/tandemport.js new file mode 100644 index 0000000..b488a4b --- /dev/null +++ b/assets/bios/tandemport.js @@ -0,0 +1,68 @@ +con.curs_set(0) +con.clear() +let t=`${system.maxmem()>>>10} Kbytes System` +// 0b_HL where H is top pixel +// H-bits +let imgh = [ +[252,0,3,0,0], +[48,0,3,0,0], +[51,239,191,102,255], +[51,237,191,66,219], +[52,45,161,126,219], +[54,109,179,124,219]]; +// L-bits +let imgl = [ +[252,0,3,0,0], +[51,207,31,60,254], +[48,109,191,66,219], +[54,109,179,102,219], +[52,45,161,96,219], +[51,237,159,60,219]]; +let imgc = [32,220,223,219] +for (let y=0;y=0;b--) { +con.mvaddch(y+1,1+x*8+7-b,imgc[(imgh[y][x]>>b&1)<<1|imgl[y][x]>>b&1]) +}}} +con.move(8,1+(40-t.length>>1)) +print(t) +// wait arbitrary time +for (let b=0;b