Home » Personal collection » Acorn hard disk » apps » !Fireworkz » !Boot

!Boot

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 » Personal collection » Acorn hard disk » apps » !Fireworkz
Filename: !Boot
Read OK:
File size: 065D bytes
Load address: 0000
Exec address: 0000
File contents
|
| Boot file for Fireworkz
|
Set      Fireworkz$Dir      <Obey$Dir>
Set      Fireworkz$ImageDir <Fireworkz$Dir>
SetMacro Fireworkz$Path     <Fireworkz$UserPath><Fireworkz$Dir>.User.,<Fireworkz$Dir>.Resource.<Fireworkz$EndPath>
|
IconSprites <Fireworkz$ImageDir>.!Sprites
|
Set File$Type_BDF Firewrkz
SetMacro Alias$@RunType_BDF   Run <Fireworkz$Dir>.!Run %%*0
SetMacro Alias$@PrintType_BDF Run <Fireworkz$Dir>.!Run -Print %%*0
|
Set File$Type_BE0 Recordz
SetMacro Alias$@RunType_BE0   Run <Fireworkz$Dir>.!Run %%*0
SetMacro Alias$@PrintType_BE0 Run <Fireworkz$Dir>.!Run -Print %%*0
|
Set File$Type_BE1 Resultz
SetMacro Alias$@RunType_BE1   Run <Fireworkz$Dir>.!Run %%*0
SetMacro Alias$@PrintType_BE1 Run <Fireworkz$Dir>.!Run -Print %%*0
|
Set File$Type_C1C Wordz
SetMacro Alias$@RunType_C1C   Run <Fireworkz$Dir>.!Run %%*0
SetMacro Alias$@PrintType_C1C Run <Fireworkz$Dir>.!Run -Print %%*0
|
Set File$Type_C1D FwrkzTem
SetMacro Alias$@RunType_C1D   Run <Fireworkz$Dir>.!Run -Template %%*0
SetMacro Alias$@PrintType_C1D Run <Fireworkz$Dir>.!Run -oPrint %%*0
|
Set File$Type_C1E FwrkzCmd
SetMacro Alias$@RunType_C1E   Run <Fireworkz$Dir>.!Run -Command %%*0
|
If "<File$Type_C32>"="" then Set File$Type_C32 RTF
If "<File$Type_DB0>"="" then Set File$Type_DB0 LotusWK1
If "<File$Type_DFE>"="" then Set File$Type_DFE CSV
|
SetEval Fireworkz$HasDOSFS 1
RMEnsure DOSFS 0.43 SetEval Fireworkz$HasDOSFS 0
If Fireworkz$HasDOSFS=1 then DOSMap TXT &FFF
If Fireworkz$HasDOSFS=1 then DOSMap RTF &C32
| If Fireworkz$HasDOSFS=1 then DOSMap WK1 &DB0 - doesn't accept numbers!
If Fireworkz$HasDOSFS=1 then DOSMap CSV &DFE
Unset Fireworkz$HasDOSFS
00000000  7c 0a 7c 20 42 6f 6f 74  20 66 69 6c 65 20 66 6f  ||.| Boot file fo|
00000010  72 20 46 69 72 65 77 6f  72 6b 7a 0a 7c 0a 53 65  |r Fireworkz.|.Se|
00000020  74 20 20 20 20 20 20 46  69 72 65 77 6f 72 6b 7a  |t      Fireworkz|
00000030  24 44 69 72 20 20 20 20  20 20 3c 4f 62 65 79 24  |$Dir      <Obey$|
00000040  44 69 72 3e 0a 53 65 74  20 20 20 20 20 20 46 69  |Dir>.Set      Fi|
00000050  72 65 77 6f 72 6b 7a 24  49 6d 61 67 65 44 69 72  |reworkz$ImageDir|
00000060  20 3c 46 69 72 65 77 6f  72 6b 7a 24 44 69 72 3e  | <Fireworkz$Dir>|
00000070  0a 53 65 74 4d 61 63 72  6f 20 46 69 72 65 77 6f  |.SetMacro Firewo|
00000080  72 6b 7a 24 50 61 74 68  20 20 20 20 20 3c 46 69  |rkz$Path     <Fi|
00000090  72 65 77 6f 72 6b 7a 24  55 73 65 72 50 61 74 68  |reworkz$UserPath|
000000a0  3e 3c 46 69 72 65 77 6f  72 6b 7a 24 44 69 72 3e  |><Fireworkz$Dir>|
000000b0  2e 55 73 65 72 2e 2c 3c  46 69 72 65 77 6f 72 6b  |.User.,<Firework|
000000c0  7a 24 44 69 72 3e 2e 52  65 73 6f 75 72 63 65 2e  |z$Dir>.Resource.|
000000d0  3c 46 69 72 65 77 6f 72  6b 7a 24 45 6e 64 50 61  |<Fireworkz$EndPa|
000000e0  74 68 3e 0a 7c 0a 49 63  6f 6e 53 70 72 69 74 65  |th>.|.IconSprite|
000000f0  73 20 3c 46 69 72 65 77  6f 72 6b 7a 24 49 6d 61  |s <Fireworkz$Ima|
00000100  67 65 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |geDir>.!Sprites.|
00000110  7c 0a 53 65 74 20 46 69  6c 65 24 54 79 70 65 5f  ||.Set File$Type_|
00000120  42 44 46 20 46 69 72 65  77 72 6b 7a 0a 53 65 74  |BDF Firewrkz.Set|
00000130  4d 61 63 72 6f 20 41 6c  69 61 73 24 40 52 75 6e  |Macro Alias$@Run|
00000140  54 79 70 65 5f 42 44 46  20 20 20 52 75 6e 20 3c  |Type_BDF   Run <|
00000150  46 69 72 65 77 6f 72 6b  7a 24 44 69 72 3e 2e 21  |Fireworkz$Dir>.!|
00000160  52 75 6e 20 25 25 2a 30  0a 53 65 74 4d 61 63 72  |Run %%*0.SetMacr|
00000170  6f 20 41 6c 69 61 73 24  40 50 72 69 6e 74 54 79  |o Alias$@PrintTy|
00000180  70 65 5f 42 44 46 20 52  75 6e 20 3c 46 69 72 65  |pe_BDF Run <Fire|
00000190  77 6f 72 6b 7a 24 44 69  72 3e 2e 21 52 75 6e 20  |workz$Dir>.!Run |
000001a0  2d 50 72 69 6e 74 20 25  25 2a 30 0a 7c 0a 53 65  |-Print %%*0.|.Se|
000001b0  74 20 46 69 6c 65 24 54  79 70 65 5f 42 45 30 20  |t File$Type_BE0 |
000001c0  52 65 63 6f 72 64 7a 0a  53 65 74 4d 61 63 72 6f  |Recordz.SetMacro|
000001d0  20 41 6c 69 61 73 24 40  52 75 6e 54 79 70 65 5f  | Alias$@RunType_|
000001e0  42 45 30 20 20 20 52 75  6e 20 3c 46 69 72 65 77  |BE0   Run <Firew|
000001f0  6f 72 6b 7a 24 44 69 72  3e 2e 21 52 75 6e 20 25  |orkz$Dir>.!Run %|
00000200  25 2a 30 0a 53 65 74 4d  61 63 72 6f 20 41 6c 69  |%*0.SetMacro Ali|
00000210  61 73 24 40 50 72 69 6e  74 54 79 70 65 5f 42 45  |as$@PrintType_BE|
00000220  30 20 52 75 6e 20 3c 46  69 72 65 77 6f 72 6b 7a  |0 Run <Fireworkz|
00000230  24 44 69 72 3e 2e 21 52  75 6e 20 2d 50 72 69 6e  |$Dir>.!Run -Prin|
00000240  74 20 25 25 2a 30 0a 7c  0a 53 65 74 20 46 69 6c  |t %%*0.|.Set Fil|
00000250  65 24 54 79 70 65 5f 42  45 31 20 52 65 73 75 6c  |e$Type_BE1 Resul|
00000260  74 7a 0a 53 65 74 4d 61  63 72 6f 20 41 6c 69 61  |tz.SetMacro Alia|
00000270  73 24 40 52 75 6e 54 79  70 65 5f 42 45 31 20 20  |s$@RunType_BE1  |
00000280  20 52 75 6e 20 3c 46 69  72 65 77 6f 72 6b 7a 24  | Run <Fireworkz$|
00000290  44 69 72 3e 2e 21 52 75  6e 20 25 25 2a 30 0a 53  |Dir>.!Run %%*0.S|
000002a0  65 74 4d 61 63 72 6f 20  41 6c 69 61 73 24 40 50  |etMacro Alias$@P|
000002b0  72 69 6e 74 54 79 70 65  5f 42 45 31 20 52 75 6e  |rintType_BE1 Run|
000002c0  20 3c 46 69 72 65 77 6f  72 6b 7a 24 44 69 72 3e  | <Fireworkz$Dir>|
000002d0  2e 21 52 75 6e 20 2d 50  72 69 6e 74 20 25 25 2a  |.!Run -Print %%*|
000002e0  30 0a 7c 0a 53 65 74 20  46 69 6c 65 24 54 79 70  |0.|.Set File$Typ|
000002f0  65 5f 43 31 43 20 57 6f  72 64 7a 0a 53 65 74 4d  |e_C1C Wordz.SetM|
00000300  61 63 72 6f 20 41 6c 69  61 73 24 40 52 75 6e 54  |acro Alias$@RunT|
00000310  79 70 65 5f 43 31 43 20  20 20 52 75 6e 20 3c 46  |ype_C1C   Run <F|
00000320  69 72 65 77 6f 72 6b 7a  24 44 69 72 3e 2e 21 52  |ireworkz$Dir>.!R|
00000330  75 6e 20 25 25 2a 30 0a  53 65 74 4d 61 63 72 6f  |un %%*0.SetMacro|
00000340  20 41 6c 69 61 73 24 40  50 72 69 6e 74 54 79 70  | Alias$@PrintTyp|
00000350  65 5f 43 31 43 20 52 75  6e 20 3c 46 69 72 65 77  |e_C1C Run <Firew|
00000360  6f 72 6b 7a 24 44 69 72  3e 2e 21 52 75 6e 20 2d  |orkz$Dir>.!Run -|
00000370  50 72 69 6e 74 20 25 25  2a 30 0a 7c 0a 53 65 74  |Print %%*0.|.Set|
00000380  20 46 69 6c 65 24 54 79  70 65 5f 43 31 44 20 46  | File$Type_C1D F|
00000390  77 72 6b 7a 54 65 6d 0a  53 65 74 4d 61 63 72 6f  |wrkzTem.SetMacro|
000003a0  20 41 6c 69 61 73 24 40  52 75 6e 54 79 70 65 5f  | Alias$@RunType_|
000003b0  43 31 44 20 20 20 52 75  6e 20 3c 46 69 72 65 77  |C1D   Run <Firew|
000003c0  6f 72 6b 7a 24 44 69 72  3e 2e 21 52 75 6e 20 2d  |orkz$Dir>.!Run -|
000003d0  54 65 6d 70 6c 61 74 65  20 25 25 2a 30 0a 53 65  |Template %%*0.Se|
000003e0  74 4d 61 63 72 6f 20 41  6c 69 61 73 24 40 50 72  |tMacro Alias$@Pr|
000003f0  69 6e 74 54 79 70 65 5f  43 31 44 20 52 75 6e 20  |intType_C1D Run |
00000400  3c 46 69 72 65 77 6f 72  6b 7a 24 44 69 72 3e 2e  |<Fireworkz$Dir>.|
00000410  21 52 75 6e 20 2d 6f 50  72 69 6e 74 20 25 25 2a  |!Run -oPrint %%*|
00000420  30 0a 7c 0a 53 65 74 20  46 69 6c 65 24 54 79 70  |0.|.Set File$Typ|
00000430  65 5f 43 31 45 20 46 77  72 6b 7a 43 6d 64 0a 53  |e_C1E FwrkzCmd.S|
00000440  65 74 4d 61 63 72 6f 20  41 6c 69 61 73 24 40 52  |etMacro Alias$@R|
00000450  75 6e 54 79 70 65 5f 43  31 45 20 20 20 52 75 6e  |unType_C1E   Run|
00000460  20 3c 46 69 72 65 77 6f  72 6b 7a 24 44 69 72 3e  | <Fireworkz$Dir>|
00000470  2e 21 52 75 6e 20 2d 43  6f 6d 6d 61 6e 64 20 25  |.!Run -Command %|
00000480  25 2a 30 0a 7c 0a 49 66  20 22 3c 46 69 6c 65 24  |%*0.|.If "<File$|
00000490  54 79 70 65 5f 43 33 32  3e 22 3d 22 22 20 74 68  |Type_C32>"="" th|
000004a0  65 6e 20 53 65 74 20 46  69 6c 65 24 54 79 70 65  |en Set File$Type|
000004b0  5f 43 33 32 20 52 54 46  0a 49 66 20 22 3c 46 69  |_C32 RTF.If "<Fi|
000004c0  6c 65 24 54 79 70 65 5f  44 42 30 3e 22 3d 22 22  |le$Type_DB0>"=""|
000004d0  20 74 68 65 6e 20 53 65  74 20 46 69 6c 65 24 54  | then Set File$T|
000004e0  79 70 65 5f 44 42 30 20  4c 6f 74 75 73 57 4b 31  |ype_DB0 LotusWK1|
000004f0  0a 49 66 20 22 3c 46 69  6c 65 24 54 79 70 65 5f  |.If "<File$Type_|
00000500  44 46 45 3e 22 3d 22 22  20 74 68 65 6e 20 53 65  |DFE>"="" then Se|
00000510  74 20 46 69 6c 65 24 54  79 70 65 5f 44 46 45 20  |t File$Type_DFE |
00000520  43 53 56 0a 7c 0a 53 65  74 45 76 61 6c 20 46 69  |CSV.|.SetEval Fi|
00000530  72 65 77 6f 72 6b 7a 24  48 61 73 44 4f 53 46 53  |reworkz$HasDOSFS|
00000540  20 31 0a 52 4d 45 6e 73  75 72 65 20 44 4f 53 46  | 1.RMEnsure DOSF|
00000550  53 20 30 2e 34 33 20 53  65 74 45 76 61 6c 20 46  |S 0.43 SetEval F|
00000560  69 72 65 77 6f 72 6b 7a  24 48 61 73 44 4f 53 46  |ireworkz$HasDOSF|
00000570  53 20 30 0a 49 66 20 46  69 72 65 77 6f 72 6b 7a  |S 0.If Fireworkz|
00000580  24 48 61 73 44 4f 53 46  53 3d 31 20 74 68 65 6e  |$HasDOSFS=1 then|
00000590  20 44 4f 53 4d 61 70 20  54 58 54 20 26 46 46 46  | DOSMap TXT &FFF|
000005a0  0a 49 66 20 46 69 72 65  77 6f 72 6b 7a 24 48 61  |.If Fireworkz$Ha|
000005b0  73 44 4f 53 46 53 3d 31  20 74 68 65 6e 20 44 4f  |sDOSFS=1 then DO|
000005c0  53 4d 61 70 20 52 54 46  20 26 43 33 32 0a 7c 20  |SMap RTF &C32.| |
000005d0  49 66 20 46 69 72 65 77  6f 72 6b 7a 24 48 61 73  |If Fireworkz$Has|
000005e0  44 4f 53 46 53 3d 31 20  74 68 65 6e 20 44 4f 53  |DOSFS=1 then DOS|
000005f0  4d 61 70 20 57 4b 31 20  26 44 42 30 20 2d 20 64  |Map WK1 &DB0 - d|
00000600  6f 65 73 6e 27 74 20 61  63 63 65 70 74 20 6e 75  |oesn't accept nu|
00000610  6d 62 65 72 73 21 0a 49  66 20 46 69 72 65 77 6f  |mbers!.If Firewo|
00000620  72 6b 7a 24 48 61 73 44  4f 53 46 53 3d 31 20 74  |rkz$HasDOSFS=1 t|
00000630  68 65 6e 20 44 4f 53 4d  61 70 20 43 53 56 20 26  |hen DOSMap CSV &|
00000640  44 46 45 0a 55 6e 73 65  74 20 46 69 72 65 77 6f  |DFE.Unset Firewo|
00000650  72 6b 7a 24 48 61 73 44  4f 53 46 53 0a           |rkz$HasDOSFS.|
0000065d