Home » Archimedes archive » Acorn User » AU 1994-Xmas.adf » Programs » HomeWorks/!HomeWorks/!Run

HomeWorks/!HomeWorks/!Run

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 1994-Xmas.adf » Programs
Filename: HomeWorks/!HomeWorks/!Run
Read OK:
File size: 037B bytes
Load address: 0000
Exec address: 0000
File contents
WimpSlot -min 96k -max 96k
IconSprites <Obey$Dir>.!Sprites
Set Alias$@RunType_FA2 /<Obey$Dir>.!Run %%*0
Set Alias$@PrintType_FA2 /<Obey$Dir>.!Run -Print %%*0
Set File$Type_FA2 HomeWrks
If "<System$Path>"="" then Error 0 Unable to locate your System directory.
If "<Wimp$ScrapDir>"="" then Error 0 Unable to locate your Scrap directory.
SetMacro ChangeFSISearch$Path %.,<ChangeFSI$Dir>.
Set HomeWorks_Manager$Path <Obey$Dir>.
Set HomeWorks_Resources$Path <Obey$Dir>.Resources.
Set DrawFile$Temp NotOK
RMEnsure DrawFile 1.01 RMLoad HomeWorks_Resources:DrawFile
RMEnsure DrawFile 1.01 Error 0 You need DrawFile 1.01 or later
RMEnsure DrawFile 1.20 Set DrawFile$Temp OK
RMEnsure DrawFile 1.30 If DrawFile$Temp="NotOK" Then Error 0 You have DrawFile version 1.20 loaded. Printing will not work correctly unless you unplug it and re-run HomeWorks.
Unset DrawFile$Temp
Run <Obey$Dir>.!RunImage %*0
00000000  57 69 6d 70 53 6c 6f 74  20 2d 6d 69 6e 20 39 36  |WimpSlot -min 96|
00000010  6b 20 2d 6d 61 78 20 39  36 6b 0a 49 63 6f 6e 53  |k -max 96k.IconS|
00000020  70 72 69 74 65 73 20 3c  4f 62 65 79 24 44 69 72  |prites <Obey$Dir|
00000030  3e 2e 21 53 70 72 69 74  65 73 0a 53 65 74 20 41  |>.!Sprites.Set A|
00000040  6c 69 61 73 24 40 52 75  6e 54 79 70 65 5f 46 41  |lias$@RunType_FA|
00000050  32 20 2f 3c 4f 62 65 79  24 44 69 72 3e 2e 21 52  |2 /<Obey$Dir>.!R|
00000060  75 6e 20 25 25 2a 30 0a  53 65 74 20 41 6c 69 61  |un %%*0.Set Alia|
00000070  73 24 40 50 72 69 6e 74  54 79 70 65 5f 46 41 32  |s$@PrintType_FA2|
00000080  20 2f 3c 4f 62 65 79 24  44 69 72 3e 2e 21 52 75  | /<Obey$Dir>.!Ru|
00000090  6e 20 2d 50 72 69 6e 74  20 25 25 2a 30 0a 53 65  |n -Print %%*0.Se|
000000a0  74 20 46 69 6c 65 24 54  79 70 65 5f 46 41 32 20  |t File$Type_FA2 |
000000b0  48 6f 6d 65 57 72 6b 73  0a 49 66 20 22 3c 53 79  |HomeWrks.If "<Sy|
000000c0  73 74 65 6d 24 50 61 74  68 3e 22 3d 22 22 20 74  |stem$Path>"="" t|
000000d0  68 65 6e 20 45 72 72 6f  72 20 30 20 55 6e 61 62  |hen Error 0 Unab|
000000e0  6c 65 20 74 6f 20 6c 6f  63 61 74 65 20 79 6f 75  |le to locate you|
000000f0  72 20 53 79 73 74 65 6d  20 64 69 72 65 63 74 6f  |r System directo|
00000100  72 79 2e 0a 49 66 20 22  3c 57 69 6d 70 24 53 63  |ry..If "<Wimp$Sc|
00000110  72 61 70 44 69 72 3e 22  3d 22 22 20 74 68 65 6e  |rapDir>"="" then|
00000120  20 45 72 72 6f 72 20 30  20 55 6e 61 62 6c 65 20  | Error 0 Unable |
00000130  74 6f 20 6c 6f 63 61 74  65 20 79 6f 75 72 20 53  |to locate your S|
00000140  63 72 61 70 20 64 69 72  65 63 74 6f 72 79 2e 0a  |crap directory..|
00000150  53 65 74 4d 61 63 72 6f  20 43 68 61 6e 67 65 46  |SetMacro ChangeF|
00000160  53 49 53 65 61 72 63 68  24 50 61 74 68 20 25 2e  |SISearch$Path %.|
00000170  2c 3c 43 68 61 6e 67 65  46 53 49 24 44 69 72 3e  |,<ChangeFSI$Dir>|
00000180  2e 0a 53 65 74 20 48 6f  6d 65 57 6f 72 6b 73 5f  |..Set HomeWorks_|
00000190  4d 61 6e 61 67 65 72 24  50 61 74 68 20 3c 4f 62  |Manager$Path <Ob|
000001a0  65 79 24 44 69 72 3e 2e  0a 53 65 74 20 48 6f 6d  |ey$Dir>..Set Hom|
000001b0  65 57 6f 72 6b 73 5f 52  65 73 6f 75 72 63 65 73  |eWorks_Resources|
000001c0  24 50 61 74 68 20 3c 4f  62 65 79 24 44 69 72 3e  |$Path <Obey$Dir>|
000001d0  2e 52 65 73 6f 75 72 63  65 73 2e 0a 53 65 74 20  |.Resources..Set |
000001e0  44 72 61 77 46 69 6c 65  24 54 65 6d 70 20 4e 6f  |DrawFile$Temp No|
000001f0  74 4f 4b 0a 52 4d 45 6e  73 75 72 65 20 44 72 61  |tOK.RMEnsure Dra|
00000200  77 46 69 6c 65 20 31 2e  30 31 20 52 4d 4c 6f 61  |wFile 1.01 RMLoa|
00000210  64 20 48 6f 6d 65 57 6f  72 6b 73 5f 52 65 73 6f  |d HomeWorks_Reso|
00000220  75 72 63 65 73 3a 44 72  61 77 46 69 6c 65 0a 52  |urces:DrawFile.R|
00000230  4d 45 6e 73 75 72 65 20  44 72 61 77 46 69 6c 65  |MEnsure DrawFile|
00000240  20 31 2e 30 31 20 45 72  72 6f 72 20 30 20 59 6f  | 1.01 Error 0 Yo|
00000250  75 20 6e 65 65 64 20 44  72 61 77 46 69 6c 65 20  |u need DrawFile |
00000260  31 2e 30 31 20 6f 72 20  6c 61 74 65 72 0a 52 4d  |1.01 or later.RM|
00000270  45 6e 73 75 72 65 20 44  72 61 77 46 69 6c 65 20  |Ensure DrawFile |
00000280  31 2e 32 30 20 53 65 74  20 44 72 61 77 46 69 6c  |1.20 Set DrawFil|
00000290  65 24 54 65 6d 70 20 4f  4b 0a 52 4d 45 6e 73 75  |e$Temp OK.RMEnsu|
000002a0  72 65 20 44 72 61 77 46  69 6c 65 20 31 2e 33 30  |re DrawFile 1.30|
000002b0  20 49 66 20 44 72 61 77  46 69 6c 65 24 54 65 6d  | If DrawFile$Tem|
000002c0  70 3d 22 4e 6f 74 4f 4b  22 20 54 68 65 6e 20 45  |p="NotOK" Then E|
000002d0  72 72 6f 72 20 30 20 59  6f 75 20 68 61 76 65 20  |rror 0 You have |
000002e0  44 72 61 77 46 69 6c 65  20 76 65 72 73 69 6f 6e  |DrawFile version|
000002f0  20 31 2e 32 30 20 6c 6f  61 64 65 64 2e 20 50 72  | 1.20 loaded. Pr|
00000300  69 6e 74 69 6e 67 20 77  69 6c 6c 20 6e 6f 74 20  |inting will not |
00000310  77 6f 72 6b 20 63 6f 72  72 65 63 74 6c 79 20 75  |work correctly u|
00000320  6e 6c 65 73 73 20 79 6f  75 20 75 6e 70 6c 75 67  |nless you unplug|
00000330  20 69 74 20 61 6e 64 20  72 65 2d 72 75 6e 20 48  | it and re-run H|
00000340  6f 6d 65 57 6f 72 6b 73  2e 0a 55 6e 73 65 74 20  |omeWorks..Unset |
00000350  44 72 61 77 46 69 6c 65  24 54 65 6d 70 0a 52 75  |DrawFile$Temp.Ru|
00000360  6e 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 52 75  |n <Obey$Dir>.!Ru|
00000370  6e 49 6d 61 67 65 20 25  2a 30 0a                 |nImage %*0.|
0000037b