> MOS ݤmos(m%): X%,Y% -A%=ra%:X%=rx%+256*ry%:Y%=ry%:C%=rp%:rp%=0 ( Ȏ m% 2 &13,&FFF4:=mos_byte < &33,&FFEE: A%:=0 F &FFEC: 13:=0 P &FFE7: &FFE7:=0 Z &FFE3: &FFE3:=0 d' &43,&FFE0:ra%=:rp%=(ra%=27)1:=0 n &73,&FFD7:=mos_bget x &83,&FFD4:=mos_bput  &A3,&FFCE:=mos_find  &63,&FFDA:=mos_args  &B3:=mos_quit  &C3:=mos_lang  X%=X%+mem%:Y%=X%256 Ȏ m%  &03,&FFF7:=mos_cli  &23,&FFF1:=mos_word  &53,&FFDD:=mos_file  &93,&FFD1:=mos_gbpb  =0 : ݤmos_cli:cmd($X%,):=0 : "ݤmos_byte , A%=&82:rx%=0:ry%=&00:=0 6 A%=&83:rx%=0:ry%=&08:=0 @+ A%=&84:rx%=prog%255:ry%=prog%256:=0 JL A%>123:A%<127:mem%?escflg%=128*(A%1):"FX15" : Clear/Set/Ack Escape Ti os%<>32:X%=X%255:A%=&FFF4:rx%=(A%&FF00)256:ry%=(A%&FF0000)65536:rp%=(A%&1000000)&1000000:=0 ^@ A%=128:rx%=7:ȗ rx%,A%,A%:ry%=(rx%>>8)255:rx%=rx%255:=0 h@ A%=128:rx%=8:ȗ A%,rx%,A%:ry%=(rx%>>8)255:rx%=rx%255:=0 r Ȏ A% | 0:rx%=32:=0  127:rx%=#rx%:=0 0 128:A%=(rx%+256*ry%):rx%=A%:ry%=A%256:=0 > 129:A%=(rx%+256*ry%):rx%=A%:ry%=A%256:carry(A%=-1):=0  134:rx%=:ry%=:=0  135:rx%=(,):ry%=:=0  160: Pry%=rx%+1:ry%=(@vdu%!(((ry%-4)+"0312",(ry%3)+1,1)-2)*4))(8*(1+(ry%1))) Irx%=(@vdu%!(((rx%-4)+"0312",(rx%3)+1,1)-2)*4))(8*(1+(rx%1))):=0  =0 : ݤmos_word `A%=0:A%=!X%&FFFF:mem%?255=0:osw0%=:EscOn:""A$:EscOff:$(mem%+A%)=A$:osw0%=:ry%=A$:=0 os%<>32 A%=10: &FFF1:=0  Ȏ A%  1:!X%=:=0  2:=!X%:=0  7: !X%,X%!2,X%!4,X%!6:=0 &U 8: ?X%,X%?1,X%?2,X%?3,X%?4,X%?5,X%?6,X%?7,X%?8,X%?9,X%?10,X%?11,X%?12,X%?13:=0 0 14:$X%=$:=0 : 15:$=$X%:=0 D N=0 X: bݤmos_file l7A%=254:X%?5 =&FF:X%?5=0 A%=254:X%!2=X%!2+mem% v7A%=255:X%?5 =&FF:X%?5=0 A%=255:X%!2=X%!2+mem% QA%=0 :X%?13=&FF:X%?13=0:X%?17=0 A%=0:X%!10=X%!10+mem%:X%!14=X%!14+mem% fn%=mem%+(!X% &FFFF) h os%<32:ș "OS_File",A%,fn%,X%!2,X%!6,X%!10,X%!14 ra%,,X%!2,X%!6,X%!10,X%!14 ra%=file($fn%,A%) _ SYS "OS_File",A%,mem%+(!X% AND &FFFF),X%!2,X%!6,X%!10,X%!14 TO ra%,,X%!2,X%!6,X%!10,X%!14 =0 5 DEFPROCaddr(A%):IFX%!A%<&10000:X%!A%=mem%+A%!X%  ENDPROC : 6ݤmos_bget:ra%=(&FFD7):rp%=ra%256:ra%=ra%255:=0 : ݤmos_bput: &FFD7:=0 : ݤmos_find:A%=0:#Y%:=0 - (A%&C0)=&40:ra%=openin($(mem%+X%)):=0  . (A%&C0)=&80:ra%=openout($(mem%+X%)):=0 - (A%&C0)=&C0:ra%=openup($(mem%+X%)):=0  : *ݤmos_gbpb 42ra%=X%?5 :ra%=&FF:X%?5=0 X%!1=X%!1+mem% >0A%=&FFD1:ra%=&FF:X%?5=&FF X%!1=X%!1-mem% Hra%=A%255:rp%=A%256:=0 R: \ݤmos_args fY%=0:A%=0:ra%=fs:=0 p*Y%=0:mem%!X%=args(ra%,Y%,mem%!X%):=0 zA%=0:mem%!X%=#Y%:ra%=0:=0 A%=1:#Y%=mem%!X%:ra%=0:=0 A%=2:mem%!X%=#Y%:ra%=0:=0 A%=3:#Y%=mem%!X%:ra%=0:=0 A%=4:mem%!X%=#Y%:ra%=0:=0  mem%!X%=args(A%,Y%,mem%!X%) =0 : ݤmos_quit:= ݤmos_lang:=0