home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.tar
/
ftp.whtech.com
/
club100
/
tel
/
dialer.ba
< prev
next >
Wrap
Text File
|
2006-10-19
|
882b
|
30 lines
0 'CLUB 100 Library - 415/939-1246 BBS, 937-5039 NEWSLETTER, 932-8856 VOICE
1 'DIALER.BA modified by Robert Benson
10 DEFSTRB,N:DEFSNGJ:DEFINTA,D,I,P,R,S,T,X
12 CLS:LINE(0,0)-(239,63),1,B:LINE(1,1)-(238,62),1,B:LINE(2,2)-(237,61),1,B:LINE(3,3)-(236,60),1,B
14 PRINT@85,"PERSISTENT-DIALER Active"
16 PRINT@165,"";:INPUT"Number to dial ";N
18 FORJ=64704TO64710:READP:POKEJ,P:NEXTJ
20 DATA205,239,110,50,82,253,201
22 FORX=1TO100
24 PRINT@245,"";
26 POKE65450,1:POKE65451,3:POKE65452,255
28 CALL21172
30 FORD=1TO1600:NEXTD
32 FORI=1TOLEN(N)
34 B=MID$(N,I,1)
36 A=ASC(B)
38 CALL21514,A
40 NEXTI
42 FORR=1TO725
44 CALL64704
46 C=PEEK(64850)
48 IFC=00THEN52
50 NEXTR:GOTO58
52 PRINT@245,"Carrier detected after";X;"tries"
54 FORS=1TO50:FORT=620TO620:SOUNDT,2:NEXTS
56 CLS:CALL20806
58 CALL21179:PRINT" dialed";X;"times"
60 FORZ=1TO18000:NEXTZ
62 NEXTX:END