Home » Archimedes archive » Acorn User » AU 1995-03.adf » !WaveDemo_WaveLength » !WaveLgth1/Code/DiscSwap

!WaveLgth1/Code/DiscSwap

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 1995-03.adf » !WaveDemo_WaveLength
Filename: !WaveLgth1/Code/DiscSwap
Read OK:
File size: 049C bytes
Load address: 0000
Exec address: 0000
File contents
l��(4DiscSwapDisc Swap Utilities	0.01 (18 Sep 1994) Gareth S. Long2@-�����B������@-���$�� �� ����'1��@-���0�����0�0���@����OffOn@-��P���� ��0��@��5�0O0O$����s"'IRWTFLAK@-�1�#
*�jP��`��@��0��3�3��3�0���O � ��3�0���O ������@����Set DiscSwap$State OFF
DiscSwap$State������0�������� ��� �O2�� ��� �N2�0��F2��0����DiscSwap�,�rSyntax: *DiscSwap [<ON|OFF>]User Disc Swap control is currently on.

off.

*DiscSwap switches the user Disc Swap system on or off.

When user Disc Swapping is enabled, requests to access a disc not known to the system, or in an ADFS drive, are reported to the application as an error instead of being processed by the Window Manager.

*DiscSwap with no parameter reflects the current state.

Syntax: *DiscSwap [<ON|OFF>]DiscSwap, written by Gareth S. Long in September 1994 for Berty... the man formerly known as Tom Cooper.
Cheer up Berty! And no you shouldn't be in Middlesborough 'where you belong'...
00000000  00 00 00 00 6c 00 00 00  84 00 00 00 9c 00 00 00  |....l...........|
00000010  28 00 00 00 34 00 00 00  08 02 00 00 00 00 00 00  |(...4...........|
00000020  00 00 00 00 00 00 00 00  44 69 73 63 53 77 61 70  |........DiscSwap|
00000030  00 00 00 00 44 69 73 63  20 53 77 61 70 20 55 74  |....Disc Swap Ut|
00000040  69 6c 69 74 69 65 73 09  30 2e 30 31 20 28 31 38  |ilities.0.01 (18|
00000050  20 53 65 70 20 31 39 39  34 29 20 47 61 72 65 74  | Sep 1994) Garet|
00000060  68 20 53 2e 20 4c 6f 6e  67 32 00 00 07 40 2d e9  |h S. Long2...@-.|
00000070  00 00 a0 e3 00 00 8c e5  42 0f 8f e2 05 00 02 ef  |........B.......|
00000080  07 80 fd e8 07 40 2d e9  1d 00 a0 e3 24 10 8f e2  |.....@-.....$...|
00000090  0c 20 a0 e1 20 00 02 ef  07 80 fd e8 27 00 31 e3  |. .. .......'.1.|
000000a0  0e f0 b0 11 07 40 2d e9  00 00 9c e5 00 00 30 e3  |.....@-.......0.|
000000b0  ee ff ff 1a 07 80 fd e8  01 00 30 e3 02 00 30 13  |..........0...0.|
000000c0  0e f0 b0 11 00 00 a0 e3  00 40 bd e8 01 f2 9e e3  |.........@......|
000000d0  4f 66 66 00 4f 6e 00 00  00 40 2d e9 0c 00 00 eb  |Off.On...@-.....|
000000e0  00 50 9c e5 b4 00 8f e2  00 20 a0 e3 00 30 a0 e3  |.P....... ...0..|
000000f0  00 40 a0 e3 00 00 35 e3  30 10 4f 02 30 10 4f 12  |.@....5.0.O.0.O.|
00000100  24 00 02 ef 00 80 fd e8  87 73 22 27 49 52 57 54  |$........s"'IRWT|
00000110  46 4c 41 4b 00 40 2d e9  00 00 31 e3 23 00 00 0a  |FLAK.@-...1.#...|
00000120  2a 00 00 eb 14 00 00 6a  00 50 a0 e1 01 60 a0 e1  |*......j.P...`..|
00000130  00 40 9c e5 00 30 8c e5  00 00 33 e3 04 00 33 01  |.@...0....3...3.|
00000140  00 80 fd 08 00 00 33 e3  00 30 8c 05 1d 00 a0 03  |......3..0......|
00000150  a0 10 4f 02 0c 20 a0 01  20 00 00 0f 00 80 fd 08  |..O.. .. .......|
00000160  04 00 33 e1 00 30 8c 15  1d 00 a0 13 bc 10 4f 12  |..3..0........O.|
00000170  0c 20 a0 11 1f 00 00 1f  00 80 fd e8 a4 00 8f e2  |. ..............|
00000180  00 40 bd e8 01 f2 9e e3  53 65 74 20 44 69 73 63  |.@......Set Disc|
00000190  53 77 61 70 24 53 74 61  74 65 20 4f 46 46 0d 00  |Swap$State OFF..|
000001a0  44 69 73 63 53 77 61 70  24 53 74 61 74 65 00 00  |DiscSwap$State..|
000001b0  94 00 8f e2 02 00 00 ef  00 00 9c e5 00 00 30 e3  |..............0.|
000001c0  b4 00 8f 02 a8 00 8f 12  02 00 00 ef 00 80 fd e8  |................|
000001d0  01 20 d0 e4 df 20 02 e2  4f 00 32 e3 01 f2 9e 13  |. ... ..O.2.....|
000001e0  01 20 d0 e4 df 20 02 e2  4e 00 32 e3 01 30 a0 03  |. ... ..N.2..0..|
000001f0  0e f0 b0 01 46 00 32 e3  01 00 80 02 00 30 a0 03  |....F.2......0..|
00000200  0e f0 b0 01 01 f2 9e e3  44 69 73 63 53 77 61 70  |........DiscSwap|
00000210  00 00 00 00 d8 00 00 00  00 00 01 00 2c 02 00 00  |............,...|
00000220  84 02 00 00 00 00 00 00  01 72 02 00 53 79 6e 74  |.........r..Synt|
00000230  61 78 3a 20 2a 44 69 73  63 53 77 61 70 20 5b 3c  |ax: *DiscSwap [<|
00000240  4f 4e 7c 4f 46 46 3e 5d  00 00 00 00 55 73 65 72  |ON|OFF>]....User|
00000250  20 44 69 73 63 20 53 77  61 70 20 63 6f 6e 74 72  | Disc Swap contr|
00000260  6f 6c 20 69 73 20 63 75  72 72 65 6e 74 6c 79 20  |ol is currently |
00000270  00 00 00 00 6f 6e 2e 0a  0d 00 00 00 6f 66 66 2e  |....on......off.|
00000280  0a 0d 00 00 2a 44 69 73  63 53 77 61 70 20 73 77  |....*DiscSwap sw|
00000290  69 74 63 68 65 73 20 74  68 65 20 75 73 65 72 20  |itches the user |
000002a0  44 69 73 63 20 53 77 61  70 20 73 79 73 74 65 6d  |Disc Swap system|
000002b0  20 6f 6e 20 6f 72 20 6f  66 66 2e 0a 0d 57 68 65  | on or off...Whe|
000002c0  6e 20 75 73 65 72 20 44  69 73 63 20 53 77 61 70  |n user Disc Swap|
000002d0  70 69 6e 67 20 69 73 20  65 6e 61 62 6c 65 64 2c  |ping is enabled,|
000002e0  20 72 65 71 75 65 73 74  73 20 74 6f 20 61 63 63  | requests to acc|
000002f0  65 73 73 20 61 20 64 69  73 63 20 6e 6f 74 20 6b  |ess a disc not k|
00000300  6e 6f 77 6e 20 74 6f 20  74 68 65 20 73 79 73 74  |nown to the syst|
00000310  65 6d 2c 20 6f 72 20 69  6e 20 61 6e 20 41 44 46  |em, or in an ADF|
00000320  53 20 64 72 69 76 65 2c  20 61 72 65 20 72 65 70  |S drive, are rep|
00000330  6f 72 74 65 64 20 74 6f  20 74 68 65 20 61 70 70  |orted to the app|
00000340  6c 69 63 61 74 69 6f 6e  20 61 73 20 61 6e 20 65  |lication as an e|
00000350  72 72 6f 72 20 69 6e 73  74 65 61 64 20 6f 66 20  |rror instead of |
00000360  62 65 69 6e 67 20 70 72  6f 63 65 73 73 65 64 20  |being processed |
00000370  62 79 20 74 68 65 20 57  69 6e 64 6f 77 20 4d 61  |by the Window Ma|
00000380  6e 61 67 65 72 2e 0a 0d  2a 44 69 73 63 53 77 61  |nager...*DiscSwa|
00000390  70 20 77 69 74 68 20 6e  6f 20 70 61 72 61 6d 65  |p with no parame|
000003a0  74 65 72 20 72 65 66 6c  65 63 74 73 20 74 68 65  |ter reflects the|
000003b0  20 63 75 72 72 65 6e 74  20 73 74 61 74 65 2e 0a  | current state..|
000003c0  0d 53 79 6e 74 61 78 3a  20 2a 44 69 73 63 53 77  |.Syntax: *DiscSw|
000003d0  61 70 20 5b 3c 4f 4e 7c  4f 46 46 3e 5d 00 00 00  |ap [<ON|OFF>]...|
000003e0  44 69 73 63 53 77 61 70  2c 20 77 72 69 74 74 65  |DiscSwap, writte|
000003f0  6e 20 62 79 20 47 61 72  65 74 68 20 53 2e 20 4c  |n by Gareth S. L|
00000400  6f 6e 67 20 69 6e 20 53  65 70 74 65 6d 62 65 72  |ong in September|
00000410  20 31 39 39 34 20 66 6f  72 20 42 65 72 74 79 2e  | 1994 for Berty.|
00000420  2e 2e 20 74 68 65 20 6d  61 6e 20 66 6f 72 6d 65  |.. the man forme|
00000430  72 6c 79 20 6b 6e 6f 77  6e 20 61 73 20 54 6f 6d  |rly known as Tom|
00000440  20 43 6f 6f 70 65 72 2e  0d 00 00 00 43 68 65 65  | Cooper.....Chee|
00000450  72 20 75 70 20 42 65 72  74 79 21 20 41 6e 64 20  |r up Berty! And |
00000460  6e 6f 20 79 6f 75 20 73  68 6f 75 6c 64 6e 27 74  |no you shouldn't|
00000470  20 62 65 20 69 6e 20 4d  69 64 64 6c 65 73 62 6f  | be in Middlesbo|
00000480  72 6f 75 67 68 20 27 77  68 65 72 65 20 79 6f 75  |rough 'where you|
00000490  20 62 65 6c 6f 6e 67 27  2e 2e 2e 00              | belong'....|
0000049c