Home » Archimedes archive » Archimedes World » AW-1994-11-Disc2.adf » Disk2Nov94 » !AWNov94/Goodies/Genisis/!Browser/!Run

!AWNov94/Goodies/Genisis/!Browser/!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 » Archimedes World » AW-1994-11-Disc2.adf » Disk2Nov94
Filename: !AWNov94/Goodies/Genisis/!Browser/!Run
Read OK:
File size: 0718 bytes
Load address: 0000
Exec address: 0000
File contents
IF "<System$Path>" = "" THEN Error 0 System resources cannot be found
IF "<GenLib$Dir>" = "" THEN Error 0 Please locate !GenLib
IF "<Wimp$ScrapDir>" = "" Then Error 0 Browser requires a scrap directory to work
IF "<Genesis$Scrap>" = "" THEN CDIR <Wimp$ScrapDir>.Genesis
IF "<Genesis$Scrap>" = "" THEN SET Genesis$Scrap <Wimp$ScrapDir>.Genesis
SET GenesisEd$Dir <Obey$Dir>
SET Genesis$Dir <Obey$Dir>
IconSprites <Obey$Dir>.!Sprites
SET File$Type_D08 GScript
SET File$Type_D07 GButton
SET ALIAS$RMLoadIt RMEnsure %%0 %%1 RMLoad %%2|MRMEnsure %%0 %%1 Error Browser needs %%0 %%1 or later

