Home » Archimedes archive » Acorn User » AU 1996-05.adf » Regulars » StarInfo/Casula/!Boot/Choices/Boot/Desktop

StarInfo/Casula/!Boot/Choices/Boot/Desktop

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 1996-05.adf » Regulars
Filename: StarInfo/Casula/!Boot/Choices/Boot/Desktop
Read OK:
File size: 03A3 bytes
Load address: 0000
Exec address: 0000
File contents
| !Boot.Choices.Boot.Desktop
|
| This file causes the desktop to be entered and all
| commands in it to be executed
|
| Comments marked with * denote places where you can
| customise the file.
|
| Set path to save desktop file on exit
|
Set SaveDesk$File Utils:ReBoot
|
| Boot resources...
|
Alias FB IfThere %0.!Boot Filer_Run %0.!Boot
Repeat FB <Resources$Dir> -Applications
UnAlias FB
|
| Run the special file if Alt-booted
|
If (<Boot$AltState> AND 1)=1 Then Obey Choices:Special.Desktop
|
| * Boot miscellaneous apps...
| 
| e.g. Filer_Boot Root:Impression.!Style
|
| Run all files/applications in Tasks directory...
| ...Unless booted with RightAlt
|
If <Boot$AltState> < 2 Then Repeat Filer_Run <Boot$ToBeTasks> -Applications -Files
|
| Set the pinboard options and backdrop grid
|
PinBoard -Grid
Filer_Run Utils:SetBD
|
| * Open directories
|
Filer_OpenDir <Root$Dir> 32 900
|
| * Do anything else you might want to do!!!
|
00000000  7c 20 21 42 6f 6f 74 2e  43 68 6f 69 63 65 73 2e  || !Boot.Choices.|
00000010  42 6f 6f 74 2e 44 65 73  6b 74 6f 70 0a 7c 0a 7c  |Boot.Desktop.|.||
00000020  20 54 68 69 73 20 66 69  6c 65 20 63 61 75 73 65  | This file cause|
00000030  73 20 74 68 65 20 64 65  73 6b 74 6f 70 20 74 6f  |s the desktop to|
00000040  20 62 65 20 65 6e 74 65  72 65 64 20 61 6e 64 20  | be entered and |
00000050  61 6c 6c 0a 7c 20 63 6f  6d 6d 61 6e 64 73 20 69  |all.| commands i|
00000060  6e 20 69 74 20 74 6f 20  62 65 20 65 78 65 63 75  |n it to be execu|
00000070  74 65 64 0a 7c 0a 7c 20  43 6f 6d 6d 65 6e 74 73  |ted.|.| Comments|
00000080  20 6d 61 72 6b 65 64 20  77 69 74 68 20 2a 20 64  | marked with * d|
00000090  65 6e 6f 74 65 20 70 6c  61 63 65 73 20 77 68 65  |enote places whe|
000000a0  72 65 20 79 6f 75 20 63  61 6e 0a 7c 20 63 75 73  |re you can.| cus|
000000b0  74 6f 6d 69 73 65 20 74  68 65 20 66 69 6c 65 2e  |tomise the file.|
000000c0  0a 7c 0a 7c 20 53 65 74  20 70 61 74 68 20 74 6f  |.|.| Set path to|
000000d0  20 73 61 76 65 20 64 65  73 6b 74 6f 70 20 66 69  | save desktop fi|
000000e0  6c 65 20 6f 6e 20 65 78  69 74 0a 7c 0a 53 65 74  |le on exit.|.Set|
000000f0  20 53 61 76 65 44 65 73  6b 24 46 69 6c 65 20 55  | SaveDesk$File U|
00000100  74 69 6c 73 3a 52 65 42  6f 6f 74 0a 7c 0a 7c 20  |tils:ReBoot.|.| |
00000110  42 6f 6f 74 20 72 65 73  6f 75 72 63 65 73 2e 2e  |Boot resources..|
00000120  2e 0a 7c 0a 41 6c 69 61  73 20 46 42 20 49 66 54  |..|.Alias FB IfT|
00000130  68 65 72 65 20 25 30 2e  21 42 6f 6f 74 20 46 69  |here %0.!Boot Fi|
00000140  6c 65 72 5f 52 75 6e 20  25 30 2e 21 42 6f 6f 74  |ler_Run %0.!Boot|
00000150  0a 52 65 70 65 61 74 20  46 42 20 3c 52 65 73 6f  |.Repeat FB <Reso|
00000160  75 72 63 65 73 24 44 69  72 3e 20 2d 41 70 70 6c  |urces$Dir> -Appl|
00000170  69 63 61 74 69 6f 6e 73  0a 55 6e 41 6c 69 61 73  |ications.UnAlias|
00000180  20 46 42 0a 7c 0a 7c 20  52 75 6e 20 74 68 65 20  | FB.|.| Run the |
00000190  73 70 65 63 69 61 6c 20  66 69 6c 65 20 69 66 20  |special file if |
000001a0  41 6c 74 2d 62 6f 6f 74  65 64 0a 7c 0a 49 66 20  |Alt-booted.|.If |
000001b0  28 3c 42 6f 6f 74 24 41  6c 74 53 74 61 74 65 3e  |(<Boot$AltState>|
000001c0  20 41 4e 44 20 31 29 3d  31 20 54 68 65 6e 20 4f  | AND 1)=1 Then O|
000001d0  62 65 79 20 43 68 6f 69  63 65 73 3a 53 70 65 63  |bey Choices:Spec|
000001e0  69 61 6c 2e 44 65 73 6b  74 6f 70 0a 7c 0a 7c 20  |ial.Desktop.|.| |
000001f0  2a 20 42 6f 6f 74 20 6d  69 73 63 65 6c 6c 61 6e  |* Boot miscellan|
00000200  65 6f 75 73 20 61 70 70  73 2e 2e 2e 0a 7c 20 0a  |eous apps....| .|
00000210  7c 20 65 2e 67 2e 20 46  69 6c 65 72 5f 42 6f 6f  || e.g. Filer_Boo|
00000220  74 20 52 6f 6f 74 3a 49  6d 70 72 65 73 73 69 6f  |t Root:Impressio|
00000230  6e 2e 21 53 74 79 6c 65  0a 7c 0a 7c 20 52 75 6e  |n.!Style.|.| Run|
00000240  20 61 6c 6c 20 66 69 6c  65 73 2f 61 70 70 6c 69  | all files/appli|
00000250  63 61 74 69 6f 6e 73 20  69 6e 20 54 61 73 6b 73  |cations in Tasks|
00000260  20 64 69 72 65 63 74 6f  72 79 2e 2e 2e 0a 7c 20  | directory....| |
00000270  2e 2e 2e 55 6e 6c 65 73  73 20 62 6f 6f 74 65 64  |...Unless booted|
00000280  20 77 69 74 68 20 52 69  67 68 74 41 6c 74 0a 7c  | with RightAlt.||
00000290  0a 49 66 20 3c 42 6f 6f  74 24 41 6c 74 53 74 61  |.If <Boot$AltSta|
000002a0  74 65 3e 20 3c 20 32 20  54 68 65 6e 20 52 65 70  |te> < 2 Then Rep|
000002b0  65 61 74 20 46 69 6c 65  72 5f 52 75 6e 20 3c 42  |eat Filer_Run <B|
000002c0  6f 6f 74 24 54 6f 42 65  54 61 73 6b 73 3e 20 2d  |oot$ToBeTasks> -|
000002d0  41 70 70 6c 69 63 61 74  69 6f 6e 73 20 2d 46 69  |Applications -Fi|
000002e0  6c 65 73 0a 7c 0a 7c 20  53 65 74 20 74 68 65 20  |les.|.| Set the |
000002f0  70 69 6e 62 6f 61 72 64  20 6f 70 74 69 6f 6e 73  |pinboard options|
00000300  20 61 6e 64 20 62 61 63  6b 64 72 6f 70 20 67 72  | and backdrop gr|
00000310  69 64 0a 7c 0a 50 69 6e  42 6f 61 72 64 20 2d 47  |id.|.PinBoard -G|
00000320  72 69 64 0a 46 69 6c 65  72 5f 52 75 6e 20 55 74  |rid.Filer_Run Ut|
00000330  69 6c 73 3a 53 65 74 42  44 0a 7c 0a 7c 20 2a 20  |ils:SetBD.|.| * |
00000340  4f 70 65 6e 20 64 69 72  65 63 74 6f 72 69 65 73  |Open directories|
00000350  0a 7c 0a 46 69 6c 65 72  5f 4f 70 65 6e 44 69 72  |.|.Filer_OpenDir|
00000360  20 3c 52 6f 6f 74 24 44  69 72 3e 20 33 32 20 39  | <Root$Dir> 32 9|
00000370  30 30 0a 7c 0a 7c 20 2a  20 44 6f 20 61 6e 79 74  |00.|.| * Do anyt|
00000380  68 69 6e 67 20 65 6c 73  65 20 79 6f 75 20 6d 69  |hing else you mi|
00000390  67 68 74 20 77 61 6e 74  20 74 6f 20 64 6f 21 21  |ght want to do!!|
000003a0  21 0a 7c                                          |!.||
000003a3