Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!mcsun!ukc!icdoc!sot-ecs!snb90 From: snb90@uk.ac.soton.ecs (Stewart Brodie) Newsgroups: comp.sys.acorn Subject: Re: MemAlloc, RamDisc and the DeskTop Message-ID: <7179@ecs.soton.ac.uk> Date: 15 Mar 91 14:35:33 GMT References: <91.073.18:54:03@ira.uka.de> Sender: news@ecs.soton.ac.uk Lines: 25 Originator: snb90@gloriana In <91.073.18:54:03@ira.uka.de> S_JEKUTSCH@iravcl.ira.uka.de (|S| Sebastian Jek) writes: >I have a small problem and I hope someone can solve it: >I want to install a Ramdisc automatically from within the desktop. So I load >MemAlloc and then do RAMFSSIZE 512. The memory was allocated in the expected >way but no RAMFiler_icon appears (only after I (tried to) alter the size of the >RAM Disc with the Task-Display)! It only works right when the desktop wasn't >already started (1. MemAlloc, 2. RAMFSSIZE 512, 3. desktop). Why does RiscOs >behave in this way and how can I get the icon on the icon-bar? >Please post it or mail me: S_JEKUTSCH@irav1.ira.uka.de Try sending round a Message_StartFiler. This will tell each Filer to initialise and so I don't know if it will have any side effects (like closing Filer windows.) To code this, look it up in Vol.3 of the RISC OS PRM under Wimp_SendMessage. You have to repeatedly send round Message_StartFiler until a zero-result is returned - then you send Message_StartedFiler and hopefully all the icons will be in place. (I use this method when I have inadvertantly killed my Filers and want them back.) I hope this helps, Stewart Brodie Southampton University (snb90@uk.ac.soton.ecs)