Home » Archimedes archive » Archimedes World » AW-1994-04-Disc1.adf » Disk1Apr94 » !AWApr94/Goodies/Hedghog/!Cold_Run/!Run

!AWApr94/Goodies/Hedghog/!Cold_Run/!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-1994-04-Disc1.adf » Disk1Apr94
Filename: !AWApr94/Goodies/Hedghog/!Cold_Run/!Run
Read OK:
File size: 0357 bytes
Load address: 0000
Exec address: 0000
File contents
| Run Cold Utility
| Programming By Chris Wymark
| An Aard'vark Software Production
| � 1994 Archimedes World
|
| This File Will Claim All Memory Possiable For Games Or Applications Which
| Need It, This Is Not Very Satisfactory And Should Be Avoided If At All
| Possiable. It Was Written For Users Of 1 Meg Machines.
|
Set Error 0
Set No_Go 1
Run <Obey$Dir>.Cold_Check
If No_Go = 1 Then Run <Obey$Dir>.Done
RmEnsure MemAlloc RmLoad <Obey$Dir>.MemAlloc
FontSize 16 *Error 0 "Sorry, I Can Not Clear The Font Cache!"
RMAFree 0 *Error 0 "Sorry, I Can Not Claim Enough RMA Memory!"
RAMFSSize 0 *Set Error 1
If Error = 1 Then Wipe RAM::RamDisc0.$.* F R ~V ~C 
If Error = 1 Then RAMFSSize 0
If Error = 1 Then *Set Error 0
SpriteSize 0 *Set Error 1
If Error = 1 Then Snew
If Error =1 Then SpriteSize 0
RmKill MemAlloc
RmClear
Fx 15
Quit
Close
UnSet Error
Desktop
00000000  7c 20 52 75 6e 20 43 6f  6c 64 20 55 74 69 6c 69  || Run Cold Utili|
00000010  74 79 0a 7c 20 50 72 6f  67 72 61 6d 6d 69 6e 67  |ty.| Programming|
00000020  20 42 79 20 43 68 72 69  73 20 57 79 6d 61 72 6b  | By Chris Wymark|
00000030  0a 7c 20 41 6e 20 41 61  72 64 27 76 61 72 6b 20  |.| An Aard'vark |
00000040  53 6f 66 74 77 61 72 65  20 50 72 6f 64 75 63 74  |Software Product|
00000050  69 6f 6e 0a 7c 20 a9 20  31 39 39 34 20 41 72 63  |ion.| . 1994 Arc|
00000060  68 69 6d 65 64 65 73 20  57 6f 72 6c 64 0a 7c 0a  |himedes World.|.|
00000070  7c 20 54 68 69 73 20 46  69 6c 65 20 57 69 6c 6c  || This File Will|
00000080  20 43 6c 61 69 6d 20 41  6c 6c 20 4d 65 6d 6f 72  | Claim All Memor|
00000090  79 20 50 6f 73 73 69 61  62 6c 65 20 46 6f 72 20  |y Possiable For |
000000a0  47 61 6d 65 73 20 4f 72  20 41 70 70 6c 69 63 61  |Games Or Applica|
000000b0  74 69 6f 6e 73 20 57 68  69 63 68 0a 7c 20 4e 65  |tions Which.| Ne|
000000c0  65 64 20 49 74 2c 20 54  68 69 73 20 49 73 20 4e  |ed It, This Is N|
000000d0  6f 74 20 56 65 72 79 20  53 61 74 69 73 66 61 63  |ot Very Satisfac|
000000e0  74 6f 72 79 20 41 6e 64  20 53 68 6f 75 6c 64 20  |tory And Should |
000000f0  42 65 20 41 76 6f 69 64  65 64 20 49 66 20 41 74  |Be Avoided If At|
00000100  20 41 6c 6c 0a 7c 20 50  6f 73 73 69 61 62 6c 65  | All.| Possiable|
00000110  2e 20 49 74 20 57 61 73  20 57 72 69 74 74 65 6e  |. It Was Written|
00000120  20 46 6f 72 20 55 73 65  72 73 20 4f 66 20 31 20  | For Users Of 1 |
00000130  4d 65 67 20 4d 61 63 68  69 6e 65 73 2e 0a 7c 0a  |Meg Machines..|.|
00000140  53 65 74 20 45 72 72 6f  72 20 30 0a 53 65 74 20  |Set Error 0.Set |
00000150  4e 6f 5f 47 6f 20 31 0a  52 75 6e 20 3c 4f 62 65  |No_Go 1.Run <Obe|
00000160  79 24 44 69 72 3e 2e 43  6f 6c 64 5f 43 68 65 63  |y$Dir>.Cold_Chec|
00000170  6b 0a 49 66 20 4e 6f 5f  47 6f 20 3d 20 31 20 54  |k.If No_Go = 1 T|
00000180  68 65 6e 20 52 75 6e 20  3c 4f 62 65 79 24 44 69  |hen Run <Obey$Di|
00000190  72 3e 2e 44 6f 6e 65 0a  52 6d 45 6e 73 75 72 65  |r>.Done.RmEnsure|
000001a0  20 4d 65 6d 41 6c 6c 6f  63 20 52 6d 4c 6f 61 64  | MemAlloc RmLoad|
000001b0  20 3c 4f 62 65 79 24 44  69 72 3e 2e 4d 65 6d 41  | <Obey$Dir>.MemA|
000001c0  6c 6c 6f 63 0a 46 6f 6e  74 53 69 7a 65 20 31 36  |lloc.FontSize 16|
000001d0  20 2a 45 72 72 6f 72 20  30 20 22 53 6f 72 72 79  | *Error 0 "Sorry|
000001e0  2c 20 49 20 43 61 6e 20  4e 6f 74 20 43 6c 65 61  |, I Can Not Clea|
000001f0  72 20 54 68 65 20 46 6f  6e 74 20 43 61 63 68 65  |r The Font Cache|
00000200  21 22 0a 52 4d 41 46 72  65 65 20 30 20 2a 45 72  |!".RMAFree 0 *Er|
00000210  72 6f 72 20 30 20 22 53  6f 72 72 79 2c 20 49 20  |ror 0 "Sorry, I |
00000220  43 61 6e 20 4e 6f 74 20  43 6c 61 69 6d 20 45 6e  |Can Not Claim En|
00000230  6f 75 67 68 20 52 4d 41  20 4d 65 6d 6f 72 79 21  |ough RMA Memory!|
00000240  22 0a 52 41 4d 46 53 53  69 7a 65 20 30 20 2a 53  |".RAMFSSize 0 *S|
00000250  65 74 20 45 72 72 6f 72  20 31 0a 49 66 20 45 72  |et Error 1.If Er|
00000260  72 6f 72 20 3d 20 31 20  54 68 65 6e 20 57 69 70  |ror = 1 Then Wip|
00000270  65 20 52 41 4d 3a 3a 52  61 6d 44 69 73 63 30 2e  |e RAM::RamDisc0.|
00000280  24 2e 2a 20 46 20 52 20  7e 56 20 7e 43 20 0a 49  |$.* F R ~V ~C .I|
00000290  66 20 45 72 72 6f 72 20  3d 20 31 20 54 68 65 6e  |f Error = 1 Then|
000002a0  20 52 41 4d 46 53 53 69  7a 65 20 30 0a 49 66 20  | RAMFSSize 0.If |
000002b0  45 72 72 6f 72 20 3d 20  31 20 54 68 65 6e 20 2a  |Error = 1 Then *|
000002c0  53 65 74 20 45 72 72 6f  72 20 30 0a 53 70 72 69  |Set Error 0.Spri|
000002d0  74 65 53 69 7a 65 20 30  20 2a 53 65 74 20 45 72  |teSize 0 *Set Er|
000002e0  72 6f 72 20 31 0a 49 66  20 45 72 72 6f 72 20 3d  |ror 1.If Error =|
000002f0  20 31 20 54 68 65 6e 20  53 6e 65 77 0a 49 66 20  | 1 Then Snew.If |
00000300  45 72 72 6f 72 20 3d 31  20 54 68 65 6e 20 53 70  |Error =1 Then Sp|
00000310  72 69 74 65 53 69 7a 65  20 30 0a 52 6d 4b 69 6c  |riteSize 0.RmKil|
00000320  6c 20 4d 65 6d 41 6c 6c  6f 63 0a 52 6d 43 6c 65  |l MemAlloc.RmCle|
00000330  61 72 0a 46 78 20 31 35  0a 51 75 69 74 0a 43 6c  |ar.Fx 15.Quit.Cl|
00000340  6f 73 65 0a 55 6e 53 65  74 20 45 72 72 6f 72 0a  |ose.UnSet Error.|
00000350  44 65 73 6b 74 6f 70                              |Desktop|
00000357