home *** CD-ROM | disk | FTP | other *** search
- 5 rem copyright 1992 - compute publications intl ltd - all rights reserved
- 10 ifpeek(830)=1then720
- 15 ifpeek(27296)<>169thenload"log.ml",8,1
- 17 poke808,225:poke146,0
- 20 poke53281,6:poke53280,6:clr:dimf$(100):tp$(0)="xxx":tp$(2)="prg":tp$(1)="seq"
- 30 tp$(3)="usr":tp$(4)="rel"
- 40 h$="0123456789abcdef"
- 50 printchr$(142);"[147][144] (c) 1992 compute publications intl ltd"
- 51 print" all rights reserved"
- 55 print" f i l e l o g g e r"
- 60 print" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
- 80 print" "
- 90 print" 1 -- [158]log disk"
- 100 print" 2 -- [158]exit to basic"
- 120 print"please select (1 - 2):";:poke204,0
- 130 geta$
- 140 ifa$="1"then180
- 150 ifa$="2"thenpoke204,1:printa$:end
- 170 goto130
- 180 print"[147] send output to printer (y/n):";:poke204,0
- 190 geta$
- 200 ifa$="y"thenpoke204,1:printa$:z=4:goto230
- 210 ifa$="n"thenpoke204,1:printa$:z=3:goto230
- 220 goto190
- 230 print"[147]looking at directory...";:bm$="":open15,8,15,"i":open3,8,3,"$"
- 240 close4:open4,z:dn=z-3:tb=10*dn
- 250 forx=1to142:get#3,a$:next:print".";
- 260 forx=1to16:get#3,b$:bm$=bm$+b$:next:print".";
- 270 get#3,a$,a$:get#3,i1$,i2$
- 275 ifz=4thenprint#4,chr$(13);chr$(13)
- 280 print"[147]";:print#4,tab(tb);" bam title id"
- 290 ifz=3thenprint" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
- 295 ifz=4thenprint#4,tab(tb);" ------------------------"
- 300 id$=i1$+i2$:print"";:print#4,tab(tb);" ";:print#4,bm$;" ";id$
- 305 ifz=4thenprint#4,chr$(13);chr$(13)
- 310 print"";:print#4,tab(tb);" trk sec blks filename type"
- 320 ifz=3thenprint" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
- 325 ifz=4thenprint#4,tab(tb);" ---------------------------------"
- 330 forj=1to92:get#3,a$:nextj
- 340 m=m+1:get#3,k$,t$,s$:ifs$=""thens$=chr$(0)
- 350 f$="":forj=1to16:get#3,a$:f$=f$+a$:nextj
- 360 forj=1to10:get#3,a$:nextj
- 370 l=0:ifa$<>""thenl=asc(a$)
- 380 print#4,tab(tb);" ";:print"";
- 390 l$=right$(str$(l),2):ifleft$(l$,1)=" "thenl$=" "+right$(l$,1)
- 400 ifasc(t$+chr$(0))=0thenifl=0then560
- 410 t$=right$(str$(asc(t$)),2):ifleft$(t$,1)=" "thent$="0"+right$(t$,1)
- 420 s$=right$(str$(asc(s$)),2):ifleft$(s$,1)=" "thens$="0"+right$(s$,1)
- 430 k=asc(k$+chr$(0))-128
- 440 ifk<1ork>5thenk=0
- 450 print#4,t$;" ";:print"";
- 460 print#4,s$;" ";:print"";
- 470 print#4,l$;" ";:print"";
- 480 k$=tp$(k):print#4,f$;" ";:print"";
- 490 ifk=0thenprint"";
- 500 print#4,k$:ifk<>2then520
- 510 f$(q)=f$:q=q+1
- 520 get#3,a$:ifm<8thenget#3,a$,a$:goto540
- 530 m=0
- 540 ifst=0then340
- 550 close3
- 560 print:print"[158] display start [158]& end [158]addresses (y[158]/n[158]):";:poke204,0
- 570 geta$
- 580 ifa$="y"thenpoke204,1:printa$:goto610
- 590 ifa$="n"thenpoke204,1:printa$:poke830,0:gosub900:run
- 600 goto570
- 610 sys27296
- 620 print#4,chr$(13);chr$(13):print"[147]"
- 630 close3:x=-1
- 640 print"";:print#4,tab(tb);" filename start end"
- 645 ifz=4thenprint#4,tab(tb);" -----------------------------"
- 650 ifz=3thenprint" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
- 660 x=x+1:iff$(x)=""thenpoke830,0:gosub900:run
- 670 print"";:print#4,tab(tb);" ";f$(x);" ";
- 680 forv=16to1step-1:p$=mid$(f$(x),v,1)
- 690 ifp$=chr$(160)thennextv
- 700 f$=left$(f$(x),v)
- 710 poke830,1:loadf$,8,1
- 720 a=peek(828):b=peek(829)
- 730 print"";:gosub780
- 740 print#4," ";
- 750 a=peek(175):b=peek(174)
- 760 print"";:gosub780
- 770 print#4:goto660
- 780 print#4,"$";:w=a:gosub790:w=b:gosub790:return
- 790 j=int(w/16):i=w-j*16
- 800 a$=mid$(h$,j+1,1):b$=mid$(h$,i+1,1)
- 810 print#4,a$;b$;:return
- 900 print:print
- 905 print" press any key to continue"
- 910 forde=1to100:geta$:ifa$<>""then950
- 920 next
- 930 print" press any key to continue"
- 940 forde=1to100:geta$:ifa$<>""then950
- 945 next
- 946 goto905
- 950 return
-