Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199804.adf » PD » MususUmbra/Automine/!Automine/!Run

MususUmbra/Automine/!Automine/!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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199804.adf » PD
Filename: MususUmbra/Automine/!Automine/!Run
Read OK:
File size: 0587 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
| AutoMine v1.59
| � Musus Umbra, 1995-8

| Set up the paths and filetype etc.
|
set AutoMine$Dir <obey$dir>
set AutoMine$Path <AutoMine$Dir>.
set file$type_c4f AutoMine
set alias$@runtype_c4f "/<AutoMine$Dir> "

| Iconsprites
|
set __osv$ 300
rmensure UtilityModule 3.00 set __osv$ 200
if "<__osv$>" = "300" THEN iconsprites <AutoMine$Dir>.!Sprites ELSE /<Automine$Dir>.Resources.SmartIcons <obey$dir>.!Sprites
unset __osv$

| Make sure we have the necesary support modules:
rmensure utilitymodule 3.00 if "<system$path>" = "" then error Please locate a copy of !System and try again
rmensure SharedCLibrary 0.00 rmload system:modules.Clib
rmensure FPEmulator     2.70 rmload system:modules.FPEmulator
rmensure ColourTrans    0.00 rmload system:modules.Colours


| The game can load in less than 64K, but really needs at least 168K
| to have a hope of initialising and running
|
| Versions from 1.59 use a Dynamic Area for sprites (if possible)
| so need ~76K less WimpSlot to run
wimpslot -min 176K -max 176K
wimpslot -min 100K -max 100K
rmensure UtilityModule 3.50 wimpslot -min 176 -max 176K


| This line removed - it seems that (probably due to new code), the game
| needs to grab at least another 4K page at some time when running.
| (hence the 176 even though only 168 is needed at startup).
| wimpslot -min 64K -max 64K