SET ABCLib 1
RMEnsure ABCLibrary    0.00 SET ABCLib 0
|  ABCLib = 0 if not already loaded
IF ABCLib = 0 THEN RMEnsure ABClibrary 4.02 RMLoad System:modules.ABClib 
IF ABCLib = 0 THEN RMEnsure ABCLibrary 4.02 Error The version of ABCLib installed in your !System is too old. Genesis Needs ABCLib 4.02 or later 
IF ABCLib = 1 THEN RMEnsure ABCLibrary 4.02 Error You are already running a version of ABCLib which is too old. Genesis Needs ABCLib 4.02 or later 
RMLoadIt FPEmulator 2.80 System:modules.FPEmulator
RMLoadIt ColourTrans   0.52 System:modules.Colours
RMLoadIt Euclid        2.20 <GenLib$Dir>.Modules.EuclidG
RMLoadIt WimpManager   2.03 <GenLib$Dir>.Modules.WimpMan
RMLoadIt GenesisLib    2.42 <GenLib$Dir>.modules.GS_Lib
RMLoadIt GenesisResMan 2.41 <GenLib$Dir>.modules.GS_ResMan
|RMLoadIt GenesisIndex  2.40 <GenLib$Dir>.modules.GS_Index
RMLoadIt GenesisUtils  2.40 <GenLib$Dir>.modules.GS_Utils
RMLoadIt GenesisApplic 2.40 <GenLib$Dir>.modules.GS_Applic
RMLoadIt GS_Support    1.40 <GenLib$Dir>.modules.GS_Support
RMLoadIt PicConvert    1.00 <GenLib$Dir>.modules.PicConvert
|RMLoadIt GenesisMusic  2.22 <GenLib$Dir>.modules.GS_Music
WimpSlot -min 640k -max 640k
WimpSlot -min 640k -max 640k
RUN <Obey$Dir>.!RunImage %*0
00000000  49 46 20 22 3c 53 79 73  74 65 6d 24 50 61 74 68  |IF "<System$Path|
00000010  3e 22 20 3d 20 22 22 20  54 48 45 4e 20 45 72 72  |>" = "" THEN Err|
00000020  6f 72 20 30 20 53 79 73  74 65 6d 20 72 65 73 6f  |or 0 System reso|
00000030  75 72 63 65 73 20 63 61  6e 6e 6f 74 20 62 65 20  |urces cannot be |
00000040  66 6f 75 6e 64 0a 49 46  20 22 3c 47 65 6e 4c 69  |found.IF "<GenLi|
00000050  62 24 44 69 72 3e 22 20  3d 20 22 22 20 54 48 45  |b$Dir>" = "" THE|
00000060  4e 20 45 72 72 6f 72 20  30 20 50 6c 65 61 73 65  |N Error 0 Please|
00000070  20 6c 6f 63 61 74 65 20  21 47 65 6e 4c 69 62 0a  | locate !GenLib.|
00000080  49 46 20 22 3c 57 69 6d  70 24 53 63 72 61 70 44  |IF "<Wimp$ScrapD|
00000090  69 72 3e 22 20 3d 20 22  22 20 54 68 65 6e 20 45  |ir>" = "" Then E|
000000a0  72 72 6f 72 20 30 20 42  72 6f 77 73 65 72 20 72  |rror 0 Browser r|
000000b0  65 71 75 69 72 65 73 20  61 20 73 63 72 61 70 20  |equires a scrap |
000000c0  64 69 72 65 63 74 6f 72  79 20 74 6f 20 77 6f 72  |directory to wor|
000000d0  6b 0a 49 46 20 22 3c 47  65 6e 65 73 69 73 24 53  |k.IF "<Genesis$S|
000000e0  63 72 61 70 3e 22 20 3d  20 22 22 20 54 48 45 4e  |crap>" = "" THEN|
000000f0  20 43 44 49 52 20 3c 57  69 6d 70 24 53 63 72 61  | CDIR <Wimp$Scra|
00000100  70 44 69 72 3e 2e 47 65  6e 65 73 69 73 0a 49 46  |pDir>.Genesis.IF|
00000110  20 22 3c 47 65 6e 65 73  69 73 24 53 63 72 61 70  | "<Genesis$Scrap|
00000120  3e 22 20 3d 20 22 22 20  54 48 45 4e 20 53 45 54  |>" = "" THEN SET|
00000130  20 47 65 6e 65 73 69 73  24 53 63 72 61 70 20 3c  | Genesis$Scrap <|
00000140  57 69 6d 70 24 53 63 72  61 70 44 69 72 3e 2e 47  |Wimp$ScrapDir>.G|
00000150  65 6e 65 73 69 73 0a 53  45 54 20 47 65 6e 65 73  |enesis.SET Genes|
00000160  69 73 45 64 24 44 69 72  20 3c 4f 62 65 79 24 44  |isEd$Dir <Obey$D|
00000170  69 72 3e 0a 53 45 54 20  47 65 6e 65 73 69 73 24  |ir>.SET Genesis$|
00000180  44 69 72 20 3c 4f 62 65  79 24 44 69 72 3e 0a 49  |Dir <Obey$Dir>.I|
00000190  63 6f 6e 53 70 72 69 74  65 73 20 3c 4f 62 65 79  |conSprites <Obey|
000001a0  24 44 69 72 3e 2e 21 53  70 72 69 74 65 73 0a 53  |$Dir>.!Sprites.S|
000001b0  45 54 20 46 69 6c 65 24  54 79 70 65 5f 44 30 38  |ET File$Type_D08|
000001c0  20 47 53 63 72 69 70 74  0a 53 45 54 20 46 69 6c  | GScript.SET Fil|
000001d0  65 24 54 79 70 65 5f 44  30 37 20 47 42 75 74 74  |e$Type_D07 GButt|
000001e0  6f 6e 0a 53 45 54 20 41  4c 49 41 53 24 52 4d 4c  |on.SET ALIAS$RML|
000001f0  6f 61 64 49 74 20 52 4d  45 6e 73 75 72 65 20 25  |oadIt RMEnsure %|
00000200  25 30 20 25 25 31 20 52  4d 4c 6f 61 64 20 25 25  |%0 %%1 RMLoad %%|
00000210  32 7c 4d 52 4d 45 6e 73  75 72 65 20 25 25 30 20  |2|MRMEnsure %%0 |
00000220  25 25 31 20 45 72 72 6f  72 20 42 72 6f 77 73 65  |%%1 Error Browse|
00000230  72 20 6e 65 65 64 73 20  25 25 30 20 25 25 31 20  |r needs %%0 %%1 |
00000240  6f 72 20 6c 61 74 65 72  0a 0a 53 45 54 20 41 42  |or later..SET AB|
00000250  43 4c 69 62 20 31 0a 52  4d 45 6e 73 75 72 65 20  |CLib 1.RMEnsure |
00000260  41 42 43 4c 69 62 72 61  72 79 20 20 20 20 30 2e  |ABCLibrary    0.|
00000270  30 30 20 53 45 54 20 41  42 43 4c 69 62 20 30 0a  |00 SET ABCLib 0.|
00000280  7c 20 20 41 42 43 4c 69  62 20 3d 20 30 20 69 66  ||  ABCLib = 0 if|
00000290  20 6e 6f 74 20 61 6c 72  65 61 64 79 20 6c 6f 61  | not already loa|
000002a0  64 65 64 0a 49 46 20 41  42 43 4c 69 62 20 3d 20  |ded.IF ABCLib = |
000002b0  30 20 54 48 45 4e 20 52  4d 45 6e 73 75 72 65 20  |0 THEN RMEnsure |
000002c0  41 42 43 6c 69 62 72 61  72 79 20 34 2e 30 32 20  |ABClibrary 4.02 |
000002d0  52 4d 4c 6f 61 64 20 53  79 73 74 65 6d 3a 6d 6f  |RMLoad System:mo|
000002e0  64 75 6c 65 73 2e 41 42  43 6c 69 62 20 0a 49 46  |dules.ABClib .IF|
000002f0  20 41 42 43 4c 69 62 20  3d 20 30 20 54 48 45 4e  | ABCLib = 0 THEN|
00000300  20 52 4d 45 6e 73 75 72  65 20 41 42 43 4c 69 62  | RMEnsure ABCLib|
00000310  72 61 72 79 20 34 2e 30  32 20 45 72 72 6f 72 20  |rary 4.02 Error |
00000320  54 68 65 20 76 65 72 73  69 6f 6e 20 6f 66 20 41  |The version of A|
00000330  42 43 4c 69 62 20 69 6e  73 74 61 6c 6c 65 64 20  |BCLib installed |
00000340  69 6e 20 79 6f 75 72 20  21 53 79 73 74 65 6d 20  |in your !System |
00000350  69 73 20 74 6f 6f 20 6f  6c 64 2e 20 47 65 6e 65  |is too old. Gene|
00000360  73 69 73 20 4e 65 65 64  73 20 41 42 43 4c 69 62  |sis Needs ABCLib|
00000370  20 34 2e 30 32 20 6f 72  20 6c 61 74 65 72 20 0a  | 4.02 or later .|
00000380  49 46 20 41 42 43 4c 69  62 20 3d 20 31 20 54 48  |IF ABCLib = 1 TH|
00000390  45 4e 20 52 4d 45 6e 73  75 72 65 20 41 42 43 4c  |EN RMEnsure ABCL|
000003a0  69 62 72 61 72 79 20 34  2e 30 32 20 45 72 72 6f  |ibrary 4.02 Erro|
000003b0  72 20 59 6f 75 20 61 72  65 20 61 6c 72 65 61 64  |r You are alread|
000003c0  79 20 72 75 6e 6e 69 6e  67 20 61 20 76 65 72 73  |y running a vers|
000003d0  69 6f 6e 20 6f 66 20 41  42 43 4c 69 62 20 77 68  |ion of ABCLib wh|
000003e0  69 63 68 20 69 73 20 74  6f 6f 20 6f 6c 64 2e 20  |ich is too old. |
000003f0  47 65 6e 65 73 69 73 20  4e 65 65 64 73 20 41 42  |Genesis Needs AB|
00000400  43 4c 69 62 20 34 2e 30  32 20 6f 72 20 6c 61 74  |CLib 4.02 or lat|
00000410  65 72 20 0a 52 4d 4c 6f  61 64 49 74 20 46 50 45  |er .RMLoadIt FPE|
00000420  6d 75 6c 61 74 6f 72 20  32 2e 38 30 20 53 79 73  |mulator 2.80 Sys|
00000430  74 65 6d 3a 6d 6f 64 75  6c 65 73 2e 46 50 45 6d  |tem:modules.FPEm|
00000440  75 6c 61 74 6f 72 0a 52  4d 4c 6f 61 64 49 74 20  |ulator.RMLoadIt |
00000450  43 6f 6c 6f 75 72 54 72  61 6e 73 20 20 20 30 2e  |ColourTrans   0.|
00000460  35 32 20 53 79 73 74 65  6d 3a 6d 6f 64 75 6c 65  |52 System:module|
00000470  73 2e 43 6f 6c 6f 75 72  73 0a 52 4d 4c 6f 61 64  |s.Colours.RMLoad|
00000480  49 74 20 45 75 63 6c 69  64 20 20 20 20 20 20 20  |It Euclid       |
00000490  20 32 2e 32 30 20 3c 47  65 6e 4c 69 62 24 44 69  | 2.20 <GenLib$Di|
000004a0  72 3e 2e 4d 6f 64 75 6c  65 73 2e 45 75 63 6c 69  |r>.Modules.Eucli|
000004b0  64 47 0a 52 4d 4c 6f 61  64 49 74 20 57 69 6d 70  |dG.RMLoadIt Wimp|
000004c0  4d 61 6e 61 67 65 72 20  20 20 32 2e 30 33 20 3c  |Manager   2.03 <|
000004d0  47 65 6e 4c 69 62 24 44  69 72 3e 2e 4d 6f 64 75  |GenLib$Dir>.Modu|
000004e0  6c 65 73 2e 57 69 6d 70  4d 61 6e 0a 52 4d 4c 6f  |les.WimpMan.RMLo|
000004f0  61 64 49 74 20 47 65 6e  65 73 69 73 4c 69 62 20  |adIt GenesisLib |
00000500  20 20 20 32 2e 34 32 20  3c 47 65 6e 4c 69 62 24  |   2.42 <GenLib$|
00000510  44 69 72 3e 2e 6d 6f 64  75 6c 65 73 2e 47 53 5f  |Dir>.modules.GS_|
00000520  4c 69 62 0a 52 4d 4c 6f  61 64 49 74 20 47 65 6e  |Lib.RMLoadIt Gen|
00000530  65 73 69 73 52 65 73 4d  61 6e 20 32 2e 34 31 20  |esisResMan 2.41 |
00000540  3c 47 65 6e 4c 69 62 24  44 69 72 3e 2e 6d 6f 64  |<GenLib$Dir>.mod|
00000550  75 6c 65 73 2e 47 53 5f  52 65 73 4d 61 6e 0a 7c  |ules.GS_ResMan.||
00000560  52 4d 4c 6f 61 64 49 74  20 47 65 6e 65 73 69 73  |RMLoadIt Genesis|
00000570  49 6e 64 65 78 20 20 32  2e 34 30 20 3c 47 65 6e  |Index  2.40 <Gen|
00000580  4c 69 62 24 44 69 72 3e  2e 6d 6f 64 75 6c 65 73  |Lib$Dir>.modules|
00000590  2e 47 53 5f 49 6e 64 65  78 0a 52 4d 4c 6f 61 64  |.GS_Index.RMLoad|
000005a0  49 74 20 47 65 6e 65 73  69 73 55 74 69 6c 73 20  |It GenesisUtils |
000005b0  20 32 2e 34 30 20 3c 47  65 6e 4c 69 62 24 44 69  | 2.40 <GenLib$Di|
000005c0  72 3e 2e 6d 6f 64 75 6c  65 73 2e 47 53 5f 55 74  |r>.modules.GS_Ut|
000005d0  69 6c 73 0a 52 4d 4c 6f  61 64 49 74 20 47 65 6e  |ils.RMLoadIt Gen|
000005e0  65 73 69 73 41 70 70 6c  69 63 20 32 2e 34 30 20  |esisApplic 2.40 |
000005f0  3c 47 65 6e 4c 69 62 24  44 69 72 3e 2e 6d 6f 64  |<GenLib$Dir>.mod|
00000600  75 6c 65 73 2e 47 53 5f  41 70 70 6c 69 63 0a 52  |ules.GS_Applic.R|
00000610  4d 4c 6f 61 64 49 74 20  47 53 5f 53 75 70 70 6f  |MLoadIt GS_Suppo|
00000620  72 74 20 20 20 20 31 2e  34 30 20 3c 47 65 6e 4c  |rt    1.40 <GenL|
00000630  69 62 24 44 69 72 3e 2e  6d 6f 64 75 6c 65 73 2e  |ib$Dir>.modules.|
00000640  47 53 5f 53 75 70 70 6f  72 74 0a 52 4d 4c 6f 61  |GS_Support.RMLoa|
00000650  64 49 74 20 50 69 63 43  6f 6e 76 65 72 74 20 20  |dIt PicConvert  |
00000660  20 20 31 2e 30 30 20 3c  47 65 6e 4c 69 62 24 44  |  1.00 <GenLib$D|
00000670  69 72 3e 2e 6d 6f 64 75  6c 65 73 2e 50 69 63 43  |ir>.modules.PicC|
00000680  6f 6e 76 65 72 74 0a 7c  52 4d 4c 6f 61 64 49 74  |onvert.|RMLoadIt|
00000690  20 47 65 6e 65 73 69 73  4d 75 73 69 63 20 20 32  | GenesisMusic  2|
000006a0  2e 32 32 20 3c 47 65 6e  4c 69 62 24 44 69 72 3e  |.22 <GenLib$Dir>|
000006b0  2e 6d 6f 64 75 6c 65 73  2e 47 53 5f 4d 75 73 69  |.modules.GS_Musi|
000006c0  63 0a 57 69 6d 70 53 6c  6f 74 20 2d 6d 69 6e 20  |c.WimpSlot -min |
000006d0  36 34 30 6b 20 2d 6d 61  78 20 36 34 30 6b 0a 57  |640k -max 640k.W|
000006e0  69 6d 70 53 6c 6f 74 20  2d 6d 69 6e 20 36 34 30  |impSlot -min 640|
000006f0  6b 20 2d 6d 61 78 20 36  34 30 6b 0a 52 55 4e 20  |k -max 640k.RUN |
00000700  3c 4f 62 65 79 24 44 69  72 3e 2e 21 52 75 6e 49  |<Obey$Dir>.!RunI|
00000710  6d 61 67 65 20 25 2a 30                           |mage %*0|
00000718