Home » Archimedes archive » Acorn User » AU 1997-02 A.adf » !Voyager/Stack/Startup

!Voyager/Stack/Startup

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-02 A.adf
Filename: !Voyager/Stack/Startup
Read OK:
File size: 029A bytes
Load address: FFFFEB47
Exec address: 225CABDE
File contents
If "<InetDBase$Path>"<>"" Then Set INetDBase$OldPath <InetDBase$Path>
If "<InetDBase$OldPath>"="" Then Set InetDBase$Path <Obey$Dir>.Files.
If "<InetDBase$OldPath>"<>"" Then Set INetDBase$Path <Obey$Dir>.Files.,<InetDBase$Path>

| Check to see if we're using PPP drivers, or SLIP

If "<VTi$PPP>"="" Then Set VTi$PPP 0

| CheckKill does a lot of the work of the original lines here...

/<Obey$Dir>.CheckKill

| If necessary, use VStack

If "<VTi$LoadVStack>"="1" Then RMEnsure VStack 0 RMRun <Obey$Dir>.VStack

Set VTi$LoggedOn 0

| Load the PPP driver or the SLIP driver...

If "<VTi$PPP>"="0" Then /<Obey$Dir>.StartSLIP
If "<VTi$PPP>"="1" Then /<Obey$Dir>.StartPPP
00000000  49 66 20 22 3c 49 6e 65  74 44 42 61 73 65 24 50  |If "<InetDBase$P|
00000010  61 74 68 3e 22 3c 3e 22  22 20 54 68 65 6e 20 53  |ath>"<>"" Then S|
00000020  65 74 20 49 4e 65 74 44  42 61 73 65 24 4f 6c 64  |et INetDBase$Old|
00000030  50 61 74 68 20 3c 49 6e  65 74 44 42 61 73 65 24  |Path <InetDBase$|
00000040  50 61 74 68 3e 0a 49 66  20 22 3c 49 6e 65 74 44  |Path>.If "<InetD|
00000050  42 61 73 65 24 4f 6c 64  50 61 74 68 3e 22 3d 22  |Base$OldPath>"="|
00000060  22 20 54 68 65 6e 20 53  65 74 20 49 6e 65 74 44  |" Then Set InetD|
00000070  42 61 73 65 24 50 61 74  68 20 3c 4f 62 65 79 24  |Base$Path <Obey$|
00000080  44 69 72 3e 2e 46 69 6c  65 73 2e 0a 49 66 20 22  |Dir>.Files..If "|
00000090  3c 49 6e 65 74 44 42 61  73 65 24 4f 6c 64 50 61  |<InetDBase$OldPa|
000000a0  74 68 3e 22 3c 3e 22 22  20 54 68 65 6e 20 53 65  |th>"<>"" Then Se|
000000b0  74 20 49 4e 65 74 44 42  61 73 65 24 50 61 74 68  |t INetDBase$Path|
000000c0  20 3c 4f 62 65 79 24 44  69 72 3e 2e 46 69 6c 65  | <Obey$Dir>.File|
000000d0  73 2e 2c 3c 49 6e 65 74  44 42 61 73 65 24 50 61  |s.,<InetDBase$Pa|
000000e0  74 68 3e 0a 0a 7c 20 43  68 65 63 6b 20 74 6f 20  |th>..| Check to |
000000f0  73 65 65 20 69 66 20 77  65 27 72 65 20 75 73 69  |see if we're usi|
00000100  6e 67 20 50 50 50 20 64  72 69 76 65 72 73 2c 20  |ng PPP drivers, |
00000110  6f 72 20 53 4c 49 50 0a  0a 49 66 20 22 3c 56 54  |or SLIP..If "<VT|
00000120  69 24 50 50 50 3e 22 3d  22 22 20 54 68 65 6e 20  |i$PPP>"="" Then |
00000130  53 65 74 20 56 54 69 24  50 50 50 20 30 0a 0a 7c  |Set VTi$PPP 0..||
00000140  20 43 68 65 63 6b 4b 69  6c 6c 20 64 6f 65 73 20  | CheckKill does |
00000150  61 20 6c 6f 74 20 6f 66  20 74 68 65 20 77 6f 72  |a lot of the wor|
00000160  6b 20 6f 66 20 74 68 65  20 6f 72 69 67 69 6e 61  |k of the origina|
00000170  6c 20 6c 69 6e 65 73 20  68 65 72 65 2e 2e 2e 0a  |l lines here....|
00000180  0a 2f 3c 4f 62 65 79 24  44 69 72 3e 2e 43 68 65  |./<Obey$Dir>.Che|
00000190  63 6b 4b 69 6c 6c 0a 0a  7c 20 49 66 20 6e 65 63  |ckKill..| If nec|
000001a0  65 73 73 61 72 79 2c 20  75 73 65 20 56 53 74 61  |essary, use VSta|
000001b0  63 6b 0a 0a 49 66 20 22  3c 56 54 69 24 4c 6f 61  |ck..If "<VTi$Loa|
000001c0  64 56 53 74 61 63 6b 3e  22 3d 22 31 22 20 54 68  |dVStack>"="1" Th|
000001d0  65 6e 20 52 4d 45 6e 73  75 72 65 20 56 53 74 61  |en RMEnsure VSta|
000001e0  63 6b 20 30 20 52 4d 52  75 6e 20 3c 4f 62 65 79  |ck 0 RMRun <Obey|
000001f0  24 44 69 72 3e 2e 56 53  74 61 63 6b 0a 0a 53 65  |$Dir>.VStack..Se|
00000200  74 20 56 54 69 24 4c 6f  67 67 65 64 4f 6e 20 30  |t VTi$LoggedOn 0|
00000210  0a 0a 7c 20 4c 6f 61 64  20 74 68 65 20 50 50 50  |..| Load the PPP|
00000220  20 64 72 69 76 65 72 20  6f 72 20 74 68 65 20 53  | driver or the S|
00000230  4c 49 50 20 64 72 69 76  65 72 2e 2e 2e 0a 0a 49  |LIP driver.....I|
00000240  66 20 22 3c 56 54 69 24  50 50 50 3e 22 3d 22 30  |f "<VTi$PPP>"="0|
00000250  22 20 54 68 65 6e 20 2f  3c 4f 62 65 79 24 44 69  |" Then /<Obey$Di|
00000260  72 3e 2e 53 74 61 72 74  53 4c 49 50 0a 49 66 20  |r>.StartSLIP.If |
00000270  22 3c 56 54 69 24 50 50  50 3e 22 3d 22 31 22 20  |"<VTi$PPP>"="1" |
00000280  54 68 65 6e 20 2f 3c 4f  62 65 79 24 44 69 72 3e  |Then /<Obey$Dir>|
00000290  2e 53 74 61 72 74 50 50  50 0a                    |.StartPPP.|
0000029a