Home » Personal collection » Acorn ADFS disks » Archimedes » Fasttrax.ADF » !Fastrax/!Run

!Fastrax/!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 » Personal collection » Acorn ADFS disks » Archimedes » Fasttrax.ADF
Filename: !Fastrax/!Run
Read OK:
File size: 06AF bytes
Load address: FFFFEB45
Exec address: 484F5969
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
| run file for Fastrax application
|
*IconSprites <Obey$Dir>.!Sprites
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
if "<Fastrax$PrintFile>" = "" then Set Fastrax$PrintFile printer:
Set Fast$Scrap ""
Set Fastrax$OS ""
|
RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.75 Error You need Clib 3.75 or later
*Run <Obey$Dir>.GetVer
if "<Wimp$ScrapDir>" = "" Then Set Fast$Scrap <Obey$Dir>.Scrap
if Fast$Scrap = "" Then Set Fast$Scrap <Wimp$ScrapDir>.Fastrax
Set Fastrax$ScrapDir <Fast$Scrap>
CDir <Fastrax$ScrapDir>
|
RMEnsure Draw 1.01 Error You need Draw 1.01 or later
| 
RMEnsure FPEmulator 4.03 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 4.03 Error You need FPEmulator 4.03 or later
|
if Fastrax$OS = "2" Then RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
if Fastrax$OS = "2" Then RMEnsure ColourTrans 0.52 Error You need ColourTrans 0.52 or later
|
if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 RMLoad System:310.Modules.Colours
if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 RMLoad System:Modules.Colours
if Fastrax$OS = "3" Then RMEnsure ColourTrans 1.57 Error You need ColourTrans 1.57 or later
|
if Fastrax$OS = "3" Then RMEnsure DrawFile 1.30 RMLoad <Obey$Dir>.Modules.DrawFile
if Fastrax$OS = "3" Then RMEnsure DrawFile 1.30 Error You need DrawFile module 1.30 or later
|
if Fastrax$OS = "3" Then RMEnsure SerialDeviceDriver 0.22 RMLoad <Obey$Dir>.Modules.SerialDev
if Fastrax$OS = "3" Then RMEnsure SerialDeviceDriver 0.22 Error You need SerialDev module 0.22 or later
| 
*Set Fastrax$Dir <Obey$Dir>
| Claim a "slot" from the WIMP
 *WimpSlot -min 640k -max 800k
