Home » Archimedes archive » Acorn User » AU 1995-12 B.adf » Regulars » StarInfo/Salt/!Help
StarInfo/Salt/!Help
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 1995-12 B.adf » Regulars |
Filename: | StarInfo/Salt/!Help |
Read OK: | ✔ |
File size: | 0486 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
SetAlias 1.02 ������������� Written by Darren Salt This module is intended for use in a boot sequence. Command Parameters Description ������� ���������� ����������� *Alias <cmd name> <action> = *Set Alias$<cmd name> <action> *UnAlias <cmd name> = *Unset Alias$<cmd name> *FileType <number> <name> = *Set File$Type_<number> <name> *LoadType <number> <action> = *Set Alias$@LoadType_<number> <action> *RunType <number> <action> = *Set Alias$@RunType_<number> <action> *PrintType <number> <action> = *Set Alias$@PrintType_<number> <action> *SetDir <name> <dir> = *Set <name>$Dir <dir> *SetPath <name> <path> = *Set <name>$Path <path> *UnsetDir <name> <dir> = *Unset <name>$Dir *UnsetPath <name> <path> = *Unset <name>$Path *X <*command> Executes a * command, ignoring errors. Examples: Original SetAlias �������� �������� Set File$Type_001 STracker FileType 001 STracker Set File$Type_1C0 JSW_Game FileType 001 JSW_Game Set Alias$ls Cat %*0 Alias ls Cat %*0 Unset Alias$ls UnAlias ls Set Alias$@RunType_1C0 <Obey$Dir> %*0 RunType 1C0 <Obey$Dir> %*0 Set BlockSize$Dir <Obey$Dir> SetDir BlockSize <Obey$Dir>
00000000 53 65 74 41 6c 69 61 73 20 31 2e 30 32 0a af af |SetAlias 1.02...| 00000010 af af af af af af af af af af af 0a 57 72 69 74 |............Writ| 00000020 74 65 6e 20 62 79 20 44 61 72 72 65 6e 20 53 61 |ten by Darren Sa| 00000030 6c 74 0a 0a 54 68 69 73 20 6d 6f 64 75 6c 65 20 |lt..This module | 00000040 69 73 20 69 6e 74 65 6e 64 65 64 20 66 6f 72 20 |is intended for | 00000050 75 73 65 20 69 6e 20 61 20 62 6f 6f 74 20 73 65 |use in a boot se| 00000060 71 75 65 6e 63 65 2e 0a 0a 0a 43 6f 6d 6d 61 6e |quence....Comman| 00000070 64 09 20 20 20 50 61 72 61 6d 65 74 65 72 73 09 |d. Parameters.| 00000080 09 44 65 73 63 72 69 70 74 69 6f 6e 0a af af af |.Description....| 00000090 af af af af 09 20 20 20 af af af af af af af af |..... ........| 000000a0 af af 09 09 af af af af af af af af af af af 0a |................| 000000b0 2a 41 6c 69 61 73 09 20 20 20 3c 63 6d 64 20 6e |*Alias. <cmd n| 000000c0 61 6d 65 3e 20 3c 61 63 74 69 6f 6e 3e 09 3d 20 |ame> <action>.= | 000000d0 2a 53 65 74 20 41 6c 69 61 73 24 3c 63 6d 64 20 |*Set Alias$<cmd | 000000e0 6e 61 6d 65 3e 20 3c 61 63 74 69 6f 6e 3e 0a 2a |name> <action>.*| 000000f0 55 6e 41 6c 69 61 73 20 20 20 3c 63 6d 64 20 6e |UnAlias <cmd n| 00000100 61 6d 65 3e 09 09 3d 20 2a 55 6e 73 65 74 20 41 |ame>..= *Unset A| 00000110 6c 69 61 73 24 3c 63 6d 64 20 6e 61 6d 65 3e 0a |lias$<cmd name>.| 00000120 2a 46 69 6c 65 54 79 70 65 20 20 3c 6e 75 6d 62 |*FileType <numb| 00000130 65 72 3e 20 3c 6e 61 6d 65 3e 09 3d 20 2a 53 65 |er> <name>.= *Se| 00000140 74 20 46 69 6c 65 24 54 79 70 65 5f 3c 6e 75 6d |t File$Type_<num| 00000150 62 65 72 3e 20 3c 6e 61 6d 65 3e 0a 2a 4c 6f 61 |ber> <name>.*Loa| 00000160 64 54 79 70 65 20 20 3c 6e 75 6d 62 65 72 3e 20 |dType <number> | 00000170 3c 61 63 74 69 6f 6e 3e 09 3d 20 2a 53 65 74 20 |<action>.= *Set | 00000180 41 6c 69 61 73 24 40 4c 6f 61 64 54 79 70 65 5f |Alias$@LoadType_| 00000190 3c 6e 75 6d 62 65 72 3e 20 3c 61 63 74 69 6f 6e |<number> <action| 000001a0 3e 0a 2a 52 75 6e 54 79 70 65 20 20 20 3c 6e 75 |>.*RunType <nu| 000001b0 6d 62 65 72 3e 20 3c 61 63 74 69 6f 6e 3e 09 3d |mber> <action>.=| 000001c0 20 2a 53 65 74 20 41 6c 69 61 73 24 40 52 75 6e | *Set Alias$@Run| 000001d0 54 79 70 65 5f 3c 6e 75 6d 62 65 72 3e 20 3c 61 |Type_<number> <a| 000001e0 63 74 69 6f 6e 3e 0a 2a 50 72 69 6e 74 54 79 70 |ction>.*PrintTyp| 000001f0 65 20 3c 6e 75 6d 62 65 72 3e 20 3c 61 63 74 69 |e <number> <acti| 00000200 6f 6e 3e 09 3d 20 2a 53 65 74 20 41 6c 69 61 73 |on>.= *Set Alias| 00000210 24 40 50 72 69 6e 74 54 79 70 65 5f 3c 6e 75 6d |$@PrintType_<num| 00000220 62 65 72 3e 20 3c 61 63 74 69 6f 6e 3e 0a 2a 53 |ber> <action>.*S| 00000230 65 74 44 69 72 20 20 20 20 3c 6e 61 6d 65 3e 20 |etDir <name> | 00000240 3c 64 69 72 3e 09 09 3d 20 2a 53 65 74 20 3c 6e |<dir>..= *Set <n| 00000250 61 6d 65 3e 24 44 69 72 20 3c 64 69 72 3e 0a 2a |ame>$Dir <dir>.*| 00000260 53 65 74 50 61 74 68 20 20 20 3c 6e 61 6d 65 3e |SetPath <name>| 00000270 20 3c 70 61 74 68 3e 09 3d 20 2a 53 65 74 20 3c | <path>.= *Set <| 00000280 6e 61 6d 65 3e 24 50 61 74 68 20 3c 70 61 74 68 |name>$Path <path| 00000290 3e 0a 2a 55 6e 73 65 74 44 69 72 20 20 3c 6e 61 |>.*UnsetDir <na| 000002a0 6d 65 3e 20 3c 64 69 72 3e 09 09 3d 20 2a 55 6e |me> <dir>..= *Un| 000002b0 73 65 74 20 3c 6e 61 6d 65 3e 24 44 69 72 0a 2a |set <name>$Dir.*| 000002c0 55 6e 73 65 74 50 61 74 68 20 3c 6e 61 6d 65 3e |UnsetPath <name>| 000002d0 20 3c 70 61 74 68 3e 09 3d 20 2a 55 6e 73 65 74 | <path>.= *Unset| 000002e0 20 3c 6e 61 6d 65 3e 24 50 61 74 68 0a 2a 58 20 | <name>$Path.*X | 000002f0 20 20 20 20 20 20 20 20 3c 2a 63 6f 6d 6d 61 6e | <*comman| 00000300 64 3e 09 09 45 78 65 63 75 74 65 73 20 61 20 2a |d>..Executes a *| 00000310 20 63 6f 6d 6d 61 6e 64 2c 20 69 67 6e 6f 72 69 | command, ignori| 00000320 6e 67 20 65 72 72 6f 72 73 2e 0a 0a 0a 45 78 61 |ng errors....Exa| 00000330 6d 70 6c 65 73 3a 0a 0a 4f 72 69 67 69 6e 61 6c |mples:..Original| 00000340 09 09 09 09 53 65 74 41 6c 69 61 73 0a af af af |....SetAlias....| 00000350 af af af af af 09 09 09 09 af af af af af af af |................| 00000360 af 0a 53 65 74 20 46 69 6c 65 24 54 79 70 65 5f |..Set File$Type_| 00000370 30 30 31 20 53 54 72 61 63 6b 65 72 09 09 46 69 |001 STracker..Fi| 00000380 6c 65 54 79 70 65 20 30 30 31 20 53 54 72 61 63 |leType 001 STrac| 00000390 6b 65 72 0a 53 65 74 20 46 69 6c 65 24 54 79 70 |ker.Set File$Typ| 000003a0 65 5f 31 43 30 20 4a 53 57 5f 47 61 6d 65 09 09 |e_1C0 JSW_Game..| 000003b0 46 69 6c 65 54 79 70 65 20 30 30 31 20 4a 53 57 |FileType 001 JSW| 000003c0 5f 47 61 6d 65 0a 53 65 74 20 41 6c 69 61 73 24 |_Game.Set Alias$| 000003d0 6c 73 20 43 61 74 20 25 2a 30 09 09 09 41 6c 69 |ls Cat %*0...Ali| 000003e0 61 73 20 6c 73 20 43 61 74 20 25 2a 30 0a 55 6e |as ls Cat %*0.Un| 000003f0 73 65 74 20 41 6c 69 61 73 24 6c 73 09 09 09 09 |set Alias$ls....| 00000400 55 6e 41 6c 69 61 73 20 6c 73 0a 53 65 74 20 41 |UnAlias ls.Set A| 00000410 6c 69 61 73 24 40 52 75 6e 54 79 70 65 5f 31 43 |lias$@RunType_1C| 00000420 30 20 3c 4f 62 65 79 24 44 69 72 3e 20 25 2a 30 |0 <Obey$Dir> %*0| 00000430 09 52 75 6e 54 79 70 65 20 31 43 30 20 3c 4f 62 |.RunType 1C0 <Ob| 00000440 65 79 24 44 69 72 3e 20 25 2a 30 0a 53 65 74 20 |ey$Dir> %*0.Set | 00000450 42 6c 6f 63 6b 53 69 7a 65 24 44 69 72 20 3c 4f |BlockSize$Dir <O| 00000460 62 65 79 24 44 69 72 3e 09 09 53 65 74 44 69 72 |bey$Dir>..SetDir| 00000470 20 42 6c 6f 63 6b 53 69 7a 65 20 3c 4f 62 65 79 | BlockSize <Obey| 00000480 24 44 69 72 3e 0a |$Dir>.| 00000486