Home » Archimedes archive » Archimedes World » AW-1996-03-Disc 2.adf » !AcornAns_AcornAns » !Trans2d/!Run

!Trans2d/!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-1996-03-Disc 2.adf » !AcornAns_AcornAns
Filename: !Trans2d/!Run
Read OK:
File size: 01FF bytes
Load address: 0000
Exec address: 0000
File contents
|
If "<System$Path>" = "" THEN Error 0 System resources cannot be found
|
Set Trans2d$Dir <Obey$Dir>
WimpSlot -min 128k -max 128k
|
RMEnsure SharedClibrary 0 System:Modules.clib
RMEnsure SharedCLibrary 3.75 Error You need at least version 3.75 of the shared C library
|
RMEnsure FPEmulator 0 System:Modules.fpemulator
RMEnsure FPEmulator 2.80 Error You need at least version 2.80 of the Floating Point Emulator
|
IconSprites <Trans2d$Dir>.!Sprites
|
WimpSlot -min 128k -max 128k
Run <Trans2d$Dir>.!RunImage %*0
00000000  7c 0a 49 66 20 22 3c 53  79 73 74 65 6d 24 50 61  ||.If "<System$Pa|
00000010  74 68 3e 22 20 3d 20 22  22 20 54 48 45 4e 20 45  |th>" = "" THEN E|
00000020  72 72 6f 72 20 30 20 53  79 73 74 65 6d 20 72 65  |rror 0 System re|
00000030  73 6f 75 72 63 65 73 20  63 61 6e 6e 6f 74 20 62  |sources cannot b|
00000040  65 20 66 6f 75 6e 64 0a  7c 0a 53 65 74 20 54 72  |e found.|.Set Tr|
00000050  61 6e 73 32 64 24 44 69  72 20 3c 4f 62 65 79 24  |ans2d$Dir <Obey$|
00000060  44 69 72 3e 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |Dir>.WimpSlot -m|
00000070  69 6e 20 31 32 38 6b 20  2d 6d 61 78 20 31 32 38  |in 128k -max 128|
00000080  6b 0a 7c 0a 52 4d 45 6e  73 75 72 65 20 53 68 61  |k.|.RMEnsure Sha|
00000090  72 65 64 43 6c 69 62 72  61 72 79 20 30 20 53 79  |redClibrary 0 Sy|
000000a0  73 74 65 6d 3a 4d 6f 64  75 6c 65 73 2e 63 6c 69  |stem:Modules.cli|
000000b0  62 0a 52 4d 45 6e 73 75  72 65 20 53 68 61 72 65  |b.RMEnsure Share|
000000c0  64 43 4c 69 62 72 61 72  79 20 33 2e 37 35 20 45  |dCLibrary 3.75 E|
000000d0  72 72 6f 72 20 59 6f 75  20 6e 65 65 64 20 61 74  |rror You need at|
000000e0  20 6c 65 61 73 74 20 76  65 72 73 69 6f 6e 20 33  | least version 3|
000000f0  2e 37 35 20 6f 66 20 74  68 65 20 73 68 61 72 65  |.75 of the share|
00000100  64 20 43 20 6c 69 62 72  61 72 79 0a 7c 0a 52 4d  |d C library.|.RM|
00000110  45 6e 73 75 72 65 20 46  50 45 6d 75 6c 61 74 6f  |Ensure FPEmulato|
00000120  72 20 30 20 53 79 73 74  65 6d 3a 4d 6f 64 75 6c  |r 0 System:Modul|
00000130  65 73 2e 66 70 65 6d 75  6c 61 74 6f 72 0a 52 4d  |es.fpemulator.RM|
00000140  45 6e 73 75 72 65 20 46  50 45 6d 75 6c 61 74 6f  |Ensure FPEmulato|
00000150  72 20 32 2e 38 30 20 45  72 72 6f 72 20 59 6f 75  |r 2.80 Error You|
00000160  20 6e 65 65 64 20 61 74  20 6c 65 61 73 74 20 76  | need at least v|
00000170  65 72 73 69 6f 6e 20 32  2e 38 30 20 6f 66 20 74  |ersion 2.80 of t|
00000180  68 65 20 46 6c 6f 61 74  69 6e 67 20 50 6f 69 6e  |he Floating Poin|
00000190  74 20 45 6d 75 6c 61 74  6f 72 0a 7c 0a 49 63 6f  |t Emulator.|.Ico|
000001a0  6e 53 70 72 69 74 65 73  20 3c 54 72 61 6e 73 32  |nSprites <Trans2|
000001b0  64 24 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |d$Dir>.!Sprites.|
000001c0  7c 0a 57 69 6d 70 53 6c  6f 74 20 2d 6d 69 6e 20  ||.WimpSlot -min |
000001d0  31 32 38 6b 20 2d 6d 61  78 20 31 32 38 6b 0a 52  |128k -max 128k.R|
000001e0  75 6e 20 3c 54 72 61 6e  73 32 64 24 44 69 72 3e  |un <Trans2d$Dir>|
000001f0  2e 21 52 75 6e 49 6d 61  67 65 20 25 2a 30 0a     |.!RunImage %*0.|
000001ff