*Run <Fastrax$Dir>.!RunImage %*0 <Fastrax$ScrapDir>
00000000  7c 20 72 75 6e 20 66 69  6c 65 20 66 6f 72 20 46  || run file for F|
00000010  61 73 74 72 61 78 20 61  70 70 6c 69 63 61 74 69  |astrax applicati|
00000020  6f 6e 0a 7c 0a 2a 49 63  6f 6e 53 70 72 69 74 65  |on.|.*IconSprite|
00000030  73 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 53 70  |s <Obey$Dir>.!Sp|
00000040  72 69 74 65 73 0a 7c 0a  69 66 20 22 3c 53 79 73  |rites.|.if "<Sys|
00000050  74 65 6d 24 50 61 74 68  3e 22 20 3d 20 22 22 20  |tem$Path>" = "" |
00000060  74 68 65 6e 20 45 72 72  6f 72 20 30 20 53 79 73  |then Error 0 Sys|
00000070  74 65 6d 20 72 65 73 6f  75 72 63 65 73 20 63 61  |tem resources ca|
00000080  6e 6e 6f 74 20 62 65 20  66 6f 75 6e 64 0a 69 66  |nnot be found.if|
00000090  20 22 3c 46 61 73 74 72  61 78 24 50 72 69 6e 74  | "<Fastrax$Print|
000000a0  46 69 6c 65 3e 22 20 3d  20 22 22 20 74 68 65 6e  |File>" = "" then|
000000b0  20 53 65 74 20 46 61 73  74 72 61 78 24 50 72 69  | Set Fastrax$Pri|
000000c0  6e 74 46 69 6c 65 20 70  72 69 6e 74 65 72 3a 0a  |ntFile printer:.|
000000d0  53 65 74 20 46 61 73 74  24 53 63 72 61 70 20 22  |Set Fast$Scrap "|
000000e0  22 0a 53 65 74 20 46 61  73 74 72 61 78 24 4f 53  |".Set Fastrax$OS|
000000f0  20 22 22 0a 7c 0a 52 4d  45 6e 73 75 72 65 20 53  | "".|.RMEnsure S|
00000100  68 61 72 65 64 43 4c 69  62 72 61 72 79 20 33 2e  |haredCLibrary 3.|
00000110  37 35 20 52 4d 4c 6f 61  64 20 53 79 73 74 65 6d  |75 RMLoad System|
00000120  3a 4d 6f 64 75 6c 65 73  2e 43 6c 69 62 0a 52 4d  |:Modules.Clib.RM|
00000130  45 6e 73 75 72 65 20 53  68 61 72 65 64 43 4c 69  |Ensure SharedCLi|
00000140  62 72 61 72 79 20 33 2e  37 35 20 45 72 72 6f 72  |brary 3.75 Error|
00000150  20 59 6f 75 20 6e 65 65  64 20 43 6c 69 62 20 33  | You need Clib 3|
00000160  2e 37 35 20 6f 72 20 6c  61 74 65 72 0a 2a 52 75  |.75 or later.*Ru|
00000170  6e 20 3c 4f 62 65 79 24  44 69 72 3e 2e 47 65 74  |n <Obey$Dir>.Get|
00000180  56 65 72 0a 69 66 20 22  3c 57 69 6d 70 24 53 63  |Ver.if "<Wimp$Sc|
00000190  72 61 70 44 69 72 3e 22  20 3d 20 22 22 20 54 68  |rapDir>" = "" Th|
000001a0  65 6e 20 53 65 74 20 46  61 73 74 24 53 63 72 61  |en Set Fast$Scra|
000001b0  70 20 3c 4f 62 65 79 24  44 69 72 3e 2e 53 63 72  |p <Obey$Dir>.Scr|
000001c0  61 70 0a 69 66 20 46 61  73 74 24 53 63 72 61 70  |ap.if Fast$Scrap|
000001d0  20 3d 20 22 22 20 54 68  65 6e 20 53 65 74 20 46  | = "" Then Set F|
000001e0  61 73 74 24 53 63 72 61  70 20 3c 57 69 6d 70 24  |ast$Scrap <Wimp$|
000001f0  53 63 72 61 70 44 69 72  3e 2e 46 61 73 74 72 61  |ScrapDir>.Fastra|
00000200  78 0a 53 65 74 20 46 61  73 74 72 61 78 24 53 63  |x.Set Fastrax$Sc|
00000210  72 61 70 44 69 72 20 3c  46 61 73 74 24 53 63 72  |rapDir <Fast$Scr|
00000220  61 70 3e 0a 43 44 69 72  20 3c 46 61 73 74 72 61  |ap>.CDir <Fastra|
00000230  78 24 53 63 72 61 70 44  69 72 3e 0a 7c 0a 52 4d  |x$ScrapDir>.|.RM|
00000240  45 6e 73 75 72 65 20 44  72 61 77 20 31 2e 30 31  |Ensure Draw 1.01|
00000250  20 45 72 72 6f 72 20 59  6f 75 20 6e 65 65 64 20  | Error You need |
00000260  44 72 61 77 20 31 2e 30  31 20 6f 72 20 6c 61 74  |Draw 1.01 or lat|
00000270  65 72 0a 7c 20 0a 52 4d  45 6e 73 75 72 65 20 46  |er.| .RMEnsure F|
00000280  50 45 6d 75 6c 61 74 6f  72 20 34 2e 30 33 20 52  |PEmulator 4.03 R|
00000290  4d 4c 6f 61 64 20 53 79  73 74 65 6d 3a 4d 6f 64  |MLoad System:Mod|
000002a0  75 6c 65 73 2e 46 50 45  6d 75 6c 61 74 6f 72 0a  |ules.FPEmulator.|
000002b0  52 4d 45 6e 73 75 72 65  20 46 50 45 6d 75 6c 61  |RMEnsure FPEmula|
000002c0  74 6f 72 20 34 2e 30 33  20 45 72 72 6f 72 20 59  |tor 4.03 Error Y|
000002d0  6f 75 20 6e 65 65 64 20  46 50 45 6d 75 6c 61 74  |ou need FPEmulat|
000002e0  6f 72 20 34 2e 30 33 20  6f 72 20 6c 61 74 65 72  |or 4.03 or later|
000002f0  0a 7c 0a 69 66 20 46 61  73 74 72 61 78 24 4f 53  |.|.if Fastrax$OS|
00000300  20 3d 20 22 32 22 20 54  68 65 6e 20 52 4d 45 6e  | = "2" Then RMEn|
00000310  73 75 72 65 20 43 6f 6c  6f 75 72 54 72 61 6e 73  |sure ColourTrans|
00000320  20 30 2e 35 32 20 52 4d  4c 6f 61 64 20 53 79 73  | 0.52 RMLoad Sys|
00000330  74 65 6d 3a 4d 6f 64 75  6c 65 73 2e 43 6f 6c 6f  |tem:Modules.Colo|
00000340  75 72 73 0a 69 66 20 46  61 73 74 72 61 78 24 4f  |urs.if Fastrax$O|
00000350  53 20 3d 20 22 32 22 20  54 68 65 6e 20 52 4d 45  |S = "2" Then RME|
00000360  6e 73 75 72 65 20 43 6f  6c 6f 75 72 54 72 61 6e  |nsure ColourTran|
00000370  73 20 30 2e 35 32 20 45  72 72 6f 72 20 59 6f 75  |s 0.52 Error You|
00000380  20 6e 65 65 64 20 43 6f  6c 6f 75 72 54 72 61 6e  | need ColourTran|
00000390  73 20 30 2e 35 32 20 6f  72 20 6c 61 74 65 72 0a  |s 0.52 or later.|
000003a0  7c 0a 69 66 20 46 61 73  74 72 61 78 24 4f 53 20  ||.if Fastrax$OS |
000003b0  3d 20 22 33 22 20 54 68  65 6e 20 52 4d 45 6e 73  |= "3" Then RMEns|
000003c0  75 72 65 20 43 6f 6c 6f  75 72 54 72 61 6e 73 20  |ure ColourTrans |
000003d0  31 2e 35 37 20 52 4d 4c  6f 61 64 20 53 79 73 74  |1.57 RMLoad Syst|
000003e0  65 6d 3a 33 31 30 2e 4d  6f 64 75 6c 65 73 2e 43  |em:310.Modules.C|
000003f0  6f 6c 6f 75 72 73 0a 69  66 20 46 61 73 74 72 61  |olours.if Fastra|
00000400  78 24 4f 53 20 3d 20 22  33 22 20 54 68 65 6e 20  |x$OS = "3" Then |
00000410  52 4d 45 6e 73 75 72 65  20 43 6f 6c 6f 75 72 54  |RMEnsure ColourT|
00000420  72 61 6e 73 20 31 2e 35  37 20 52 4d 4c 6f 61 64  |rans 1.57 RMLoad|
00000430  20 53 79 73 74 65 6d 3a  4d 6f 64 75 6c 65 73 2e  | System:Modules.|
00000440  43 6f 6c 6f 75 72 73 0a  69 66 20 46 61 73 74 72  |Colours.if Fastr|
00000450  61 78 24 4f 53 20 3d 20  22 33 22 20 54 68 65 6e  |ax$OS = "3" Then|
00000460  20 52 4d 45 6e 73 75 72  65 20 43 6f 6c 6f 75 72  | RMEnsure Colour|
00000470  54 72 61 6e 73 20 31 2e  35 37 20 45 72 72 6f 72  |Trans 1.57 Error|
00000480  20 59 6f 75 20 6e 65 65  64 20 43 6f 6c 6f 75 72  | You need Colour|
00000490  54 72 61 6e 73 20 31 2e  35 37 20 6f 72 20 6c 61  |Trans 1.57 or la|
000004a0  74 65 72 0a 7c 0a 69 66  20 46 61 73 74 72 61 78  |ter.|.if Fastrax|
000004b0  24 4f 53 20 3d 20 22 33  22 20 54 68 65 6e 20 52  |$OS = "3" Then R|
000004c0  4d 45 6e 73 75 72 65 20  44 72 61 77 46 69 6c 65  |MEnsure DrawFile|
000004d0  20 31 2e 33 30 20 52 4d  4c 6f 61 64 20 3c 4f 62  | 1.30 RMLoad <Ob|
000004e0  65 79 24 44 69 72 3e 2e  4d 6f 64 75 6c 65 73 2e  |ey$Dir>.Modules.|
000004f0  44 72 61 77 46 69 6c 65  0a 69 66 20 46 61 73 74  |DrawFile.if Fast|
00000500  72 61 78 24 4f 53 20 3d  20 22 33 22 20 54 68 65  |rax$OS = "3" The|
00000510  6e 20 52 4d 45 6e 73 75  72 65 20 44 72 61 77 46  |n RMEnsure DrawF|
00000520  69 6c 65 20 31 2e 33 30  20 45 72 72 6f 72 20 59  |ile 1.30 Error Y|
00000530  6f 75 20 6e 65 65 64 20  44 72 61 77 46 69 6c 65  |ou need DrawFile|
00000540  20 6d 6f 64 75 6c 65 20  31 2e 33 30 20 6f 72 20  | module 1.30 or |
00000550  6c 61 74 65 72 0a 7c 0a  69 66 20 46 61 73 74 72  |later.|.if Fastr|
00000560  61 78 24 4f 53 20 3d 20  22 33 22 20 54 68 65 6e  |ax$OS = "3" Then|
00000570  20 52 4d 45 6e 73 75 72  65 20 53 65 72 69 61 6c  | RMEnsure Serial|
00000580  44 65 76 69 63 65 44 72  69 76 65 72 20 30 2e 32  |DeviceDriver 0.2|
00000590  32 20 52 4d 4c 6f 61 64  20 3c 4f 62 65 79 24 44  |2 RMLoad <Obey$D|
000005a0  69 72 3e 2e 4d 6f 64 75  6c 65 73 2e 53 65 72 69  |ir>.Modules.Seri|
000005b0  61 6c 44 65 76 0a 69 66  20 46 61 73 74 72 61 78  |alDev.if Fastrax|
000005c0  24 4f 53 20 3d 20 22 33  22 20 54 68 65 6e 20 52  |$OS = "3" Then R|
000005d0  4d 45 6e 73 75 72 65 20  53 65 72 69 61 6c 44 65  |MEnsure SerialDe|
000005e0  76 69 63 65 44 72 69 76  65 72 20 30 2e 32 32 20  |viceDriver 0.22 |
000005f0  45 72 72 6f 72 20 59 6f  75 20 6e 65 65 64 20 53  |Error You need S|
00000600  65 72 69 61 6c 44 65 76  20 6d 6f 64 75 6c 65 20  |erialDev module |
00000610  30 2e 32 32 20 6f 72 20  6c 61 74 65 72 0a 7c 20  |0.22 or later.| |
00000620  0a 2a 53 65 74 20 46 61  73 74 72 61 78 24 44 69  |.*Set Fastrax$Di|
00000630  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 7c 20 43  |r <Obey$Dir>.| C|
00000640  6c 61 69 6d 20 61 20 22  73 6c 6f 74 22 20 66 72  |laim a "slot" fr|
00000650  6f 6d 20 74 68 65 20 57  49 4d 50 0a 20 2a 57 69  |om the WIMP. *Wi|
00000660  6d 70 53 6c 6f 74 20 2d  6d 69 6e 20 36 34 30 6b  |mpSlot -min 640k|
00000670  20 2d 6d 61 78 20 38 30  30 6b 0a 2a 52 75 6e 20  | -max 800k.*Run |
00000680  3c 46 61 73 74 72 61 78  24 44 69 72 3e 2e 21 52  |<Fastrax$Dir>.!R|
00000690  75 6e 49 6d 61 67 65 20  25 2a 30 20 3c 46 61 73  |unImage %*0 <Fas|
000006a0  74 72 61 78 24 53 63 72  61 70 44 69 72 3e 0a     |trax$ScrapDir>.|
000006af
!Fastrax/!Run.m0
!Fastrax/!Run.m1
!Fastrax/!Run.m2
!Fastrax/!Run.m4
!Fastrax/!Run.m5