8-Bit Software Online Conversion
:0.$.Menu - Listing
10*FX119
20MODE3
30VDU22,7
40VDU23;8202;0;0;0;
50PROCa
60PROCb
70ONERRORVDU3:MODE7:REPORT:PRINT" at
line ";ERL:PROCc("KEY0 LIST "+STR$(ERL)+
"|M"):PROCc("FX138,0,128"):PROCd:END
80REPEAT
90e$=FNf
100IFLEFT$(e$,1)<>CHR$(27)THENPROCg(e$
):*DIR $
110UNTILLEFT$(e$,1)=CHR$(27)
120MODE7
130PROCd
140END
150DEFPROCa
160*FX225,128
170*FX229,1
180*FX4,1
190ENDPROC
200DEFPROCd
210*FX225,1
220*FX229,0
230*FX4,0
240ENDPROC
250DEFPROCb
260DIMh%256
270i$=FNj
280PROCk
290l$="45"
300m$="26.10.95"
310n$=":0.$.7TO3"
320IF LEFT$(STR$(V%),5)="985"+l$ f%=VA
L(MID$(STR$(V%),6,2)):e%=VAL(MID$(STR$(V
%),8,2)) ELSE f%=1:e%=1
340PROCo
350ENDPROC
360DEFFNS
370="Menu"
380DEFPROCk
390i%=2
400p%=5
410q%=3
420r%=3
430s%=6
440t%=2
450u%=3
460v%=6
470w%=4
480x%=3
490y%=2
500z%=3
510aa%=7
520ba%=7
530ENDPROC
540DEFPROCo
550LOCALca%
560VDU26,12
570PRINTCHR$(128+i%);" I.D. ";i$;" ";C
HR$(144+p%);"¶///////%¶/////////////////
¶";
580PRINTCHR$(144+p%);"¶///////////*///
/////";CHR$(128+r%);" Issue ";LEFT$(l
$,2);" ";CHR$(144+p%);"¶";
590PRINTCHR$(144+p%);"¶";CHR$(144+q%);
"jk 74$5 j£`p`pj 0 0p0p`p ";CH
R$(144+p%);"¶";
600PRINTCHR$(144+p%);"¶";CHR$(144+q%);
"jk"!7457 "kjjj$j!545=55j.";CHR$(128+r%
);LEFT$(m$,8);CHR$(144+p%);"¶";
610PRINTCHR$(144+p%);"
""£ £ !£! "£"£" "!££!!!!"£ ";CH
R$(145);" ";
620FORca%=1TO18
630PRINTCHR$(144+p%);"¶";SPC(36);CHR$(
144+p%);"¶";
640NEXT
650PRINTCHR$(144+p%);"¶|||||||||||||||
||||||||||||||||||||||¶";
660VDU28,2,22,37,5
670ENDPROC
680DEFPROCc($h%)
690LOCALX%,Y%
700X%=h%MOD256
710Y%=h%DIV256
720CALL&FFF7
730ENDPROC
740DEFFNj
750LOCALda%,i$
760da%=OPENIN("!Boot")
770IFda%=0THENPROCea("No !Boot file -
unable to read user ID!")
780PTR#da%=EXT#da%-4
790i$=CHR$(BGET#da%)+CHR$(BGET#da%)+CH
R$(BGET#da%)
800CLOSE#da%
810=i$
820DEFPROCea(fa$)
830VDU22,7
840PRINTfa$
850PROCd
860END
870DEFFNf
880LOCALga%,s$,ha%,ia%,ja$,ka$,ka%
890REPEAT
900CLS
910PROCla(f%)
920READs$,ha%
930IFha%>14THENha%=14
940PRINTTAB(0,0);CHR$(128+s%);TAB(1+(1
7.5-(LEN(s$)/2)),0);s$
950FORia%=1TOha%
960READja$,ka$,ka$,ka$,ka%,ka%,ka%
970PRINTTAB(1,1+ia%);" ";CHR$(128+t%)
;CHR$(64+ia%);CHR$(128+u%);ja$;TAB(35,1+
ia%);CHR$156;
980NEXT
990PRINTTAB(1,1+e%);CHR$(128+w%);CHR$1
57;
1000PRINTTAB(0,17);CHR$(128+v%);"Press"
;CHR$129;"f0";CHR$(128+v%);"for help if
necessary...";
1010REPEAT
1020REPEAT
1030*FX21
1040ga%=GET
1050IFga%>=ASC("a")ANDga%<=ASC("z")THEN
ga%=ga%-32
1060UNTILga%=128ORga%=138ORga%=139ORga%
=13OR(ga%>=65ANDga%<=(64+ha%))ORga%=ASC(
"8")ORga%=ASC("O")ORga%=ASC("P")OR(ga%=2
7ANDINKEY(-1))
1070PRINTTAB(1,1+e%);" ";
1080IFga%=138ANDe%<ha%THENe%=e%+1
1090IFga%=139ANDe%>1THENe%=e%-1
1100IFga%>=65ANDga%<=(64+ha%)THENe%=ga%
-64
1110PRINTTAB(1,1+e%);CHR$(128+w%);CHR$1
57;
1115V%=VAL("985"+l$+RIGHT$("0"+STR$(f%)
,2)+RIGHT$("0"+STR$(e%),2))
1120UNTILga%=13ORga%=128ORga%=ASC("P")O
Rga%=ASC("8")ORga%=ASC("O")ORga%=27
1130IFga%=128THENPROCma
1140UNTILga%=13ORga%=ASC("P")ORga%=ASC(
"8")ORga%=ASC("O")ORga%=27
1150=CHR$(ga%)+STR$(e%)
1160DEFPROCma
1170LOCALga%
1180CLS
1190PRINTTAB(5,0);CHR$(128+x%);"Using t
he 8BS menu system"
1200PRINTTAB(0,2);CHR$(128+y%);"Use the
up and down cursor keys to"'CHR$(128+y%
);"move the bar or press the letter"'CHR
$(128+y%);"next to the required menu opt
ion to";CHR$(128+y%);"position it immedi
ately."
1210PRINT'CHR$(128+y%);"Press RETURN to
load or view the"'CHR$(128+y%);"highlig
hted program/article. If it"'CHR$(128+y%
);"is an article, pressing 8 will"'CHR$(
128+y%);"display it in 80 columns. Press
ing"
1220PRINTCHR$(128+y%);"P will print it
out and pressing O"'CHR$(128+y%);"will a
llow you to view it in"'CHR$(128+y%);"te
letext mode with your own choice"'CHR$(1
28+y%);"of scrolling keys."
1230PRINTTAB(0,16);CHR$(128+z%);"Press"
;CHR$(129);"f0";CHR$(128+z%);"for more h
elp or ESCAPE"'CHR$(128+z%);"to return t
o the menu...";
1240REPEAT
1250*FX21
1260ga%=GET
1270UNTILga%=27ORga%=128
1280IFga%=27THENENDPROC
1290CLS
1300PRINTTAB(5,0);CHR$(128+x%);"Using t
he 8BS menu system"
1310PRINTTAB(0,2);CHR$(128+y%);"Pressin
g SHIFT and ESCAPE together"'CHR$(128+y%
);"at the menu will return you to"'CHR$(
128+y%);"BASIC."
1320PRINTTAB(0,16);CHR$(128+z%);"Press
ESCAPE to return to the"'CHR$(128+z%);"m
enu...";
1330REPEAT
1340*FX21
1350ga%=GET
1360UNTILga%=27
1370ENDPROC
1380DEFPROCg(e$)
1390LOCALna%,ka$,oa$,pa$,qa$,ra%,sa%,ta
%
1400PROCla(f%)
1410READka$,ka%
1420FORna%=1TOVAL(MID$(e$,2))
1430READka$,oa$,pa$,qa$,ra%,sa%,ta%
1440NEXT
1450IFta%=0ANDpa$<>""THENPROCc("DIR "+p
a$)
1460IFra%ANDNOTsa%THENPROCua(ASC(LEFT$(
e$,1)),qa$):ENDPROC
1470IFra%ANDsa%THENPROCva(ASC(LEFT$(e$,
1)),qa$):ENDPROC
1480IFta%>0THENf%=ta%:e%=1:ENDPROC
1490PROCd
1500IFLEFT$(oa$,1)="*"THENPROCc(oa$+" "
+qa$):END
1510IFoa$="CHAIN"THENCHAINqa$
1520IFoa$="LOAD"THENPROCc("KEY0 LOAD "+
CHR$(34)+qa$+CHR$(34)+"|MLIST|N|M"):PROC
c("FX21"):PROCc("FX138,0,128"):PROCd:VDU
22,7:END
1530END
1540DEFPROCua(ga%,qa$)
1550IFpa$<>"":qa$=pa$+"."+qa$
1560*DIR $
1570PROCc("KEY0 |@"+qa$+" -quit :0.$.Me
nu "+STR$f%+" "+STR$e%):*FX138,0,192
1580CHAIN":0.$.Scroll"
1600ENDPROC
1610DEFPROCva(ga%,qa$)
1620IFINSTR(qa$,"@")<>0AND(ga%=ASC("P")
ORga%=ASC("8"))THENqa$=FNwa(qa$)
1630IFINSTR(qa$,"@")<>0ANDga%<>ASC("P")
ANDga%<>ASC("8")THENqa$=LEFT$(qa$,INSTR(
qa$,"@")-1)
1640?&80=&C6:?&81=&D6
1650IFga%=ASC("P")THEN$&A00=qa$:Z%=1:CH
AINn$
1660IFga%=ASC("8")THEN$&A00=qa$:Z%=0:CH
AINn$
1670IFga%=ASC("O")THENPROCxa(qa$)
1680OSCLI"FX225,1":OSCLI"K.0*RUN "+qa$+
"|M":OSCLI"FX138 0 128"
1690PRINTTAB(0,15);CHR$152;:END
1700ENDPROC
1710DEFFNwa(qa$)
1720LOCALga%
1730CLS
1740PRINTCHR$(128+ba%);"Which part of t
he article? (1/2)";
1750REPEAT
1760*FX21
1770ga%=GET
1780UNTILga%=49ORga%=50
1790IFga%=49THEN=LEFT$(qa$,INSTR(qa$,"@
")-1)
1800=MID$(qa$,INSTR(qa$,"@")+1)
1810DEFPROCxa(qa$)
1820CLS
1830PRINTCHR$(128+aa%);"Please press th
e key to use to"'CHR$(128+aa%);"scroll u
p..."
1840?&80=0
1850?&80=FNya
1860PRINT'CHR$(128+aa%);"Please press t
he key to use to"'CHR$(128+aa%);"scroll
down..."
1870*FX21
1880?&81=FNya
1890PROCc("KEY0 *LOAD "+qa$+" 1900|M?&1
974=?&80:?&1981=?&81|MCALL&1904|F|M")
1900*FX21
1910VDU21
1920PROCd
1930*FX138,0,128
1940END
1950DEFFNya
1960LOCALA%,B%
1970REPEAT
1980A%=&7A
1990!&70=USR(&FFF4)
2000B%=255-(?&71)
2010UNTILB%<>0ANDB%<>182ANDB%<>?&80
2020=B%
2030DEFPROCla(f%)
2040IFf%=1THENRESTORE
2050IFf%=2THENRESTORE 2220
2060IFf%=3THENRESTORE 2340
2070IFf%=4THENRESTORE 2480
2080IFf%=5THENRESTORE 2570
2090IFf%=6THENRESTORE 2690
2100IFf%=7THENRESTORE 2790
2110ENDPROC
2120DATA Main Menu.,8
2130DATA About This Issue.,,:0,Thi1,-1,
-1,0
2140DATA Program Documentation.,,:0,Pro
gDoc,-1,-1,0
2150DATA Magazine Menu 1.,,,,0,0,2
2160DATA Magazine Menu 2.,,,,0,0,3
2170DATA Magazine Menu 3.,,,,0,0,4
2180DATA Utilities Menu.,,,,0,0,5
2190DATA Games And Demos.,,,,0,0,6
2200DATA ADFS Extra Menu.,,,,0,0,7
2210:
2220DATA Magazine Menu 1.,10
2230DATA General Messages.,,:0,Gen,-1,-
1,0
2240DATA For Sale/Wanted.,,:0,Ads,-1,-1
,0
2250DATA 8BS Adverts.,,:0,8BSad,-1,0,0
2260DATA Help!,,:0,Help,-1,-1,0
2270DATA Messages to You.,,:0,uu,-1,-1,
0
2280DATA The Reactor.,,:0,Reactor,-1,-1
,0
2290DATA Editorial.,,:2,Editori,-1,0,0
2300DATA Suggested Contacts.,,:0,Contac
t,-1,-1,0
2310DATA Magazine Menu 2.,,,,0,0,3
2320DATA Return To Main Menu.,,,,0,0,1
2330:
2340DATA Magazine Menu 2.,12
2350DATA 8BS Messaging System Info.,,:0
,QMesInf,-1,-1,0
2360DATA Repton Infinity Review.,,:0,In
finit,-1,-1,0
2370DATA Text File Reader Info.,,:0,T/S
crol,-1,0,0
2380DATA Superior Software Offer,,:0,Su
pSoft,-1,0,0
2390DATA B.Kemp Advert.,,:0,KempAd,-1,0
,0
2400DATA Poem. The Norden Belle.,,:0,Po
em,-1,-1,0
2410DATA BBC And Archi History.,,:0,His
tory,-1,-1,0
2420DATA O.Debus Article.,,:2,FromD4J,-
1,0,0
2430DATA Archiver Instructions.,,:2,Arc
Inst,-1,0,0
2440DATA Master 512.,,:0,512,-1,-1,0
2450DATA Magazine Menu 3.,,,,0,0,4
2460DATA Return To Main Menu.,,,,0,0,1
2470:
2480DATA Magazine Menu 3.,7
2490DATA M.Wilson Advert.,,:2,4WLAd,-1,
0,0
2500DATA Book Loan.,,:0,BookLst,-1,0,0
2510DATA Late Help Message.,,:2,Late40,
-1,-1,0
2520DATA Late Message + 8BS Stats.,,:2,
Late80,-1,0,0
2530DATA 8BS Catalogue Summary.,,:2,Cat
Sum,-1,0,0
2540DATA Magazine Menu 1.,,,,0,0,2
2550DATA Return To Main Menu.,,,,0,0,1
2560:
2570DATA Utilities Menu.,10
2580DATA 8BS Messaging System. V 2.0,CH
AIN,:2,SendMes,0,0,0
2590DATA DFS Disc Manager.,CHAIN,:2,Man
ager,0,0,0
2600DATA ADFS/DFS Search.,CHAIN,:2,DSea
rch,0,0,0
2610DATA Resistor Codes In C.,*RUN,:2,r
cod7st,0,0,0
2620DATA User Port Data Transfer.,CHAIN
,:2,Emulate,0,0,0
2630DATA TextFile Reader.,CHAIN,:0,Scro
ll,0,0,0
2640DATA Disassembler.,CHAIN,:2,Three,0
,0,0
2650DATA Disc Utility.,CHAIN,:2,BasicSy
,0,0,0
2660DATA Archiver.,CHAIN,:2,Archive,0,0
,0
2670DATA Return To Main Menu.,,,,0,0,1
2680:
2690DATA Games And Demos Menu.,8
2700DATA The Ultimate Lottery Program.,
CHAIN,:2,Lotter7,0,0,0
2710DATA Volcano.,CHAIN,:2,Magma,0,0,0
2720DATA Drum Kit.,CHAIN,:2,Drum2,0,0,0
2730DATA Quantum Physics.,CHAIN,:2,Quan
ta,0,0,0
2740DATA Puzzle Answer.,CHAIN,:2,Answer
,0,0,0
2750DATA Pendulum Patience.,CHAIN,:2,Pe
ndulm,0,0,0
2760DATA Poem. Toms Run.,CHAIN,:2,TomsR
un,0,0,0
2770DATA Return To Main Menu.,,,,0,0,1
2780:
2790DATA ADFS Menu.,1
2800DATAReturn To Main Menu.,,,,0,0,1