Home » Archimedes archive » Acorn User » AU 1997-03 A.adf » !TwinWorld/!Run

!TwinWorld/!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 1997-03 A.adf
Filename: !TwinWorld/!Run
Read OK:
File size: 03CE bytes
Load address: FFFFEB47
Exec address: 2907F0A4
File contents
| Twin World, version 1.50 (7 November 1996)
| Program by James Byrne (jbyrne@gol.com)

Set TwinWorld$Dir <Obey$Dir>
Set TwinWorld$Ver 2
RMEnsure UtilityModule 3.50 Set TwinWorld$Ver 1

|Uncomment the line below to set Twin World's screen mode. This is not a full
|mode string, only the X, Y and F parameters are accepted. By default the
|program picks the best available mode. [Risc PC only]
|Set TwinWorld$Mode X320 Y400 F50

|Uncomment the line below to set Twin World's timing method. By default
|the program picks the most suitable setting. [Risc PC only]
| 0 - Update every frame.
| 1 - Update every other frame.
| 2 - Update every 1/50s.
|Set TwinWorld$Timing 0

If TwinWorld$Ver=1 Then WimpSlot 656K 656K
If TwinWorld$Ver=1 Then WimpSlot 0 0
If TwinWorld$Ver=1 Then Echo <22><9><23><1><0><0><0><0><0><0><0><0>
If TwinWorld$Ver=1 Then WimpSlot 656K 656K Else WimpSlot 688K 688K
If TwinWorld$Ver=1 Then Run <TwinWorld$Dir>.!RunImageA Else Run <TwinWorld$Dir>.!RunImage
00000000  7c 20 54 77 69 6e 20 57  6f 72 6c 64 2c 20 76 65  || Twin World, ve|
00000010  72 73 69 6f 6e 20 31 2e  35 30 20 28 37 20 4e 6f  |rsion 1.50 (7 No|
00000020  76 65 6d 62 65 72 20 31  39 39 36 29 0a 7c 20 50  |vember 1996).| P|
00000030  72 6f 67 72 61 6d 20 62  79 20 4a 61 6d 65 73 20  |rogram by James |
00000040  42 79 72 6e 65 20 28 6a  62 79 72 6e 65 40 67 6f  |Byrne (jbyrne@go|
00000050  6c 2e 63 6f 6d 29 0a 0a  53 65 74 20 54 77 69 6e  |l.com)..Set Twin|
00000060  57 6f 72 6c 64 24 44 69  72 20 3c 4f 62 65 79 24  |World$Dir <Obey$|
00000070  44 69 72 3e 0a 53 65 74  20 54 77 69 6e 57 6f 72  |Dir>.Set TwinWor|
00000080  6c 64 24 56 65 72 20 32  0a 52 4d 45 6e 73 75 72  |ld$Ver 2.RMEnsur|
00000090  65 20 55 74 69 6c 69 74  79 4d 6f 64 75 6c 65 20  |e UtilityModule |
000000a0  33 2e 35 30 20 53 65 74  20 54 77 69 6e 57 6f 72  |3.50 Set TwinWor|
000000b0  6c 64 24 56 65 72 20 31  0a 0a 7c 55 6e 63 6f 6d  |ld$Ver 1..|Uncom|
000000c0  6d 65 6e 74 20 74 68 65  20 6c 69 6e 65 20 62 65  |ment the line be|
000000d0  6c 6f 77 20 74 6f 20 73  65 74 20 54 77 69 6e 20  |low to set Twin |
000000e0  57 6f 72 6c 64 27 73 20  73 63 72 65 65 6e 20 6d  |World's screen m|
000000f0  6f 64 65 2e 20 54 68 69  73 20 69 73 20 6e 6f 74  |ode. This is not|
00000100  20 61 20 66 75 6c 6c 0a  7c 6d 6f 64 65 20 73 74  | a full.|mode st|
00000110  72 69 6e 67 2c 20 6f 6e  6c 79 20 74 68 65 20 58  |ring, only the X|
00000120  2c 20 59 20 61 6e 64 20  46 20 70 61 72 61 6d 65  |, Y and F parame|
00000130  74 65 72 73 20 61 72 65  20 61 63 63 65 70 74 65  |ters are accepte|
00000140  64 2e 20 42 79 20 64 65  66 61 75 6c 74 20 74 68  |d. By default th|
00000150  65 0a 7c 70 72 6f 67 72  61 6d 20 70 69 63 6b 73  |e.|program picks|
00000160  20 74 68 65 20 62 65 73  74 20 61 76 61 69 6c 61  | the best availa|
00000170  62 6c 65 20 6d 6f 64 65  2e 20 5b 52 69 73 63 20  |ble mode. [Risc |
00000180  50 43 20 6f 6e 6c 79 5d  0a 7c 53 65 74 20 54 77  |PC only].|Set Tw|
00000190  69 6e 57 6f 72 6c 64 24  4d 6f 64 65 20 58 33 32  |inWorld$Mode X32|
000001a0  30 20 59 34 30 30 20 46  35 30 0a 0a 7c 55 6e 63  |0 Y400 F50..|Unc|
000001b0  6f 6d 6d 65 6e 74 20 74  68 65 20 6c 69 6e 65 20  |omment the line |
000001c0  62 65 6c 6f 77 20 74 6f  20 73 65 74 20 54 77 69  |below to set Twi|
000001d0  6e 20 57 6f 72 6c 64 27  73 20 74 69 6d 69 6e 67  |n World's timing|
000001e0  20 6d 65 74 68 6f 64 2e  20 42 79 20 64 65 66 61  | method. By defa|
000001f0  75 6c 74 0a 7c 74 68 65  20 70 72 6f 67 72 61 6d  |ult.|the program|
00000200  20 70 69 63 6b 73 20 74  68 65 20 6d 6f 73 74 20  | picks the most |
00000210  73 75 69 74 61 62 6c 65  20 73 65 74 74 69 6e 67  |suitable setting|
00000220  2e 20 5b 52 69 73 63 20  50 43 20 6f 6e 6c 79 5d  |. [Risc PC only]|
00000230  0a 7c 20 30 20 2d 20 55  70 64 61 74 65 20 65 76  |.| 0 - Update ev|
00000240  65 72 79 20 66 72 61 6d  65 2e 0a 7c 20 31 20 2d  |ery frame..| 1 -|
00000250  20 55 70 64 61 74 65 20  65 76 65 72 79 20 6f 74  | Update every ot|
00000260  68 65 72 20 66 72 61 6d  65 2e 0a 7c 20 32 20 2d  |her frame..| 2 -|
00000270  20 55 70 64 61 74 65 20  65 76 65 72 79 20 31 2f  | Update every 1/|
00000280  35 30 73 2e 0a 7c 53 65  74 20 54 77 69 6e 57 6f  |50s..|Set TwinWo|
00000290  72 6c 64 24 54 69 6d 69  6e 67 20 30 0a 0a 49 66  |rld$Timing 0..If|
000002a0  20 54 77 69 6e 57 6f 72  6c 64 24 56 65 72 3d 31  | TwinWorld$Ver=1|
000002b0  20 54 68 65 6e 20 57 69  6d 70 53 6c 6f 74 20 36  | Then WimpSlot 6|
000002c0  35 36 4b 20 36 35 36 4b  0a 49 66 20 54 77 69 6e  |56K 656K.If Twin|
000002d0  57 6f 72 6c 64 24 56 65  72 3d 31 20 54 68 65 6e  |World$Ver=1 Then|
000002e0  20 57 69 6d 70 53 6c 6f  74 20 30 20 30 0a 49 66  | WimpSlot 0 0.If|
000002f0  20 54 77 69 6e 57 6f 72  6c 64 24 56 65 72 3d 31  | TwinWorld$Ver=1|
00000300  20 54 68 65 6e 20 45 63  68 6f 20 3c 32 32 3e 3c  | Then Echo <22><|
00000310  39 3e 3c 32 33 3e 3c 31  3e 3c 30 3e 3c 30 3e 3c  |9><23><1><0><0><|
00000320  30 3e 3c 30 3e 3c 30 3e  3c 30 3e 3c 30 3e 3c 30  |0><0><0><0><0><0|
00000330  3e 0a 49 66 20 54 77 69  6e 57 6f 72 6c 64 24 56  |>.If TwinWorld$V|
00000340  65 72 3d 31 20 54 68 65  6e 20 57 69 6d 70 53 6c  |er=1 Then WimpSl|
00000350  6f 74 20 36 35 36 4b 20  36 35 36 4b 20 45 6c 73  |ot 656K 656K Els|
00000360  65 20 57 69 6d 70 53 6c  6f 74 20 36 38 38 4b 20  |e WimpSlot 688K |
00000370  36 38 38 4b 0a 49 66 20  54 77 69 6e 57 6f 72 6c  |688K.If TwinWorl|
00000380  64 24 56 65 72 3d 31 20  54 68 65 6e 20 52 75 6e  |d$Ver=1 Then Run|
00000390  20 3c 54 77 69 6e 57 6f  72 6c 64 24 44 69 72 3e  | <TwinWorld$Dir>|
000003a0  2e 21 52 75 6e 49 6d 61  67 65 41 20 45 6c 73 65  |.!RunImageA Else|
000003b0  20 52 75 6e 20 3c 54 77  69 6e 57 6f 72 6c 64 24  | Run <TwinWorld$|
000003c0  44 69 72 3e 2e 21 52 75  6e 49 6d 61 67 65        |Dir>.!RunImage|
000003ce