Home » Archimedes archive » Micro User » MU 1991-06.adf » PD-Stuff » Utilities/!ModeSelct/!Run

Utilities/!ModeSelct/!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 » Micro User » MU 1991-06.adf » PD-Stuff
Filename: Utilities/!ModeSelct/!Run
Read OK:
File size: 014B bytes
Load address: 0000
Exec address: 0000
File contents
| !Run for ModeSelct
| (c) Joris R�ling 1990

 Set ModeSelect$Dir <Obey$Dir>
 IconSprites <ModeSelect$Dir>.!Sprites
 Run <ModeSelect$Dir>.CheckDkTp

 RMEnsure ModeSelect 1.00 RMLoad <ModeSelect$Dir>.ModeSelect

| I hate the next line, as it will leave this Obey file 'un-closed'
 If Desktop$activeTasks > 1 Then Desktop_ModeSelect
00000000  7c 20 21 52 75 6e 20 66  6f 72 20 4d 6f 64 65 53  || !Run for ModeS|
00000010  65 6c 63 74 0a 7c 20 28  63 29 20 4a 6f 72 69 73  |elct.| (c) Joris|
00000020  20 52 d6 6c 69 6e 67 20  31 39 39 30 0a 0a 20 53  | R.ling 1990.. S|
00000030  65 74 20 4d 6f 64 65 53  65 6c 65 63 74 24 44 69  |et ModeSelect$Di|
00000040  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 20 49 63  |r <Obey$Dir>. Ic|
00000050  6f 6e 53 70 72 69 74 65  73 20 3c 4d 6f 64 65 53  |onSprites <ModeS|
00000060  65 6c 65 63 74 24 44 69  72 3e 2e 21 53 70 72 69  |elect$Dir>.!Spri|
00000070  74 65 73 0a 20 52 75 6e  20 3c 4d 6f 64 65 53 65  |tes. Run <ModeSe|
00000080  6c 65 63 74 24 44 69 72  3e 2e 43 68 65 63 6b 44  |lect$Dir>.CheckD|
00000090  6b 54 70 0a 0a 20 52 4d  45 6e 73 75 72 65 20 4d  |kTp.. RMEnsure M|
000000a0  6f 64 65 53 65 6c 65 63  74 20 31 2e 30 30 20 52  |odeSelect 1.00 R|
000000b0  4d 4c 6f 61 64 20 3c 4d  6f 64 65 53 65 6c 65 63  |MLoad <ModeSelec|
000000c0  74 24 44 69 72 3e 2e 4d  6f 64 65 53 65 6c 65 63  |t$Dir>.ModeSelec|
000000d0  74 0a 0a 7c 20 49 20 68  61 74 65 20 74 68 65 20  |t..| I hate the |
000000e0  6e 65 78 74 20 6c 69 6e  65 2c 20 61 73 20 69 74  |next line, as it|
000000f0  20 77 69 6c 6c 20 6c 65  61 76 65 20 74 68 69 73  | will leave this|
00000100  20 4f 62 65 79 20 66 69  6c 65 20 27 75 6e 2d 63  | Obey file 'un-c|
00000110  6c 6f 73 65 64 27 0a 20  49 66 20 44 65 73 6b 74  |losed'. If Deskt|
00000120  6f 70 24 61 63 74 69 76  65 54 61 73 6b 73 20 3e  |op$activeTasks >|
00000130  20 31 20 54 68 65 6e 20  44 65 73 6b 74 6f 70 5f  | 1 Then Desktop_|
00000140  4d 6f 64 65 53 65 6c 65  63 74 0a                 |ModeSelect.|
0000014b