| Run the main program passing any saved game as an argument
|
AutoMine:!RunImage %*0
00000000  7c 20 41 75 74 6f 4d 69  6e 65 20 76 31 2e 35 39  || AutoMine v1.59|
00000010  0a 7c 20 a9 20 4d 75 73  75 73 20 55 6d 62 72 61  |.| . Musus Umbra|
00000020  2c 20 31 39 39 35 2d 38  0a 0a 7c 20 53 65 74 20  |, 1995-8..| Set |
00000030  75 70 20 74 68 65 20 70  61 74 68 73 20 61 6e 64  |up the paths and|
00000040  20 66 69 6c 65 74 79 70  65 20 65 74 63 2e 0a 7c  | filetype etc..||
00000050  0a 73 65 74 20 41 75 74  6f 4d 69 6e 65 24 44 69  |.set AutoMine$Di|
00000060  72 20 3c 6f 62 65 79 24  64 69 72 3e 0a 73 65 74  |r <obey$dir>.set|
00000070  20 41 75 74 6f 4d 69 6e  65 24 50 61 74 68 20 3c  | AutoMine$Path <|
00000080  41 75 74 6f 4d 69 6e 65  24 44 69 72 3e 2e 0a 73  |AutoMine$Dir>..s|
00000090  65 74 20 66 69 6c 65 24  74 79 70 65 5f 63 34 66  |et file$type_c4f|
000000a0  20 41 75 74 6f 4d 69 6e  65 0a 73 65 74 20 61 6c  | AutoMine.set al|
000000b0  69 61 73 24 40 72 75 6e  74 79 70 65 5f 63 34 66  |ias$@runtype_c4f|
000000c0  20 22 2f 3c 41 75 74 6f  4d 69 6e 65 24 44 69 72  | "/<AutoMine$Dir|
000000d0  3e 20 22 0a 0a 7c 20 49  63 6f 6e 73 70 72 69 74  |> "..| Iconsprit|
000000e0  65 73 0a 7c 0a 73 65 74  20 5f 5f 6f 73 76 24 20  |es.|.set __osv$ |
000000f0  33 30 30 0a 72 6d 65 6e  73 75 72 65 20 55 74 69  |300.rmensure Uti|
00000100  6c 69 74 79 4d 6f 64 75  6c 65 20 33 2e 30 30 20  |lityModule 3.00 |
00000110  73 65 74 20 5f 5f 6f 73  76 24 20 32 30 30 0a 69  |set __osv$ 200.i|
00000120  66 20 22 3c 5f 5f 6f 73  76 24 3e 22 20 3d 20 22  |f "<__osv$>" = "|
00000130  33 30 30 22 20 54 48 45  4e 20 69 63 6f 6e 73 70  |300" THEN iconsp|
00000140  72 69 74 65 73 20 3c 41  75 74 6f 4d 69 6e 65 24  |rites <AutoMine$|
00000150  44 69 72 3e 2e 21 53 70  72 69 74 65 73 20 45 4c  |Dir>.!Sprites EL|
00000160  53 45 20 2f 3c 41 75 74  6f 6d 69 6e 65 24 44 69  |SE /<Automine$Di|
00000170  72 3e 2e 52 65 73 6f 75  72 63 65 73 2e 53 6d 61  |r>.Resources.Sma|
00000180  72 74 49 63 6f 6e 73 20  3c 6f 62 65 79 24 64 69  |rtIcons <obey$di|
00000190  72 3e 2e 21 53 70 72 69  74 65 73 0a 75 6e 73 65  |r>.!Sprites.unse|
000001a0  74 20 5f 5f 6f 73 76 24  0a 0a 7c 20 4d 61 6b 65  |t __osv$..| Make|
000001b0  20 73 75 72 65 20 77 65  20 68 61 76 65 20 74 68  | sure we have th|
000001c0  65 20 6e 65 63 65 73 61  72 79 20 73 75 70 70 6f  |e necesary suppo|
000001d0  72 74 20 6d 6f 64 75 6c  65 73 3a 0a 72 6d 65 6e  |rt modules:.rmen|
000001e0  73 75 72 65 20 75 74 69  6c 69 74 79 6d 6f 64 75  |sure utilitymodu|
000001f0  6c 65 20 33 2e 30 30 20  69 66 20 22 3c 73 79 73  |le 3.00 if "<sys|
00000200  74 65 6d 24 70 61 74 68  3e 22 20 3d 20 22 22 20  |tem$path>" = "" |
00000210  74 68 65 6e 20 65 72 72  6f 72 20 50 6c 65 61 73  |then error Pleas|
00000220  65 20 6c 6f 63 61 74 65  20 61 20 63 6f 70 79 20  |e locate a copy |
00000230  6f 66 20 21 53 79 73 74  65 6d 20 61 6e 64 20 74  |of !System and t|
00000240  72 79 20 61 67 61 69 6e  0a 72 6d 65 6e 73 75 72  |ry again.rmensur|
00000250  65 20 53 68 61 72 65 64  43 4c 69 62 72 61 72 79  |e SharedCLibrary|
00000260  20 30 2e 30 30 20 72 6d  6c 6f 61 64 20 73 79 73  | 0.00 rmload sys|
00000270  74 65 6d 3a 6d 6f 64 75  6c 65 73 2e 43 6c 69 62  |tem:modules.Clib|
00000280  0a 72 6d 65 6e 73 75 72  65 20 46 50 45 6d 75 6c  |.rmensure FPEmul|
00000290  61 74 6f 72 20 20 20 20  20 32 2e 37 30 20 72 6d  |ator     2.70 rm|
000002a0  6c 6f 61 64 20 73 79 73  74 65 6d 3a 6d 6f 64 75  |load system:modu|
000002b0  6c 65 73 2e 46 50 45 6d  75 6c 61 74 6f 72 0a 72  |les.FPEmulator.r|
000002c0  6d 65 6e 73 75 72 65 20  43 6f 6c 6f 75 72 54 72  |mensure ColourTr|
000002d0  61 6e 73 20 20 20 20 30  2e 30 30 20 72 6d 6c 6f  |ans    0.00 rmlo|
000002e0  61 64 20 73 79 73 74 65  6d 3a 6d 6f 64 75 6c 65  |ad system:module|
000002f0  73 2e 43 6f 6c 6f 75 72  73 0a 0a 0a 7c 20 54 68  |s.Colours...| Th|
00000300  65 20 67 61 6d 65 20 63  61 6e 20 6c 6f 61 64 20  |e game can load |
00000310  69 6e 20 6c 65 73 73 20  74 68 61 6e 20 36 34 4b  |in less than 64K|
00000320  2c 20 62 75 74 20 72 65  61 6c 6c 79 20 6e 65 65  |, but really nee|
00000330  64 73 20 61 74 20 6c 65  61 73 74 20 31 36 38 4b  |ds at least 168K|
00000340  0a 7c 20 74 6f 20 68 61  76 65 20 61 20 68 6f 70  |.| to have a hop|
00000350  65 20 6f 66 20 69 6e 69  74 69 61 6c 69 73 69 6e  |e of initialisin|
00000360  67 20 61 6e 64 20 72 75  6e 6e 69 6e 67 0a 7c 0a  |g and running.|.|
00000370  7c 20 56 65 72 73 69 6f  6e 73 20 66 72 6f 6d 20  || Versions from |
00000380  31 2e 35 39 20 75 73 65  20 61 20 44 79 6e 61 6d  |1.59 use a Dynam|
00000390  69 63 20 41 72 65 61 20  66 6f 72 20 73 70 72 69  |ic Area for spri|
000003a0  74 65 73 20 28 69 66 20  70 6f 73 73 69 62 6c 65  |tes (if possible|
000003b0  29 0a 7c 20 73 6f 20 6e  65 65 64 20 7e 37 36 4b  |).| so need ~76K|
000003c0  20 6c 65 73 73 20 57 69  6d 70 53 6c 6f 74 20 74  | less WimpSlot t|
000003d0  6f 20 72 75 6e 0a 77 69  6d 70 73 6c 6f 74 20 2d  |o run.wimpslot -|
000003e0  6d 69 6e 20 31 37 36 4b  20 2d 6d 61 78 20 31 37  |min 176K -max 17|
000003f0  36 4b 0a 77 69 6d 70 73  6c 6f 74 20 2d 6d 69 6e  |6K.wimpslot -min|
00000400  20 31 30 30 4b 20 2d 6d  61 78 20 31 30 30 4b 0a  | 100K -max 100K.|
00000410  72 6d 65 6e 73 75 72 65  20 55 74 69 6c 69 74 79  |rmensure Utility|
00000420  4d 6f 64 75 6c 65 20 33  2e 35 30 20 77 69 6d 70  |Module 3.50 wimp|
00000430  73 6c 6f 74 20 2d 6d 69  6e 20 31 37 36 20 2d 6d  |slot -min 176 -m|
00000440  61 78 20 31 37 36 4b 0a  0a 0a 7c 20 54 68 69 73  |ax 176K...| This|
00000450  20 6c 69 6e 65 20 72 65  6d 6f 76 65 64 20 2d 20  | line removed - |
00000460  69 74 20 73 65 65 6d 73  20 74 68 61 74 20 28 70  |it seems that (p|
00000470  72 6f 62 61 62 6c 79 20  64 75 65 20 74 6f 20 6e  |robably due to n|
00000480  65 77 20 63 6f 64 65 29  2c 20 74 68 65 20 67 61  |ew code), the ga|
00000490  6d 65 0a 7c 20 6e 65 65  64 73 20 74 6f 20 67 72  |me.| needs to gr|
000004a0  61 62 20 61 74 20 6c 65  61 73 74 20 61 6e 6f 74  |ab at least anot|
000004b0  68 65 72 20 34 4b 20 70  61 67 65 20 61 74 20 73  |her 4K page at s|
000004c0  6f 6d 65 20 74 69 6d 65  20 77 68 65 6e 20 72 75  |ome time when ru|
000004d0  6e 6e 69 6e 67 2e 0a 7c  20 28 68 65 6e 63 65 20  |nning..| (hence |
000004e0  74 68 65 20 31 37 36 20  65 76 65 6e 20 74 68 6f  |the 176 even tho|
000004f0  75 67 68 20 6f 6e 6c 79  20 31 36 38 20 69 73 20  |ugh only 168 is |
00000500  6e 65 65 64 65 64 20 61  74 20 73 74 61 72 74 75  |needed at startu|
00000510  70 29 2e 0a 7c 20 77 69  6d 70 73 6c 6f 74 20 2d  |p)..| wimpslot -|
00000520  6d 69 6e 20 36 34 4b 20  2d 6d 61 78 20 36 34 4b  |min 64K -max 64K|
00000530  0a 0a 7c 20 52 75 6e 20  74 68 65 20 6d 61 69 6e  |..| Run the main|
00000540  20 70 72 6f 67 72 61 6d  20 70 61 73 73 69 6e 67  | program passing|
00000550  20 61 6e 79 20 73 61 76  65 64 20 67 61 6d 65 20  | any saved game |
00000560  61 73 20 61 6e 20 61 72  67 75 6d 65 6e 74 0a 7c  |as an argument.||
00000570  0a 41 75 74 6f 4d 69 6e  65 3a 21 52 75 6e 49 6d  |.AutoMine:!RunIm|
00000580  61 67 65 20 25 2a 30                              |age %*0|
00000587