Home » Archimedes archive » Zipped Apps » FORTH » !FORTH/!Boot

!FORTH/!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 » Archimedes archive » Zipped Apps » FORTH
Filename: !FORTH/!Boot
Read OK:
File size: 0135 bytes
Load address: 0000
Exec address: 0000
File contents
| Boot file for FORTH.
|
| Note the use of %% that ensures that the substitution happens
| when the file is run, rather than when this file is obeyed.
| The Obey$Dir, on the other hand, is substituted when this file is obeyed.
|
IconSprites <Obey$Dir>.!Sprites
Set Alias$@RunType_000 Run <Obey$Dir>.!Run %%*0
00000000  7c 20 42 6f 6f 74 20 66  69 6c 65 20 66 6f 72 20  || Boot file for |
00000010  46 4f 52 54 48 2e 0a 7c  0a 7c 20 4e 6f 74 65 20  |FORTH..|.| Note |
00000020  74 68 65 20 75 73 65 20  6f 66 20 25 25 20 74 68  |the use of %% th|
00000030  61 74 20 65 6e 73 75 72  65 73 20 74 68 61 74 20  |at ensures that |
00000040  74 68 65 20 73 75 62 73  74 69 74 75 74 69 6f 6e  |the substitution|
00000050  20 68 61 70 70 65 6e 73  0a 7c 20 77 68 65 6e 20  | happens.| when |
00000060  74 68 65 20 66 69 6c 65  20 69 73 20 72 75 6e 2c  |the file is run,|
00000070  20 72 61 74 68 65 72 20  74 68 61 6e 20 77 68 65  | rather than whe|
00000080  6e 20 74 68 69 73 20 66  69 6c 65 20 69 73 20 6f  |n this file is o|
00000090  62 65 79 65 64 2e 0a 7c  20 54 68 65 20 4f 62 65  |beyed..| The Obe|
000000a0  79 24 44 69 72 2c 20 6f  6e 20 74 68 65 20 6f 74  |y$Dir, on the ot|
000000b0  68 65 72 20 68 61 6e 64  2c 20 69 73 20 73 75 62  |her hand, is sub|
000000c0  73 74 69 74 75 74 65 64  20 77 68 65 6e 20 74 68  |stituted when th|
000000d0  69 73 20 66 69 6c 65 20  69 73 20 6f 62 65 79 65  |is file is obeye|
000000e0  64 2e 0a 7c 0a 49 63 6f  6e 53 70 72 69 74 65 73  |d..|.IconSprites|
000000f0  20 3c 4f 62 65 79 24 44  69 72 3e 2e 21 53 70 72  | <Obey$Dir>.!Spr|
00000100  69 74 65 73 0a 53 65 74  20 41 6c 69 61 73 24 40  |ites.Set Alias$@|
00000110  52 75 6e 54 79 70 65 5f  30 30 30 20 52 75 6e 20  |RunType_000 Run |
00000120  3c 4f 62 65 79 24 44 69  72 3e 2e 21 52 75 6e 20  |<Obey$Dir>.!Run |
00000130  25 25 2a 30 0a                                    |%%*0.|
00000135